:root {
  --page-bg: #eef8ff;
  --panel: #ffffff;
  --panel-soft: #f7fcff;
  --line: #d8e8f5;
  --text: #07111f;
  --muted: #647084;
  --blue: #1677ff;
  --blue-soft: #d9efff;
  --cyan: #2abfd7;
  --green: #12845a;
  --shadow: 0 18px 48px rgba(17, 54, 96, 0.1);
  --radius: 8px;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9ff 54%, var(--page-bg) 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
  letter-spacing: 0;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(22, 119, 255, 0.16);
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.site-header,
main,
footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(17, 54, 96, 0.08);
  backdrop-filter: blur(14px);
}

.brand-mark,
.back-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px 0 4px;
  font-weight: 900;
}

.brand-mark img {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(17, 54, 96, 0.12);
}

.brand-mark strong {
  color: var(--text);
  font-size: 1.02rem;
  white-space: nowrap;
}

.nav-menu {
  position: relative;
  z-index: 30;
  justify-self: end;
}

.menu-toggle {
  display: grid;
  place-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--blue-soft);
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 10px 24px rgba(17, 54, 96, 0.08);
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::marker {
  content: "";
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #1b2a3d;
}

.nav-menu[open] .menu-toggle {
  border-color: var(--blue);
  background: var(--blue);
}

.nav-menu[open] .menu-toggle span {
  background: #ffffff;
}

.nav-links {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(78vw, 300px);
  min-width: 230px;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(17, 54, 96, 0.14);
  backdrop-filter: blur(14px);
  overflow: visible;
}

.nav-links a,
.back-link,
.secondary-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #1b2a3d;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 850;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  border: 0;
  background: transparent;
  padding: 0 14px;
  text-align: center;
  touch-action: manipulation;
}

.nav-links a[aria-current="page"] {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: center;
  padding: 56px 0 36px;
}

.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(17, 54, 96, 0.08);
  color: var(--text);
  font-weight: 900;
}

.hero-logo-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(17, 54, 96, 0.12);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: none;
}

h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.92;
  font-weight: 900;
}

.hero-copy {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-button,
.secondary-button {
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  touch-action: manipulation;
}

.primary-button {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.2);
}

.hero-card,
.content-card,
.summary-card,
.faq-card,
.route-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.hero-logo {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17, 54, 96, 0.12);
}

.hero-card span,
.summary-card span,
.route-card span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: 2.1rem;
  line-height: 1;
}

.hero-card p,
.content-card p,
.summary-card p,
.faq-card p,
.route-card p,
.contact-card p {
  color: var(--muted);
  font-weight: 650;
}

.page-section {
  padding: 44px 0;
}

.page-section h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.section-copy {
  max-width: 820px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 650;
}

.card-grid,
.summary-grid,
.route-grid,
.contact-grid,
.support-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-grid,
.route-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.content-card,
.summary-card,
.route-card,
.contact-card,
.support-form-card {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.content-card small,
.contact-card small,
.support-form-card small {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-card strong,
.summary-card strong,
.route-card strong,
.contact-card strong,
.support-form-card strong {
  font-size: 1.08rem;
}

.contact-card a {
  width: fit-content;
  margin-top: 8px;
}

.security-contact {
  background: linear-gradient(180deg, #ffffff 0%, #f0fbff 100%);
  border-color: #a9e8f4;
}

.support-form-card {
  grid-row: span 2;
}

.support-form {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.support-form label {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  padding: 11px 12px;
  outline: none;
}

.support-form textarea {
  min-height: 132px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.support-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  padding: 10px 12px;
  border: 1px solid #bfe5ff;
  border-radius: 8px;
  background: #f4fbff;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-hidden {
  display: none;
}

.content-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 650;
}

.content-card li::marker {
  color: var(--blue);
}

.status-band {
  border: 1px solid #bcefdc;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f6fffb, #e8fff5);
  padding: 22px;
}

.status-band strong {
  color: var(--green);
}

.status-band p {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-card {
  overflow: hidden;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card p {
  padding: 0 20px 20px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 34px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

footer a {
  color: #1b2a3d;
  font-weight: 850;
}

footer.site-footer {
  display: grid;
  gap: 22px;
  align-items: stretch;
  padding: 36px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text);
  font-weight: 900;
}

.footer-logo img {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(17, 54, 96, 0.12);
}

.footer-brand p,
.footer-bottom p {
  color: var(--muted);
  font-weight: 650;
}

.footer-trust-pill {
  width: fit-content;
  max-width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.footer-column {
  display: grid;
  gap: 9px;
}

.footer-heading {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column a,
.footer-contact-row a {
  color: var(--muted-strong);
  font-weight: 820;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-contact-row a:hover,
.footer-contact-row a:focus-visible {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 24px;
  }

  .brand-mark {
    width: 100%;
    min-height: 44px;
  }

  .nav-links {
    width: min(86vw, 300px);
    min-width: 220px;
    gap: 4px;
    border-radius: 24px;
    overflow: visible;
  }

  .hero,
  .card-grid,
  .summary-grid,
  .route-grid,
  .contact-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions a,
  .contact-card a,
  .support-form button {
    width: 100%;
  }

  .support-form-card {
    grid-row: auto;
  }

  footer {
    flex-direction: column;
  }

  footer div {
    justify-content: flex-start;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-contact-row {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 32px);
  }

  .brand-mark strong {
    display: inline;
  }

  .nav-links a {
    border-radius: 18px;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .page-section {
    padding: 34px 0;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}
