/* Landing page (/) — desktop design, with the mobile design below 640px */

/* Coming-soon banner */
.banner { background: var(--red); color: var(--paper); padding: 12px var(--gutter); }
.banner form {
  max-width: var(--max); margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
.banner-copy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner-copy .tag { background: var(--ink); color: var(--amber); padding: 5px 12px; }
.banner-copy span:last-child { font-size: 15px; font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.banner-fields { display: flex; gap: 8px; flex: 1 1 300px; max-width: 420px; }
.banner-fields input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 16px;
  border: 2px solid var(--paper); border-radius: 999px; background: var(--paper); color: var(--ink); outline: none;
}
.banner .form-status { flex-basis: 100%; text-align: right; }

input[type="email"]:focus { border-color: var(--ink) !important; }
input::placeholder { color: #7a6c60; }

/* Header */
.site-header {
  background: var(--ink); color: var(--cream); padding: 24px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.site-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.site-nav a:not(.btn) { color: var(--muted-light); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--amber); }

/* Hero */
.hero { background: var(--ink); color: var(--cream); padding: clamp(40px, 7vw, 88px) var(--gutter) 0; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px; align-items: end;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: clamp(40px, 6vw, 88px); }
.hero-copy .lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 520px; color: var(--muted-light); text-wrap: pretty; }
.hero .board { --w: min(34px, 2.5vw, (100vw - 90px) / 14); }
.hero-phone { display: flex; justify-content: center; align-self: end; --pw: 330px; --ph: 500px; }

/* Problem */
.problem { background: var(--sand); padding: clamp(56px, 8vw, 104px) var(--gutter); }
.problem .wrap { display: flex; flex-direction: column; gap: 40px; }
.problem-grid {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  column-gap: 48px; border-top: 2px solid var(--ink);
}
.problem-item { padding: 28px 0 32px; display: flex; flex-direction: column; gap: 14px; border-bottom: 2px solid var(--ink); }
.problem-item .body-muted { max-width: 340px; }
.problem-close { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; line-height: 1.4; text-wrap: pretty; }

/* Score pills */
.pills { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rt-pill { display: flex; align-items: stretch; border-radius: 999px; overflow: hidden; text-decoration: none; }
.rt-pill .rt-k {
  background: var(--red); color: var(--paper); font-size: 9px; font-weight: 800; font-stretch: 125%;
  letter-spacing: 0.08em; padding: 0 6px 0 10px; display: flex; align-items: center;
}
.rt-pill .rt-v { background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 900; padding: 4px 10px 4px 6px; line-height: 1; }
.user-pill {
  display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800;
  padding: 7px 13px; border-radius: 999px; background: var(--amber); color: var(--ink); line-height: 1;
}
.offline-tag {
  font-size: 12px; font-weight: 800; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--amber);
}

/* How it works */
.how { padding: clamp(56px, 8vw, 104px) var(--gutter); }
.how .wrap { display: flex; flex-direction: column; gap: 40px; }
.steps {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border-top: 2px solid var(--ink);
}
.step { padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 14px; border-bottom: 2px solid var(--ink); }
.step .body-muted { max-width: 340px; }
.step-num {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 72px; border-radius: 8px; flex: none;
  background: linear-gradient(180deg, #3a302b 0 50%, #2f2723 50% 100%);
  font-size: 44px; font-weight: 800; line-height: 72px;
}
.step-num::after { content: ""; position: absolute; left: 0; right: 0; top: 35px; height: 2px; background: var(--ink-deep); }
.step-text { display: flex; flex-direction: column; gap: 14px; }

/* Feature bands */
.feature { padding: clamp(48px, 7vw, 88px) var(--gutter) 0; overflow: hidden; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px; align-items: end;
}
.feature-copy { display: flex; flex-direction: column; gap: 18px; padding-bottom: clamp(48px, 7vw, 88px); align-self: center; }
.feature-copy p { font-size: 18px; line-height: 1.55; max-width: 460px; text-wrap: pretty; }
.feature-phone { display: flex; justify-content: center; --pw: 330px; --ph: 460px; }
.feature-copy .offline-tag { align-self: flex-start; }
.feature-scores { display: flex; justify-content: center; align-self: center; padding-bottom: clamp(48px, 7vw, 88px); }
.feature-scores .pills { zoom: 2; }
.feature.flip .feature-copy { order: 1; }
.feature.flip .feature-phone { order: 0; }
.f-picks { background: var(--paper); color: var(--ink); }
.f-picks p { color: var(--muted); }
.f-picks .tag { background: var(--red); color: var(--paper); }
.f-saved { background: var(--ink-deep); color: var(--paper); }
.f-saved p { color: var(--muted-light); }
.f-saved .tag { background: var(--amber); color: var(--ink); }
.f-rate { background: var(--sand); color: var(--ink); }
.f-rate p { color: var(--muted); }
.f-rate .tag { background: var(--orange); color: var(--paper); }

/* Airlines */
.airlines { padding: 0 var(--gutter) clamp(56px, 8vw, 104px); }
.airlines .wrap { display: flex; flex-direction: column; gap: 32px; }
.logo-grid {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  column-gap: 28px; border-top: 2px solid var(--ink);
}
.logo-grid li { padding: 18px 0; border-bottom: 2px solid var(--ink); }
.logo-box { height: 110px; background: #fff; display: flex; overflow: hidden; padding: var(--pad); }
.logo-box img { width: 100%; height: 100%; min-height: 0; object-fit: contain; display: block; }

/* FAQ */
.faq { background: var(--ink); color: var(--amber); padding: clamp(56px, 8vw, 104px) var(--gutter); }
.faq .wrap { display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; border-top: 2px solid var(--rule-dark); max-width: 880px; }
.faq details { border-bottom: 2px solid var(--rule-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 0; font-size: 20px; font-weight: 900; font-stretch: 112%; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--paper); }
.faq-icon {
  flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--amber); color: var(--ink);
  display: grid; place-items: center; font-size: 20px; font-weight: 700; line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p {
  padding: 0 48px 24px 0; font-size: 16px; line-height: 1.55; color: var(--amber); max-width: 640px; text-wrap: pretty;
  transform-origin: 50% 0;
}
.faq .more { font-size: 16px; color: var(--amber); }
.faq .more a { font-weight: 700; color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.faq .more a:hover { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .faq-icon { transition: none; } }

/* Waitlist */
.waitlist { background: var(--red); color: var(--paper); padding: clamp(56px, 8vw, 104px) var(--gutter); }
.waitlist-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 40px; align-items: center;
}
.waitlist-copy { display: flex; flex-direction: column; gap: 18px; }
.waitlist-copy p { font-size: 18px; line-height: 1.5; max-width: 460px; text-wrap: pretty; }
.waitlist .board { --w: min(40px, 2.8vw, (100vw - 90px) / 13); }
.waitlist form { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.waitlist label { font-size: 13px; font-weight: 800; font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; }
.waitlist-fields { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist-fields input {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 17px; padding: 14px 20px;
  border: 2px solid var(--paper); border-radius: 999px; background: var(--paper); color: var(--ink); outline: none;
}
.waitlist-fields .btn { font-size: 14px; padding: 14px 24px; }
.waitlist .fineprint { font-size: 13px; }
.waitlist .fineprint a { color: var(--paper); font-weight: 700; }
.waitlist .form-status { font-size: 16px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--footer); padding: 28px var(--gutter); font-size: 13px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.footer-brand { font-weight: 900; font-stretch: 125%; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.footer-brand:hover { color: var(--amber); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--footer); text-decoration: none; }
.footer-links a:hover { color: var(--amber); }
.legal { font-size: 12px; line-height: 1.5; text-wrap: pretty; }

/* hp field */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ================= Mobile (from the mobile design) ================= */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .banner { display: none; }

  .site-header { padding: 32px 20px 12px; gap: 12px; flex-wrap: nowrap; }
  .site-header .brand { gap: 10px; min-width: 0; }
  .site-header .brand svg { width: 60px; height: 32px; }
  .site-header .brand-name { font-size: clamp(16px, 5vw, 22px); }
  .site-nav { display: none; }

  .hero { padding: 36px 20px 0; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { gap: 22px; padding-bottom: 0; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 0.12em; }
  .hero-copy .lede { font-size: 17px; }
  .hero .board { --w: min(26px, (100vw - 70px) / 14); gap: calc(var(--w) * 0.16); }
  .hero .board-line, .waitlist .board-line { gap: 2px; }
  .hero .flap, .waitlist .flap { border-radius: 3px; }
  .hero .flap::after, .waitlist .flap::after { height: 1.5px; margin-top: -0.75px; }
  .btn-block {
    display: flex; justify-content: space-between; width: 100%; min-height: 52px;
    padding: 0 22px; font-size: 14px;
  }
  .btn-block .arrow { display: inline; }
  .hero-phone { padding-top: 32px; --pw: clamp(220px, 100vw - 40px, 300px); --ph: calc(var(--pw) * 1.38); }

  .stripes { gap: 3px; }
  .stripes i:nth-child(1) { height: 9px; }
  .stripes i:nth-child(2) { height: 6px; }
  .stripes i:nth-child(3) { height: 4px; }

  .problem { padding: 48px 20px; }
  .problem .wrap { gap: 24px; }
  .problem-grid { display: flex; flex-direction: column; }
  .problem-item { padding: 20px 0; gap: 6px; }
  .problem-item .h-card { font-size: 19px; line-height: 1.15; }
  .problem-item .body-muted { font-size: 15px; }
  .problem-close { font-size: 17px; }
  .offline-tag { font-size: 11px; padding: 7px 12px; }

  .h-section { font-size: 30px; }
  .how { padding: 48px 20px; }
  .how .wrap { gap: 24px; }
  .steps { display: flex; flex-direction: column; }
  .step { padding: 20px 0; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
  .step-num { width: 44px; height: 58px; border-radius: 6px; font-size: 34px; line-height: 58px; }
  .step-num::after { top: 28px; }
  .step-text { gap: 6px; }
  .step .h-card { font-size: 19px; line-height: 1.15; }
  .step .body-muted { font-size: 15px; }

  .feature { padding: 44px 20px 0; }
  .feature-grid { display: flex; flex-direction: column; gap: 28px; }
  .feature-copy { gap: 14px; padding-bottom: 0; }
  .feature .tag { font-size: 11px; padding: 6px 12px; }
  .feature-copy p { font-size: 16px; }
  .feature.flip .feature-copy { order: 0; }
  .feature.flip .feature-phone { order: 1; }
  .feature-scores { padding-bottom: 44px; }
  .feature-scores .pills { zoom: 1.6; }
  .feature-phone { --pw: clamp(220px, 100vw - 40px, 300px); --ph: calc(var(--pw) * 1.24); }

  .airlines { padding: 0 20px 48px; }
  .airlines .wrap { gap: 24px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 0; }
  .logo-grid li { padding: 0; border-bottom: 0; }
  .logo-box { height: 76px; padding: var(--pad-m); }
  .airlines .body-muted { font-size: 15px; }

  .faq { padding: 48px 20px; }
  .faq .wrap { gap: 24px; }
  .faq summary { gap: 12px; min-height: 44px; padding: 16px 0; font-size: 17px; line-height: 1.2; }
  .faq-icon { width: 30px; height: 30px; font-size: 18px; }
  .faq-a p { padding: 0 0 20px; font-size: 15px; }
  .faq .more { font-size: 15px; }

  .waitlist { padding: 48px 20px; }
  .waitlist-grid { display: flex; flex-direction: column; gap: 24px; align-items: stretch; }
  .waitlist-copy { gap: 24px; }
  .waitlist-copy p { font-size: 16px; }
  .waitlist .board { --w: min(36px, (100vw - 70px) / 11); gap: calc(var(--w) * 0.16); }
  .waitlist form { gap: 10px; max-width: none; }
  .waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .waitlist-fields { flex-direction: column; gap: 10px; }
  .waitlist-fields input { flex: none; min-height: 52px; padding: 0 20px; }
  .waitlist .fineprint { line-height: 1.4; }

  .site-footer { padding: 28px 20px; font-size: 14px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { flex-direction: column; gap: 0; }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
}
