/* Landing page. Base tokens and documents live in styles.css.
   Follows the app's 1.3 direction (docs/ui-1.3/YON.md): one answer per section, numbers over sentences,
   green only for the primary action and selection, glass only on cards, no gradient text, no pills. */

body.landing { background: var(--n950); }
html { scroll-padding-top: 72px; }

/* ---------- Reveal on scroll (opacity and a short rise, nothing else) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.in { opacity: 1; transform: none; }
.d1 { --d: 1; }
.d2 { --d: 2; }
.d3 { --d: 3; }

/* ---------- Nav ---------- */
.nav { display: block; position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.4s, box-shadow 0.4s; }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .brand { margin-right: auto; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { color: var(--ink2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav.scrolled { background: rgba(4, 8, 21, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--hair); }

/* ---------- Type roles (app scale: 4 sizes per screen at most) ---------- */
.landing h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; max-width: 16em; }
.say { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--ink2); max-width: 30em; margin: 18px 0 0; }
.say a { color: var(--green); text-decoration: none; white-space: nowrap; }
.say a:hover { text-decoration: underline; }

/* ---------- Store badges ---------- */
.stores { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-top: 32px; }
.store { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 10px; }
.store img { height: 48px; width: auto; }
.store.soon img { opacity: 0.45; filter: grayscale(1); }
.store.soon small { font-size: 12px; font-weight: 500; color: var(--ink3); }
a.store { transition: transform 0.2s; }
a.store:hover { transform: scale(1.03); }
a.store:active { transform: scale(0.98); }
.meta { margin: 18px 0 0; font-size: 15px; color: var(--ink3); }

/* ---------- Device frames ---------- */
.device.phone {
  --pw: 340px;
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.175);
  background: linear-gradient(145deg, #2c3038, #0c0d11 40%, #1d2026);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--pw) * 0.012) #050608,
    0 60px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 140px -60px rgba(20, 241, 160, 0.3);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.device.phone::before {
  /* side buttons */
  content: ""; position: absolute; left: -2px; top: 22%; width: 3px; height: 12%; border-radius: 2px;
  background: #23262d; box-shadow: 0 calc(var(--pw) * 0.17) 0 #23262d;
}
.screen {
  position: relative;
  aspect-ratio: 402 / 874;
  border-radius: calc(var(--pw) * 0.148);
  overflow: hidden;
  background: #02040a;
  container-type: inline-size;
  isolation: isolate;
}
.screen > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 64px; overflow: hidden; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero-sky.no-gl { background: radial-gradient(80% 50% at 40% 0%, rgba(20, 241, 160, 0.3), transparent 70%); }
.hero-fade { position: absolute; inset: auto 0 0; height: 45%; z-index: -1; background: linear-gradient(180deg, rgba(2, 4, 10, 0), var(--n950) 92%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7.6vw, 104px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; text-shadow: 0 2px 40px rgba(2, 4, 10, 0.6); }
.hero .say { color: rgba(232, 240, 255, 0.84); text-shadow: 0 1px 20px rgba(2, 4, 10, 0.8); max-width: 26em; margin-top: 24px; }

.hero-device { display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.hero-device .device { --pw: min(360px, 78vw); }
.device-note { margin: 16px 0 0; font-size: 13px; color: var(--ink3); text-align: center; }

/* ---------- Living Tonight screen, 1.3 layout (sizes in cqw of a 402 pt screen) ---------- */
.tl { position: absolute; inset: 0; z-index: 1; color: #fff; font-family: var(--display); display: flex; flex-direction: column; align-items: center; padding: 0 4cqw; text-align: center; }
.tl p { margin: 0; }
.tl-status { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 4.6cqw 4.5cqw 0 6cqw; font: 600 4.1cqw/1 var(--font); }
.tl-island { width: 30cqw; height: 9cqw; border-radius: 6cqw; background: #000; margin-top: -0.4cqw; }
.tl-sb svg { width: 9cqw; height: 3.2cqw; fill: currentColor; color: #fff; }
.tl-top { width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 4.5cqw; }
.tl-pair { display: flex; gap: 2cqw; }
.tl-round { width: 10cqw; height: 10cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); }
.tl-round svg { width: 4.4cqw; height: 4.4cqw; }
.tl-place { display: flex; flex-direction: column; gap: 0.8cqw; margin-left: 12cqw; }
.tl-place b { font: 600 5cqw/1.1 var(--display); display: inline-flex; align-items: center; gap: 1.2cqw; justify-content: center; }
.tl-place b svg { width: 3cqw; height: 3cqw; color: rgba(232, 240, 255, 0.74); }
.tl-place small { font: 400 3.7cqw/1 var(--font); color: rgba(222, 232, 255, 0.52); }
.tl-score { font: 100 39.8cqw/1.05 var(--display); letter-spacing: -2.2cqw; margin: 5cqw 0 0 -2.2cqw !important; font-variant-numeric: tabular-nums; }
.tl-level { font: 600 5.2cqw/1.2 var(--display); letter-spacing: -0.05cqw; margin-top: 1cqw !important; color: var(--lv, rgba(222, 232, 255, 0.52)); transition: color 0.3s; }
.tl-say { margin-top: 1.6cqw !important; font: 400 4.2cqw/1.35 var(--font); color: rgba(232, 240, 255, 0.74); min-height: 5.7cqw; }
.tl-say b { color: #fff; font-weight: 600; }
.tl-card, .tl-strip {
  width: 100%; border-radius: 6cqw; text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}
.tl-card { margin-top: 6cqw; padding: 3.4cqw 4cqw 3cqw; }
.tl-card-h { display: flex; justify-content: flex-end; }
.tl-link { color: var(--green); font: 600 3.7cqw/1 var(--font); }
.tl-curve { display: block; width: 100%; height: 21cqw; margin-top: 2cqw; overflow: visible; }
.tl-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s; }
.tl-area { opacity: 0; transition: opacity 1.2s ease 1.6s; }
.tl-now { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity 0.6s 2.2s; }
.tl-dot { fill: #fff; opacity: 0; transition: opacity 0.6s 2.4s; }
.tl.played .tl-line { stroke-dashoffset: 0; }
.tl.played .tl-area, .tl.played .tl-now, .tl.played .tl-dot { opacity: 1; }
.tl-axis { display: flex; justify-content: space-between; margin-top: 1.6cqw; font: 500 2.7cqw/1 var(--font); color: rgba(222, 232, 255, 0.52); font-variant-numeric: tabular-nums; }
.tl-strip { margin-top: 2.6cqw; display: grid; grid-template-columns: repeat(3, 1fr); padding: 3.4cqw 0; }
.tl-strip > div { padding: 0 3.4cqw; display: flex; flex-direction: column; gap: 1.4cqw; }
.tl-strip > div + div { border-left: 0.5px solid rgba(255, 255, 255, 0.12); }
.tl-strip small { font: 600 2.9cqw/1 var(--font); letter-spacing: 0.2cqw; text-transform: uppercase; color: rgba(222, 232, 255, 0.52); }
.tl-strip b { font: 300 7.4cqw/1 var(--display); letter-spacing: -0.15cqw; font-variant-numeric: tabular-nums; }
.tl-strip sub { font-size: 3.6cqw; vertical-align: baseline; margin-left: 0.3cqw; color: rgba(232, 240, 255, 0.74); }
.tl-strip i { display: flex; gap: 0.7cqw; height: 1cqw; }
.tl-strip .kp s { flex: 1; border-radius: 1cqw; background: var(--green); }
.tl-strip .kp s.off { background: rgba(255, 255, 255, 0.16); }
.tl-strip .bar { border-radius: 1cqw; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.tl-strip .bar s { display: block; border-radius: inherit; background: var(--green); }
.tl-strip .moon s { background: rgba(255, 236, 200, 0.7); }
.v04 { width: 6%; } .v12 { width: 12%; }
.tl-strip em { font: 400 3cqw/1.2 var(--font); font-style: normal; color: rgba(232, 240, 255, 0.74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-see {
  width: 100%; margin-top: 2.6cqw; display: flex; align-items: center; justify-content: space-between; padding: 4.2cqw 5cqw; border-radius: 8cqw;
  background: linear-gradient(100deg, rgba(20, 241, 160, 0.22), rgba(46, 211, 230, 0.12) 60%, rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 0.5px rgba(160, 255, 220, 0.4);
  font: 600 4.3cqw/1 var(--display);
}
.tl-see span { display: inline-flex; align-items: center; gap: 2.4cqw; }
.tl-see svg { width: 5.2cqw; height: 3.6cqw; color: var(--mint); }
.tl-see em { font: 400 3.4cqw/1 var(--font); font-style: normal; color: rgba(232, 240, 255, 0.74); }
.tl-tabs {
  position: absolute; left: 4cqw; right: 4cqw; bottom: 5.6cqw; display: flex; justify-content: space-around; padding: 3.2cqw 2cqw;
  border-radius: 10cqw; background: rgba(20, 26, 48, 0.6); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  font: 600 2.7cqw/1 var(--font); color: rgba(222, 232, 255, 0.6);
}
.tl-tabs .on { color: var(--green); }

/* ---------- Facts strip: four numbers, one line ---------- */
.facts { padding: 24px 0 48px; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.strip li { padding: 28px 24px 26px 0; display: flex; flex-direction: column; gap: 8px; }
.strip li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.strip b { font: 200 clamp(44px, 5vw, 64px)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.strip b small { font-size: 0.34em; font-weight: 400; letter-spacing: 0; color: var(--ink2); margin-left: 4px; }
.strip li > span { font-size: 15px; color: var(--ink2); }

/* ---------- Live globe ---------- */
.now { padding: 96px 0; position: relative; }
.now-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.strip.mini { margin: 36px 0 0; grid-template-columns: repeat(4, auto); border-radius: 22px; border: 0; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); }
.strip.mini div { padding: 18px 16px; }
.strip.mini div + div { border-left: 1px solid var(--hair); }
.strip.mini dt { font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink3); }
.strip.mini dd { margin: 10px 0 0; font: 300 30px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip.mini dd small { font-size: 13px; color: var(--ink3); margin-left: 3px; letter-spacing: 0; }
.fine-print { margin: 16px 0 0; font-size: 14px; color: var(--ink3); display: flex; align-items: center; gap: 10px; }
.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(20, 241, 160, 0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(20, 241, 160, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(20, 241, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 241, 160, 0); }
}
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; margin-inline: auto; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe-wrap canvas.grabbing { cursor: grabbing; }
.globe-poster { position: absolute; left: 0; top: 0; width: 100%; height: auto; opacity: 1; transition: opacity 0.8s; pointer-events: none; }
.globe-wrap.gl-ok .globe-poster { opacity: 0; }
.seg { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; padding: 4px; border-radius: 14px; background: rgba(8, 16, 40, 0.6); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.seg button { font: 600 14px/1 var(--font); color: var(--ink2); background: none; border: 0; padding: 12px 18px; border-radius: 10px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); color: var(--ink); }

/* ---------- Alerts: a real Lock Screen with the app's own alert copy ---------- */
.alerts { padding: 96px 0; }
.alerts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.alerts-device { display: flex; justify-content: center; perspective: 1400px; }
.alerts-device .device { --pw: min(340px, 78vw); }
.screen.lock { background: radial-gradient(120% 60% at 50% 0%, #0d1a3e 0%, #040815 55%, #02040a 100%); display: flex; flex-direction: column; }
.lk-head { text-align: center; padding-top: 17cqw; color: rgba(255, 255, 255, 0.92); }
.lk-head p { margin: 0; }
.lk-date { font: 600 5cqw/1 var(--font); color: rgba(232, 240, 255, 0.8); }
.lk-time { font: 600 27cqw/1 var(--display); letter-spacing: -0.8cqw; margin-top: 1cqw !important; font-variant-numeric: tabular-nums; }
.notes { margin-top: auto; padding: 0 3.4cqw 12cqw; display: grid; gap: 2.4cqw; }
.note {
  display: grid; grid-template-columns: 9.6cqw 1fr; gap: 3cqw; align-items: start; padding: 3.4cqw 3.8cqw; border-radius: 6.4cqw; text-align: left;
  background: rgba(40, 48, 72, 0.62); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}
.note img { width: 9.6cqw; height: 9.6cqw; border-radius: 2.4cqw; }
.note p { margin: 0; font: 400 3.6cqw/1.3 var(--font); color: rgba(255, 255, 255, 0.88); }
.note-h { display: flex; justify-content: space-between; gap: 2cqw; margin-bottom: 0.6cqw !important; }
.note-h b { font-weight: 600; color: #fff; }
.note-h time { color: rgba(232, 240, 255, 0.6); font-size: 3.2cqw; }
.js .note { opacity: 0; transform: translateY(-4cqw) scale(0.97); transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 1.2, 0.3, 1); }
.js .notes.in .note { opacity: 1; transform: none; }
.js .notes.in .note:nth-child(2) { transition-delay: 0.6s; }
.js .notes.in .note:nth-child(3) { transition-delay: 1.2s; }

/* ---------- Watch + widgets: one large, two small ---------- */
.watch-sec { padding: 96px 0; }
.glance { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-top: 44px; }
.glance figure { margin: 0; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 22px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); }
.glance figcaption { font-size: 15px; color: var(--ink2); }
.glance figcaption b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.g-watch { align-items: center; justify-content: center; padding: 56px 28px 32px !important; perspective: 1400px; }
.g-side { display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.g-widget { align-items: flex-start; justify-content: space-between; }
.g-widget img { width: min(240px, 60%); clip-path: inset(0.6% 3.4% 0.8% 0.4% round 16%); }
.g-island img { width: 100%; max-width: 440px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.7)); }
.watch {
  --ww: 250px;
  position: relative; width: var(--ww); padding: calc(var(--ww) * 0.075);
  border-radius: calc(var(--ww) * 0.3) / calc(var(--ww) * 0.32);
  background: linear-gradient(145deg, #50545d, #16171b 38%, #2a2d33 70%, #4a4e56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 0 calc(var(--ww) * 0.03) #08090b, 0 40px 70px -30px rgba(0, 0, 0, 0.9), 0 0 90px -40px rgba(20, 241, 160, 0.4);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.watch::before { content: ""; position: absolute; left: -5px; top: 30%; width: 6px; height: 22%; border-radius: 3px; background: linear-gradient(90deg, #ff7a2f, #c94f12); }
.watch::after { content: ""; position: absolute; right: -9px; top: 24%; width: 11px; height: 17%; border-radius: 4px; background: repeating-linear-gradient(180deg, #5a5e67 0 2px, #2b2e34 2px 4px); box-shadow: 0 calc(var(--ww) * 0.24) 0 -2px #3a3d44; }
.watch-screen {
  position: relative; aspect-ratio: 410 / 502; container-type: inline-size; overflow: hidden;
  border-radius: 22% / 18%;
  background: radial-gradient(90% 60% at 30% 0%, rgba(46, 211, 230, 0.2), transparent 70%), #04070f;
  font-family: var(--display); color: #fff;
}
.watch-screen p { margin: 0; position: absolute; }
.wf-time { right: 9cqw; top: 8cqw; font: 600 10cqw/1 var(--display); letter-spacing: -0.2cqw; }
.wf-place { right: 9cqw; top: 19.5cqw; font: 600 9cqw/1 var(--display); color: var(--green); }
.wf-ring { position: absolute; left: 50%; top: 31cqw; width: 66cqw; height: 66cqw; translate: -50% 0; overflow: visible; }
.wf-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; transform: rotate(135deg); transform-origin: 100px 100px; }
.wf-track { stroke: rgba(255, 255, 255, 0.16); stroke-dasharray: 75 100; }
.wf-prog { stroke: url(#wfg); stroke-dasharray: 0 100; transition: stroke-dasharray 2.2s cubic-bezier(0.3, 0.7, 0.2, 1) 0.4s; }
.g-watch.in .wf-prog, html:not(.js) .wf-prog { stroke-dasharray: 58.5 100; }
.wf-score { left: 0; right: 0; top: 47cqw; text-align: center; font: 200 19cqw/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.4cqw; }
.wf-level { left: 0; right: 0; top: 70cqw; text-align: center; font: 600 5.4cqw/1 var(--font); letter-spacing: 1cqw; text-transform: uppercase; color: var(--green); }
.wf-advice { left: 0; right: 0; top: 92cqw; text-align: center; font: 400 8.4cqw/1.25 var(--font); color: rgba(232, 240, 255, 0.74); }
.wf-advice b { display: block; color: #fff; font-weight: 600; }

/* ---------- Pricing: paywall words and plans ---------- */
.pricing { padding: 96px 0; }
.price-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; margin-top: 44px; align-items: start; }
.price-grid h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.free { padding: 28px 28px 28px 0; }
.pro { border-radius: 28px; padding: 28px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--edge); }
.list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; color: var(--ink2); }
.list li { padding-left: 26px; position: relative; }
.list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 11px; height: 6px; border-left: 1.75px solid var(--ink3); border-bottom: 1.75px solid var(--ink3); transform: rotate(-45deg); }
.pro .list li::before { border-color: var(--green); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.plan { border-radius: 20px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--edge); background: rgba(255, 255, 255, 0.03); display: flex; flex-direction: column; gap: 4px; }
.plan p { margin: 0; }
.plan.on { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; background: linear-gradient(120deg, rgba(20, 241, 160, 0.12), rgba(46, 211, 230, 0.05)); box-shadow: inset 0 0 0 1.5px var(--green); padding: 18px 20px; }
.plan.on > p:first-child { display: flex; flex-direction: column; gap: 4px; }
.plan .trial { font-size: 14px; color: var(--green); font-weight: 500; }
.price { color: var(--ink3); font-size: 15px; font-variant-numeric: tabular-nums; }
.price b { color: var(--ink); font-size: 20px; font-weight: 600; }
.plan.on .price { text-align: right; display: flex; flex-direction: column; gap: 4px; }
.plan.on .price span { display: block; }
.plan.on .price span + span { font-size: 13px; }
.pricing .fine { margin: 20px 0 0; font-size: 14px; color: var(--ink3); max-width: 46em; }
.pricing .fine a { color: var(--ink2); }

/* ---------- Privacy ---------- */
.privacy { padding: 64px 0; }
.privacy-in { border-top: 1px solid var(--hair); padding-top: 64px; }

/* ---------- Final ---------- */
.final { padding: 96px 0 120px; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 20% -10% -30%; background: radial-gradient(50% 50% at 50% 70%, rgba(20, 241, 160, 0.16), transparent 70%); pointer-events: none; z-index: -1; }
.final-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-icon { border-radius: 17px; box-shadow: 0 20px 60px -20px rgba(20, 241, 160, 0.6); }
.final h2 { font-size: clamp(48px, 7vw, 88px); margin-top: 24px; letter-spacing: -0.045em; }
.final .stores { justify-content: center; }

/* ---------- Footer ---------- */
body.landing footer { margin-top: 0; }
footer .sources { margin: 0 0 20px; font-size: 13px; line-height: 1.5; color: var(--ink3); max-width: 60em; }

/* ---------- Fit devices to the viewport height on wide screens ---------- */
@media (min-width: 901px) {
  .hero-device .device { --pw: min(360px, 32vw, max(220px, calc((100svh - 190px) * 0.47))); }
  .alerts-device .device { --pw: min(340px, 30vw, calc((100svh - 140px) * 0.47)); }
  .globe-wrap { max-width: min(640px, calc(100svh - 120px)); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; font-size: 14px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 96px; align-items: flex-start; }
  .hero-grid, .now-grid, .alerts-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-device .device { --pw: min(340px, 78vw, calc((100svh - 100px) * 0.47)); }
  .alerts-device .device { --pw: min(320px, 76vw, calc((100svh - 100px) * 0.47)); }
  .glance, .price-grid { grid-template-columns: 1fr; }
  .free { padding: 0 4px; }
  .now, .alerts, .watch-sec, .pricing { padding: 72px 0; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip li:nth-child(n + 3) { border-top: 1px solid var(--hair); }
}
@media (max-width: 600px) {
  .hero-fade { inset: 0; height: auto; background: linear-gradient(180deg, rgba(2, 4, 10, 0.2) 0%, rgba(2, 4, 10, 0.55) 30%, rgba(2, 4, 10, 0.55) 55%, var(--n950) 100%); }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .strip li { padding: 22px 12px 20px 0; }
  .strip li + li { padding-left: 16px; }
  .strip li:nth-child(3) { padding-left: 0; }
  .strip li > span { font-size: 14px; }
  .strip.mini { grid-template-columns: repeat(2, 1fr); }
  .strip.mini div:nth-child(3) { border-left: 0; }
  .strip.mini div:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .glance figure { padding: 22px; }
  .g-watch { padding: 40px 22px 24px !important; }
  .watch { --ww: 210px; }
  .plans { grid-template-columns: 1fr; }
  .plan.on { padding: 16px 18px; }
  .store img { height: 44px; }
  .nav .btn.small { padding: 0 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .note { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .tl-line, .tl-area, .tl-now, .tl-dot { transition: none; }
  .device.phone, .watch, a.store { transition: none; }
  .wf-prog { transition: none; }
}

/* ---------- Languages: CJK headings keep natural tracking and room for full-height glyphs ---------- */
:is(:lang(ja), :lang(ko), :lang(zh)) :is(.hero h1, .landing h2, .final h2) { letter-spacing: 0; line-height: 1.18; }
/* CJK glyphs are a full em wide: a smaller hero keeps the two lines of the design */
:is(:lang(ja), :lang(ko), :lang(zh)) .hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
@media (max-width: 600px) {
  :is(:lang(ja), :lang(ko), :lang(zh)) .hero h1 { font-size: clamp(38px, 11vw, 52px); }
}
