:root {
  --band-top: #1E7F72;
  --band-bottom: #10564C;
  --on-band: #FFFCF4;
  --ground: #F7F3E8;
  --surface: #FFFCF4;
  --ink: #20333F;
  --ink-soft: #52626B;
  --accent: #17675D;
  --rule: #D9D2C1;
  --day: #E6D3A6;
  --night: #B8C5E8;
  --home: #A6D9C7;
  --travel: #D4DE7C;
  --held: #EE7F33;
  --held-label: #8D451A;
  --held-wash: #F8E4D0;
  --serif: "New York", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 22px 48px rgba(32, 51, 63, .14), 0 3px 8px rgba(32, 51, 63, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--home); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--held); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The band: the app's Home header, here the page's left edge. */
.band {
  background: linear-gradient(165deg, var(--band-top), var(--band-bottom));
  color: var(--on-band);
}
.band a { color: var(--on-band); }
.section.band { background: linear-gradient(180deg, var(--band-bottom), var(--band-top)); }
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 650; font-size: 20px; letter-spacing: -.3px; text-decoration: none;
}
.wordmark img { width: 40px; height: 40px; border-radius: 10px; }
.store { display: inline-block; line-height: 0; border-radius: 10px; }
.store img { width: 168px; height: auto; }
.price { font-size: 15px; font-weight: 600; letter-spacing: .1px; }

/* First viewport: band + the year sheet. */
.hero {
  display: grid;
  grid-template-columns: minmax(360px, 36%) 1fr;
  min-height: 100svh;
}
.hero > * { min-width: 0; }
.sheet { margin: 0; }
.section.flush { padding-top: 0; }
.hero .band { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; }
.hero-copy { margin-top: auto; margin-bottom: auto; padding: 48px 0; }
.hero h1 { font-size: clamp(40px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 24px; max-width: 10.5ch; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.45; color: var(--on-band); max-width: 30ch; margin-bottom: 34px; }
.lede.partner { font-size: 17px; font-weight: 600; margin-top: -20px; }
.price-short { display: none; }
.hero .price { margin-top: 16px; color: var(--on-band); max-width: 36ch; font-weight: 500; line-height: 1.5; }
.hero .price a { font-weight: 700; }
.band-foot { font-size: 14px; color: var(--on-band); display: flex; gap: 20px; }

.sheet-wrap { padding: clamp(20px, 3vw, 48px); display: flex; align-items: center; }
.sheet {
  width: 100%;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 2.4vw, 36px);
}
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sheet-head h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.02em; }
.sheet-head p { color: var(--ink-soft); font-size: 15px; }
.held-note { margin: -8px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--held-wash); color: var(--held-label); font-size: 15px; }
.held-note b { font-weight: 700; }
.sheet-head .half { display: none; }
.year { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px clamp(14px, 1.6vw, 24px); }
.month h3 { font-family: var(--sans); font-size: 14px; font-weight: 650; margin-bottom: 6px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.days span {
  aspect-ratio: 1.25; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-variant-numeric: tabular-nums; border-radius: 4px; color: var(--ink);
}
.days .wd { aspect-ratio: auto; font-size: 9px; font-weight: 650; color: var(--ink-soft); padding-bottom: 2px; }
.d { cursor: default; transition: box-shadow .15s ease-out; }
.d:hover, .d.is-picked { box-shadow: inset 0 0 0 2px var(--ink); }
.day { background: var(--day); }
.night { background: var(--night); }
.travel { background: var(--travel); }
.home { background: var(--home); }
.held { background: var(--held); color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .d.held { animation: held-in 900ms cubic-bezier(.16, 1, .3, 1) 700ms both; }
  @keyframes held-in { from { background: var(--home); color: var(--ink); } }
}
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 22px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; margin: 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.caption { font-size: 15px; font-weight: 600; color: var(--ink); min-height: 1.5em; }
.caption .k-held { color: var(--held-label); }

/* Sections below the fold. */
.section { padding: clamp(72px, 9vw, 128px) clamp(22px, 5vw, 72px); }
.inner { max-width: 1120px; margin: 0 auto; }
.split.wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split.flip { grid-template-columns: minmax(260px, 340px) 1fr; }
.split.flip .phone { order: -1; }
.section h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 20px; }
.section .intro { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.band.section .intro { color: var(--on-band); }
.facts { list-style: none; margin: 0; padding: 0; max-width: 52ch; }
.facts li { padding: 14px 0; border-top: 1px solid var(--rule); }
.band .facts li { border-color: rgba(255, 252, 244, .22); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.band .facts li:last-child { border-color: rgba(255, 252, 244, .22); }
.facts b { font-weight: 650; }
.strip { margin: 0; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(18px, 2.2vw, 30px); }
.strip-row { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 12px; }
.strip-row + .strip-row { margin-top: 10px; }
.strip-label { font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.strip-days { display: grid; grid-template-columns: repeat(21, 1fr); gap: 3px; }
.strip-days span { aspect-ratio: .78; display: flex; align-items: center; justify-content: center; font-size: 12px; font-variant-numeric: tabular-nums; border-radius: 5px; }
.strip figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0 70px; font-size: 14px; font-weight: 600; }
.strip figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.strip figcaption i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.quote-chip {
  display: inline-block; margin-top: 26px; padding: 12px 16px; border-radius: 14px;
  background: var(--held-wash); color: var(--held-label); font-weight: 650;
}

.phone {
  background: var(--ink);
  border-radius: 46px;
  padding: 9px;
  box-shadow: var(--shadow);
  max-width: 340px;
  justify-self: center;
}
.phone img { border-radius: 38px; width: 100%; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: 8px; }
.pair h3 { font-size: 26px; letter-spacing: -.02em; margin-bottom: 10px; }
.pair p { color: var(--ink-soft); max-width: 44ch; }

/* The close: free tier vs unlock, then the badge. */
.offer { background: var(--surface); }
.tiers { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); margin: 34px 0 40px; }
.tier { padding: 26px 30px 6px 0; }
.tier + .tier { padding-left: 30px; border-left: 1px solid var(--rule); }
.tier h3 { font-size: 22px; margin-bottom: 0; }
.tier .amount { font-family: var(--serif); font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); margin: 6px 0 16px; }
.tier .amount span { font-family: var(--sans); font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--accent); margin-left: 6px; }
.tier ul { margin: 0; padding-left: 1.1em; }
.tier li { margin-bottom: 8px; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.cta-row p { font-weight: 600; }
.faq { margin: 0 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 96px); }
.faq dt { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.faq dd { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.close-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.close-row p { color: var(--ink-soft); }

footer { padding: 36px clamp(22px, 5vw, 72px) 48px; font-size: 14px; color: var(--ink-soft); }
footer .inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--ink); }

/* Read pages: support and privacy. */
.page-head { padding: 28px clamp(22px, 5vw, 72px) 56px; }
.page-head .inner { max-width: 760px; }
.page-head h1 { font-size: clamp(36px, 4vw, 52px); letter-spacing: -.03em; margin-top: 56px; }
.page-head p { color: var(--on-band); margin-top: 10px; }
.doc { max-width: 760px; margin: 0 auto; padding: 48px clamp(22px, 5vw, 40px) 88px; }
.doc h2 { font-size: 28px; letter-spacing: -.02em; margin: 52px 0 10px; }
.doc h3 { font-size: 21px; margin: 34px 0 6px; }
.doc p { margin-bottom: 12px; max-width: 68ch; }
.doc .muted { color: var(--ink-soft); font-size: 15px; }
.doc > :first-child { margin-top: 0; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 64px 0 40px; }
  .lede { max-width: 40ch; }
  .year { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .year { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; }
  .hero .band { padding: 22px 22px 28px; }
  .hero-copy { padding: 26px 0 0; }
  .hero h1 { font-size: 36px; margin-bottom: 14px; max-width: none; }
  .lede { font-size: 17px; margin-bottom: 12px; }
  .lede.partner { font-size: 16px; margin: 0 0 20px; }
  .hero .price { display: none; }
  .price-short { display: block; margin-top: 12px; font-size: 15px; font-weight: 600; }
  .sheet-wrap { padding: 14px; }
  .sheet { padding: 18px; display: flex; flex-direction: column; }
  .sheet-head { margin-bottom: 12px; }
  .sheet-head .full { display: none; }
  .year { order: 1; }
  .held-note { order: 2; margin: 16px 0 0; }
  .sheet-foot { order: 3; }
  .strip-row { grid-template-columns: 1fr; gap: 4px; }
  .strip-days { grid-template-columns: repeat(16, 1fr); }
  .strip-days span:nth-child(-n+5) { display: none; }
  .strip-days span { font-size: 11px; border-radius: 4px; }
  .strip figcaption { margin-left: 0; }
  .split.wide { grid-template-columns: 1fr; }
  .month:nth-child(-n+6) { display: none; }
  .sheet-head .half { display: inline; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .phone { order: 1; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .split, .split.flip { gap: 36px; }
  .faq { grid-template-columns: 1fr; }
  .phone { max-width: 300px; }
  .pair, .tiers { grid-template-columns: 1fr; }
  .tier + .tier { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .band-foot { display: none; }
}
