/* SeatEasy lander. Colours come from the client brand ramp (brand 400 to 950) and the app icon's dark ground. */
:root {
  --night: #0A1124;
  --navy: #0F1F58;
  --deep: #0E2F91;
  --blue: #0073FF;
  --blue-btn: #0056EC;
  --blue-btn-hover: #003FDC;
  --sky: #459CFF;
  --mist: #B8D8FF;
  --tint: #EDF5FF;
  --ink: #092043;
  --paper: #F3F8FA;
  --line: #D8E5ED;
  --muted: #536380;
  --muted-dark: #A6BDD3;
  --win: #25E29C;

  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4em;
  border: 0; border-radius: 999px;
  font: 700 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue-btn); color: #fff; }
.btn-blue:hover { background: var(--blue-btn-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint); }
.btn-sm { min-height: 40px; font-size: .9375rem; padding: 0 1.1em; }
.btn-lg { min-height: 58px; font-size: 1.125rem; padding: 0 1.7em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 17, 36, .94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(184, 216, 255, .1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav-logo img { width: 148px; height: auto; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-login { color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.nav-login:hover { color: var(--mist); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px); }
.sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 38% at 78% 6%, rgba(133, 192, 255, .30), transparent 70%),
    radial-gradient(42% 16% at 18% 22%, rgba(255, 255, 255, .10), transparent 70%),
    radial-gradient(55% 14% at 70% 40%, rgba(255, 255, 255, .07), transparent 70%),
    radial-gradient(48% 12% at 10% 58%, rgba(255, 255, 255, .05), transparent 70%),
    linear-gradient(180deg, #1A4FA8 0%, var(--deep) 26%, var(--navy) 58%, var(--night) 100%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(40px, 6vw, 88px);
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.75rem, 6.2vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 11ch;
  text-wrap: balance;
}
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--mist); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-note { font-size: .9375rem; color: var(--muted-dark); }

/* The boarding pass */
.pass {
  --notch: 15px;
  width: 100%; max-width: 420px; justify-self: center;
  filter: drop-shadow(0 30px 50px rgba(2, 8, 30, .55));
  transform: rotate(-3deg);
  color: var(--ink);
}
.pass-head, .pass-body { background: #fff; }
.pass-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; border-radius: 22px 22px 0 0;
  background: var(--blue);
}
.pass-head img { width: 128px; height: auto; }
.pass-id { display: grid; justify-items: end; color: #fff; }
.pass-id .f-label { color: var(--mist); }
.pass-id .f-value { font-size: 1.25rem; color: #fff; }
.f-label { font: 600 .75rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.f-value { font: 700 1.125rem/1.2 var(--cond); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }

.pass-body {
  padding: 22px 24px 26px;
  -webkit-mask: radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 100%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
}
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.route-end { display: grid; }
.route-to { justify-items: end; text-align: right; }
.route-code { font: 700 clamp(3.25rem, 7vw, 4.25rem)/.95 var(--cond); letter-spacing: -.01em; }
.route-name { font-size: .875rem; color: var(--muted); }
.route-plane { width: 30px; height: 30px; justify-self: center; color: var(--blue); transform: rotate(90deg); }

.credit { margin-top: 20px; padding: 16px 16px 10px; border-radius: 16px; background: var(--tint); text-align: center; }
.credit-label { font-weight: 700; font-size: .9375rem; color: var(--blue-btn); }
.credit-amount { font-weight: 800; font-size: clamp(4.5rem, 10vw, 6.25rem); line-height: 1; letter-spacing: -.04em; }

.fields { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fields div { display: grid; gap: 2px; }
.fields div:last-child { text-align: right; }

.perf { height: 0; margin: 0 var(--notch); border-top: 2px dashed var(--line); position: relative; z-index: 1; }

.pass-stub {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 22px 24px 24px; background: #fff; border-radius: 0 0 22px 22px;
  -webkit-mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat,
                radial-gradient(circle at 100% 0, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
}
.terms { display: grid; gap: 8px; font-size: .875rem; font-weight: 500; }
.terms li { display: flex; align-items: center; gap: 8px; }
.terms svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.barcode {
  width: 64px; height: 76px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px);
}

/* One load moment: the pass slides up and settles into its tilt. */
@media (prefers-reduced-motion: no-preference) {
  .pass { animation: board .9s cubic-bezier(.2, .8, .2, 1) .15s both; }
  @keyframes board {
    from { opacity: 0; transform: translateY(48px) rotate(4deg); }
    to { opacity: 1; transform: translateY(0) rotate(-3deg); }
  }
}

/* ?noanim turns the load moment off, for screenshots and tests. */
.noanim .pass { animation: none; }

/* Section scaffolding */
.deals, .how, .faq { color: var(--ink); }
.deals { background: var(--paper); padding: clamp(64px, 9vw, 112px) 0; }
.how { background: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.faq { background: var(--paper); padding: clamp(64px, 9vw, 112px) 0; }
.section-head h2, .promise h2, .final h2 {
  font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance;
}
.section-head p { margin-top: 14px; max-width: 38em; color: var(--muted); }
.section-head a { color: var(--blue-btn); font-weight: 600; }

/* Deals: each one is a ticket stub */
.stubs { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stub {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 0 20px;
  min-height: 104px; padding: 18px 22px 18px 0;
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
}
.stub-ic { width: 64px; height: 30px; padding: 0 17px; box-sizing: content-box; margin-left: -17px; color: var(--blue); }
.stub-main { padding-left: 20px; border-left: 2px dashed var(--line); align-self: stretch; display: grid; align-content: center; }
.stub h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.stub-kind { margin-top: 4px; font-size: .875rem; color: var(--muted); }
.stub-worth { display: grid; justify-items: end; font: 700 1.625rem/1 var(--cond); letter-spacing: .01em; }
.stub-worth span { font: 600 .75rem/1.4 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.deals-more { margin-top: 36px; }

/* How it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 7vw, 96px); align-items: center; }
.steps { margin-top: 40px; display: grid; gap: 28px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; counter-increment: step; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  font: 700 3.25rem/.9 var(--cond); color: var(--blue);
}
.steps h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.steps p { margin-top: 4px; color: var(--muted); max-width: 32em; }

.demo {
  padding: 28px; border-radius: 24px; color: #fff;
  background: linear-gradient(160deg, var(--navy), var(--night) 70%);
  box-shadow: 0 24px 48px rgba(9, 32, 67, .18);
}
.demo-title { font-weight: 700; color: var(--sky); }
.demo-item { margin-top: 4px; font-size: 1.125rem; font-weight: 600; }
.demo-board {
  margin-top: 22px; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 16px; background: rgba(184, 216, 255, .08); border: 1px solid rgba(184, 216, 255, .14);
}
.demo-price { font: 700 clamp(3.25rem, 7vw, 4.25rem)/1 var(--cond); color: var(--win); font-variant-numeric: tabular-nums; }
.demo-clock { position: relative; width: 72px; height: 72px; flex: none; }
.demo-clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.demo-clock circle { fill: none; stroke-width: 4; }
.clock-track { stroke: rgba(184, 216, 255, .18); }
.clock-run { stroke: var(--sky); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.demo-clock span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.75rem/1 var(--cond); font-variant-numeric: tabular-nums; }
.demo-clock.is-low .clock-run { stroke: #F571B4; }
.demo-bid { margin-top: 18px; width: 100%; }
.demo-status { margin-top: 14px; min-height: 3.2em; font-size: .9375rem; color: var(--muted-dark); }

/* Promises */
.promise { background: var(--night); color: #fff; padding: clamp(64px, 9vw, 104px) 0; }
.promise-list { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.promise-list li { padding-top: 24px; border-top: 1px solid rgba(184, 216, 255, .18); }
.promise-list svg { width: 34px; height: 34px; color: var(--sky); }
.promise-list h3 { margin-top: 18px; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.promise-list p { margin-top: 8px; color: var(--muted-dark); font-size: 1rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; max-width: 40em; color: var(--muted); }
.faq details a { color: var(--blue-btn); font-weight: 600; }

/* Final call to action: the top edge is a torn ticket */
.final {
  position: relative; color: #fff; text-align: center;
  background: var(--blue-btn);
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 9vw, 104px);
}
.final::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px;
  background: radial-gradient(circle at 14px 0, var(--paper) 9px, transparent 9.5px) 0 0 / 28px 14px repeat-x;
}
.final-inner { display: grid; justify-items: center; }
.final p { margin: 14px 0 30px; font-size: 1.1875rem; color: var(--tint); }
.final .btn-blue { background: #fff; color: var(--ink); }
.final .btn-blue:hover { background: var(--tint); }

/* Footer */
.footer { background: var(--night); color: var(--muted-dark); padding: 64px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { margin-top: 18px; line-height: 1.8; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links h2 { font-size: .9375rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(184, 216, 255, .14); }

/* Tablet and phone */
@media (max-width: 960px) {
  .hero-grid, .how-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .pass { max-width: 400px; }
  .stubs { grid-template-columns: 1fr; }
  .promise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .nav-inner { height: 60px; }
  .nav-logo img { width: 118px; }
  .nav-actions { gap: 14px; }
  .nav .btn-sm { padding: 0 .9em; font-size: .875rem; }
  .pass { transform: none; }
  .pass-head, .pass-body, .pass-stub { padding-left: 18px; padding-right: 18px; }
  .pass-stub { grid-template-columns: 1fr; }
  .barcode { width: 100%; height: 40px; }
  .stub { grid-template-columns: 52px 1fr; padding-right: 18px; row-gap: 10px; }
  .stub-ic { width: 52px; padding: 0 12px; margin-left: -12px; }
  .stub-worth { grid-column: 2; justify-items: start; padding-left: 20px; display: flex; align-items: baseline; gap: 8px; }
  .promise-list { grid-template-columns: 1fr; gap: 24px; }
  .demo { padding: 22px; }
}
@media (max-width: 560px) and (prefers-reduced-motion: no-preference) {
  @keyframes board {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
  }
}
