/* sleeptimer.eu: the app's night style. Night sky, warm amber to coral light, Fraunces (soft)
   for headlines, Inter for text. Everything self-hosted; the CSP allows nothing else.
   House rule: boxes and text use the full content column, only .wrap limits the width. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-ext-full-normal.woff2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 500 600; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-ext-full-italic.woff2") format("woff2");
  font-weight: 500 600; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-greek-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --night: #070914;
  --sky: #10132c;
  --raised: #151936;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f0e8;
  --muted: #a9abc4;
  --dim: #7d809c;
  --amber: #ffb85c;
  --coral: #ff806b;
  --rose: #ec6694;
  --ink: #241205;
  --glow: linear-gradient(100deg, var(--amber), var(--coral) 55%, var(--rose));
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 28px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, "Hiragino Mincho ProN", "Songti TC", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Hiragino Sans", "PingFang TC", "Apple SD Gothic Neo", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, .dial:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 10px; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--amber); color: var(--ink); padding: 8px 12px; border-radius: 10px; z-index: 50; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 560; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 1.02; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.06; margin-bottom: 22px; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
h1 em, h2 em {
  display: block; font-style: italic; font-weight: 520;
  background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.08em;
}
h1 span, h2 span { display: block; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber);
}
.eyebrow.plain::before { content: ""; width: 34px; height: 1px; background: var(--amber); opacity: 0.7; }
.eyebrow .chap {
  font: italic 560 15px/1 var(--serif); letter-spacing: 0; text-transform: none;
  border: 1px solid rgba(255, 184, 92, 0.45); border-radius: 999px; padding: 6px 10px; color: var(--amber);
}

/* Header */
header.site { position: fixed; inset: 0 0 auto; z-index: 40; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
header.site.solid, .page ~ header.site, body:not(.home) header.site { background: rgba(7, 9, 20, 0.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 20px/1 var(--serif); font-variation-settings: "SOFT" 100; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand em { font-style: italic; color: var(--amber); }
nav.main { display: flex; gap: 26px; margin-left: auto; }
nav.main a { color: var(--text); text-decoration: none; font-size: 15px; opacity: 0.82; }
nav.main a:hover { opacity: 1; color: var(--amber); }
details.lang { position: relative; }
details.lang summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  color: var(--text); font-size: 13px; font-weight: 600; padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 999px;
}
details.lang summary::-webkit-details-marker { display: none; }
.globe { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; }
.globe::before { content: ""; position: absolute; inset: -1.5px 3px; border: 1.5px solid currentColor; border-radius: 50%; }
details.lang ul {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 45; margin: 0; padding: 8px; list-style: none;
  background: var(--raised); border: 1px solid var(--line-strong); border-radius: 18px; columns: 2; column-gap: 6px; width: max-content;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
details.lang li a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--text); text-decoration: none; white-space: nowrap; font-size: 15px; }
details.lang li a[aria-current] { background: rgba(255, 184, 92, 0.14); color: var(--amber); }
details.lang li a:hover { background: rgba(255, 255, 255, 0.06); }
.get {
  background: var(--glow); color: var(--ink); text-decoration: none; font-weight: 650; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; box-shadow: 0 6px 24px rgba(255, 128, 107, 0.35);
}

/* Badge and calls to action */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }
.cta.center { justify-content: center; }
.badge img { height: 54px; width: auto; }
.get-badges { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.get-badges .badge { display: inline-flex; line-height: 0; }
.get-badges .badge img { height: 40px; }
.badge.soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 16px;
  border: 1px solid rgba(255, 184, 92, 0.5); color: var(--amber); font-weight: 600; background: rgba(255, 184, 92, 0.08);
}
.badge.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.note { color: var(--dim); font-size: 14px; }

/* Hero */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: center; overflow: hidden; padding: 120px 0 90px; isolation: isolate; }
.hero-bg, .mac-bg, .final-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .mac-bg img, .final-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 20, 0.96) 0%, rgba(7, 9, 20, 0.82) 38%, rgba(7, 9, 20, 0.2) 70%, rgba(7, 9, 20, 0.35) 100%),
    linear-gradient(180deg, rgba(7, 9, 20, 0.5) 0%, transparent 25%, transparent 70%, var(--night) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--amber), transparent); }

/* The dial */
.dial-card {
  position: relative; justify-self: end; width: min(100%, 400px);
  padding: 26px 26px 20px; border-radius: 36px;
  background: linear-gradient(160deg, rgba(26, 29, 61, 0.72), rgba(9, 11, 26, 0.72));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.dial { width: 100%; height: auto; touch-action: none; cursor: grab; }
.dial:active { cursor: grabbing; }
.dial .face { fill: url(#face); }
.dial .track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 16; }
.dial .ticks line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-linecap: round; }
.dial .ticks line.major { stroke: rgba(255, 255, 255, 0.34); stroke-width: 2.5; }
.dial .arc, .dial .arc-glow {
  fill: none; stroke: url(#glow); stroke-width: 16; stroke-linecap: round;
  stroke-dasharray: 375 1000; transform: rotate(-90deg); transform-origin: 140px 140px;
}
.dial .arc-glow { stroke-width: 22; opacity: 0.55; filter: blur(9px); }
.dial .knob circle { fill: #fff; filter: drop-shadow(0 0 10px rgba(255, 128, 107, 0.95)); }
.dial .knob path { fill: var(--coral); }
.dial-center { position: absolute; left: 26px; right: 26px; top: 26px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.dial-num { font: 600 clamp(54px, 6vw, 76px)/1 var(--serif); font-variation-settings: "SOFT" 100; font-variant-numeric: tabular-nums; }
.dial-unit { color: var(--muted); font-size: 17px; margin-top: 2px; }
.dial-stops { margin-top: 12px; padding: 6px 13px; border-radius: 999px; background: rgba(255, 184, 92, 0.13); color: var(--amber); font-weight: 600; font-size: 14px; min-height: 1.6em; }
.dial-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; color: var(--dim); font-size: 13px; letter-spacing: 0.06em; }
.dial-hint svg { width: 16px; height: 16px; fill: none; stroke: var(--amber); stroke-width: 1.6; }

/* Sections */
section { position: relative; }
.problem, .apps, .night, .devices, .honest, .privacy, .price, .faq { padding-block: clamp(84px, 11vw, 160px); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.copy p { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); }
.split h2 { font-size: clamp(32px, 4vw, 54px); }
.center-head { margin-bottom: clamp(36px, 5vw, 64px); }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall img { aspect-ratio: 4 / 3.2; }
.photo.square img { aspect-ratio: 4 / 3; }

ul.marks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
ul.marks li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
ul.marks svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 5px; border-radius: 50%; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke: #12210f; background: #8fe3a0; margin-top: 1px; }
ul.marks.bad svg { stroke: #2a0e12; background: var(--coral); }

/* Apps */
.apps { background: radial-gradient(900px 500px at 15% 10%, rgba(91, 82, 240, 0.16), transparent 70%), var(--night); }
ul.chips { list-style: none; padding: 0; margin: 0 0 clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 10px; }
ul.chips li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); font-weight: 560; font-size: 16px; }
ul.chips li.more { border-color: rgba(255, 184, 92, 0.5); color: var(--amber); background: rgba(255, 184, 92, 0.08); }
.playing-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.playing {
  border-radius: var(--radius); padding: 28px; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(30, 33, 70, 0.9), rgba(12, 14, 32, 0.95));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.pl-top { display: flex; gap: 16px; align-items: center; }
.pl-top small { display: block; color: var(--dim); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.pl-top b { display: block; font: 560 clamp(20px, 2vw, 26px)/1.25 var(--serif); font-variation-settings: "SOFT" 100; }
.pl-art { flex: 0 0 64px; height: 64px; border-radius: 16px; background: var(--glow); display: grid; place-items: center; }
.pl-art svg { width: 30px; height: 30px; fill: rgba(36, 18, 5, 0.85); }
.pl-bar, .pl-vol-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pl-bar { margin: 28px 0 22px; }
.pl-bar i, .pl-vol-bar i { display: block; height: 100%; border-radius: 6px; background: var(--glow); }
.pl-bar i { width: 62%; }
.pl-vol { display: flex; align-items: center; gap: 12px; }
.pl-vol-bar { flex: 1; }
.pl-vol-bar i { width: 80%; }
.pl-vol-icon { width: 18px; height: 14px; background: var(--muted); clip-path: polygon(0 30%, 35% 30%, 75% 0, 75% 100%, 35% 70%, 0 70%); }
.pl-state { margin: 22px 0 0; min-height: 1.6em; position: relative; font-weight: 600; }
.pl-state span { position: absolute; inset: 0 auto auto 0; display: flex; align-items: center; gap: 8px; }
.st-fade { color: var(--amber); }
.st-stop { color: #8fe3a0; opacity: 0; }
.st-stop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Night */
.night { background: linear-gradient(180deg, var(--night), #05060e 50%, var(--night)); overflow: hidden; }
.phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.device { border-radius: 44px; overflow: hidden; border: 10px solid #1b1d2a; box-shadow: 0 0 0 1.5px #3a3d55, 0 50px 120px rgba(0, 0, 0, 0.6); background: #000; }
.device img { width: 100%; height: auto; }
.phone { width: min(300px, 42vw); }
.phones .back { transform: translateX(-38%) rotate(-6deg) scale(0.9); opacity: 0.85; }
.phones .front { position: absolute; transform: translateX(32%) rotate(4deg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(56px, 7vw, 96px); }
.stat { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.stat .value { display: block; font: 600 clamp(44px, 5vw, 68px)/1 var(--serif); font-variation-settings: "SOFT" 100; background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.stat .label { color: var(--muted); }

/* Devices */
.devices { background: radial-gradient(1000px 600px at 85% 20%, rgba(236, 102, 148, 0.12), transparent 70%), var(--night); }
.device-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.55fr); gap: clamp(18px, 3vw, 40px); align-items: center; margin-bottom: clamp(48px, 6vw, 88px); }
.ipad { border-radius: 34px; border-width: 12px; }
.watch { border-radius: 60px; border-width: 12px; }
.watch-photo { border-radius: var(--radius); }
ul.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
ul.features li { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
ul.features .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 184, 92, 0.12); margin-bottom: 18px; }
ul.features .icon svg { width: 26px; height: 26px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
ul.features h3 { margin-bottom: 8px; }
ul.features p { color: var(--muted); margin: 0; }

/* Mac */
.mac { padding-block: clamp(100px, 13vw, 190px); overflow: hidden; isolation: isolate; }
.mac-bg img { object-position: 60% center; }
.mac::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 9, 20, 0.95) 0%, rgba(7, 9, 20, 0.75) 45%, rgba(7, 9, 20, 0.45) 100%), linear-gradient(180deg, var(--night) 0%, transparent 18%, transparent 80%, var(--night) 100%); }
.mac-head { margin-bottom: clamp(40px, 5vw, 72px); }
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
ol.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: rgba(10, 12, 28, 0.72); border: 1px solid var(--line-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
ol.steps .dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--glow); color: var(--ink); font: 600 18px/1 var(--serif); margin-bottom: 18px; }
ol.steps p { color: var(--muted); margin: 8px 0 0; }
.fade-meter { display: block; margin-top: 18px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.fade-meter i { display: block; height: 100%; width: 100%; background: var(--glow); border-radius: 6px; transform-origin: left; }

/* Honest */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.panel { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.panel.good { border-color: rgba(143, 227, 160, 0.3); background: rgba(143, 227, 160, 0.05); }
.panel h3 { margin-bottom: 4px; }
.panel ul.marks li { color: var(--muted); }

/* Privacy */
.privacy { background: linear-gradient(180deg, var(--night), #0c0b12 50%, var(--night)); }

/* Price */
.price { background: radial-gradient(800px 500px at 50% 30%, rgba(255, 128, 107, 0.12), transparent 70%), var(--night); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.offer .card { position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.035); }
.offer .card.buy { border-color: rgba(255, 184, 92, 0.45); background: linear-gradient(160deg, rgba(255, 184, 92, 0.12), rgba(236, 102, 148, 0.06)); }
.offer .big { position: absolute; right: 22px; top: -6px; font: italic 600 clamp(110px, 12vw, 170px)/1 var(--serif); color: rgba(255, 255, 255, 0.06); }
.offer h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.offer p { color: var(--muted); margin: 0; }
.offer .arrow { align-self: center; width: 46px; height: 2px; background: var(--glow); position: relative; }
.offer .arrow::after { content: ""; position: absolute; right: -2px; top: -5px; width: 12px; height: 12px; border-top: 2px solid var(--rose); border-right: 2px solid var(--rose); transform: rotate(45deg); }
.fine { color: var(--muted); margin-top: 28px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.faq h2 { margin-bottom: 18px; }
.more { font-weight: 600; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--amber); font: 400 26px/1 var(--sans); transition: transform 0.25s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { color: var(--muted); margin: 0 0 22px; }

/* Final */
.final { min-height: 92svh; display: flex; align-items: center; text-align: center; overflow: hidden; isolation: isolate; padding-block: 120px; }
.final-bg img { object-position: center 70%; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(7, 9, 20, 0.25) 30%, rgba(7, 9, 20, 0.35) 70%, var(--night) 100%); }
.final h2 { font-size: clamp(54px, 9vw, 128px); }
.final-inner > p { color: var(--muted); font-size: clamp(18px, 1.8vw, 22px); }
.final .note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Footer */
footer.site { border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; padding-block: 34px 44px; }
.foot { display: flex; gap: 18px 28px; flex-wrap: wrap; align-items: center; }
.foot .made { margin: 0; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--amber); }
.foot .brand { font-size: 17px; }

/* Subpages (help, legal, start) */
main.page { padding-block: 140px 80px; }
main.page h1 { font-size: clamp(38px, 5.5vw, 64px); margin-bottom: 20px; }
main.page h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 14px; }
main.page .lead { margin-bottom: 30px; }
main.page .faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
main.page .faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
main.page .faq details p { color: var(--muted); margin: 10px 0 0; }
.legal p, .legal address { color: var(--muted); font-style: normal; }
main.page .hero { min-height: 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
main.page .hero::before { display: none; }
main.page .hero img.icon { width: clamp(96px, 16vw, 180px); height: auto; border-radius: 22%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }
.no-js-only { display: block; }
.js .no-js-only { display: none; }

/* Motion. Without JS (or with reduced motion) everything is simply visible. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .playing .pl-vol-bar i { animation: vol 9s ease-in-out infinite; }
  .playing .pl-bar i { animation: prog 9s linear infinite; }
  .playing .st-fade { animation: stfade 9s infinite; }
  .playing .st-stop { animation: ststop 9s infinite; }
  .fade-meter i { animation: meter 6s ease-in-out infinite; }
  .scroll::after { animation: drip 2.4s ease-in-out infinite; }
  @keyframes vol { 0%, 15% { transform: scaleX(1); } 55%, 100% { transform: scaleX(0); } }
  @keyframes prog { 0% { width: 58%; } 55%, 100% { width: 64%; } }
  @keyframes stfade { 0%, 12% { opacity: 0; } 18%, 52% { opacity: 1; } 58%, 100% { opacity: 0; } }
  @keyframes ststop { 0%, 56% { opacity: 0; } 62%, 94% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes meter { 0%, 10% { transform: scaleX(1); } 70%, 100% { transform: scaleX(0); } }
  @keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
}
.pl-vol-bar i { transform-origin: left; }
@media (prefers-reduced-motion: reduce) {
  .st-fade { opacity: 0; }
  .st-stop { opacity: 1; }
}

/* Smaller screens */
@media (max-width: 1080px) {
  nav.main { display: none; }
  .bar { justify-content: space-between; }
  details.lang { margin-left: auto; }
  ul.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { padding: 110px 0 32px; min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 9, 20, 0.55) 0%, rgba(7, 9, 20, 0.88) 45%, var(--night) 100%); }
  .hero-grid, .split, .split.rev, .playing-wrap, .two, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .dial-card { justify-self: center; }
  .split.rev .phones { order: 2; }
  .phones { min-height: 460px; }
  .device-row { grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr); }
  .device-row .watch-photo { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer .arrow { transform: rotate(90deg); justify-self: center; margin: 8px 0; }
  .scroll { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  ul.features, ol.steps { grid-template-columns: minmax(0, 1fr); }
  .get, .get-badges { display: none; }
  .phone { width: min(240px, 58vw); }
  .phones { min-height: 420px; }
  details.lang ul { columns: 1; max-height: 70vh; overflow: auto; }
  main.page .hero { grid-template-columns: 1fr; }
}
