/* Svarodaya site. Tokens come from the app's "Dusk and dawn" palette (swara-app/src/ui/theme.ts).
   The page has two skies. Which one shows is decided by the breath check in the hero, with :has(), so
   there is no script anywhere on the site. DESIGN.md explains the rules. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("/fonts/albert-sans.woff2") format("woff2-variations"), url("/fonts/albert-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Tiro Devanagari Sanskrit";
  src: url("/fonts/tiro-devanagari-sanskrit.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+25CC;
}

/* Registered so the colours can fade when the sky changes. Browsers without @property just switch. */
@property --ink { syntax: "<color>"; inherits: true; initial-value: #EEF2FB; }
@property --soft { syntax: "<color>"; inherits: true; initial-value: #AEBBDC; }
@property --faint { syntax: "<color>"; inherits: true; initial-value: #7483AB; }
@property --glow { syntax: "<color>"; inherits: true; initial-value: #C7D6F7; }
@property --line { syntax: "<color>"; inherits: true; initial-value: rgba(190, 208, 250, 0.17); }
@property --deep { syntax: "<color>"; inherits: true; initial-value: #121A31; }

:root {
  color-scheme: dark;

  /* the moon breath: indigo night */
  --ida-top: #2C3D70;
  --ida-bottom: #121A31;
  --ida-ink: #EEF2FB;
  --ida-soft: #AEBBDC;
  --ida-faint: #7483AB;
  --ida-line: rgba(190, 208, 250, 0.17);
  --ida-glow: #C7D6F7;

  /* the sun breath: rose dawn */
  --pin-top: #7A3A66;
  --pin-bottom: #25132B;
  --pin-ink: #FCEFF4;
  --pin-soft: #E3C0D2;
  --pin-faint: #AB849B;
  --pin-line: rgba(255, 200, 225, 0.18);
  --pin-glow: #FFC48C;

  /* the five elements */
  --t-prithvi: #E8BC55;
  --t-jala: #DCE9F8;
  --t-agni: #F0694A;
  --t-vayu: #86CDBF;
  --t-akasha: #A99BEA;

  --wash: rgba(255, 255, 255, 0.08);

  /* the sky in force */
  --ink: var(--ida-ink);
  --soft: var(--ida-soft);
  --faint: var(--ida-faint);
  --line: var(--ida-line);
  --glow: var(--ida-glow);
  --deep: var(--ida-bottom);
  --el: var(--t-prithvi);

  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Sanskrit", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;

  --gutter: clamp(20px, 5vw, 64px);
  --slow: 1.4s;

  transition: --ink var(--slow) ease, --soft var(--slow) ease, --faint var(--slow) ease, --glow var(--slow) ease, --line var(--slow) ease, --deep var(--slow) ease;
}

:root:has(#breath-right:checked) {
  --ink: var(--pin-ink);
  --soft: var(--pin-soft);
  --faint: var(--pin-faint);
  --line: var(--pin-line);
  --glow: var(--pin-glow);
  --deep: var(--pin-bottom);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  background: var(--ida-bottom);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* The two skies, one above the other. The dawn fades in over the night. */
body::before, body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body::before { background: linear-gradient(var(--ida-top), var(--ida-bottom) 78%); }
body::after {
  background: linear-gradient(var(--pin-top), var(--pin-bottom) 78%);
  opacity: 0;
  transition: opacity var(--slow) ease;
}
:root:has(#breath-right:checked) body::after { opacity: 1; }

img, svg { display: block; max-width: 100%; }
svg { overflow: visible; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

a { color: inherit; text-decoration-color: var(--faint); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--glow); color: var(--deep); }

h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }

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

.serif { font-family: var(--display); font-weight: 500; }
.deva { font-family: var(--deva); font-weight: 400; font-style: normal; }
.soft { color: var(--soft); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 5; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--deep); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ───────── header ───────── */

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; padding-block: clamp(18px, 3vw, 30px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 500 1.6rem/1 var(--display); letter-spacing: 0.005em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.top nav ul { display: flex; gap: clamp(4px, 2.2vw, 28px); }
.top nav ul { margin-inline: -6px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; color: var(--soft); text-decoration: none; font-size: 0.95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 520px) { .top nav .wide { display: none; } }

/* ───────── hero: the breath check ───────── */

.hero { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(8px, 3vw, 40px) clamp(64px, 10vw, 128px); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); min-height: calc(100svh - 110px); }
  .hero__emblem { order: 2; }
}

.hero__emblem { width: min(62vw, 240px); margin-inline: auto; }
@media (min-width: 900px) { .hero__emblem { width: min(100%, 500px); position: sticky; top: 8vh; align-self: start; margin-top: 3vh; } }

.eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.7em; color: var(--soft); font-size: 0.98rem; margin-bottom: clamp(14px, 2vw, 22px); }
.eyebrow .deva { font-size: 1.3rem; line-height: 1.2; color: var(--glow); }

h1 { font: 500 clamp(2rem, 11vw, 3.9rem)/1 var(--display); letter-spacing: -0.012em; text-wrap: balance; }
h1 em { font-style: italic; color: var(--glow); }
.hero h1 em { display: block; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(3rem, 5.2vw, 4.2rem); } }

.lede { margin-top: clamp(18px, 2.4vw, 28px); max-width: 34em; color: var(--soft); font-size: clamp(1.06rem, 0.5vw + 0.98rem, 1.22rem); line-height: 1.58; }
.lede strong { color: var(--ink); font-weight: 500; }

.check { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--line); max-width: 36em; }
.check legend { padding: 0; font: 500 clamp(1.5rem, 1vw + 1.25rem, 1.95rem)/1.16 var(--display); }
.check__how { margin-top: 8px; color: var(--soft); }
.sides { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.side { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 20px 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--wash); cursor: pointer; font-weight: 500; transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.side input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.side svg { width: 20px; height: 20px; flex: none; }
.side--left svg { color: var(--ida-glow); }
.side--right svg { color: var(--pin-glow); }
.side--both { padding-inline: 20px; }
.side:hover { border-color: var(--soft); }
.side:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--deep); }
.side:has(input:checked) svg { color: var(--deep); }
.side:has(input:focus-visible) { outline: 2px solid var(--glow); outline-offset: 3px; }

.answer { display: none; margin-top: 26px; }
.answer--none { display: block; color: var(--soft); font-size: 0.98rem; }
:root:has(input[name="breath"]:checked) .answer--none { display: none; }
:root:has(#breath-left:checked) .answer--left,
:root:has(#breath-right:checked) .answer--right,
:root:has(#breath-both:checked) .answer--both { display: block; animation: rise 0.9s ease both; }

.answer__name { font: 500 clamp(1.9rem, 1.4vw + 1.5rem, 2.6rem)/1.05 var(--display); }
.answer__name .deva { font-size: 0.62em; color: var(--glow); margin-left: 0.35em; }
.answer__say { margin-top: 10px; font: italic 500 clamp(1.25rem, 0.5vw + 1.12rem, 1.45rem)/1.34 var(--display); max-width: 30em; }
.answer__note { margin-top: 18px; color: var(--soft); font-size: 0.95rem; max-width: 34em; }

.pair { display: grid; gap: 18px 36px; margin-top: 20px; }
@media (min-width: 560px) { .pair { grid-template-columns: 1fr 1fr; } }
.label { color: var(--soft); font-size: 0.92rem; font-weight: 600; margin-bottom: 8px; }
.points li { position: relative; padding-left: 20px; margin-bottom: 6px; line-height: 1.45; }
.points li::before { content: ""; position: absolute; left: 1px; top: 0.56em; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); border: 1.5px solid var(--glow); }
.points--wait li::before { background: transparent; }
.points--wait li { color: var(--soft); }

/* the emblem: five elements of the hour around the moon holding the sun */
.emblem { width: 100%; height: auto; }
.arc { fill: none; stroke-width: 1.3; stroke-linecap: round; }
.a-vayu { stroke: var(--t-vayu); }
.a-agni { stroke: var(--t-agni); }
.a-prithvi { stroke: var(--t-prithvi); }
.a-jala { stroke: var(--t-jala); }
.a-akasha { stroke: var(--t-akasha); }

.halo-stop { stop-color: var(--glow); }
.breathe { transform-origin: 0 0; animation: breathe 5.2s ease-in-out infinite alternate; }
.breathe--halo { animation-name: breathe-halo; }
.emblem__moon { fill: var(--ida-glow); transition: opacity var(--slow) ease; }
.emblem__sun { fill: var(--pin-glow); transition: opacity var(--slow) ease; }
:root:has(#breath-left:checked) .emblem__sun { opacity: 0.14; }
:root:has(#breath-right:checked) .emblem__moon { opacity: 0.22; }

@keyframes breathe { from { transform: scale(0.92); opacity: 0.88; } to { transform: scale(1.08); opacity: 1; } }
@keyframes breathe-halo { from { transform: scale(0.8); opacity: 0.3; } to { transform: scale(1.1); opacity: 0.62; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ───────── sections ───────── */

.hero > *, .hour > *, .day > *, .app > *, .quiet > *, .own > *, .plain > * { min-width: 0; }

.band { padding-block: clamp(64px, 10vw, 140px); border-top: 1px solid var(--line); }
.band__head { max-width: 40em; }
h2 { font: 500 clamp(2.1rem, 2.4vw + 1.5rem, 3.7rem)/1.02 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
h2 em { font-style: italic; color: var(--glow); }
.band__head p { margin-top: clamp(16px, 2vw, 24px); color: var(--soft); font-size: clamp(1.04rem, 0.4vw + 0.98rem, 1.16rem); max-width: 36em; }
h3 { font: 500 clamp(1.5rem, 0.8vw + 1.3rem, 1.9rem)/1.15 var(--display); }

/* the pala rule: 8, 12, 20, 16, 4 minutes */
.palas { display: flex; gap: 3px; width: 132px; height: 3px; margin-bottom: clamp(22px, 3vw, 34px); }
.palas i { border-radius: 2px; }
.palas i:nth-child(1) { flex: 8; background: var(--t-vayu); }
.palas i:nth-child(2) { flex: 12; background: var(--t-agni); }
.palas i:nth-child(3) { flex: 20; background: var(--t-prithvi); }
.palas i:nth-child(4) { flex: 16; background: var(--t-jala); }
.palas i:nth-child(5) { flex: 4; background: var(--t-akasha); }

/* ───────── the hour ───────── */

.hour { display: grid; gap: clamp(32px, 6vw, 88px); margin-top: clamp(36px, 6vw, 72px); align-items: start; }
@media (min-width: 900px) { .hour { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.hour__ring { width: min(66vw, 260px); margin-inline: auto; }
@media (min-width: 900px) { .hour__ring { width: min(100%, 380px); position: sticky; top: 12vh; } }
.hour__ring figcaption { margin-top: 18px; text-align: center; color: var(--soft); font-size: 0.92rem; }

.hour__ring .arc { opacity: 0.3; transition: opacity 0.6s ease, stroke-width 0.6s ease; }
.hour__ring .yantra { display: none; }
.hour__ring .halo-stop { stop-color: var(--el); }
.hour:not(:has(details[open])) .arc { opacity: 0.9; }
.hour:has(#el-vayu[open]) { --el: var(--t-vayu); }
.hour:has(#el-agni[open]) { --el: var(--t-agni); }
.hour:has(#el-prithvi[open]) { --el: var(--t-prithvi); }
.hour:has(#el-jala[open]) { --el: var(--t-jala); }
.hour:has(#el-akasha[open]) { --el: var(--t-akasha); }
.hour:has(#el-vayu[open]) :is(.a-vayu, .y-vayu),
.hour:has(#el-agni[open]) :is(.a-agni, .y-agni),
.hour:has(#el-prithvi[open]) :is(.a-prithvi, .y-prithvi),
.hour:has(#el-jala[open]) :is(.a-jala, .y-jala),
.hour:has(#el-akasha[open]) :is(.a-akasha, .y-akasha) { display: inline; opacity: 1; stroke-width: 2.4; }
.hour:not(:has(details[open])) .hour__halo { display: none; }

.elements { border-bottom: 1px solid var(--line); }
.element { border-top: 1px solid var(--line); }
.element summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 16px 4px; min-height: 64px; cursor: pointer; list-style: none; }
.element summary::-webkit-details-marker { display: none; }
.element summary svg { width: 30px; height: 30px; }
.element__name { font: 500 clamp(1.7rem, 1vw + 1.45rem, 2.2rem)/1 var(--display); }
.element__name small { font: 400 0.9rem/1.2 var(--body); color: var(--soft); margin-left: 0.5em; white-space: nowrap; }
.element__name small .deva { font-size: 1.05rem; margin-left: 0.3em; }
.element__when { color: var(--soft); font-size: 0.95rem; text-align: right; white-space: nowrap; }
.element summary:hover .element__name { color: var(--glow); }
.element__body { padding: 2px 4px 28px 54px; animation: rise 0.6s ease both; }
@media (max-width: 520px) { .element__body { padding-left: 4px; } }
.element__say { font: italic 500 clamp(1.25rem, 0.5vw + 1.12rem, 1.45rem)/1.32 var(--display); max-width: 28em; }
.element__say b { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 0.86rem; margin-right: 0.7em; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--wash); vertical-align: 0.14em; white-space: nowrap; }
.element .points li::before { background: var(--c); border-color: var(--c); }
.element .points--wait li::before { background: transparent; }
.element__signs { margin-top: 18px; color: var(--soft); font-size: 0.93rem; max-width: 40em; }
#el-vayu { --c: var(--t-vayu); }
#el-agni { --c: var(--t-agni); }
#el-prithvi { --c: var(--t-prithvi); }
#el-jala { --c: var(--t-jala); }
#el-akasha { --c: var(--t-akasha); }
.y { color: var(--c, var(--el)); }
.y-vayu { color: var(--t-vayu); }
.y-agni { color: var(--t-agni); }
.y-prithvi { color: var(--t-prithvi); }
.y-jala { color: var(--t-jala); }
.y-akasha { color: var(--t-akasha); }

/* ───────── the day ───────── */

.day { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .day { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.dial { width: min(84vw, 340px); margin-inline: auto; position: relative; }
@media (min-width: 900px) { .dial { width: min(100%, 460px); } }
.dial path { fill: none; }
.dial .i { stroke: var(--ida-glow); stroke-width: 5; opacity: 0.74; }
.dial .p { stroke: var(--pin-glow); stroke-width: 5; opacity: 0.74; }
.dial .past { opacity: 0.28; }
.dial .on { stroke-width: 7.5; opacity: 1; }
.dial .night { stroke: var(--ink); stroke-opacity: 0.3; stroke-width: 0.5; stroke-dasharray: 0.4 1.6; stroke-linecap: round; }
.dial .tick, .dial .hand { stroke: var(--ink); stroke-linecap: round; }
.dial .knob { fill: var(--ink); }
.dial__centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 2px; }
.dial__centre .serif { font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1; }
.dial__centre span { color: var(--soft); font-size: 0.9rem; }
.dial figcaption, .moondays figcaption { margin-top: 16px; text-align: center; color: var(--soft); font-size: 0.92rem; }

.day__text > p { margin-top: clamp(16px, 2vw, 22px); color: var(--soft); max-width: 34em; }
.moondays { margin-top: clamp(28px, 4vw, 40px); max-width: 430px; }
.moondays svg { width: 100%; height: auto; }
.moondays .m-i { fill: var(--ida-glow); }
.moondays .m-p { fill: var(--pin-glow); }
.moondays text { fill: var(--soft); font: 400 9px var(--body); }
.moondays figcaption { text-align: left; }

.own { margin-top: clamp(48px, 8vw, 96px); display: grid; gap: 16px clamp(32px, 6vw, 88px); align-items: start; }
@media (min-width: 900px) { .own { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.own p { color: var(--soft); max-width: 34em; }
.own p + p { margin-top: 14px; }

/* ───────── the app: phone and watch ───────── */

.app { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; margin-top: clamp(36px, 6vw, 72px); }
@media (min-width: 900px) { .app { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.devices { display: flex; justify-content: center; align-items: flex-end; gap: clamp(0px, 2vw, 28px); }
.devices figcaption { margin-top: 18px; text-align: center; color: var(--soft); font-size: 0.92rem; }
.devices__row { display: flex; justify-content: center; align-items: flex-end; }

.if-pin { display: none; }
:root:has(#breath-right:checked) .if-pin { display: revert; }
:root:has(#breath-right:checked) .if-ida { display: none; }

.phone { position: relative; flex: none; width: 262px; border-radius: 44px; padding: 9px; background: linear-gradient(150deg, #454856, #15161b); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1); }
.phone__screen { position: relative; border-radius: 36px; overflow: hidden; height: 536px; padding: 46px 18px 0; display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(var(--ida-top), var(--ida-bottom) 80%); isolation: isolate; }
.phone__screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--pin-top), var(--pin-bottom) 80%); opacity: 0; transition: opacity var(--slow) ease; }
:root:has(#breath-right:checked) .phone__screen::before, :root:has(#breath-right:checked) .watch__screen::before { opacity: 1; }
.phone__screen::after { content: ""; position: absolute; top: 11px; left: 50%; width: 74px; height: 21px; margin-left: -37px; border-radius: 12px; background: #000; }
.phone__side { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.86rem; }
.phone__side svg { width: 17px; height: 17px; color: var(--glow); }
.phone__until { color: var(--soft); font-size: 0.74rem; margin-top: 1px; }
.phone__ring { width: 158px; margin: 12px 0 6px; }
.phone__el { font: 500 2.3rem/1 var(--display); }
.phone__el .deva { font-size: 1rem; color: var(--soft); margin-left: 6px; }
.phone__left { color: var(--soft); font-size: 0.76rem; margin-top: 5px; }
.phone__say { font: italic 500 1.08rem/1.22 var(--display); margin-top: 12px; text-wrap: balance; }
.phone__pts { margin-top: 12px; text-align: left; align-self: stretch; font-size: 0.76rem; }
.phone__pts .label { font-size: 0.7rem; margin-bottom: 4px; }
.phone__pts li { position: relative; padding-left: 14px; margin-bottom: 3px; line-height: 1.35; }
.phone__pts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--t-prithvi); }
.phone__tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 11px 14px 17px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.16); font-size: 0.7rem; color: var(--soft); }
.phone__tabs b { color: var(--ink); font-weight: 600; }
.ring-lit { fill: none; stroke: var(--t-prithvi); stroke-width: 1.6; stroke-linecap: round; }
.ring-dim { opacity: 0.28; }
.ring-mark { fill: var(--deep); stroke: var(--ink); stroke-width: 1; }

.watch { position: relative; flex: none; width: 172px; margin-left: -22px; margin-bottom: 22px; border-radius: 46px; padding: 14px; background: linear-gradient(145deg, #3d404a, #17181d); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5), inset 0 0 0 1.5px rgba(255, 255, 255, 0.09); z-index: 1; }
.watch::after { content: ""; position: absolute; right: -7px; top: 52px; width: 9px; height: 32px; border-radius: 4px; background: linear-gradient(90deg, #2a2c33, #5a5d66); }
.watch__screen { position: relative; height: 176px; border-radius: 33px; overflow: hidden; padding: 25px 10px 0; display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(var(--ida-top), var(--ida-bottom) 58%, #000); isolation: isolate; }
.watch__screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--pin-top), var(--pin-bottom) 58%, #000); opacity: 0; transition: opacity var(--slow) ease; }
.watch__status { position: absolute; top: 8px; left: 15px; right: 15px; display: flex; justify-content: space-between; align-items: center; font-size: 0.66rem; font-weight: 600; }
.watch__status span:first-child { display: flex; align-items: center; gap: 4px; color: var(--glow); }
.watch__status svg { width: 11px; height: 11px; }
.watch__ring { width: 84px; }
.watch__el { font: 500 1.55rem/1 var(--display); margin-top: 3px; }
.watch__left { color: var(--soft); font-size: 0.62rem; margin-top: 2px; }

@media (max-width: 520px) {
  .devices__row { flex-direction: column; align-items: flex-start; width: 300px; margin-inline: auto; }
  .watch { margin: -128px 0 0 128px; }
}
@media (max-width: 360px) { .devices__row { zoom: 0.9; } }

.app__text h3 { margin-top: clamp(26px, 3vw, 36px); }
.app__text h3:first-child { margin-top: 0; }
.app__text p { margin-top: 8px; color: var(--soft); max-width: 33em; }

.skies { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 16px; }
.skies li { display: flex; align-items: center; gap: 10px; font-size: 0.93rem; color: var(--soft); }
.skies svg { width: 40px; height: 26px; flex: none; }

/* ───────── honesty ───────── */

.plain { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .plain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plain > div { padding-top: 20px; border-top: 1px solid var(--line); }
.plain p { margin-top: 10px; color: var(--soft); }

.quiet { display: grid; gap: clamp(24px, 5vw, 88px); }
@media (min-width: 900px) { .quiet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.quiet__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-block: 14px; border-top: 1px solid var(--line); }
.quiet__list li:last-child { border-bottom: 1px solid var(--line); }
.quiet__list svg { width: 18px; height: 18px; margin-top: 0.3em; color: var(--glow); }
.quiet__list span { color: var(--soft); }
.quiet__list strong { color: var(--ink); font-weight: 500; }
.more { margin-top: 22px; color: var(--soft); }

/* ───────── get ───────── */

.get { text-align: center; background: radial-gradient(ellipse 90% 70% at 50% 118%, rgba(255, 196, 140, 0.2), rgba(255, 196, 140, 0.05) 55%, transparent 72%); }
.get .palas { margin-inline: auto; }
.get h2 { max-width: 15em; margin-inline: auto; }
.get > .wrap > p { margin: clamp(16px, 2vw, 22px) auto 0; color: var(--soft); max-width: 32em; }
.get__logo { width: clamp(84px, 14vw, 120px); margin: 0 auto clamp(24px, 4vw, 40px); }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 4vw, 40px); }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 24px 8px 18px; border-radius: 999px; text-align: left; text-decoration: none; }
.store__glyph { width: 22px; height: 22px; flex: none; }
.store__text { display: grid; line-height: 1.2; }
.store__lead { font-size: 0.8rem; }
.store__name { font-weight: 600; font-size: 1.06rem; }
.store--live { background: var(--ink); color: var(--deep); transition: background-color 0.3s ease; }
.store--live:hover { background: #fff; }
.store--soon { border: 1px dashed var(--faint); color: var(--ink); }
.store--soon .store__lead { color: var(--soft); }

/* ───────── footer ───────── */

.foot { border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 56px) clamp(40px, 6vw, 64px); color: var(--soft); font-size: 0.95rem; }
.foot__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: minmax(0, 1.3fr) auto; align-items: start; } }
.foot .brand { color: var(--ink); }
.foot__say { margin-top: 10px; max-width: 30em; }
.foot__say .deva { color: var(--glow); font-size: 1.1rem; }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__small { margin-top: 26px; font-size: 0.86rem; }

/* ───────── privacy, terms, support, 404 ───────── */

.doc { max-width: calc(44em + 2 * var(--gutter)); padding-block: clamp(24px, 5vw, 64px) clamp(64px, 9vw, 120px); }
.doc h1 { font-size: clamp(2.5rem, 3vw + 1.7rem, 4.2rem); }
.doc .updated { margin-top: 12px; color: var(--soft); font-size: 0.93rem; }
.doc .summary { margin-top: clamp(24px, 3vw, 36px); padding-block: clamp(20px, 3vw, 28px); border-block: 1px solid var(--line); font: italic 500 clamp(1.35rem, 0.8vw + 1.15rem, 1.7rem)/1.32 var(--display); }
.doc h2 { margin-top: clamp(36px, 5vw, 52px); font-size: clamp(1.7rem, 1vw + 1.4rem, 2.15rem); line-height: 1.1; }
.doc h2 + p, .doc h2 + ul { margin-top: 12px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc p, .doc li { color: var(--soft); }
.doc strong { color: var(--ink); font-weight: 500; }
.doc a { color: var(--ink); }
.doc ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); }

.lost { min-height: 62svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding-block: 48px; }
.lost svg { width: 120px; }
.lost p { color: var(--soft); max-width: 26em; }

/* ───────── calm for those who ask for it ───────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  :root { transition: none; }
}

@media (forced-colors: active) {
  .side:has(input:checked) { outline: 3px solid Highlight; }
  .store--soon { border-style: dashed; }
}

@media print {
  body::before, body::after { display: none; }
  :root { --ink: #111; --soft: #333; --faint: #666; --glow: #111; --line: #bbb; color-scheme: light; }
  html, body { background: #fff; }
}
