/* Everything sits flat in /landing/, no subfolders: Hostinger's unzip lost them once (26.10).
   Shtedi homepage, v5: product-first, layered glass on a near-black ground.
   Served at shtedi.com/ from /landing/; the app lives at the same address.
   Palette from the app: near-black, periwinkle accent, mint for "done".
   Onest is self-hosted (SIL OFL 1.1, OFL.txt): no request to Google for a visitor's IP. */
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("onest-cyrillic.woff2?v=20261025") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("onest-latin-ext.woff2?v=20261025") format("woff2");
  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: "Onest"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("onest-latin.woff2?v=20261025") format("woff2");
  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;
}

:root {
  --bg: #070a12;
  --surface: rgba(16, 22, 40, 0.72);
  --surface-solid: #0f1527;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink: #f3f6fd;
  --ink-soft: #c9d1e6;
  --muted: #95a0bb;
  --blue: #94adf8;
  --blue-deep: #6c8ce8;
  --mint: #5eead4;
  --font: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 22px;
  --radius: 26px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; background: var(--bg); }
body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.glow {
  position: absolute; inset: 0 0 auto 0; height: 1200px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 50% at 78% 6%, rgba(108, 140, 232, 0.34), transparent 70%),
    radial-gradient(35% 40% at 8% 20%, rgba(94, 234, 212, 0.08), transparent 70%);
}
::selection { background: var(--blue); color: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Full width at every size: no max-width, only a side gutter that grows with
   the window (22px on phones, up to 72px on big monitors). */
.wrap {
  width: 100%;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
  --gutter: clamp(22px, 3.5vw, 72px);
}

/* Header: floating glass bar */
.site-header {
  position: sticky; top: 10px; z-index: 50;
  /* Lines up with the content edge (16px outside it for the pill's own padding); 10px from the screen edge on phones. */
  width: calc(100% - max(20px, 2 * clamp(22px, 3.5vw, 72px) - 32px));
  margin: 10px auto 0;
  padding: 7px 7px 7px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: rgba(10, 14, 26, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 9px; flex: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.main-nav { display: flex; gap: 2px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.main-nav a { padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.main-nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.link-quiet { padding: 10px 12px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.link-quiet:hover { color: var(--ink); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  min-width: 40px; min-height: 38px; padding: 0 10px;
  font: 600 13px var(--font); color: var(--muted);
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px;
  font: 550 16px var(--font); letter-spacing: -0.012em;
  color: var(--bg); background: var(--blue);
  border: 1px solid transparent; border-radius: 999px; text-align: center; cursor: pointer;
  transition: background 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: #b6c8ff; box-shadow: 0 0 0 6px rgba(148, 173, 248, 0.18); transform: translateY(-1px); }
.btn-sm { padding: 10px 20px; font-size: 15px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.07); box-shadow: none; }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { background: #121a33; box-shadow: 0 0 0 6px rgba(6, 9, 16, 0.18); }

/* Type */
h1 {
  margin-top: 18px;
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #a8b4d6 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h2 {
  max-width: 20ch;
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #a8b4d6 120%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 6px 14px 6px 12px;
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.section { margin-top: clamp(88px, 11vw, 150px); }
.section-sub { margin-top: 16px; max-width: 40ch; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; color: var(--muted); }

/* Hero */
.hero {
  padding-top: clamp(40px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px 48px; align-items: center;
}
.lead { margin-top: 22px; max-width: 42ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--muted); }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.have { margin-top: 14px; font-size: 15px; color: var(--muted); }
.have a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px rgba(94, 234, 212, 0.6); }

.hero-stage { position: relative; min-width: 0; padding: 24px 0 36px; }
.hero-stage::before {
  content: ""; position: absolute; inset: 12% 6% 10%; z-index: 0;
  background: radial-gradient(closest-side, rgba(108, 140, 232, 0.45), transparent);
  filter: blur(48px);
}
.shot-frame {
  position: relative; z-index: 1;
  padding: 10px; border-radius: 24px;
  background: rgba(16, 22, 40, 0.6);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(90, 120, 235, 0.55);
  transform: rotate(-1.5deg);
}
.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(14, 19, 36, 0.86);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  font-size: 14px; color: var(--ink-soft); white-space: nowrap;
}
.float b { display: block; font-weight: 600; color: var(--ink); }
.float > div > span { color: var(--muted); font-size: 13px; }
.float-icon { flex: none; width: 36px; height: 36px; border-radius: 11px; background: rgba(148, 173, 248, 0.14); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.float-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-a { top: 2px; left: -4%; }
.float-b { right: -3%; bottom: 10%; flex-direction: column; align-items: stretch; gap: 10px; min-width: 220px; }
.float-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.float-head span { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.bar i { display: block; width: 19%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.float-c { left: 6%; bottom: 2%; gap: 10px; }
.float-d { top: 6%; right: -3%; flex-direction: column; align-items: flex-start; gap: 2px; }
.float-d span { font-size: 13px; color: var(--muted); }
.float-d b { font-size: 21px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Hero scenes: the real app, one screen after another. Each scene zooms slowly toward
   what matters (its transform-origin), and only its own card is shown. */
.hero-stage { --scene: 5.5s; --zoom: 1.08; }
.stage-box { position: relative; }
.scenes { position: relative; aspect-ratio: 1600 / 1188; overflow: hidden; border-radius: 16px; background: #0b1122; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s var(--ease); }
.scene.is-on { opacity: 1; }
.scene[data-scene="home"] { transform-origin: 30% 32%; }
.scene[data-scene="add"] { transform-origin: 58% 42%; }
.scene[data-scene="planner"] { transform-origin: 82% 22%; }
.scene[data-scene="shared"] { transform-origin: 18% 88%; --zoom: 1.16; }
.scene[data-scene="insights"] { transform-origin: 78% 62%; }
.float[data-scene] { opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s; }
.float[data-scene].is-on { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease) 0.35s, visibility 0s; }
.scene-bar { position: relative; z-index: 3; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.scene-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.scene-tabs button, .scene-pause {
  position: relative; overflow: hidden; min-height: 38px;
  font: 500 13px var(--font); color: var(--muted);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.scene-tabs button { padding: 0 14px; }
.scene-tabs button:hover, .scene-pause:hover { color: var(--ink); }
.scene-tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--line-strong); background: rgba(148, 173, 248, 0.12); }
.scene-tabs button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); }
.scene-pause { width: 38px; display: grid; place-items: center; }
.scene-pause svg { width: 13px; height: 13px; fill: currentColor; }
.scene-pause .i-play, .scene-pause[aria-pressed="true"] .i-pause { display: none; }
.scene-pause[aria-pressed="true"] .i-play { display: block; }
@keyframes scene-zoom { from { transform: scale(1); } to { transform: scale(var(--zoom)); } }
@keyframes scene-progress { from { width: 0; } to { width: 100%; } }
@keyframes bar-fill { from { width: 0; } }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #053b33; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }

/* Marquee */
.strip { margin-top: clamp(40px, 6vw, 72px); }
.eyebrow { font-size: 14px; color: var(--muted); }
.marquee {
  display: flex; overflow: hidden; margin-top: 14px;
  padding-block: clamp(12px, 2vw, 22px);
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.chips { display: flex; flex: 0 0 auto; min-width: 100%; justify-content: space-around; animation: slide 60s linear infinite; }
.marquee:hover .chips { animation-play-state: paused; }
.chips li {
  display: flex; align-items: center;
  padding-left: clamp(14px, 2vw, 26px);
  font-weight: 500; font-size: clamp(24px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.035em; white-space: nowrap;
}
.chips li::after { content: ""; width: 0.22em; height: 0.22em; margin-left: clamp(14px, 2vw, 26px); border-radius: 50%; background: var(--blue); }
.chips li:nth-child(even) { color: var(--muted); }
@keyframes slide { to { transform: translateX(-100%); } }

/* Inside the app: showcase rows */
.show { margin-top: 44px; display: grid; gap: 14px; }
.show-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px;
  padding: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.show-flip .show-text { order: 2; }
/* Flipped rows mirror the column widths too: the screen always gets the wide column, the text the narrow one. */
.show-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.show-text { padding: clamp(18px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.show-num { display: flex; gap: 12px; align-items: baseline; font-size: 14px; font-weight: 500; color: var(--muted); }
.show-num span:first-child { font-variant-numeric: tabular-nums; color: var(--blue); }
.show-text h3 { font-weight: 500; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.show-text p:last-child { max-width: 44ch; color: var(--muted); }
.show-stage {
  min-width: 0; min-height: 380px;
  padding: clamp(18px, 2.6vw, 40px);
  display: flex; justify-content: center; align-items: center; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 110%, rgba(108, 140, 232, 0.28), transparent 70%), var(--surface-solid);
  border: 1px solid var(--line); border-radius: 20px;
}
.shot { filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.55)); }
.shot-tall { width: auto; max-height: 520px; }
.shot-wide { width: 100%; max-width: 720px; border-radius: 16px; border: 1px solid var(--line-strong); filter: none; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }

/* Two phones (medicine) */
.phones { position: relative; width: 100%; max-width: 520px; padding-bottom: 30px; display: flex; justify-content: center; align-items: flex-start; }
.phones::before { content: ""; position: absolute; inset: 10% 5% 0; z-index: 0; background: radial-gradient(closest-side, rgba(108, 140, 232, 0.35), transparent); filter: blur(40px); }
.phone-card { position: relative; width: min(48%, 250px); margin: 0; }
.phone-card img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.phone-a { z-index: 2; transform: rotate(-3deg); }
.phone-b { z-index: 1; margin-left: -6%; margin-top: 12%; transform: rotate(4deg); }
.phone-card figcaption {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: flex; gap: 8px; align-items: baseline; white-space: nowrap;
  padding: 7px 14px; font-size: 13px; color: var(--ink-soft);
  background: rgba(12, 17, 32, 0.9); border: 1px solid var(--line-strong); border-radius: 999px;
}
.phone-card figcaption b { font-weight: 600; color: var(--ink); }
.phone-card figcaption span { font-variant-numeric: tabular-nums; color: var(--muted); }

/* Features: bento */
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.card {
  grid-column: span 2; min-height: 240px;
  padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-top: auto; font-weight: 550; font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.card p { max-width: 44ch; color: var(--muted); line-height: 1.5; }
.card-lead { grid-column: span 4; background: radial-gradient(80% 120% at 100% 0%, rgba(108, 140, 232, 0.22), transparent 60%), var(--surface); }
.card-lead h3 { font-size: clamp(28px, 3.2vw, 40px); }
.card-wide { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; gap: 22px; }
.card-wide h3 { margin-top: 0; }
.card-wide p { margin-top: 6px; max-width: 70ch; }
.icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(148, 173, 248, 0.12); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 88px; max-width: 280px; }
.mini-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue), var(--blue-deep)); opacity: 0.85; }
.mini-bars .b1 { height: 62%; } .mini-bars .b2 { height: 40%; } .mini-bars .b3 { height: 78%; }
.mini-bars .b4 { height: 30%; } .mini-bars .b5 { height: 54%; } .mini-bars .b6 { height: 22%; }
.mini-bars i.now { background: var(--mint); opacity: 1; }

/* How it works: three connected cards */
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li {
  position: relative; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums;
  color: var(--bg); background: var(--blue);
}
.steps h3 { margin-top: 18px; font-weight: 550; font-size: 24px; line-height: 1.1; letter-spacing: -0.03em; }
.steps p { margin-top: 8px; color: var(--muted); }

/* Price */
.plans { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan { padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.plan h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; color: var(--ink-soft); }
.plan-price { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--muted); }
.plan-price b { font-weight: 500; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -0.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price small { flex-basis: 100%; font-size: 15px; }
.plan ul { margin-top: 26px; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px;
  border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg) translateY(-3px);
}
.plan li b { color: var(--ink); font-weight: 600; }
.plan-plus { border-color: rgba(148, 173, 248, 0.5); background: radial-gradient(90% 90% at 100% 0%, rgba(108, 140, 232, 0.22), transparent 60%), var(--surface); }
.plan-plus h3 { color: var(--blue); }
.price-note { margin-top: 20px; color: var(--muted); }
.price-note a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Questions */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; color: var(--blue); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 64ch; padding: 0 4px 24px; color: var(--muted); }

/* Closing call to action */
.cta-panel {
  position: relative; overflow: hidden;
  padding: clamp(44px, 8vw, 110px) clamp(24px, 5vw, 72px);
  color: var(--bg);
  background: linear-gradient(135deg, #b6c8ff 0%, var(--blue) 45%, #7f9df0 100%);
  border-radius: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.cta-panel img { width: 64px; height: 64px; border-radius: 18px; }
.cta-panel h2 { max-width: 14ch; background: none; -webkit-text-fill-color: var(--bg); font-size: clamp(40px, 7vw, 96px); line-height: 0.96; letter-spacing: -0.05em; }
.cta-panel p { max-width: 44ch; font-size: 19px; color: #0d1530; }
.cta-panel .have-dark { font-size: 16px; }
.cta-panel .have-dark a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-panel :focus-visible { outline-color: var(--bg); }

/* Footer */
.site-footer { margin-top: clamp(72px, 10vw, 130px); padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; }
.foot-brand { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { max-width: 280px; color: var(--muted); }
.foot-cols { flex: 2 1 360px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px 56px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); }
.foot-cols h4 { margin-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.foot-cols a:hover { color: var(--blue); }
.foot-note { flex: 1 1 100%; max-width: 70ch; font-size: 14px; color: var(--muted); }
.copyright { flex: 1 1 100%; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Motion: one entrance, then calm */
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: up 0.8s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.06s; }
  .hero-text > :nth-child(n+3) { animation-delay: 0.14s; }
  .hero-stage { animation: up 1s var(--ease) 0.2s both; }
  .float-a { animation: drift 6s ease-in-out infinite; }
  .float-b { animation: drift 7s ease-in-out 0.8s infinite; }
  .float-c { animation: drift 6.5s ease-in-out 1.6s infinite; }
  .float-d { animation: drift 6.8s ease-in-out 0.4s infinite; }
  /* The progress line is the timer: when it ends, app.js moves to the next scene. Hover, keyboard focus or Pause hold it. */
  .hero-stage.playing .scene.is-on { animation: scene-zoom var(--scene) linear both; }
  .hero-stage.playing .scene-tabs [aria-pressed="true"] i { animation: scene-progress var(--scene) linear both; }
  /* Same weight as the rules above (the `animation` shorthand resets play-state), and later, so pausing wins. */
  .hero-stage.held .scene.is-on, .hero-stage.held .scene-tabs [aria-pressed="true"] i,
  .hero-stage:hover .scene.is-on, .hero-stage:hover .scene-tabs [aria-pressed="true"] i,
  .hero-stage:has(:focus-visible) .scene.is-on, .hero-stage:has(:focus-visible) .scene-tabs [aria-pressed="true"] i { animation-play-state: paused; }
  .float-b.is-on .bar i { animation: bar-fill 1.2s var(--ease) 0.6s both; }
}

/* Smaller screens */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 10px; padding: 16px 0 40px; }
  .float-a { left: 0; top: -6px; }
  .float-b, .float-d { right: 0; }
  .show-row { grid-template-columns: 1fr; }
  .show-flip .show-text { order: 0; }
  .show-stage { min-height: 320px; }
  .card, .card-lead { grid-column: span 3; }
  .card-lead, .card-wide { grid-column: span 6; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .link-quiet { display: none; }
  .plans { grid-template-columns: 1fr; }
  .float { font-size: 13px; padding: 10px 14px; }
  .float-b { min-width: 190px; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .card, .card-lead, .card-wide { grid-column: span 6; min-height: 0; }
  .card-wide { flex-direction: column; align-items: flex-start; }
  .card h3 { margin-top: 20px; }
  /* Phones: the cards stand under the screenshot, in a row, instead of floating over it */
  .hero-stage { padding-bottom: 0; }
  .stage-box { display: flex; flex-direction: column; gap: 10px; }
  .float { position: static; animation: none; white-space: normal; }
  .float-b { min-width: 0; }
  /* Only the current scene's card, under the screen. */
  .float[data-scene]:not(.is-on) { display: none; }
  /* One row that scrolls sideways, instead of three rows of buttons. */
  .scene-bar { margin-top: 16px; flex-wrap: nowrap; }
  .scene-tabs { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .scene-tabs::-webkit-scrollbar { display: none; }
  .scene-tabs button { flex: none; padding: 0 12px; }
  .scene-pause { flex: none; }
}
@media (max-width: 420px) {
  .site-header { padding-left: 12px; }
  .brand span { font-size: 18px; }
  .lang button { min-width: 36px; padding: 0 8px; }
  .cta-row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chips { animation: none; }
  .btn, .card, .faq summary::after { transition: none; }
}

/* Medicine row: the loop plays like a GIF inside a phone-shaped frame */
.show-stage-video { padding: clamp(14px, 2vw, 28px); }
.loop {
  width: auto; max-width: 100%; max-height: 520px; aspect-ratio: 9 / 16;
  border-radius: 22px; border: 1px solid var(--line-strong);
  background: #000; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}

/* Wide screens (26.10): the page grows with the window instead of leaving two empty bands.
   Type, screenshots and spacing scale up a step. */
@media (min-width: 1400px) {
  body { font-size: 18px; }
  h1 { font-size: clamp(64px, 4.3vw, 92px); }
  h2 { font-size: clamp(52px, 3.8vw, 76px); }
  .lead { font-size: 21px; max-width: 44ch; }
  .section-sub { font-size: 23px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; }
  .float { font-size: 15px; padding: 14px 18px; }
  .float-b { min-width: 250px; }
  .show { gap: 18px; }
  .show-row { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); padding: 18px; gap: 18px; }
  .show-flip { grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); }
  .show-text { padding: 40px 44px; }
  .show-text h3 { font-size: clamp(36px, 2.6vw, 46px); }
  .show-text p:last-child { font-size: 19px; max-width: 46ch; }
  .show-stage { min-height: 500px; }
  .shot-tall { max-height: 640px; }
  .shot-wide { max-width: 900px; }
  .loop { max-height: 640px; }
  .cards { gap: 16px; }
  .card { min-height: 280px; padding: 32px; }
  .card-wide { min-height: 0; }
  .card h3 { font-size: 27px; }
  .card-lead h3 { font-size: clamp(40px, 2.8vw, 50px); }
  .steps { gap: 16px; }
  .steps li { padding: 32px; }
  .steps h3 { font-size: 28px; }
  .plans { gap: 16px; }
  .plan li { font-size: 18px; }
  .faq summary { font-size: 26px; padding-block: 26px; }
  .cta-panel h2 { font-size: clamp(88px, 6.4vw, 120px); }
}

/* Wide screens: sections that were one narrow column use the width as two.
   Heading on the left, content on the right; nothing new is added. */
@media (min-width: 1200px) {
  #price, #faq {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(40px, 5vw, 110px);
    align-items: start;
  }
  #price > .kicker, #faq > .kicker { grid-column: 1; justify-self: start; }
  #price > h2, #faq > h2 { grid-column: 1; }
  #price > .price-note { grid-column: 1; margin-top: 28px; max-width: 34ch; }
  #price > .plans { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
  #faq > .faq { grid-column: 2; grid-row: 1 / -1; margin-top: 0; }
  #faq .faq details p { max-width: 72ch; }

  /* Closing panel: the big line on the left, the action on the right, instead of a left column inside an empty blue field. */
  .cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-areas: "logo ." "title sub" "title btn" "title have";
    grid-template-rows: auto 1fr auto auto;
    column-gap: clamp(40px, 5vw, 110px);
    row-gap: 22px;
    align-items: end;
  }
  .cta-panel img { grid-area: logo; }
  .cta-panel h2 { grid-area: title; max-width: 12ch; }
  .cta-panel > p:not(.have-dark) { grid-area: sub; }
  .cta-panel > .btn { grid-area: btn; justify-self: start; }
  .cta-panel > .have-dark { grid-area: have; }
}

/* Very large monitors: one more step so the page does not look sparse. */
@media (min-width: 2000px) {
  body { font-size: 19px; }
  h1 { font-size: clamp(92px, 4.4vw, 112px); }
  h2 { font-size: clamp(76px, 3.8vw, 92px); }
  .show-stage { min-height: 600px; }
  .shot-tall, .loop { max-height: 760px; }
  .shot-wide { max-width: 1100px; }
  .card { min-height: 320px; }
}
