/* L-E homepage (DE-384; Wonder Deep Eats → Landing, "L-E Sana Landing Desktop 1440").
   Values are the design's, at 1440px; tablet and phone rules follow the "Mobile 390" frame's
   stacking. Colours mirror the app tokens (src/lib/designSystem) the design binds to. */
body:has(> .le) { margin: 0; }
.le {
  --le-navy: #141C45;
  --le-midnight: 9, 13, 36;
  --le-cobalt: #2B3FB8;
  --le-cream: #F6EFE2;
  --le-ink: #111111;
  --le-ink-2: #3A3A3C;
  --le-muted: #68686D;
  --le-line: #E8E8EC;
  --le-hairline: #E9E9ED;
  --le-paper: #FAFAF8;
  --le-soft-button: #ECEBE7;
  --le-rust: #B4441F;
  --le-usual-band: #E6EAFA;
  --le-usual-edge: #9DABEB;
  --le-navy-hairline: rgba(20, 28, 69, .12);
  --le-radius: 20px;
  --le-gutter: 40px;
  --le-section: 128px;
  --le-display: 56px;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  background: #fff;
  color: var(--le-ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.le *, .le *::before, .le *::after { box-sizing: border-box; }
.le :where(h1, h2, h3, p, ul, dl, dd) { margin: 0; padding: 0; }
.le ul { list-style: none; }
.le img { display: block; max-width: 100%; }
.le a { color: inherit; }
.le :focus-visible { outline: 2px solid var(--le-cobalt); outline-offset: 3px; }
/* Skip link (BaseLayout, every page): clipped to nothing until it has focus, so no zoom level shows it (DE-457). */
.le-skip { position: absolute; left: 16px; top: 16px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: #141C45; color: #fff !important; font: 500 15px/1.4 'Geist', -apple-system, sans-serif; text-decoration: none; }
.le-skip:not(:focus) { width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Shared type */
/* One type system (S3): display text (H1 and every section H2) is Instrument Serif 400 at -0.02em in the
   one navy; H3 and below is Geist 500/600. The white headlines over the product-tab photos stay Geist 300. */
.le-display { color: var(--le-navy); font-family: var(--serif); font-size: var(--le-display); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; text-align: center; text-wrap: balance; }
.le-display--light { color: #fff; font-family: var(--sans); font-weight: 300; line-height: 1.08; letter-spacing: -1.6px; }
.le-sub { width: min(520px, 100%); color: var(--le-ink-2); font-size: 17px; line-height: 1.5; text-align: center; }
.le-body { color: var(--le-ink-2); font-size: 17px; line-height: 1.5; }
.le-kicker { color: var(--le-muted); font-size: 12px; font-weight: 600; line-height: 1.27; letter-spacing: 1.32px; text-transform: uppercase; }

/* Pills (scroll to a form) */
.le-pill { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.le-pill--navy { background: var(--le-navy); color: #fff !important; }
.le-pill--soft { background: var(--le-soft-button); color: var(--le-ink) !important; }
.le-pill--cream { background: var(--le-cream); color: var(--le-navy) !important; padding: 0 24px; font-size: 14px; }
.le-pill:hover { transform: translateY(-1px); }

/* Waitlist forms (src/components/WaitlistForm.astro, variant "home") */
.le .waitlist-form { display: flex; gap: 6px; width: min(440px, 100%); padding: 5px 5px 5px 20px; border: 1px solid var(--le-line); border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -16px rgba(20, 28, 69, .25); }
.le .waitlist-form:focus-within { border-color: var(--le-navy); box-shadow: 0 0 0 4px rgba(20, 28, 69, .12); }
.le .waitlist-form input[type="email"] { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 16px var(--sans); color: var(--le-ink); }
.le .waitlist-form input::placeholder { color: var(--le-muted); }
.le .waitlist-form .btn { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--le-navy); color: #fff; font: 500 15px var(--sans); cursor: pointer; white-space: nowrap; }
.le .waitlist-form .btn:disabled { opacity: .7; cursor: progress; }
.le .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.le .form-err { margin-top: 10px; font-size: 14px; line-height: 1.4; color: #B3261E; }
.le .form-err:empty { display: none; }
.le-hero .form-err { color: #FFD1CC; }
.is-joined .waitlist-form { display: none; }

/* Joined state and confetti (shared waitlist script, src/scripts/site.js) */
.wl-joined { position: relative; min-height: 52px; padding: 12px 0; animation: wl-pop .32s cubic-bezier(.2,.9,.3,1.3) both; }
.wl-joined .wl-joined-title { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.2; color: inherit; }
.wl-joined .wl-joined-sub { margin: 8px 0 0; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: inherit; }
.wl-joined:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wl-joined .wl-confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.wl-joined .wl-confetti span { position: absolute; left: 50%; top: 50%; font-size: 20px; animation: wl-fly 1s var(--delay) cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes wl-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes wl-fly { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* ---------- Hero ---------- */
.le-hero { padding: 24px; }
.le-hero-frame { position: relative; height: clamp(640px, calc(100svh - 48px), 860px); border-radius: var(--le-radius); overflow: hidden; background: #2B221C; color: var(--le-cream); }
.le-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.le-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--le-midnight), .86) 0%, rgba(var(--le-midnight), .55) 38%, rgba(var(--le-midnight), 0) 68%); }
.le-nav { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 56px; }
.le-wordmark { font-size: 20px; font-weight: 500; letter-spacing: -.3px; text-decoration: none; }
.le-nav-links { display: flex; gap: 32px; font-size: 14px; line-height: 1.43; }
.le-nav-links a { text-decoration: none; }
.le-nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.le-hero-title { position: absolute; left: 56px; top: 150px; display: flex; flex-direction: column; font-family: var(--serif); font-size: 112px; font-weight: 400; line-height: .95; letter-spacing: -2px; }
.le-hero-title-2 { padding-left: 120px; font-style: italic; }
.le-hero-foot { position: absolute; left: 56px; bottom: 56px; display: flex; flex-direction: column; gap: 24px; width: 440px; }
.le-hero-copy { width: 400px; max-width: 100%; font-size: 15px; line-height: 1.55; }
.le-hero .waitlist-form { background: var(--le-cream); border-color: transparent; box-shadow: none; }
.le-hero-hook { margin-top: -10px; font-size: 14px; line-height: 1.43; }
.le-hero-note { display: block; margin-top: 4px; opacity: .8; font-size: 13px; }
.le-hero .wl-joined { color: var(--le-cream); }

/* ---------- Intro + notifications ---------- */
.le-intro { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; min-height: 480px; padding: var(--le-section) var(--le-gutter); }
.le-intro .le-pill { margin-top: 8px; }
.le-notifs { position: absolute; inset: 0; pointer-events: none; }
.le-notif { position: absolute; display: flex; backface-visibility: hidden; align-items: flex-start; gap: 10px; width: 292px; padding: 12px; border: 1px solid var(--le-hairline); border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(20, 28, 69, .12), 0 1px 2px rgba(20, 28, 69, .12); }
.le-notif--a { left: 112px; top: 56px; transform: rotate(-4deg); }
.le-notif--b { left: 72px; top: 292px; transform: rotate(3deg); box-shadow: 0 6px 16px rgba(20, 28, 69, .12); }
.le-notif--c { right: 112px; top: 56px; transform: rotate(4deg); }
.le-notif--d { right: 72px; top: 292px; transform: rotate(-3deg); box-shadow: 0 6px 16px rgba(20, 28, 69, .12); }
.le-notif-tile { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; font-size: 17px; line-height: 1; }
.le-tile--pasta { background: #FDEEDD; }
.le-tile--peach { background: #FFE1CC; }
.le-tile--tomato { background: #FDE4DC; }
.le-notif-body { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.le-notif-meta { display: flex; justify-content: space-between; color: var(--le-muted); font-size: 12px; line-height: 1.2; }
.le-notif-meta span:first-child { font-weight: 600; letter-spacing: .6px; }
.le-notif-title { color: var(--le-navy); font-size: 14px; font-weight: 600; line-height: 1.29; letter-spacing: -.1px; }
.le-notif-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.le-notif-bars { display: flex; flex-direction: column; gap: 3px; }
.le-notif-caption { color: var(--le-muted); font-size: 12px; font-weight: 500; line-height: 1.2; }
.le-bar-row { display: flex; align-items: center; gap: 6px; }
.le-bar-label { width: 30px; color: var(--le-muted); font-size: 12px; line-height: 1.2; }
.le-bar { display: block; height: 6px; border-radius: 999px; }
.le-bar--with { background: var(--le-cobalt); }
.le-bar--usual { background: var(--le-usual-band); border: 1px solid var(--le-usual-edge); }
.le-stage { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border: 1px solid var(--le-navy-hairline); border-radius: 999px; background: var(--le-cream); color: var(--le-navy); font-size: 12px; font-weight: 600; white-space: nowrap; }
.le-stage--confirmed { border-color: var(--le-navy); background: var(--le-navy); color: var(--le-cream); }

/* ---------- Product tabs ---------- */
.le-product { position: relative; height: 1040px; overflow: hidden; background: var(--le-navy); }
.le-product-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.le-product-scrim { position: absolute; inset: 0; background: linear-gradient(rgba(var(--le-midnight), .55) 0%, rgba(var(--le-midnight), .35) 45%, rgba(var(--le-midnight), .2) 100%); }
.le-tabs { position: absolute; left: 0; right: 0; top: 64px; z-index: 1; display: flex; justify-content: center; gap: 8px; }
.le-tab { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .9); font: 400 15px/1.5 var(--sans); cursor: pointer; }
.le-tab:hover { background: rgba(255, 255, 255, .12); }
.le-tab[aria-selected="true"] { background: rgba(255, 255, 255, .9); color: var(--le-navy); font-weight: 500; }
.le-tab:focus-visible { outline-color: #fff; }
.le-panel h2 { position: absolute; left: var(--le-gutter); right: var(--le-gutter); top: 128px; }
.le-phones { position: absolute; left: 50%; top: 300px; width: 1440px; max-width: none; height: auto; transform: translateX(-50%); }

/* ---------- Stats (one block; S3/S4) ---------- */
/* 96/96 with a hairline above and below. The caption is the <dt>, the number its <dd>; the icon and number
   show first. Three columns down to 700px, then one compact stack with no indented gutter. */
.le-stats { padding: 0 var(--le-gutter); }
.le-stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; padding: 96px 0; border-top: 1px solid var(--le-line); border-bottom: 1px solid var(--le-line); }
.le-stat { display: flex; flex-direction: column; gap: 12px; }
.le-stat-value { order: -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--le-navy); font-size: 48px; font-weight: 300; line-height: 1; letter-spacing: -1.5px; white-space: nowrap; }
.le-stat-caption { max-width: 300px; color: var(--le-ink-2); font-size: 15px; line-height: 1.45; text-wrap: pretty; }

/* ---------- Explore ---------- */
.le-explore { padding: var(--le-section) var(--le-gutter) 0; }
.le-explore-card { position: relative; display: flex; align-items: center; min-height: 640px; padding: 60px;  border-radius: var(--le-radius); overflow: hidden; background: var(--le-navy); }
.le-explore-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.le-explore-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--le-midnight), .15) 0%, rgba(var(--le-midnight), .35) 45%, rgba(var(--le-midnight), .78) 100%); }
.le-explore-panel { position: relative; left: 0; top: 0; display: flex; flex-direction: column; gap: 12px; width: 440px; padding: 20px; border-radius: var(--le-radius); background: rgba(255, 255, 255, .95); box-shadow: 0 20px 40px rgba(var(--le-midnight), .25); }
.le-preview { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--le-hairline); border-radius: 16px; background: #fff; }
.le-preview-head { display: flex; align-items: center; gap: 10px; }
.le-preview-head svg { flex-shrink: 0; fill: none; stroke: var(--le-cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.le-preview-label { flex: 1; color: var(--le-cobalt); font-size: 12px; line-height: 1.33; text-transform: uppercase; }
.le-preview-question { color: var(--le-ink); font-size: 22px; font-weight: 500; line-height: 1.23; }
.le-preview-detail { color: var(--le-ink-2); font-size: 15px; line-height: 1.33; }
.le-preview-caveat { color: var(--le-muted); font-size: 12px; line-height: 1.33; }
.le-explore-copy { position: absolute; left: calc(760 / 1360 * 100%); top: 190px; display: flex; flex-direction: column; gap: 16px; width: min(520px, calc(100% - 760 / 1360 * 100% - 40px)); }
.le-explore-kicker { color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.4; }
.le-explore-text { color: #fff; font-size: 32px; font-weight: 300; line-height: 1.22; letter-spacing: -.6px; }

/* ---------- Ask split ---------- */
.le-split { display: flex; gap: 96px; padding: var(--le-section) var(--le-gutter); }
.le-split-photo { position: relative; flex-shrink: 0; width: min(640px, 50%); aspect-ratio: 640 / 600; border-radius: var(--le-radius); overflow: hidden; background: #2B221C; }
.le-split-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.le-split-photo > img.is-on { opacity: 1; }
.le-ask { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 56px; padding: 0 8px 0 20px; border-radius: 999px; background: rgba(20, 28, 69, .72); color: #fff; font-size: 15px; line-height: 1.5; }
.le-ask span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.le-ask-send { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--le-navy); font-size: 16px; }
.le-split-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 8px 0; }
.le-split-top { display: flex; flex-direction: column; gap: 24px; }
.le-split-kicker { color: var(--le-rust); font-size: 15px; font-weight: 500; line-height: 1.4; }
.le-habits { display: flex; flex-direction: column; gap: 4px; }
.le-habit { padding: 0; border: 0; background: none; color: var(--le-muted); font: 300 30px/1.2 var(--sans); letter-spacing: -.6px; text-align: left; cursor: pointer; transition: color .15s ease; }
.le-split-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.le-split-bottom .le-body { max-width: 440px; }

/* ---------- Closer + objects ---------- */
.le-closer { display: flex; flex-direction: column; align-items: center; gap: 64px; padding-top: var(--le-section); background: var(--le-paper); overflow: hidden; }
.le-closer-copy { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 0 var(--le-gutter); scroll-margin: 120px; }
.le-closer-copy .waitlist-form { margin-top: 8px; }
.le-closer-notes { display: flex; flex-direction: column; gap: 4px; width: min(560px, 100%); color: var(--le-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.le-closer .wl-joined { text-align: center; color: var(--le-navy); }
.le-objects { position: relative; width: min(1440px, 100%); aspect-ratio: 1440 / 840; }
.le-objects img { position: absolute; height: auto; }
.le-objects .le-objects-phone { left: calc(490 / 1440 * 100%); top: calc(-30 / 840 * 100%); width: calc(460 / 1440 * 100%); }

/* ---------- Pricing ---------- */
.le-pricing { display: flex; flex-direction: column; align-items: center; gap: 56px; padding: var(--le-section) var(--le-gutter) 0; scroll-margin-top: 24px; }
.le-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; width: 100%; }
.le-plan { display: flex; flex-direction: column; align-items: flex-start; }
.le-plan-name { color: var(--le-navy); font-size: 32px; font-weight: 300; line-height: 1.1; letter-spacing: -.8px; }
.le-plan-price { margin: 16px 0 20px; color: var(--le-ink); font-size: 15px; font-weight: 500; line-height: 1.4; }
.le-plan-points { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--le-line); }
.le-plan-points li { display: flex; align-items: flex-start; gap: 12px; color: var(--le-ink-2); font-size: 15px; line-height: 1.45; }
.le-plan-points li::before { content: "✓"; display: grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border: 1px solid var(--le-muted); border-radius: 50%; color: var(--le-muted); font-size: 12px; line-height: 1; }

/* ---------- Footer (Footer.astro, columns) ---------- */
/* The pricing pile rests on the section's bottom edge, so the footer follows it with no gap. */
#main:has(> .le-pricing:last-child) + .de-site-footer > .le-foot { margin-top: 0; }
.le-foot { display: flex; flex-direction: column; gap: 48px; margin-top: var(--le-section); padding: 40px; border-top: 1px solid var(--le-line); }
.le-foot-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 32px; }
.le-foot-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.le-foot-wordmark { color: var(--le-navy) !important; font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: -.5px; text-decoration: none; }
.le-foot-join { color: var(--le-ink-2) !important; font-size: 13px; line-height: 1.4; text-decoration: underline; }
.le-foot-cols { display: flex; gap: 24px; }
.le-foot-col { width: 200px; }
.le-foot-title { margin-bottom: 20px !important; color: var(--le-ink); font-size: 14px; font-weight: 500; line-height: 1.4; }
.le-foot-col ul { display: flex; flex-direction: column; gap: 12px; }
.le-foot-col li { color: var(--le-muted); font-size: 14px; line-height: 1.4; }
.le-foot-col a { color: var(--le-muted) !important; text-decoration: none; }
.le-foot-col a:hover { color: var(--le-navy) !important; text-decoration: underline; }
.le-foot-notes { display: flex; flex-direction: column; gap: 6px; max-width: 760px; color: #5B5B60; font-size: 13px; line-height: 1.5; scroll-margin-top: 24px; }
.de-route-footer-note { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--le-muted); font-size: 13px; line-height: 1.5; }
.le-foot-bottom { display: flex; justify-content: space-between; gap: 24px; color: var(--le-muted); font-size: 13px; line-height: 1.4; }

/* ---------- Tablet ---------- */
@media (max-width: 1180px) {
  .le-notifs { display: none; }
  .le-intro { min-height: 0; }
  .le-explore-card { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding: 40px; }
  .le-explore-copy, .le-explore-panel { position: relative; left: auto; top: auto; width: min(520px, 100%); }
  .le-split { gap: 56px; }
  .le-foot-top { flex-direction: column; }
}
@media (max-width: 1000px) {
  .le-hero-title { font-size: 88px; }
  .le-hero-title-2 { padding-left: 80px; }
  .le-product { height: auto; padding: 64px 0 0; }
  .le-tabs { position: relative; top: 0; flex-wrap: wrap; padding: 0 16px; }
  .le-panel h2 { position: relative; left: auto; right: auto; top: auto; margin: 40px var(--le-gutter) 0; }
  .le-phones { position: relative; left: 50%; top: auto; width: 1440px; margin-top: 24px; transform: translateX(-50%); }
  .le-split { flex-direction: column; }
  .le-split-photo { width: 100%; }
  .le-plans { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  .le { --le-gutter: 20px; --le-section: 80px; --le-display: 40px; }
  .le-hero { padding: 12px; }
  .le-hero-frame { height: auto; min-height: calc(100svh - 24px); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 20px 28px; }
  .le-hero-scrim { background: linear-gradient(180deg, rgba(var(--le-midnight), .25) 0%, rgba(var(--le-midnight), .55) 45%, rgba(var(--le-midnight), .9) 100%); }
  .le-nav { height: 64px; padding: 0 20px; }
  .le-nav-links { gap: 20px; }
  .le-hero-title { position: relative; left: auto; top: auto; margin-bottom: 24px; font-size: 64px; letter-spacing: -1px; }
  .le-hero-title-2 { padding-left: 40px; }
  .le-hero-foot { position: relative; left: auto; bottom: auto; width: 100%; gap: 20px; }
  .le-phones { width: 900px; }
  .le-stats-row { grid-template-columns: 1fr; gap: 28px; padding: 64px 0; }
  .le-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; row-gap: 0; }
  .le-stat-value { flex-direction: row; align-items: center; gap: 12px; font-size: 40px; }
  .le-stat-caption { max-width: none; }
  .le-explore-card { padding: 20px; }
  .le-explore-panel { padding: 16px; }
  .le-explore-text { font-size: 26px; }
  .le-preview-question { font-size: 19px; }
  .le-split-photo { aspect-ratio: 4 / 5; }
  .le-ask { left: 12px; right: 12px; bottom: 12px; font-size: 14px; }
  .le-habit { font-size: 26px; }
  .le .waitlist-form { flex-direction: column; gap: 8px; padding: 8px; border-radius: 22px; }
  .le .waitlist-form input[type="email"] { height: 44px; padding: 0 12px; }
  .le .waitlist-form .btn { width: 100%; }
  .le-closer { gap: 40px; }
  .le-foot { padding: 32px 20px; }
  .le-foot-cols { flex-wrap: wrap; row-gap: 32px; }
  .le-foot-col { width: calc(50% - 12px); }
  .le-foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .le-pill, .le-habit, .le-split-photo img { transition: none; }
  .le-ask-pause { display: none; }
  .le-pill:hover { transform: none; }
  .wl-joined { animation: none; }
  .wl-joined .wl-confetti { display: none; }
}

/* Selected Final v3 / D01.01v2, inspected October 22. */
.le-sr-only { position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap; }
.le-hero-frame { height:860px;background:var(--le-cream);color:var(--le-navy); }
.le-hero-photo { top:300px;height:auto;min-height:560px;object-position:center; }
.le-hero-scrim { background:linear-gradient(var(--le-cream) 0%,var(--le-cream) 42%,transparent 72%); }
.le-nav { gap:24px; }
.le-nav-links { margin-left:auto; }
.le-iphone { font-size:14px;white-space:nowrap; }
.le-hero-title { top:140px;left:20px;right:20px;text-align:center;font-size:96px;line-height:.95; }
.le-hero-title-2 { padding-left:0;font-style:normal; }
.le-hero-foot { left:50%;top:350px;bottom:auto;transform:translateX(-50%);align-items:center;text-align:center;width:min(560px,calc(100% - 40px));gap:20px; }
.le-hero-copy { max-width:520px;color:var(--le-navy); }
.le-hero-hook { color:var(--le-navy);font-size:13px; }
.le-hero-note { display:block;margin-top:6px; }
.le-hero .form-err { color:#A21D16; }
.le-intro { overflow:hidden; }
.le-intro > :not(.le-notifs) { position:relative;z-index:1; }
.le-notifs { pointer-events:none; }
.le-notifs-caption { color:#565C79;max-width:440px;text-align:center;font-size:12px;line-height:1.5; }
.le-notif-meta { text-transform:none;letter-spacing:0; }
.le-emoji { display:inline-grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:#F2F0F7;font-size:24px; }
.le-kicker,.le-preview-label { text-transform:none;letter-spacing:0; }
.le-preview,.le-plan-points,.le-foot { border:0; }
.le-explore-photo { filter:none; }
@media (min-width:1181px) { .le-explore-copy { top:200px; } }
.le-preview-label { color:var(--le-navy); }
.le-habits { gap:12px; }
.le-habit { display:flex;gap:12px;align-items:center;min-height:44px; }
.le-eligibility { font-size:13px;color:var(--le-muted); }
@media (min-width: 1001px) { .le-plans { grid-template-columns:repeat(2,minmax(0,1fr));gap:64px; } }
.le-plan-points { padding-top:8px; }
.le-plan-points li::before { content:none; }
.le-foot { background:var(--le-paper); }
.le-product-preview { position:absolute;top:350px;left:50%;width:1000px;max-width:100%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:32px;padding:0 24px; }
.le-phone { --w:310px;background:var(--le-cream);color:var(--le-navy);width:var(--w);min-height:490px;padding:calc(var(--w) * .13) 18px 32px;flex-shrink:0; }
.le-phone h3 { font:400 29px/1.15 var(--serif);margin-bottom:18px; }
.le-phone p { font-size:14px;line-height:1.5;margin:16px 0; }
.le-phone--side { --w:260px;min-height:430px;transform:rotate(-7deg); }
.le-phone--side:last-child { transform:rotate(7deg); }
.le-phone--side h3 { font-size:24px; }
.le-pattern { background:#fff9;border-radius:16px;padding:16px;margin-top:16px;font-size:14px; }
.le-pattern-name { display:flex;align-items:center;gap:8px;font-weight:600; }
.le-pattern-name .le-icon-dot { width:28px;height:28px; }
.le-pattern p { margin:8px 0; }
.le-meal-emoji { font-size:80px;text-align:center;margin:40px 0; }
.le-read { background:var(--le-cream);color:var(--le-navy);border-radius:24px;padding:24px; }
.le-phone .le-read { padding:0; }
.le-read-date { display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:30px; }
.le-avatar { display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#E9E3D7; }
.le-read h3 { font:400 34px/1.1 var(--serif);margin:0 0 24px; }
.le-read p { font-size:14px;line-height:1.6; }
.le-night-chart { height:72px;position:relative;margin-top:44px;border-bottom:4px solid var(--le-navy); }
.le-usual { position:absolute;left:35%;bottom:0;width:45%;height:26px;background:#CFD5F6;border-radius:8px 8px 0 0;font-size: 12px;text-align:center;padding:6px 0; }
.le-dinner-dot,.le-bed-dot { position:absolute;bottom:-7px;left:65%;width:12px;height:12px;border:2px solid var(--le-cream);border-radius:50%;background:var(--le-cobalt); }
.le-bed-dot { left:90%;background:var(--le-navy); }
.le-chart-labels { display:flex;justify-content:space-between;font-size: 12px;margin:10px 0 28px; }
.le-read-metrics { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.le-read-metrics dd { font-size:30px;font-weight:300; }
.le-read-metrics small { font-size:15px; }
.le-read-metrics dt { font-size: 12px;margin-top:8px; }
.le-objects .le-objects-phone { --w:28cqw;position:absolute;overflow:hidden;left:36%;top:0;width:28%; }
.le-objects .le-objects-phone .le-read { padding-top:calc(var(--w) * .13); }
/* iPhone frame shared by every in-page phone, from Wonder "Deep Eats" > Final v3 > AS06 App Store 6.9,
   node nor.lcd (Phone, 992 wide): bezel #0b0d17 at 28/992 of the width, outer radius 178/992, screen
   radius 150/992, Dynamic Island 300x89 black pill 26 below the screen top, shadow 0 40 120 navy .28.
   --w is the phone's outer width; every part scales from it. */
.le-phone, .le-objects .le-objects-phone { position:relative;border:calc(var(--w) * 28 / 992) solid #0b0d17;border-radius:calc(var(--w) * 178 / 992);box-shadow:0 calc(var(--w) * 40 / 992) calc(var(--w) * 120 / 992) rgba(20,28,69,.28); }
.le-objects .le-objects-phone { position:absolute; }
.le-phone::before, .le-objects .le-objects-phone::before { content:"";position:absolute;z-index:3;left:50%;top:calc(var(--w) * 26 / 992);width:calc(var(--w) * 300 / 992);height:calc(var(--w) * 89 / 992);transform:translateX(-50%);border-radius:999px;background:#000;pointer-events:none; }
.le-objects { container-type:inline-size; }
@media (prefers-reduced-motion:no-preference) {
.le-panel:not([hidden]) .le-product-preview { animation:le-panel-in .28s ease-out both; }
.le-tab { transition:background-color .18s ease,color .18s ease; }
.le .waitlist-form .btn { transition:background-color .18s ease,transform .18s ease; }.le .waitlist-form .btn:active,.le-pill:active { transform:scale(.98); }
@keyframes le-panel-in { from { opacity:0;translate:0 8px; } to { opacity:1;translate:0 0; } }
}
@media (max-width:1180px) {
.le-product-preview { width:900px;gap:24px; } }
@media (max-width:1000px) { .le-product { min-height:900px; }
.le-product-preview { position:relative;top:auto;left:auto;transform:none;width:100%;margin:60px auto; }
.le-phone--side { display:none; }
.le-objects .le-read { padding:16px; }
.le-objects .le-read h3 { font-size:26px; }
.le-objects .le-read-date { margin-bottom:16px; }
.le-objects .le-night-chart { margin-top:16px;height:40px; } }
@media (max-width:700px) {
.le-hero-frame { display:block;height:820px;min-height:0;padding:0; }
.le-nav-links { display:none; }
.le-iphone { margin-left:auto;font-size:12px; }
.le-hero-title { position:absolute;top:140px;left:20px;right:20px;font-size:clamp(48px,17vw,64px);margin:0; }
.le-hero-title-2 { padding:0; }
.le-hero-foot { position:absolute;top:300px;left:50%;bottom:auto;width:calc(100% - 40px);gap:16px; }
.le-hero-copy { font-size:15px; }
.le-hero-photo { top:380px;height:440px;min-height:0;object-fit:cover; }
.le-hero-scrim { background:linear-gradient(var(--le-cream) 0%,var(--le-cream) 47%,transparent 78%); }
.le .waitlist-form { flex-direction:row;align-items:center;border-radius:999px;padding:5px;gap:0; }.le .waitlist-form input[type="email"] { height:44px;padding:0 10px; }.le .waitlist-form .btn { width:auto;padding:0 16px; }
.le-plans { grid-template-columns:1fr;gap:48px; }
.le-explore-copy { top:auto; }
.le-split { gap:32px; }
.le-habit { font-size:25px; }
.le-objects { min-height:620px; }
.le-objects .le-objects-phone { --w:72cqw;width:72%;left:14%;top:45px; }
.le-objects img { opacity:.7; }
.le-objects .le-read { padding:24px; }
.le-objects .le-read h3 { font-size:30px; }
.le-objects .le-read-metrics { grid-template-columns:1fr auto; }
}
.le-hero-copy { width:100%;max-width:520px; }
.le-hero .wl-joined { color:var(--le-navy); }
.le-notif { width:310px; }
.le-notif-meta span:first-child { letter-spacing:0; }
@media (max-width:1180px) {
  .le-notifs { position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;order:1;width:min(680px,100%);margin-top:16px; }
  .le-notif { position:relative;inset:auto;width:100%;transform:none;filter:none; }
  .le-notif--c,.le-notif--d { display:none; }
  .le-notifs-caption { order:2; }
}
@media (max-width:700px) {
  .le-notifs { grid-template-columns:1fr; }
  .le-phone { --w:min(310px, 100cqw - 48px); }
  .le-product-preview { container-type:inline-size; }
  .le-hero-hook { max-width:100%; }
}

/* Pricing food pile (src/scripts/pricing-pile.js). The canvas lives inside .pile-zone, the white
   band made by the section's bottom padding, and the zone clips it: food never reaches the cards.
   The canvas never takes pointer events: the section listens and ignores pointers on a card. */
.le-pricing { --pile-band: 246px; position: relative; isolation: isolate; padding-bottom: var(--pile-band); background: var(--le-paper); }
.le-pricing > .le-display { position: relative; z-index: 2; }
.le-pricing .le-plans { position: relative; z-index: 2; pointer-events: none; width: 100%; max-width: 100%; min-width: 0; }
.le-pricing .le-plan, .le-pricing .le-plan > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .le-pricing .le-plan .le-pill { max-width: 100%; height: auto; min-height: 44px; white-space: normal; text-align: center; } }
.le-pricing .le-plan { pointer-events: auto; padding: 32px 32px 38px; border-radius: var(--le-radius); background: #fff; }
.pile-zone { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; height: var(--pile-band); overflow: hidden; contain: strict; pointer-events: none; }
.pile-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.le-pricing.can-grab { cursor: grab; }
.le-pricing.grabbing { cursor: grabbing; }
@media (max-width: 700px) {
  .le-pricing { --pile-band: 198px; }
  .le-pricing .le-plans { gap: 16px; }
  .le-pricing .le-plan { padding: 24px 22px 28px; }
}

/* DE P0-6: at tablet widths the explore copy is in flow; drop the desktop top offset so it no longer lands on the card stack. */
@media (max-width:1180px) { .le-explore-card .le-explore-copy { position:relative;inset:auto;z-index:1; } }
/* Keep the five product tabs on one row down to a 320px phone. */
@media (max-width:560px) { .le-tabs { gap:4px;padding:0 8px; } .le-tab { padding:0 12px;min-height:44px; } }
@media (max-width:360px) { .le-tabs { gap:2px; } .le-tab { padding:0 10px;font-size:14px; } }
/* DE-456: closer food spread fills the viewport. Items spread outward from the phone axis by --k
   (stage 1440x840 coords: --cx centre, --ow width) and scale by --s; widths cap at 1.25x art size.
   Phone z 3, food z 1: food sits around the phone, never on it. */
.le-objects { width:100vw;margin-inline:calc(50% - 50vw);max-width:none;max-height:clamp(560px,58vw,1100px);--k:1;--s:1; }
.le-objects .le-obj { --iw:min(calc(var(--ow) / 1440 * 100cqw * var(--s)), calc(var(--ow) * 1.25px));--sx:calc(50cqw + (var(--cx) - 720) / 1440 * 100cqw * var(--k) - var(--iw) / 2);z-index:1;width:var(--iw);left:var(--sx); }
/* Safe zone: never closer than 48px to the phone (36cqw-64cqw); narrow stages push food out to bleed off the edge. */
.le-objects .le-obj--l { left:min(var(--sx), 36cqw - 48px - var(--iw)); }
.le-objects .le-obj--r { left:max(var(--sx), 64cqw + 48px); }
@media (max-width:1023px) { .le-objects .le-obj--c { display:none; } }
@media (min-width:701px) { .le-objects .le-objects-phone { z-index:3;--w:min(28cqw, 403px);width:var(--w);left:calc(50cqw - var(--w) / 2); } }
.le-objects .le-objects-phone { z-index:3; }
.le-objects .le-obj--eye-mask { top:auto !important;bottom:-12%; }
@media (min-width:1180px) { .le-objects { --k:1.15; } }
@media (min-width:1400px) { .le-objects { --k:1.32; } }
@media (min-width:1800px) { .le-objects { --s:1.15; } }
@media (min-width:2400px) { .le-objects { --s:1.3; } }
@media (max-width:700px) {
.le-objects .le-obj { display:none; }
.le-objects .le-obj--pizza, .le-objects .le-obj--sushi, .le-objects .le-obj--tacos, .le-objects .le-obj--ramen { display:block;width:22vw;opacity:1; }
.le-objects .le-obj--pizza, .le-objects .le-obj--tacos { left:-12vw; }
.le-objects .le-obj--sushi, .le-objects .le-obj--ramen { left:auto;right:-12vw; }
.le-objects .le-obj--pizza, .le-objects .le-obj--sushi { top:8% !important; }
.le-objects .le-obj--tacos, .le-objects .le-obj--ramen { top:auto !important;bottom:8%; } }
/* ---------- Ask animation (DE-424, Wonder "Landing Ask animation (Oct 29)" V2) ---------- */
.le-split { align-items: flex-start; }
.le-split-photo { height: 760px; aspect-ratio: auto; }
.le-split-copy { justify-content: flex-start; gap: 40px; padding: 8px 0; }
.le-habit { transition: color .2s ease; }
.le-ask-stack { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 12px; }
.le-ask-stack .le-ask { position: static; height: 56px; background: rgba(20, 28, 69, .72); }
.le-ask-text { display: flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.le-ask-text > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.le-ask-caret { display: none; width: 1.5px; height: 1.1em; margin-left: 1px; background: #fff; }
.is-typing .le-ask-caret { display: inline-block; }
.is-sent .le-ask-send { animation: le-send .12s ease-out; }
@keyframes le-send { 50% { transform: scale(.88); } }
.le-answers { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.le-ask-stack.is-open .le-answers { grid-template-rows: 1fr; }
.le-ask-stack:not(.is-open) .le-answers { transition-duration: .25s; }
.le-ask-stack.is-fast .le-answers, .le-ask-stack.is-fast .le-answer { transition-duration: .15s; }
.le-answers > * { min-height: 0; }
.le-answer { display: none; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--le-radius); background: #fafaf8; box-shadow: 0 12px 32px rgba(9, 13, 36, .28); color: #111; opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
.le-answer.is-on { display: flex; }
.le-answer.is-in { opacity: 1; transform: none; }
.le-answers:has(.is-on) { overflow: visible; }
.le-answer-from { display: flex; align-items: center; gap: 8px; color: #3a3a3c; font-size: 14px; line-height: 1.43; }
.le-answer-from img { width: 16px; height: 16px; margin: 4px; border-radius: 4px; }
.le-answer-summary { font-size: 16px; line-height: 1.45; }
.le-data { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px; border: 1px solid #e8e8ec; border-radius: 16px; background: #fff; }
.le-data-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.le-data-title { color: #2b3fb8; font-size: 13px; font-weight: 600; }
.le-data-cohort, .le-data-caption { color: #68686d; font-size: 12px; }
.le-data-caption { font-size: 12px; }
.le-answer--trend .le-data-caption { font-size: 12px; }
/* CompareBars: grow from 0 over 650 ms, the second bar 120 ms later, then the gap pill */
.le-cmp-row { display: flex; flex-direction: column; gap: 6px; }
.le-cmp-head { display: flex; justify-content: space-between; align-items: flex-end; }
.le-cmp-head > span:first-child { display: flex; flex-direction: column; }
.le-cmp-label { color: #3a3a3c; font-size: 13px; }
.le-cmp-nights { color: #68686d; font-size: 12px; }
.le-cmp-value { color: #68686d; font-size: 13px; }
.le-cmp-value b { color: #111; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.is-with .le-cmp-value b { color: #2b3fb8; }
.le-cmp-track { height: 10px; }
.le-cmp-bar { height: 10px; border-radius: 999px; background: #afc0ff; transform-origin: left; }
.is-with .le-cmp-bar { background: #2b3fb8; }
.le-cmp-gap { display: flex; justify-content: flex-end; }
.le-cmp-gap span { padding: 2px 8px; border-radius: 999px; background: #eef0fa; color: #2b3fb8; font-size: 12px; font-weight: 500; }
/* Sparkline over the usual band: band fades, line draws over 500 ms, last-night dot pops */
.le-spark { position: relative; height: 56px; }
.le-spark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.le-spark-band { fill: #2b3fb81f; }
.le-spark-line { fill: none; stroke: #2b3fb8; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.le-spark-mark { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 2px solid #fff; border-radius: 50%; background: #2b3fb8; }
.le-spark-dot { position: absolute; right: calc(4 / 520 * 100%); width: 12px; height: 12px; margin: -6px -6px 0 0; border: 2px solid #fff; border-radius: 50%; background: #2b3fb8; }
/* Count: night tokens fade in 50 ms apart, then the headline */
.le-count-headline { color: #141c45; font-size: 28px; font-weight: 600; letter-spacing: -.5px; line-height: 1.2; }
.le-count-row { display: flex; justify-content: space-between; }
.le-night { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.le-night-token { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e8e8ec; border-radius: 50%; background: #fff; font-size: 16px; }
.le-night--without .le-night-token { border: 1.5px solid #a1a1a6; background: none; font-size: 14px; opacity: .55; }
.le-night--none .le-night-token { border-style: dashed; background: none; color: #a1a1a6; }
.le-night-day { color: #68686d; font-size: 12px; }
/* Evidence rows: rise 8 px, 80 ms apart */
.le-ev-row { display: flex; flex-direction: column; padding: 8px 0; }
.le-ev-row + .le-ev-row { border-top: 1px solid #e8e8ec; }
.le-ev-label, .le-ev-meta { color: #68686d; font-size: 12px; }
.le-ev-figure { color: #111; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
/* SplitBars: bars grow up from the baseline over 500 ms, then the delta */
.le-split-chart { display: flex; align-items: flex-end; gap: 16px; }
.le-split-delta { display: flex; flex-direction: column; flex-shrink: 0; gap: 4px; width: 150px; }
.le-split-delta b { color: #141c45; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -1px; }
.le-split-delta span { color: #68686d; font-size: 13px; }
.le-split-bars { display: flex; align-items: flex-end; flex: 1; gap: 12px; }
.le-sbar { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 6px; }
.le-sbar > b:first-child { font-size: 18px; font-weight: 600; }
.le-sbar-median { margin-top: -6px; color: #68686d; font-size: 12px; }
.le-sbar-fill { width: 64px; border-radius: 10px 10px 0 0; background: #afc0ff; transform-origin: bottom; }
.le-sbar.is-strong .le-sbar-fill { background: #2b3fb8; }
.le-sbar-emoji { display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border: 1px solid #e8e8ec; border-radius: 50%; background: #fff; font-size: 15px; }
.le-sbar-label { color: #3a3a3c; font-size: 13px; }
.le-sbar-nights { font-size: 13px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .le-ask-stack:not(.is-still) .is-in .le-cmp-bar { animation: le-grow-x .65s cubic-bezier(.2,.7,.2,1) .3s both; }
  .le-ask-stack:not(.is-still) .is-in .le-cmp-row + .le-cmp-row .le-cmp-bar { animation-delay: .42s; }
  .le-ask-stack:not(.is-still) .is-in .le-cmp-gap { animation: le-fade .25s ease 1.07s both; }
  .le-ask-stack:not(.is-still) .is-in .le-spark-band { animation: le-fade .2s ease .3s both; }
  .le-ask-stack:not(.is-still) .is-in .le-spark-line { animation: le-draw .5s ease-out .45s both; }
  .le-ask-stack:not(.is-still) .is-in .le-spark-dot, .le-ask-stack:not(.is-still) .is-in .le-spark-mark { animation: le-pop .2s ease-out .95s both; }
  .le-ask-stack:not(.is-still) .is-in .le-night { animation: le-fade .2s ease both; }
  .le-ask-stack:not(.is-still) .is-in .le-count-headline { animation: le-fade .25s ease .7s both; }
  .le-ask-stack:not(.is-still) .is-in .le-ev-row { animation: le-rise .3s ease both; }
  .le-ask-stack:not(.is-still) .is-in .le-sbar-fill { animation: le-grow-y .5s cubic-bezier(.2,.7,.2,1) .3s both; }
  .le-ask-stack:not(.is-still) .is-in .le-split-delta { animation: le-fade .25s ease .8s both; }
  .le-night:nth-child(1) { animation-delay: .30s !important; } .le-night:nth-child(2) { animation-delay: .35s !important; }
  .le-night:nth-child(3) { animation-delay: .40s !important; } .le-night:nth-child(4) { animation-delay: .45s !important; }
  .le-night:nth-child(5) { animation-delay: .50s !important; } .le-night:nth-child(6) { animation-delay: .55s !important; }
  .le-night:nth-child(7) { animation-delay: .60s !important; }
  .le-ev-row:nth-of-type(1) { animation-delay: .30s !important; } .le-ev-row:nth-of-type(2) { animation-delay: .38s !important; }
  .le-ev-row:nth-of-type(3) { animation-delay: .46s !important; }
}
@keyframes le-grow-x { from { transform: scaleX(0); } }
@keyframes le-grow-y { from { transform: scaleY(0); } }
@keyframes le-fade { from { opacity: 0; } }
@keyframes le-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes le-draw { from { stroke-dashoffset: 1; } }
@keyframes le-pop { from { opacity: 0; transform: scale(.4); } }
@media (prefers-reduced-motion: reduce) {
  .le-answers, .le-answer, .le-habit, .le-habit .le-icon-dot { transition: none; }
}
@media (max-width: 700px) {
  .le-split-photo { height: 720px; aspect-ratio: auto; }
  .le-ask-stack { left: 12px; right: 12px; bottom: 12px; }
  .le-answer { gap: 10px; padding: 16px; }
  .le-answer-summary { font-size: 15px; }
  .le-data { padding: 14px 16px; }
  .le-split-delta { width: auto; }
  .le-split-chart { flex-direction: column; align-items: stretch; }
  .le-night-token { width: 36px; height: 36px; }
}
/* DE-453: official-bezel captures, shown as-is (no CSS frame, shadow, tilt or notch). */
.le-phone.le-phone--shot { padding:0;background:none;border:0;border-radius:0;box-shadow:none;min-height:0;transform:none; }
.le-phone.le-phone--shot::before { content:none; }
.le-phone--shot img { display:block;width:100%;height:auto; }

/* =====================================================================================================
   Landing polish (DE-457 and the folded PRs). Later rules here win over the older blocks above.
   ===================================================================================================== */
.le { position: relative; }

/* ---------- Masthead: the nav sits over the hero frame but outside <main>, so the skip link skips it ---------- */
.le-masthead { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 5; color: var(--le-navy); }
.le-masthead .le-nav { position: relative; inset: auto; }
.le-nav-compact, .le-nav-join { display: none; }
.le-iphone { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid rgba(20, 28, 69, .28); border-radius: 999px; color: var(--le-navy); font-size: 13px; font-weight: 500; }
@media (max-width: 767px) {
  .le-nav-links, .le-iphone { display: none; }
  .le-nav-compact { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: 15px; font-weight: 500; text-decoration: none; }
  .le-nav-join { display: inline-flex; height: 40px; padding: 0 18px; }
  .le-nav { gap: 16px; }
}
@media (max-width: 700px) { .le-masthead { top: 12px; left: 12px; right: 12px; } }
@media (max-width: 400px) { .le-nav { gap: 12px; padding: 0 14px; } .le-nav-join { padding: 0 14px; } }

/* ---------- Hero qualifier (S5): one short line under the form ---------- */
.le-hero-qualifier { max-width: 440px; color: var(--le-ink-2); font-size: 13px; line-height: 1.5; }
.le-hero-qualifier a { color: var(--le-navy); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Waitlist forms (S2): a query container that stacks when narrow; CTA text stays 15px/500 ---------- */
.le .wl-wrap { container: wl / inline-size; width: min(440px, 100%); font-size: 16px; }
.le .wl-wrap .waitlist-form { width: 100%; }
.le .waitlist-form input[type="email"] { flex: 1 1 auto; min-width: 0; }
.le .waitlist-form .btn { font-size: 15px; font-weight: 500; }
@container wl (max-width: 19em) {
  .le .waitlist-form { flex-direction: column; align-items: stretch; gap: 8px; padding: 8px; border-radius: 22px; }
  .le .waitlist-form input[type="email"] { flex: 0 0 auto; height: 44px; padding: 0 12px; }
  .le .waitlist-form .btn { width: 100%; height: 44px; padding: 0 16px; }
}
.le .waitlist-form:has(input[aria-invalid="true"]) { border-color: #B3261E; }
.le-hero-foot .wl-wrap, .le-closer-copy .wl-wrap { align-self: center; }
/* RL-1: the closer copy fills its column, so the form can never be wider than the screen. */
.le-closer-copy { align-self: stretch; width: 100%; box-sizing: border-box; text-align: center; }
.le-eligibility a { color: var(--le-navy); text-underline-offset: 3px; }
.le-closer-notes { font-size: 13px; }

/* ---------- Stage pills: one style per fact-sheet label ---------- */
.le-stage--likely { border-color: var(--le-navy); background: var(--le-navy); color: #fff; }
.le-stage--possible { border-color: rgba(43, 63, 184, .22); background: #EEF0FA; color: var(--le-cobalt); }
.le-stage--neutral { border-color: var(--le-line); background: #F4F4F6; color: var(--le-ink-2); }
.le-notif-row { flex-wrap: wrap; row-gap: 8px; }
.le-notif-note { color: var(--le-ink-2); font-size: 12px; line-height: 1.3; }

/* ---------- Icons: cobalt lucide lines in soft-cobalt circles (S4) ---------- */
.le-icon { display: block; flex-shrink: 0; }
.le-icon-dot { display: inline-grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #EEF0FA; color: var(--le-cobalt); }
.le-icon-dot--sm { width: 40px; height: 40px; }
.le-preview-head .le-icon-dot svg { stroke: currentColor; }

/* ---------- Product tabs (S9) ---------- */
.le-tabs { left: 50%; right: auto; width: max-content; max-width: calc(100% - 24px); transform: translateX(-50%); gap: 4px; padding: 4px; border-radius: 999px; background: rgba(var(--le-midnight), .5); }
.le-tab { min-height: 44px; color: #fff; }
.le-tab[aria-selected="true"] { background: #fff; color: var(--le-navy); }
.le-panel:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.le-usual { white-space: nowrap; overflow: hidden; }
@media (max-width: 400px) { .le-usual-your { display: none; } }
.le-read .le-read-metrics { grid-template-columns: 1fr auto; }
.le-read p { text-wrap: pretty; }
.le-after-product { display: flex; justify-content: center; padding: 48px var(--le-gutter) 0; }
@media (max-width: 1000px) {
  .le-tabs { position: relative; left: auto; transform: none; margin: 0 auto; flex-wrap: nowrap; }
  .le-product { min-height: 0; padding-bottom: 96px; }
  .le-product-preview { margin: 60px auto 0; }
}
@media (max-width: 560px) { .le-tab { padding: 0 11px; min-height: 44px; } }
@media (max-width: 360px) { .le-tabs { gap: 0; padding: 3px; } .le-tab { padding: 0 9px; font-size: 14px; } }

/* ---------- Explore (S8): one confident H2 plus a benefit line; scrim keeps white text readable ---------- */
.le-explore-title { color: #fff; font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.le-explore-text { color: rgba(255, 255, 255, .8); font-size: 18px; font-weight: 300; line-height: 1.5; letter-spacing: 0; }
.le-preview-question { color: var(--le-navy); }
.le-preview-label { color: var(--le-ink-2); font-size: 13px; font-weight: 500; }
@media (max-width: 1180px) {
  .le-explore-scrim { background: linear-gradient(180deg, rgba(var(--le-midnight), .72) 0%, rgba(var(--le-midnight), .45) 55%, rgba(var(--le-midnight), .2) 100%); }
  .le-explore-card .le-explore-copy { order: -1; }
}
@media (max-width: 700px) {
  .le-explore-title { font-size: 36px; }
  .le-explore-text { font-size: 17px; font-weight: 400; color: rgba(255, 255, 255, .88); }
}

/* ---------- Ask (S7): eyebrow, serif H2, topics with icons; a reader's click stops the cycle ---------- */
.le-split { align-items: flex-start; }
.le-split-copy { justify-content: flex-start; gap: 0; padding: 0; }
.le-split-top { gap: 20px; }
.le-eyebrow { color: var(--le-cobalt); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.le-split-title { text-align: left; }
.le-split-top > .le-body { max-width: 440px; }
.le-habits { gap: 4px; margin-top: 12px; }
.le-habit { gap: 14px; min-height: 48px; color: var(--le-ink-2); font: 400 22px/1.25 var(--sans); letter-spacing: -.3px; text-decoration: none; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.le-habit:hover { color: var(--le-navy); text-decoration: underline; }
.le-habit.is-active, .le-habit[aria-pressed="true"] { color: var(--le-navy); font-weight: 500; }
.le-habit .le-icon-dot { transition: box-shadow .2s ease, background-color .2s ease; }
.le-habit.is-active .le-icon-dot, .le-habit[aria-pressed="true"] .le-icon-dot { background: #DDE2F7; box-shadow: 0 0 0 2px var(--le-cobalt); }
.le-ask-pause { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: 8px; padding: 0 16px 0 12px; border: 1px solid var(--le-line); border-radius: 999px; background: #fff; color: var(--le-ink-2); font: 500 14px var(--sans); cursor: pointer; }
.le-ask-pause:hover { border-color: var(--le-navy); color: var(--le-navy); }
.le-ask-pause[hidden] { display: none; }
.le-ask-pause-icon { display: inline-grid; place-items: center; color: var(--le-cobalt); }
.le-ask-pause-icon--play, .le-ask-pause[aria-pressed="true"] .le-ask-pause-icon--pause { display: none; }
.le-ask-pause[aria-pressed="true"] .le-ask-pause-icon--play { display: inline-grid; }
@media (max-width: 1000px) { .le-split-photo { order: 1; } }
@media (max-width: 700px) {
  .le-habit { font-size: 20px; }
  .le-ask-stack .le-ask { height: auto; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
  .le-ask-text { white-space: normal; }
  .le-ask-text > span:first-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- Closer objects at phone width (#859, T12/RL-6): five big pieces cropped off the sides ---------- */
@media (max-width: 700px) {
  .le-objects .le-obj { display: none; }
  .le-objects .le-obj--pizza, .le-objects .le-obj--sushi, .le-objects .le-obj--tacos, .le-objects .le-obj--ramen, .le-objects .le-obj--old-fashioned { display: block; width: max(120px, 34vw); opacity: 1; }
  .le-objects .le-obj--old-fashioned { width: 120px; left: auto; right: -40px; top: 42% !important; }
  .le-objects .le-obj--pizza, .le-objects .le-obj--tacos { left: calc(max(120px, 34vw) * -.55); right: auto; }
  .le-objects .le-obj--sushi, .le-objects .le-obj--ramen { left: auto; right: calc(max(120px, 34vw) * -.55); }
}

/* ---------- Pricing (S6): one Plus card, display price, founder callout ---------- */
.le-pricing .le-plans.le-plans--one { display: block; width: min(880px, 100%); }
.le-pricing .le-plan--plus { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 40px; border: 1px solid var(--le-line); box-shadow: 0 20px 48px -28px rgba(20, 28, 69, .3); }
.le-plan-founder { align-self: flex-start; padding: 10px 16px; border-radius: 14px; background: var(--le-navy); color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4; }
.le-plan-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.le-plan-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.le-plan-eyebrow { color: var(--le-cobalt); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.le-plan--plus .le-plan-name { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.le-plan--plus .le-plan-price { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 0; }
.le-plan-amount { color: var(--le-navy); font-family: var(--serif); font-size: 56px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.le-plan-period { color: var(--le-ink-2); font-size: 15px; font-weight: 400; }
.le-plan-alt, .le-plan-oura { color: var(--le-ink-2); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.le-plan-oura { color: var(--le-muted); }
.le-plan-head .le-pill { margin-top: 14px; }
.le-plan--plus .le-plan-points { margin: 0; padding: 0; gap: 14px; }
.le-plan-check { display: inline-grid; place-items: center; flex-shrink: 0; margin-top: 2px; color: var(--le-cobalt); }
@media (max-width: 767px) {
  .le-plan-main { grid-template-columns: 1fr; gap: 28px; }
  .le-pricing .le-plan--plus { padding: 28px 22px; }
  .le-plan-amount { font-size: 48px; }
}

/* ---------- FAQ (S11) ---------- */
.le-faq { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: var(--le-section) var(--le-gutter) 0; background: var(--le-paper); scroll-margin-top: 24px; }
.le-faq-list { width: min(760px, 100%); border-top: 1px solid var(--le-line); }
.le-faq-item { border-bottom: 1px solid var(--le-line); }
.le-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; color: var(--le-navy); font-size: 18px; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; }
.le-faq-item summary::-webkit-details-marker { display: none; }
.le-faq-item summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--le-cobalt); border-bottom: 2px solid var(--le-cobalt); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.le-faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.le-faq-answer { display: flex; flex-direction: column; gap: 10px; padding: 0 32px 24px 0; color: var(--le-ink-2); font-size: 16px; line-height: 1.6; }
.le-faq-answer a { color: var(--le-cobalt); text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .le-faq-item summary::after { transition: none; } }

/* ---------- Phone-width follow-ups from the 320/375 captures ---------- */
.le-after-product { padding-bottom: 64px; }
@media (max-width: 700px) {
  .le-stat { grid-template-columns: 116px minmax(0, 1fr); }
  .le-ask-text > span:first-child { white-space: normal; }
  .le-objects .le-obj--old-fashioned { right: -64px; }
}
@media (max-width: 400px) {
  /* Keep the hero copy, form and qualifier on the cream: the photo starts lower on small phones. */
  .le-hero-frame { height: 880px; }
  .le-hero-photo { top: 520px; height: 360px; }
  .le-hero-scrim { background: linear-gradient(var(--le-cream) 0%, var(--le-cream) 60%, transparent 84%); }
  .le-read .le-read-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .le-read-metrics dd { white-space: nowrap; }
  .le-objects .le-read-metrics dd { font-size: 24px; }
}
/* The hero field reads as a field on the cream at every width (white, with a hairline). */
.le-hero .waitlist-form { background: #fff; border-color: rgba(20, 28, 69, .16); }
