/* Concourse — wayfinding design system
   Fog #F7F8F7 · Ink #1A1F24 · Signage Blue #17263B · Board Black #101418
   Flap Amber #FFB81C · Cleared Green #1B7F4A */

:root {
  --fog: #f7f8f7;
  --ink: #1a1f24;
  --signage: #17263b;
  --board: #101418;
  --flap: #ffb81c;
  --cleared: #1b7f4a;
  --muted: #5b6672;
  --hairline: #dde1e4;
  --display: "Archivo", "Helvetica Neue", sans-serif;
  --body: "Public Sans", -apple-system, sans-serif;
  --mono: "Spline Sans Mono", "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--fog);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--signage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--flap);
  outline-offset: 2px;
}

/* Header: a gate sign */
header.site {
  border-bottom: 1px solid var(--hairline);
  background: var(--fog);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.gate-sign {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  color: var(--ink);
}
.gate-sign .chip {
  background: var(--signage); color: #fff;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  padding: 0.2rem 0.5rem; border-radius: 3px; letter-spacing: 0.1em;
}
nav.site-nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }

/* Hero */
.hero { padding: 4.5rem 0 3rem; }
.eyebrow {
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 21ch;
  margin: 0.75rem 0 1.25rem;
  font-stretch: 95%;
}
.hero p.lede { max-width: 54ch; font-size: 1.15rem; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }
.btn {
  display: inline-block; font-family: var(--display); font-weight: 600;
  background: var(--signage); color: #fff; text-decoration: none;
  padding: 0.85rem 1.6rem; border-radius: 5px; font-size: 1rem;
  letter-spacing: 0.01em;
}
.btn:hover { background: #1f3350; }
.btn.ghost { background: transparent; color: var(--signage); border: 1.5px solid var(--signage); }
.btn.ghost:hover { background: #eceff1; }

/* Departure board — the signature */
.board {
  background: var(--board);
  border-radius: 10px;
  padding: 1.5rem 1.25rem 1.25rem;
  margin: 3rem 0 0;
  box-shadow: 0 22px 50px -28px rgba(16, 20, 24, 0.55);
  overflow-x: auto;
}
.board table { border-collapse: collapse; width: 100%; min-width: 40rem; }
.board caption {
  caption-side: top; text-align: left;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: #8a94a0; padding-bottom: 1rem;
}
.board th {
  font-family: var(--mono); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: #6d7885;
  text-align: left; padding: 0 0.9rem 0.55rem 0.9rem;
  border-bottom: 1px solid #232a32;
}
.board td {
  font-family: var(--mono); font-size: 0.98rem; color: var(--flap);
  padding: 0.72rem 0.9rem; border-bottom: 1px solid #1a2129;
  white-space: nowrap;
}
.board tr:last-child td { border-bottom: 0; }
.board .status-booked { color: #4fd08a; }
.board .status-await { color: var(--flap); }
.board .status-info { color: #8a94a0; }
.board .flip td { animation: flapIn 0.5s cubic-bezier(0.3, 0.9, 0.4, 1) both; }
.board .flip:nth-child(1) td { animation-delay: 0.10s; }
.board .flip:nth-child(2) td { animation-delay: 0.28s; }
.board .flip:nth-child(3) td { animation-delay: 0.46s; }
.board .flip:nth-child(4) td { animation-delay: 0.64s; }
@keyframes flapIn {
  from { transform: rotateX(90deg); opacity: 0; }
  60%  { transform: rotateX(-12deg); opacity: 1; }
  to   { transform: rotateX(0); opacity: 1; }
}

/* Sections */
section { padding: 4.5rem 0 0; }
h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.section-lede { color: var(--muted); max-width: 56ch; }

/* How it works — a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.step .k {
  font-family: var(--mono); color: var(--signage); font-size: 0.85rem;
  letter-spacing: 0.14em;
}
.step h3 { font-family: var(--display); font-size: 1.15rem; margin: 0.5rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* Mandate coupon */
.coupon {
  margin-top: 2.5rem;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  max-width: 34rem;
  font-family: var(--mono);
  position: relative;
  overflow: hidden;
}
.coupon .head {
  background: var(--signage); color: #fff; font-size: 0.78rem;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 0.6rem 1.2rem;
}
.coupon .bodyrow { padding: 1.2rem 1.2rem 0.4rem; font-size: 0.95rem; line-height: 1.9; }
.coupon .bodyrow strong { color: var(--signage); font-weight: 600; }
.coupon .tear {
  border-top: 2px dashed var(--hairline);
  margin-top: 0.9rem; padding: 0.7rem 1.2rem 0.9rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em;
}
.coupon .tear .ok { color: var(--cleared); font-weight: 600; }

/* Trust */
.trust { border-top: 1px solid var(--hairline); margin-top: 4.5rem; }
.trust-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; margin-top: 2rem; }
.trust h3 { font-family: var(--display); font-size: 1.05rem; margin-bottom: 0.4rem; }
.trust p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.2rem; }

/* Footer */
footer.site {
  margin-top: 5rem; border-top: 1px solid var(--hairline);
  padding: 2rem 0 3rem; font-size: 0.9rem; color: var(--muted);
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
footer.site nav { display: flex; gap: 1.4rem; }

/* Legal pages */
.legal { padding: 3.5rem 0; max-width: 46rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal .updated { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal li { color: #3a434c; margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.3rem; }

@media (max-width: 44rem) {
  .steps { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding-top: 3rem; }
  nav.site-nav { display: none; }
}
