:root {
  --ink: #17251f;
  --forest: #173d32;
  --forest-deep: #102e26;
  --paper: #f7f2e8;
  --paper-bright: #fffdf7;
  --paper-muted: #ebe3d4;
  --ticket: #f3c85d;
  --red: #b83f31;
  --line: #cfc5b3;
  --muted: #5f6b65;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 18px 55px rgba(23, 37, 31, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--ticket);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest-deep);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 37, 31, .18);
  background: rgba(247, 242, 232, .96);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-wordmark {
  width: 188px;
  height: auto;
}

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:not(.button-link) { border-bottom: 2px solid transparent; }
.site-nav a:not(.button-link):hover,
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

.button-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid var(--forest);
  border-radius: 2px;
  color: var(--white);
  background: var(--forest);
  box-shadow: 4px 4px 0 var(--ticket);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.button:hover, .button-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ticket);
  background: var(--forest-deep);
}

.button.secondary {
  color: var(--forest);
  background: transparent;
  box-shadow: none;
}

.button.secondary:hover { color: var(--white); background: var(--forest); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: 76px 0 88px;
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(23, 37, 31, .065) 50%, transparent 50.08%),
    linear-gradient(rgba(23, 37, 31, .04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .75fr);
  gap: clamp(50px, 8vw, 112px);
  align-items: center;
}

.eyebrow, .ticket-label, .section-kicker, .legal-meta, .placeholder-label {
  margin: 0 0 14px;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

h1, h2, h3 {
  line-height: 1.06;
  letter-spacing: -.045em;
}

h1 { max-width: 760px; margin-bottom: 26px; font-size: clamp(46px, 7vw, 86px); font-weight: 900; }
h2 { margin-bottom: 22px; font-size: clamp(34px, 4.6vw, 58px); font-weight: 900; }
h3 { margin-bottom: 12px; font-size: 24px; font-weight: 900; }

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 30px;
  color: #34443d;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.truth-line {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.truth-line span::before { content: "✓"; margin-right: 7px; color: var(--forest); }

.rail-stage { position: relative; padding-top: 30px; }
.rail {
  position: absolute;
  z-index: 2;
  top: 0;
  left: -24px;
  right: -24px;
  height: 17px;
  border: 2px solid #142119;
  background: linear-gradient(#59625d, #202924 52%, #0e1511 53%);
  box-shadow: 0 7px 12px rgba(18, 29, 23, .28);
}

.rail::before, .rail::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 24px;
  height: 28px;
  border: 2px solid var(--ink);
  border-top: 0;
  background: #8f9691;
}
.rail::before { left: 21%; }
.rail::after { right: 21%; }

.order-ticket {
  position: relative;
  min-height: 500px;
  padding: 46px 42px 42px;
  border: 1px solid #cfc3ae;
  border-top: 6px solid var(--red);
  background: var(--paper-bright);
  box-shadow: var(--shadow), 12px 14px 0 var(--ticket);
  transform: rotate(1.2deg);
}

.order-ticket::after, .perforated::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 12px;
  background: radial-gradient(circle at 6px 0, transparent 6px, var(--paper) 6.4px) 0 0 / 12px 12px repeat-x;
}

.ticket-head {
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.ticket-head strong { font-size: 25px; letter-spacing: -.04em; }
.ticket-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); font-weight: 800; }

.ticket-steps { margin: 0; padding: 12px 0 0; list-style: none; counter-reset: item; }
.ticket-steps li {
  position: relative;
  min-height: 70px;
  padding: 18px 0 18px 52px;
  border-bottom: 1px dashed var(--line);
  font-size: 16px;
}
.ticket-steps li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 900;
}
.ticket-steps strong { display: block; margin-bottom: 2px; font-size: 17px; }
.ticket-total { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-weight: 900; }
.ticket-total span:last-child { color: var(--forest); }

.band { padding: 26px 0; color: var(--white); background: var(--forest); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.band strong { font-size: clamp(19px, 2.4vw, 28px); letter-spacing: -.02em; }
.band p { margin: 0; color: #d7e2dc; }

.section { padding: clamp(78px, 10vw, 128px) 0; }
.section.white { background: var(--paper-bright); }
.section.dark { color: var(--white); background: var(--forest-deep); }

.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading p:not(.section-kicker) { max-width: 680px; color: var(--muted); font-size: 19px; }
.dark .section-heading p:not(.section-kicker) { color: #cbd8d2; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.step { min-height: 290px; padding: 34px; background: var(--paper-bright); }
.step-number {
  display: inline-flex;
  min-width: 52px;
  margin-bottom: 48px;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 900;
}
.step p { margin: 0; color: var(--muted); }

.flow-note {
  margin-top: 22px;
  padding: 22px 24px;
  border-left: 5px solid var(--ticket);
  color: var(--white);
  background: var(--forest);
  font-weight: 800;
}

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.capability {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: 7px 7px 0 var(--paper-muted);
}
.capability::before { content: "COMANDA / SUPPORTED FEATURE"; display: block; margin-bottom: 34px; color: var(--red); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.capability p { margin-bottom: 0; color: var(--muted); }

.money-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 8vw, 104px); align-items: start; }
.money-statement {
  position: sticky;
  top: 30px;
  padding: 36px;
  border: 1px solid #3f5b51;
  background: #15392f;
  box-shadow: 10px 10px 0 var(--ticket);
}
.money-statement .big { display: block; margin: 16px 0 24px; color: var(--ticket); font-size: clamp(42px, 6vw, 74px); font-weight: 900; line-height: .95; letter-spacing: -.06em; }
.money-statement p { margin-bottom: 0; color: #d5e0db; }
.money-list { display: grid; gap: 1px; background: #3c5148; border: 1px solid #3c5148; }
.money-item { padding: 30px 32px; background: var(--forest-deep); }
.money-item p { margin: 0; color: #cbd8d2; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { padding: 38px; border: 1px solid var(--line); background: var(--paper-bright); }
.audience-card .ticket-label { margin-bottom: 32px; }
.audience-card ul { margin: 22px 0 0; padding-left: 20px; color: var(--muted); }
.audience-card li + li { margin-top: 9px; }

.faq { max-width: 900px; }
.faq-item { padding: 28px 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { max-width: 760px; margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; }
.faq-item p { max-width: 780px; margin: 0; color: var(--muted); }

.operator-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.operator-copy p { color: var(--muted); font-size: 18px; }
.identity-block { border: 2px solid var(--ink); background: var(--paper-bright); box-shadow: 9px 9px 0 var(--ticket); }
.identity-row { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 22px; border-bottom: 1px dashed var(--line); }
.identity-row:last-child { border-bottom: 0; }
.identity-row dt { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.identity-row dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.placeholder { padding: 3px 7px; color: #6d211a; background: #ffe0d9; border: 1px solid #d9796d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 900; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(42px, 7vw, 78px); color: var(--white); background: var(--forest); }
.cta-panel > * { position: relative; }
.cta-panel h2 { max-width: 760px; }
.cta-panel p { max-width: 650px; margin-bottom: 28px; color: #d8e4de; font-size: 18px; }

.site-footer { padding: 58px 0 34px; color: #d5dfda; background: #0d211b; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.1fr; gap: 54px; }
.footer-brand .brand { width: fit-content; margin-bottom: 18px; padding: 4px 9px; border-radius: 2px; background: var(--paper-bright); }
.footer-brand .brand-wordmark { width: 180px; }
.footer-brand p { max-width: 340px; color: #aebdb6; }
.footer-heading { margin-bottom: 18px; color: var(--ticket); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { width: fit-content; color: #d5dfda; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .placeholder { display: inline-block; }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid #294038; display: flex; justify-content: space-between; gap: 20px; color: #93a59d; font-size: 13px; }

.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); background: var(--paper-bright); }
.page-hero h1 { max-width: 900px; font-size: clamp(44px, 6vw, 72px); }
.page-hero .lede { max-width: 770px; margin-bottom: 0; color: var(--muted); font-size: 20px; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 70px; align-items: start; }
.legal-nav { position: sticky; top: 24px; padding: 22px; border: 1px solid var(--line); background: var(--paper-bright); }
.legal-nav strong { display: block; margin-bottom: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.legal-nav a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-content h2 { margin: 58px 0 18px; font-size: 34px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 32px 0 12px; font-size: 21px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #44524b; }
.legal-content li + li { margin-top: 9px; }
.legal-content ul { padding-left: 22px; }
.legal-callout { margin: 30px 0; padding: 22px 24px; border-left: 5px solid var(--ticket); background: var(--paper-bright); }
.legal-callout p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-intro p { max-width: 500px; color: var(--muted); font-size: 18px; }
.contact-list { display: grid; gap: 16px; }
.contact-card { padding: 26px; border: 1px solid var(--line); background: var(--paper-bright); }
.contact-card h2 { margin-bottom: 10px; font-size: 24px; }
.contact-card p { margin-bottom: 0; color: var(--muted); }
.contact-card .placeholder { display: inline-block; margin-top: 10px; }
.contact-card .contact-value { display: inline-block; margin-top: 12px; font-weight: 700; }
.route-list { margin: 28px 0 0; padding: 0; list-style: none; }
.route-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.route-list strong { display: block; }
.route-list span { color: var(--muted); }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.not-found p { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .money-grid, .operator-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { gap: 70px; }
  .rail-stage { width: min(100%, 540px); margin-inline: auto; }
  .money-statement { position: relative; top: 0; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 42px; }
  .legal-nav { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; }
  .legal-nav strong { width: 100%; }
}

@media (max-width: 720px) {
  .nav-wrap { padding: 16px 0; align-items: flex-start; }
  .site-nav { max-width: 230px; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; }
  .site-nav .button-link { display: none; }
  h1 { font-size: clamp(43px, 13vw, 65px); }
  .hero { padding-top: 60px; }
  .order-ticket { min-height: 0; padding: 38px 25px 34px; }
  .rail { left: -10px; right: -10px; }
  .steps-grid, .audience-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .band-row { align-items: flex-start; flex-direction: column; }
  .identity-row { grid-template-columns: 1fr; gap: 5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .container, .nav-wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand-wordmark { width: 148px; }
  .footer-brand .brand-wordmark { width: 170px; }
  .site-nav { max-width: 156px; gap: 8px 13px; }
  .site-nav a { font-size: 12px; }
  .hero-actions .button { width: 100%; }
  .section { padding: 70px 0; }
  .step, .audience-card { padding: 26px; }
  .capability { min-height: auto; }
  .legal-content h2 { font-size: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .button:hover, .button-link:hover { transform: none; }
}
