/* Shared styles: homepage, problem pages, 404. v2: dark glass.
   Smoky glass panels over a warm abstract backdrop, the app's orange-to-red glow, SF Rounded headings.
   The owner asked for glass, gradients and glows (brand look), so this file deliberately uses them.
   taste-skill-ignore applies file-wide to: gradient, glass, shadow (the glass recipe needs all three). */
:root {
  color-scheme: dark;
  --bg: #050506;
  --ink: #f5f5f7;
  --muted: #b4b4bb;       /* 8:1+ on the darkest glass */
  --accent: #ff6a5f;      /* links on glass: 6:1+ */
  --fill: #d42e26;        /* filled buttons behind white text: 4.9:1 */
  --fill-hover: #bb2820;
  --warm: #ff7529;        /* DS.accentWarm */
  --red: #e63833;         /* DS.accent (dark) */

  /* Glass */
  --glass: rgba(22, 20, 22, 0.42);
  --glass-tint: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)); /* taste-skill-ignore */
  --glass-line: rgba(255, 255, 255, 0.11);
  --glass-hi: rgba(255, 255, 255, 0.24);
  --card: rgba(255, 255, 255, 0.055);
  --card-hover: rgba(255, 255, 255, 0.085);
  --card-line: rgba(255, 255, 255, 0.09);
  --blur: blur(30px) saturate(170%);
  --depth: 0 30px 80px -30px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.25); /* taste-skill-ignore */

  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;

  --page: 12px;                         /* outer margin around glass panels on a phone */
  --pad: clamp(22px, 4.4vw, 64px);      /* inside a panel */
  --max: 1200px;
  --stack: clamp(14px, 2vw, 24px);      /* gap between panels */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ring-cycle: 2.4s;
}
@media (min-width: 700px) { :root { --page: 24px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--text); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; position: relative; isolation: isolate;
  padding-top: calc(88px + env(safe-area-inset-top, 0px));
}
::selection { background: rgba(255, 117, 41, 0.42); color: #fff; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
code {
  background: rgba(255, 255, 255, 0.08); padding: 2px 7px; border-radius: 7px; color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.84em;
}
pre { background: rgba(0, 0, 0, 0.45); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px 18px; overflow-x: auto; margin: 14px 0 0; color: var(--ink); }
pre code { background: none; padding: 0; font-size: 14px; line-height: 1.6; }

/* ---------- The backdrop: something real for the glass to blur ---------- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); }
.bg-img {
  position: absolute; inset: -6% -4%; /* room for the parallax drift */
  background: url("/assets/bg/backdrop-desktop.webp") center / cover no-repeat;
}
@media (max-aspect-ratio: 4/5) { .bg-img { background-image: url("/assets/bg/backdrop-mobile.webp"); } }
.bg-glow { position: absolute; border-radius: 50%; width: 70vmax; aspect-ratio: 1; pointer-events: none; }
.bg-glow.g1 { left: -20vmax; top: 30%; background: radial-gradient(closest-side, rgba(255, 117, 41, 0.16), transparent); } /* taste-skill-ignore */
.bg-glow.g2 { right: -24vmax; top: -18vmax; background: radial-gradient(closest-side, rgba(230, 56, 51, 0.14), transparent); } /* taste-skill-ignore */
.bg::after { /* keeps text-heavy regions calm: darken toward the middle of the page */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, rgba(5, 5, 6, 0.55), rgba(5, 5, 6, 0) 70%); /* taste-skill-ignore */
}

/* ---------- Glass: one recipe ---------- */
.glass, main section > .wrap, .hero > .wrap, .top .wrap {
  position: relative;
  background: var(--glass-tint), var(--glass); /* taste-skill-ignore */
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); /* taste-skill-ignore */
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 rgba(255, 255, 255, 0.03), var(--depth); /* taste-skill-ignore: specular top edge + depth */
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, main section > .wrap, .hero > .wrap, .top .wrap { background: rgba(22, 20, 22, 0.92); }
}
/* Specular sweep: a soft band of light crosses the glass once when it arrives (site.js adds .is-lit). */
.top .wrap, .hero > .wrap, main section > .wrap { overflow: clip; } /* clip, not hidden: sticky headings still work */
.top .wrap::after, .hero > .wrap::after, main section > .wrap::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07) 45%, rgba(255, 255, 255, 0.14) 50%, rgba(255, 255, 255, 0.07) 55%, transparent); /* taste-skill-ignore */
  transform: translateX(-120%) skewX(-12deg); opacity: 0;
}
.top .wrap.is-lit::after, .hero > .wrap.is-lit::after, main section > .wrap.is-lit::after { animation: sheen 1.5s var(--ease-out) both; }
@keyframes sheen { 0% { opacity: 1; transform: translateX(-120%) skewX(-12deg); } 100% { opacity: 1; transform: translateX(330%) skewX(-12deg); } }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
main section > .wrap, .hero > .wrap {
  width: calc(100% - 2 * var(--page)); border-radius: clamp(28px, 3.4vw, 44px); padding-block: var(--pad);
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 26px; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 650; margin: 0 0 8px; }
p, li, summary { text-wrap: pretty; }
p { margin: 12px 0; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }

/* ---------- Floating glass pill nav ---------- */
.top { position: fixed; z-index: 50; left: 0; right: 0; top: calc(12px + env(safe-area-inset-top, 0px)); pointer-events: none; }
.top .wrap {
  pointer-events: auto; display: flex; align-items: center; gap: 8px;
  width: calc(100% - 2 * var(--page)); max-width: 980px; padding: 7px 7px 7px 20px; border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-right: auto; padding: 4px 6px 4px 0; border-radius: 999px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 22.5%; object-fit: cover; }
.pill-links { position: relative; display: none; align-items: center; gap: 2px; margin-right: 6px; }
@media (min-width: 820px) { .pill-links { display: flex; } }
.pill-links a {
  position: relative; z-index: 1; display: block; padding: 9px 15px; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 550; text-decoration: none; transition: color 180ms ease;
}
.pill-links a:hover, .pill-links a.is-active { color: var(--ink); }
.pill-links a[aria-current="true"] { color: var(--ink); }
/* The sliding capsule: one full-width layer, clipped to the active link (site.js tweens clip-path). */
.pill-cap {
  position: absolute; inset: 0; z-index: 0; border-radius: 999px; pointer-events: none;
  background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); /* taste-skill-ignore */
  clip-path: inset(0 100% 0 0 round 999px); opacity: 0;
}
.top .get {
  display: inline-flex; align-items: center; min-height: 42px; padding: 9px 18px; border-radius: 999px;
  background: var(--fill); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28); /* taste-skill-ignore */
  transition: scale 140ms var(--ease-out), background-color 180ms ease;
}
.top .get:hover { text-decoration: none; }
.top .get:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) { .top .get:hover { background: var(--fill-hover); } }

/* ---------- Hero: one large glass container ---------- */
.hero { position: relative; padding-block: 0 var(--stack); }
.hero > .wrap { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero:has(.ring) > .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero h1 { max-width: 15ch; }
.hero-copy:not(:has(.badge)) h1 { font-size: clamp(36px, 4vw, 56px); max-width: none; } /* problem pages: longer headlines */
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink); margin: 22px 0 0; max-width: 40ch; }
.lede + .lede { margin-top: 12px; color: var(--muted); }
.fine { font-size: 15px; color: var(--muted); margin: 18px 0 0; }
.hero .appstore { margin-top: 34px; }

/* The app icon as a badge that rings once on arrival, like the app's sign-in screen. */
.badge { position: relative; display: inline-block; width: 92px; height: 92px; margin-bottom: 30px; }
.badge .icon { display: block; width: 92px; height: 92px; border-radius: 22.5%; object-fit: cover; transform-origin: 50% 8%; animation: wobble 720ms var(--ease-out) 900ms both; }
.badge-wave { position: absolute; inset: 0; border-radius: 22.5%; border: 2px solid var(--warm); opacity: 0; pointer-events: none; animation: wave-out 1.4s var(--ease-out) 900ms both; }
.badge-wave + .badge-wave { border-color: var(--red); animation-delay: 1120ms; }
@media (max-width: 899px) { .badge, .badge .icon { width: 72px; height: 72px; } .badge { margin-bottom: 24px; } }
@keyframes wobble { 0% { transform: rotate(0); } 17% { transform: rotate(-7deg); } 36% { transform: rotate(6deg); } 56% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }
@keyframes wave-out { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.62); } }

/* ---------- Store buttons: a matching pair of glass capsules ---------- */
.appstore {
  display: inline-flex; align-items: center; gap: 12px; vertical-align: middle;
  min-width: 186px; min-height: 58px; padding: 9px 22px 9px 18px; margin: 10px 10px 0 0;
  color: #fff; text-decoration: none; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)), rgba(0, 0, 0, 0.35); /* taste-skill-ignore */
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); /* taste-skill-ignore */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 30px -12px rgba(0, 0, 0, 0.7); /* taste-skill-ignore */
  transition: scale 140ms var(--ease-out), border-color 180ms ease;
}
.appstore:hover { text-decoration: none; }
.appstore:active { scale: 0.97; }
@media (hover: hover) and (pointer: fine) { .appstore:hover { border-color: rgba(255, 255, 255, 0.45); } }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .label { text-align: left; line-height: 1.1; }
.appstore .small { display: block; font-size: 13px; letter-spacing: 0.01em; opacity: 0.9; }
.appstore .big { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- The ringing phone: a lock-screen fragment of the app (data-ui), sitting in the glass ---------- */
.ring { position: relative; margin: 0 auto; width: min(100%, 330px); isolation: isolate; }
.ring-glow {
  position: absolute; z-index: -1; left: 50%; top: 45%; width: 190%; aspect-ratio: 1; pointer-events: none;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 117, 41, 0.30), rgba(230, 56, 51, 0.12) 55%, transparent); /* taste-skill-ignore */
  transition: opacity 900ms ease;
}
.ring-screen {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 330 / 600;
  padding: 22px; border-radius: 48px; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(120% 70% at 50% 0%, rgba(40, 22, 18, 0.92), rgba(8, 8, 9, 0.94) 60%); /* taste-skill-ignore */
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 7px rgba(255, 255, 255, 0.035); /* taste-skill-ignore */
}
.ring-status { display: flex; align-items: center; font-size: 14px; font-weight: 600; padding-inline: 8px; }
.ring-silent { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(255, 90, 82, 0.16); color: #ff8a84; font-size: 13px; }
.ring-silent svg { width: 14px; height: 14px; }
.ring-body { margin-top: 24%; }
.ring-src, .ring-tag { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 600; font-family: var(--display); letter-spacing: -0.01em; }
.ring-src { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.92); }
.ring-src svg { width: 20px; height: 20px; flex: none; color: var(--warm); transform-origin: 50% 10%; }
.ring-tag { color: #fff; }
.ring-time { margin: 6% 0 0; font-family: var(--display); font-weight: 700; font-size: clamp(76px, 25vw, 96px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ring-app { margin: 10px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.66); }
.slide {
  position: relative; margin-top: auto; height: 64px; border-radius: 999px; padding: 6px; display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); /* taste-skill-ignore */
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); /* taste-skill-ignore */
}
.slide-label { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 52px; font-size: 17px; color: rgba(255, 255, 255, 0.72); pointer-events: none; transition: opacity 200ms ease; }
.knob {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: #f5f5f7; color: #111;
  display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: transform 420ms var(--ease-drawer);
}
.knob svg { width: 18px; height: 18px; }
.is-live .knob { cursor: grab; }
.is-live .knob.dragging { cursor: grabbing; transition: none; }
.ring-wave { position: absolute; inset: 0; border-radius: 48px; border: 2px solid var(--warm); opacity: 0; pointer-events: none; z-index: -1; }
.ring-wave + .ring-wave { border-color: var(--red); }

/* Ringing: waves leave the phone, the phone buzzes, the bell rocks, the glow breathes, on one cycle. */
.ring.is-ringing .ring-wave { animation: ring-wave var(--ring-cycle) var(--ease-out) 900ms infinite; }
.ring.is-ringing .ring-wave + .ring-wave { animation-delay: 1.15s; }
.ring.is-ringing .ring-screen { animation: buzz var(--ring-cycle) linear 900ms infinite; }
.ring.is-ringing .ring-src svg { animation: wobble-loop var(--ring-cycle) var(--ease-out) 900ms infinite; }
.ring.is-ringing .ring-glow { animation: breathe var(--ring-cycle) ease-in-out 900ms infinite; }
.ring.is-ringing.is-live .knob { animation: nudge 4.8s var(--ease-out) 2.4s infinite; }
.ring.is-off .ring-glow { opacity: 0.25; }
.ring.is-off .slide-label { padding: 0 60px 0 0; }
.ring.is-off .ring-body, .ring.is-off .ring-time { opacity: 0.55; transition: opacity 400ms ease; }
.ring.is-paused, .ring.is-paused * { animation: none !important; } /* off screen: stop, not pause, so nothing under the glass keeps compositing */
@keyframes ring-wave { 0% { opacity: 0.6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.16); } }
@keyframes buzz {
  0%, 22%, 100% { transform: translateX(0); }
  2%, 10%, 18% { transform: translateX(-2px) rotate(-0.4deg); }
  6%, 14% { transform: translateX(2px) rotate(0.4deg); }
}
@keyframes wobble-loop { 0%, 40%, 100% { transform: rotate(0); } 6% { transform: rotate(-16deg); } 13% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 28% { transform: rotate(4deg); } }
@keyframes breathe { 0%, 100% { opacity: 0.78; } 30% { opacity: 1; } }
@keyframes nudge { 0%, 70%, 100% { transform: translateX(0); } 76% { transform: translateX(14px); } 84% { transform: translateX(0); } 89% { transform: translateX(6px); } }

/* ---------- Sections: glass panels stacked down the page ---------- */
main section { padding-block: 0 var(--stack); }
@media (min-width: 900px) {
  /* Heading holds its place on the left while the content scrolls past on the right. */
  #limits .wrap, #setups .wrap, .faq .wrap, .fix .wrap, .more .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
  #limits h2, #setups h2, .faq h2, .fix h2, .more h2 { position: sticky; top: 104px; max-width: 11ch; grid-row: 1 / span 20; }
  #limits .wrap > :not(h2), #setups .wrap > :not(h2), .faq .wrap > :not(h2), .fix .wrap > :not(h2), .more .wrap > :not(h2) { grid-column: 2; }
  .fix .wrap + .wrap { display: block; }
}
.fix .wrap + .wrap { margin-top: var(--stack); }

/* How it works (homepage): each step a row, words left, the app right, on brighter inner cards. */
.steps { list-style: none; padding: 0; margin: 0; }
#how .steps { display: grid; gap: clamp(16px, 2vw, 22px); margin-top: 34px; }
#how .steps li {
  display: grid; gap: 26px; margin: 0; align-items: center; padding: clamp(22px, 3vw, 40px); border-radius: 32px;
  background: var(--card); border: 1px solid var(--card-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); /* taste-skill-ignore */
}
@media (min-width: 900px) {
  #how .steps li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; }
  #how .steps li > figure { grid-column: 2; grid-row: 1 / span 2; }
}
#how .steps h3 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; margin: 0; align-self: end; }
#how .steps .body { color: var(--muted); font-size: 19px; max-width: 34ch; align-self: start; }
.shot { margin: 0; justify-self: center; width: min(100%, 360px); }
.shot img { display: block; width: 100%; height: auto; border-radius: 30px; background: #000; border: 1px solid rgba(255, 255, 255, 0.1); }

/* Step 2 fragment: a source's private address, as the app shows it. */
.connect { width: min(100%, 460px); justify-self: center; margin: 0; padding: 22px; border-radius: 30px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--card-line); }
.connect-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.connect-head svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.connect-head b { font-family: var(--display); font-size: 21px; font-weight: 700; }
.connect-head span { margin-left: auto; font-size: 13px; font-weight: 600; color: #4cd964; background: rgba(76, 217, 100, 0.14); padding: 3px 10px; border-radius: 999px; }
.connect-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 14px 16px; background: rgba(255, 255, 255, 0.07); border-radius: 16px; }
.connect-row + .connect-row { margin-top: 10px; }
.connect-row small { grid-column: 1; font-size: 13px; color: var(--muted); }
.connect-row code { grid-column: 1; background: none; padding: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.connect-row .copy { grid-column: 2; grid-row: 1 / span 2; font-size: 14px; font-weight: 600; color: var(--accent); background: rgba(255, 90, 82, 0.14); padding: 7px 14px; border-radius: 999px; }

/* Problem pages: the fix, a signal travelling down three steps to a dot that rings. */
.fix .steps li { position: relative; padding: 0 0 0 52px; margin: 0 0 40px; }
.fix .steps li:last-child { margin-bottom: 0; }
.fix .steps li::before {
  content: ""; position: absolute; left: 6px; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 117, 41, 0.55);
  transition: background-color 400ms ease, border-color 400ms ease;
}
.fix .steps li.is-lit::before { background: var(--warm); border-color: var(--warm); }
.fix .steps li:last-child::before { background: var(--red); border-color: var(--red); }
.fix .steps li:last-child::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--warm); opacity: 0; animation: dot-ring var(--ring-cycle) var(--ease-out) 1.2s 3; /* rings three times, then rests */
}
.has-motion .fix .steps li:last-child:not(.is-lit)::after { animation: none; }
@keyframes dot-ring { 0% { opacity: 0.8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
.fix .steps h3 { font-size: 24px; }
.fix .steps .body, .fix .wrap + .wrap .body { color: var(--muted); }
.fix .body code { color: var(--ink); }
.alt { margin-top: 0; font-size: 24px; }

/* Price: two plans as inner cards, Pro on the warm tone. */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 8px; }
.plan {
  border-radius: 30px; padding: clamp(24px, 3vw, 40px);
  background: var(--card); border: 1px solid var(--card-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); /* taste-skill-ignore */
}
.plan h3 { font-size: 24px; color: var(--muted); font-weight: 600; }
.plan .price { font-family: var(--display); font-size: clamp(48px, 5vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 18px; font-variant-numeric: tabular-nums; }
.plan .price span { font-family: var(--text); font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { position: relative; padding-left: 28px; margin: 10px 0; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.plan.pro {
  background: linear-gradient(160deg, rgba(255, 117, 41, 0.20), rgba(230, 56, 51, 0.10) 60%, rgba(230, 56, 51, 0.06)); /* taste-skill-ignore */
  border-color: rgba(255, 117, 41, 0.32); box-shadow: inset 0 1px 0 rgba(255, 200, 170, 0.25); /* taste-skill-ignore */
}
.plan.pro h3 { color: #ffb08a; }
.plan.pro li::before { background: var(--warm); }
.plan.pro > p:not(.price) { color: #f6d3c8; }
#price .fine { margin-top: 20px; }

/* What it can't do */
#limits ul { list-style: none; padding: 0; margin: 0; }
#limits li { position: relative; padding: 0 0 0 36px; margin: 0 0 24px; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.5; }
#limits li:last-child { margin-bottom: 0; }
#limits li::before { content: ""; position: absolute; left: 4px; top: 0.66em; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); }

/* Link rows: popular setups and "more ways". */
.links { list-style: none; padding: 0; margin: 0; }
.links li { margin: 0; }
.links a {
  position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) 14px; align-items: center; gap: 18px;
  padding: 15px 18px; margin-inline: -18px; border-radius: 20px; color: var(--ink); text-decoration: none; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.35;
  transition: background-color 180ms ease;
}
.links a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--warm)); transition: transform 240ms var(--ease-out); }
.links a::after { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: rotate(45deg); transition: transform 240ms var(--ease-out), border-color 180ms ease; }
.links li:nth-child(5n+1) a { --dot: #ff7529; }
.links li:nth-child(5n+2) a { --dot: #4cd964; }
.links li:nth-child(5n+3) a { --dot: #4aa3ff; }
.links li:nth-child(5n+4) a { --dot: #ffcc33; }
.links li:nth-child(5n+5) a { --dot: #ff5a52; }
.links a:active { background: var(--card-hover); }
@media (hover: hover) and (pointer: fine) {
  .links a:hover { background: var(--card); }
  .links a:hover::before { transform: scale(1.4); }
  .links a:hover::after { transform: translateX(4px) rotate(45deg); border-color: var(--ink); }
}

/* Questions: rows that open into inner glass cards. */
.faq details { border-radius: 22px; padding: 0 22px; margin: 0 -22px 4px; border: 1px solid transparent; transition: background-color 180ms ease, border-color 180ms ease; }
.faq details[open] { background: var(--card); border-color: var(--card-line); }
@media (hover: hover) and (pointer: fine) { .faq details:not([open]):hover { background: var(--card); } }
.faq summary { position: relative; list-style: none; cursor: pointer; font-weight: 600; font-size: clamp(19px, 1.5vw, 21px); line-height: 1.4; padding: 20px 40px 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 16px; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--accent); transition: transform 240ms var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { color: var(--muted); font-size: 19px; margin: -6px 0 0; padding-bottom: 22px; max-width: 60ch; }
.faq details[open] p { animation: answer 360ms var(--ease-out) both; }
@keyframes answer { from { opacity: 0; transform: translateY(-6px); } }

/* Closing call: the one centred moment, the glow bleeding through the glass. */
.cta .wrap { text-align: center; overflow: clip; isolation: isolate; }
.cta .wrap::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1000px, 160vw); aspect-ratio: 2 / 1; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 117, 41, 0.24), rgba(230, 56, 51, 0.09) 60%, transparent); /* taste-skill-ignore */
}
.cta h2 { font-size: clamp(34px, 5vw, 68px); max-width: 16ch; margin: 0 auto 28px; }
.cta .appstore { margin: 10px 5px 0; }
.cta .fine { margin-top: 22px; }

/* ---------- Footer: one quiet line ---------- */
footer { color: var(--muted); font-size: 15px; padding-block: clamp(36px, 6vw, 72px) calc(36px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; order: 2; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .co { order: 1; }

/* ---------- 404 ---------- */
.hero:not(:has(.ring)) > .wrap { min-height: 52svh; align-content: center; }

/* ---------- Motion states (only when site.js runs; boot.js sets .motion before first paint) ---------- */
.motion .top .wrap, .motion .hero > .wrap, .motion .hero-copy > *, .motion .hero .ring { opacity: 0; }

@media (max-width: 899px) {
  .hero .appstore { margin-top: 26px; }
  .hero .appstore + .appstore { margin-top: 10px; }
  .ring { width: min(100%, 310px); }
  h2 { margin-bottom: 22px; }
}
@media (max-width: 600px) {
  .faq details { margin-inline: -12px; padding-inline: 12px; }
  .links a { margin-inline: -12px; padding-inline: 12px; }
  :root { --blur: blur(22px) saturate(160%); }
}
@media (max-width: 420px) {
  .appstore { min-width: 0; width: 100%; max-width: 280px; justify-content: center; margin-right: 0; }
  .cta .appstore { margin-inline: auto; display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; }
  .ring-wave, .badge-wave, .fix .steps li:last-child::after, .top .wrap::after, .hero > .wrap::after, main section > .wrap::after { display: none; }
  .knob { transition: none; }
}
