:root {
  color-scheme: light;
  --ink: #1e2522;
  --muted: #5d6862;
  --paper: #fffdf7;
  --panel: #ffffff;
  --line: #ded7c7;
  --accent: #2e6f5c;
  --accent-dark: #18493d;
  --gold: #d89a3a;
  --blue: #315a7f;
  --shadow: 0 22px 70px rgba(44, 49, 45, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.brand,
.site-nav,
.site-footer nav,
.planned-routes {
  align-items: center;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 800;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.site-nav a,
.site-footer a {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: 4px 0;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  margin: 0 auto;
  max-width: 1180px;
  min-height: calc(100svh - 92px);
  padding: 44px 24px 72px;
}

.page-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 74px 24px 64px;
}

.page-hero h1 {
  max-width: 980px;
}

.compact-hero {
  padding-bottom: 44px;
}

.hero-copy {
  max-width: 680px;
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-lede,
.trust-copy p,
.availability p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 14px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--accent-dark);
}

.launch-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  margin: 0;
  min-width: 0;
}

.launch-visual {
  aspect-ratio: 1.1;
  background: #f8f0df;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hero-support-art {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.phone-mockup {
  background: #141817;
  border: 8px solid #141817;
  border-radius: 34px;
  box-shadow: 0 26px 54px rgba(31, 25, 20, 0.26);
  height: 76%;
  left: 9%;
  overflow: hidden;
  position: absolute;
  top: 10%;
  width: 35%;
}

.phone-mockup::before {
  background: #141817;
  border-radius: 0 0 12px 12px;
  content: "";
  height: 18px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 72px;
  z-index: 2;
}

.phone-mockup img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.app-icon-placement {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(44, 49, 45, 0.12);
  display: flex;
  height: 94px;
  justify-content: center;
  position: absolute;
  right: 10%;
  top: 11%;
  width: 94px;
}

.app-icon-placement .brand-mark {
  height: 62px;
  width: 62px;
}

.workbook-art {
  bottom: -3%;
  height: auto;
  position: absolute;
  right: -1%;
  width: min(48%, 280px);
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
}

.band {
  background: #f5efe2;
}

.workflow,
.trust-advantages,
.trust,
.availability {
  margin: 0 auto;
  padding: 86px 24px;
}

.workflow > *,
.trust-advantages > *,
.trust,
.availability {
  max-width: 1180px;
}

.workflow,
.trust-advantages {
  max-width: none;
}

.workflow > *,
.trust-advantages > * {
  margin-left: auto;
  margin-right: auto;
}

.workflow-link {
  margin-top: 24px;
}

.section-heading {
  max-width: 780px;
}

.workflow-grid,
.trust-advantage-grid,
.transparency-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.workflow-grid li,
.trust-advantage-grid article,
.transparency-grid article,
.route-note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-illustration {
  display: block;
  height: auto;
  margin-bottom: 18px;
  max-width: 180px;
  width: 52%;
}

.step-number {
  align-items: center;
  background: #e7f1ec;
  border-radius: 999px;
  color: var(--accent-dark);
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.workflow-grid p,
.trust-advantage-grid p,
.transparency-grid p,
.route-note p {
  color: var(--muted);
  margin-bottom: 0;
}

.trust-advantages .section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 760px;
}

.trust-advantage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-route-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.trust {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.transparency-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.text-link {
  align-items: center;
  color: var(--accent-dark);
  display: inline-flex;
  font-weight: 850;
  margin-top: 6px;
  min-height: 44px;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.inline-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.route-note {
  background: #eef4f8;
  border-color: #c9d8e5;
  grid-column: 2;
}

.route-note h3 {
  color: var(--blue);
}

.route-note h2 {
  color: var(--blue);
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.route-note ul {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.workflow-detail,
.boundary-split,
.faq-layout,
.faq-detail,
.info-grid,
.notice-band,
.support-flow,
.route-note-full,
.legal-layout {
  margin: 0 auto;
  max-width: 1180px;
  padding: 78px 24px;
}

.workflow-detail,
.faq-layout,
.info-grid,
.support-flow {
  max-width: none;
}

.workflow-detail > *,
.faq-layout > *,
.info-grid > *,
.support-flow > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.stage-list {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 34px auto 0;
  padding: 0;
}

.stage-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 24px;
}

.stage-list p,
.boundary-split p,
.boundary-card li {
  color: var(--muted);
}

.stage-list p:last-child {
  margin-bottom: 0;
}

.boundary-split {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
}

.boundary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.boundary-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.boundary-card ul:last-child {
  margin-bottom: 0;
}

.faq-grid,
.detail-grid,
.support-grid {
  display: grid;
  gap: 18px;
  margin: 34px auto 0;
}

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

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

.faq-grid article,
.detail-grid article,
.support-grid article,
.notice-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.notice-panel {
  background: #eef4f8;
  border-color: #c9d8e5;
}

.notice-panel.wide {
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;
}

.notice-panel h2,
.notice-panel h3 {
  color: var(--blue);
}

.notice-panel ul {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.notice-panel a,
.notice-panel span {
  background: white;
  border: 1px solid #c9d8e5;
  border-radius: 8px;
  color: var(--blue);
  display: block;
  font-weight: 850;
  min-height: 44px;
  padding: 10px 12px;
  text-decoration: none;
}

.notice-panel span {
  color: var(--muted);
}

.compact-list {
  max-width: 980px;
}

.faq-grid p,
.detail-grid p,
.support-grid p,
.notice-panel p {
  color: var(--muted);
}

.faq-grid p:last-child,
.detail-grid p:last-child,
.support-grid p:last-child,
.notice-panel p:last-child {
  margin-bottom: 0;
}

.feedback-action-panel {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 28px;
  padding: 24px;
}

.feedback-action-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.route-note-full {
  margin-bottom: 64px;
}

.route-note a,
.route-note span {
  background: white;
  border: 1px solid #c9d8e5;
  border-radius: 8px;
  color: var(--blue);
  display: block;
  font-weight: 850;
  min-height: 44px;
  padding: 10px 12px;
  text-decoration: none;
}

.route-note span {
  color: var(--muted);
}

.availability {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.placeholder-cta {
  background: var(--accent-dark);
  border-radius: 8px;
  color: white;
  font-weight: 900;
  min-width: 240px;
  padding: 18px 22px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-weight: 900;
  margin: 0;
}

.planned-routes {
  color: var(--muted);
  font-size: 0.9rem;
  justify-content: flex-end;
}

.planned-routes span {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 36px;
  padding: 7px 10px;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .site-footer nav,
  .planned-routes,
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    display: grid;
    gap: 8px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav a:nth-child(n + 5) {
    display: none;
  }

  .hero {
    gap: 36px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 22px;
  }

  .launch-visual {
    aspect-ratio: 0.9;
    min-height: 430px;
  }

  .phone-mockup {
    height: 70%;
    left: 8%;
    top: 9%;
    width: 42%;
  }

  .app-icon-placement {
    height: 76px;
    right: 8%;
    top: 9%;
    width: 76px;
  }

  .app-icon-placement .brand-mark {
    height: 52px;
    width: 52px;
  }

  .workbook-art {
    bottom: -2%;
    right: 0;
    width: min(65%, 260px);
  }

  .feature-illustration {
    max-width: 160px;
  }

  .site-nav a,
  .site-footer a,
  .planned-routes span {
    min-width: 44px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .workflow-grid,
  .trust-advantage-grid,
  .trust,
  .transparency-grid,
  .faq-grid,
  .detail-grid,
  .support-grid,
  .feedback-action-panel,
  .boundary-split,
  .availability {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .workflow-detail,
  .boundary-split,
  .faq-layout,
  .faq-detail,
  .info-grid,
  .notice-band,
  .support-flow,
  .route-note-full {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .stage-list li {
    grid-template-columns: 1fr;
  }

  .route-note {
    grid-column: auto;
  }

  .route-note ul,
  .notice-panel ul {
    grid-template-columns: 1fr;
  }

  .button,
  .placeholder-cta {
    width: 100%;
  }
}
