*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tw-bg);
  color: var(--tw-text);
  font-size: 16px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.tw-container {
  width: min(100% - 24px, var(--tw-container));
  margin-inline: auto;
}

.tw-main {
  min-height: 60vh;
}

.tw-content-wrap {
  padding: 32px 0 48px;
}

.tw-card {
  background: linear-gradient(180deg, var(--tw-panel), var(--tw-panel-2));
  border: 1px solid var(--tw-border);
  border-radius: var(--tw-radius);
  padding: 24px;
  box-shadow: var(--tw-shadow);
}

.tw-loop {
  display: grid;
  gap: 18px;
}

.tw-page-title,
.tw-post-title,
.tw-section-head h2 {
  margin: 0 0 12px;
}

.tw-post-title a:hover {
  color: var(--tw-accent-2);
}

.tw-post-excerpt,
.tw-page-content,
.tw-section-head p {
  color: var(--tw-text-soft);
}

.tw-section-head {
  margin-bottom: 20px;
}

.tw-section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--tw-accent-2);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .82rem;
}

.tw-home-section {
  padding: 26px 0;
}

.tw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--tw-border);
  transition: .2s ease;
  font-weight: 700;
}

.tw-btn:hover {
  transform: translateY(-1px);
}

.tw-btn--accent {
  background: linear-gradient(135deg, var(--tw-accent), var(--tw-accent-2));
  color: #141414;
  border-color: transparent;
}

.tw-btn--ghost {
  background: rgba(255,255,255,.03);
  color: var(--tw-text);
}

.tw-btn--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: .92rem;
}

.tw-pagination {
  margin-top: 24px;
}


.tw-footer {
  margin-top: 40px;
  background:
    radial-gradient(circle at top left, rgba(1, 176, 204, .14), transparent 32%),
    radial-gradient(circle at top right, rgba(220, 129, 36, .14), transparent 28%),
    linear-gradient(180deg, #07111d 0%, #081521 52%, #071019 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  color: #eef6fb;
}

.tw-footer__top {
  padding: 30px 0 20px;
}

.tw-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, .9fr);
  gap: 20px;
  align-items: start;
}

.tw-footer__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 22px 54px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.tw-footer__card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(1,176,204,.55), rgba(220,129,36,.55), transparent 90%);
}

.tw-footer__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: #9fe8f2;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tw-footer__title {
  margin: 16px 0 10px;
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.08;
  color: #ffffff;
}

.tw-footer__lead {
  margin: 0;
  color: rgba(238,246,251,.82);
  font-size: 1rem;
  line-height: 1.72;
}

.tw-footer__quick-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.tw-footer__action {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: #fff;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tw-footer__action:hover {
  transform: translateY(-1px);
  border-color: rgba(1,176,204,.45);
  background: rgba(255,255,255,.06);
}

.tw-footer__action--accent {
  background: linear-gradient(135deg, rgba(1,176,204,.20), rgba(220,129,36,.18));
}

.tw-footer__action-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(238,246,251,.68);
}

.tw-footer__action strong {
  font-size: 1rem;
  line-height: 1.35;
}

.tw-footer__info-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.tw-footer__info-item strong,
.tw-footer__card-title {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
}

.tw-footer__info-item p {
  margin: 0;
  color: rgba(238,246,251,.82);
  line-height: 1.68;
}

.tw-footer__info-item a:hover,
.tw-footer__links-list a:hover,
.tw-footer-nav a:hover,
.tw-footer__map-link:hover {
  color: #9fe8f2;
}

.tw-footer__map-wrap {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.tw-footer__map {
  display: block;
  width: 100%;
  height: 190px;
  border: 0;
}

.tw-footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 700;
  color: #f2f8fc;
}

.tw-footer__links-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.tw-footer__links-list,
.tw-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tw-footer__links-list a,
.tw-footer-nav a {
  color: rgba(238,246,251,.84);
  line-height: 1.5;
}

.tw-footer__note-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}

.tw-footer__note-inner {
  padding: 16px 0;
}

.tw-footer__note {
  color: rgba(238,246,251,.82);
  font-size: .96rem;
  line-height: 1.7;
}

.tw-footer__note strong {
  color: #ffffff;
}

.tw-footer__bottom {
  padding: 16px 0 20px;
}

.tw-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  align-items: center;
}

.tw-footer__copy,
.tw-footer__credit {
  margin: 0;
  color: rgba(238,246,251,.66);
  font-size: .9rem;
  line-height: 1.6;
}

.tw-footer__credit {
  text-align: right;
}

@media (max-width: 1100px) {
  .tw-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tw-footer__card--links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .tw-footer {
    margin-top: 28px;
  }

  .tw-footer__top {
    padding-top: 24px;
  }

  .tw-footer__grid,
  .tw-footer__links-columns {
    grid-template-columns: 1fr;
  }

  .tw-footer__card {
    padding: 20px;
    border-radius: 18px;
  }

  .tw-footer__map {
    height: 210px;
  }

  .tw-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tw-footer__credit {
    text-align: left;
  }
}
