/* Tokens: copied from app/src/index.css. Mostly neutral greys, one accent for what is ON. */
:root {
  --canvas: #f5f5f7; --surface: #ffffff; --surface-2: #f5f5f7;
  --fill: rgb(120 120 128 / 0.12); --fill-strong: rgb(120 120 128 / 0.2);
  --line: rgb(60 60 67 / 0.14); --line-strong: rgb(60 60 67 / 0.24);
  --ink: #1d1d1f; --ink-2: #3a3a3c; --muted: #6e6e73; --faint: #aeaeb2;
  --accent: #5e5ce6; --accent-ink: #ffffff;
  --accent-soft: rgb(94 92 230 / 0.1); --accent-line: rgb(94 92 230 / 0.35);
  --green: #34c759; --green-soft: rgb(52 199 89 / 0.12); --red: #ff3b30; --orange: #ff9500;
  --blue: #0a84ff; --teal: #30b0c7; --gray: #8e8e93;
  --shadow: 0 1px 1px rgb(0 0 0 / 0.02), 0 2px 8px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 24px 60px -18px rgb(0 0 0 / 0.25), 0 0 0 0.5px rgb(0 0 0 / 0.06);
  --bar-bg: rgb(245 245 247 / 0.8);
  --band: #ebebef;        /* the middle band the page tone shifts to (surface-2 is identical to canvas in light) */
  --privacy-bg: #161638;  /* deep indigo-tinted dark panel behind Privacy */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #000000; --surface: #1c1c1e; --surface-2: #2c2c2e;
    --fill: rgb(120 120 128 / 0.24); --fill-strong: rgb(120 120 128 / 0.36);
    --line: rgb(84 84 88 / 0.6); --line-strong: rgb(84 84 88 / 0.9);
    --ink: #f5f5f7; --ink-2: #d1d1d6; --muted: #98989d; --faint: #636366;
    --accent: #7d7aff; --accent-soft: rgb(125 122 255 / 0.16); --accent-line: rgb(125 122 255 / 0.45);
    --green: #30d158; --green-soft: rgb(48 209 88 / 0.16); --red: #ff453a; --orange: #ff9f0a;
    --shadow: 0 0 0 0.5px rgb(255 255 255 / 0.06);
    --shadow-lg: 0 24px 60px -18px rgb(0 0 0 / 0.8), 0 0 0 0.5px rgb(255 255 255 / 0.1);
    --bar-bg: rgb(0 0 0 / 0.7);
    --band: #141416; --privacy-bg: #12122e;
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
  :root:not([data-theme="light"]) .ico-sun { display: block; }
}
:root[data-theme="dark"] {
  --canvas: #000000; --surface: #1c1c1e; --surface-2: #2c2c2e;
  --fill: rgb(120 120 128 / 0.24); --fill-strong: rgb(120 120 128 / 0.36);
  --line: rgb(84 84 88 / 0.6); --line-strong: rgb(84 84 88 / 0.9);
  --ink: #f5f5f7; --ink-2: #d1d1d6; --muted: #98989d; --faint: #636366;
  --accent: #7d7aff; --accent-soft: rgb(125 122 255 / 0.16); --accent-line: rgb(125 122 255 / 0.45);
  --green: #30d158; --green-soft: rgb(48 209 88 / 0.16); --red: #ff453a; --orange: #ff9f0a;
  --shadow: 0 0 0 0.5px rgb(255 255 255 / 0.06);
  --shadow-lg: 0 24px 60px -18px rgb(0 0 0 / 0.8), 0 0 0 0.5px rgb(255 255 255 / 0.1);
  --bar-bg: rgb(0 0 0 / 0.7);
  --band: #141416; --privacy-bg: #12122e;
  color-scheme: dark;
}
:root[data-theme="dark"] .ico-moon { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue", sans-serif;
  letter-spacing: -0.003em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--accent-soft); }
:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 1px; border-radius: 8px; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
svg { display: block; }
.display { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", sans-serif; letter-spacing: -0.022em; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Wordmark: same paths as app/src/components/Logo.tsx */
.wordmark { display: inline-flex; align-items: center; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); font-size: 20px; line-height: 1; }
.wordmark .mark { width: 1.02em; height: 1.02em; margin: 0.12em 0.02em 0 0; }
.wordmark .dot { display: inline-block; width: 0.22em; height: 0.22em; margin: 0.5em 0 0 0.06em; border-radius: 50%; background: var(--accent); }
.mark { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.mark .tail { stroke: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border: 0; cursor: pointer; white-space: nowrap; transition: filter .15s, background-color .15s, transform .1s, translate .35s cubic-bezier(.2,.8,.2,1); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary { background: var(--fill); color: var(--ink); }
.btn-secondary:hover { background: var(--fill-strong); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 10; background: var(--bar-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 6px; height: 56px; }
.top .spacer { flex: 1; }
/* Section links: all inline from 1100 px; 900–1099 px keeps the first four and folds the rest into "More";
   under 900 px everything moves into the menu sheet. */
.mainnav { display: none; align-items: center; gap: 0; margin-left: 14px; }
.mainnav > a, .more-btn { padding: 6px 8px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: color .15s, background-color .15s; }
.mainnav > a:hover, .more-btn:hover, .mainnav > a.on, .more-menu a.on { color: var(--ink); }
.mainnav > a:hover, .more-btn:hover { background: var(--fill); }
.mainnav > a.on { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 2px 2px; }
.more { position: relative; display: none; }
.more-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; font-family: inherit; cursor: pointer; }
.more-btn .chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.more-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.more-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 180px; padding: 6px; border-radius: 12px; background: var(--surface); border: 0.5px solid var(--line); box-shadow: var(--shadow-lg); display: grid; }
.more-menu[hidden] { display: none; }
.more-menu a { padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.more-menu a:hover { background: var(--fill); }
.more-menu a.on { box-shadow: inset 2px 0 0 var(--accent); }
@media (min-width: 900px) { .mainnav { display: flex; } }
@media (min-width: 900px) and (max-width: 1099px) { .mainnav > a.r5, .mainnav > a.r6, .mainnav > a.r7 { display: none; } .more { display: block; } }
@media (min-width: 1100px) { .mainnav > a, .more-btn { padding: 6px 9px; } }
.theme { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 17px; transition: background-color .15s, color .15s; }
.theme:hover { background: var(--fill); color: var(--ink); }
.theme:active { transform: scale(.9); }
.ico-sun { display: none; }
.top-dl { margin-left: 4px; }
.burger { display: none; place-items: center; align-content: center; gap: 5px; width: 38px; height: 38px; margin-right: -6px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.6px; border-radius: 1px; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (max-width: 899px) {
  .top .wrap > .langsw, .top .wrap > .theme, .top .wrap > .top-dl, .top .wrap > .signin { display: none; }
  .burger { display: grid; }
}
/* Pinned under the sticky bar and scrolling on its own; the page underneath is not scroll-locked
   (overflow: hidden on <html> would break position: sticky on the bar). */
.navsheet { position: fixed; left: 0; right: 0; top: 56px; max-height: calc(100dvh - 56px); overflow: auto; overscroll-behavior: contain; padding: 8px 16px 20px; background: var(--surface); border-bottom: 0.5px solid var(--line); box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.35); animation: ns-in .22s cubic-bezier(.2,.8,.2,1); }
.navsheet[hidden] { display: none; }
@keyframes ns-in { from { opacity: 0; transform: translateY(-6px); } }
.ns-links { display: grid; }
.ns-links a { padding: 13px 4px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.ns-links a.on { color: var(--accent); }
.ns-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 4px; }
.ns-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; }
.ns-actions .btn { width: 100%; }
@media (min-width: 900px) { .navsheet { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .navsheet { animation: none; } }
.signin { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background-color .15s; }
.signin:hover { background: var(--fill); }
.signin .av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.signin .nm { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) { .signin .nm { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 48px; } .hero .grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.hero .mark { width: 56px; height: 56px; }
h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.03; }
h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.12em 0; margin: 0 -0.04em -0.12em 0; }
h1 .w > span { display: inline-block; }
.hero .sub { margin-top: 20px; font-size: 17px; line-height: 1.45; color: var(--muted); max-width: 46ch; }
.hero .cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero .cta .muted { font-size: 13.5px; }

/* Mock tray panel: mirrors app/src/components/Panel.tsx */
.panel { width: 100%; max-width: 340px; margin: 0 auto; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-lg); border: 0.5px solid var(--line); overflow: hidden; will-change: transform; }
.panel header { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px; }
.panel header .wordmark { font-size: 17px; flex: 1; }
.panel .avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--teal)); }
.panel .list { margin: 0 12px 12px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; }
.row + .row::before { content: ""; position: absolute; left: 52px; right: 0; top: 0; height: 1px; background: var(--line); }
.row .tile { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; color: #fff; font-size: 15px; }
.row .t { flex: 1; min-width: 0; }
.row .title { font-size: 13px; }
.row .subtitle { font-size: 12px; line-height: 1.3; color: var(--muted); transition: color .3s; }
.row .live { color: var(--green); font-variant-numeric: tabular-nums; }
.row.off { opacity: .6; }
.tile-accent { background: var(--accent); } .tile-blue { background: var(--blue); } .tile-teal { background: var(--teal); } .tile-orange { background: var(--orange); } .tile-gray { background: var(--gray); } .tile-green { background: var(--green); }

/* iOS-style switch */
.sw { position: relative; display: inline-block; flex-shrink: 0; width: 38px; height: 22px; border-radius: 11px; background: var(--fill-strong); transition: background-color .2s; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 0 0 0.5px rgb(0 0 0 / 0.04); transition: transform .2s; }
.sw.on { background: var(--accent); }
.sw.on::after { transform: translateX(16px); }

/* Waveform: symmetric bars like app/src/components/Waveform.tsx */
.meter { padding: 10px 14px 14px; display: grid; gap: 8px; }
.meter .line { display: flex; align-items: center; gap: 12px; }
.meter .label { width: 56px; flex-shrink: 0; font-size: 11px; font-weight: 500; color: var(--muted); }
.bars { display: flex; align-items: center; gap: 2.5px; height: 34px; flex: 1; overflow: hidden; }
.bars i { display: block; width: 3px; height: 100%; border-radius: 1.5px; background: var(--fill-strong); transform: scaleY(var(--h)); animation: wave 1.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.17s); }
.bars.on i { background: var(--accent); animation-duration: 1.9s; }
.bars.live i, .bars.calm i, .bars.static i { animation: none; }
.bars.live i { transition: transform .08s linear; }
@keyframes wave { from { transform: scaleY(var(--h)); } to { transform: scaleY(calc(var(--h) * 0.45 + 0.08)); } }

/* Sections */
/* Section rhythm: ~64 px between sections on phones, ~112 px on desktop (padding on both sides of a boundary). */
section { padding: 32px 0; }
@media (min-width: 900px) { section { padding: 56px 0; } }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); }
h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.08; margin-top: 6px; }
.lead { margin-top: 14px; font-size: 17px; line-height: 1.45; color: var(--muted); max-width: 56ch; }
.cards { display: grid; gap: 12px; margin-top: 36px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(var(--cols, 2), 1fr); } }
.card { background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); border: 0.5px solid var(--line); }
.card h3 { font-size: 19px; letter-spacing: -0.015em; }
.card .k { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card .tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; font-size: 18px; margin-bottom: 16px; }
.step .n { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 16px; transition: background-color .3s, color .3s; }
.modes { margin-top: 16px; display: grid; gap: 8px; }
.mode { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.mode b { flex-shrink: 0; font-weight: 600; color: var(--ink); }
.note { margin-top: 20px; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 64ch; }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.flip > :first-child { order: 2; } #translatePin { min-height: calc(100vh - 56px); } }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--fill); color: var(--ink-2); }

/* Demo: hear the difference */
.demo { padding-top: 24px; }
.demo .card { margin-top: 28px; padding: 20px; }
@media (min-width: 720px) { .demo .card { padding: 28px; } }
.demo .top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.play { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--ink); color: var(--canvas); cursor: pointer; transition: transform .15s, filter .15s; }
.play:hover { filter: brightness(1.15); } .play:active { transform: scale(.94); }
.play svg { width: 26px; height: 26px; fill: currentColor; }
.play .ico-pause, .play.playing .ico-play { display: none; } .play.playing .ico-pause { display: block; }
.demo .status { flex: 1; min-width: 120px; }
.demo .status .name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.demo .status .time { margin-top: 2px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.qswitch { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 6px 6px 6px 16px; border-radius: 999px; border: 0; background: var(--surface-2); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.sw.lg { width: 51px; height: 31px; border-radius: 16px; } .sw.lg::after { width: 27px; height: 27px; } .sw.lg.on::after { transform: translateX(20px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--fill); color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s; }
.chip:hover { background: var(--fill-strong); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.scope { position: relative; height: 88px; margin-top: 20px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.prog { height: 3px; margin-top: 14px; border-radius: 2px; background: var(--fill); overflow: hidden; }
.prog i { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--accent); }
.demo .cap { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }

/* Statement: words light up as they cross the middle of the screen */
.statement { padding: 48px 0; }
@media (min-width: 900px) { .statement { padding: 72px 0; } }
.statement p { font-size: clamp(34px, 6.2vw, 76px); line-height: 1.08; font-weight: 700; letter-spacing: -0.025em; max-width: 16ch; }
.statement .w { display: inline-block; }


/* How it works: stacked cards on phones, pinned scrollytelling with a morphing mock on desktop */
.mocks { display: none; }
@media (min-width: 900px) {
  .how .pinwrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; min-height: calc(100vh - 56px); }
  .how .cards { margin-top: 28px; gap: 6px; }
  .how .step { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: transparent; box-shadow: none; border-color: transparent; opacity: .45; transition: opacity .3s, background-color .3s, box-shadow .3s, border-color .3s; }
  .how .step.active { opacity: 1; background: var(--surface); box-shadow: var(--shadow); border-color: var(--line); }
  .how .step .n { margin: 1px 0 0; }
  .how .step.active .n { background: var(--accent); color: var(--accent-ink); }
  .how .step h3 { font-size: 17px; }
  .how .step p { margin-top: 4px; font-size: 14px; }
  .mocks { display: block; position: relative; height: 420px; }
  .mock { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; }
  .mock.m3 { opacity: 1; visibility: visible; } /* static fallback shows the finished state */
}
.mcard { width: 100%; max-width: 340px; background: var(--surface); border-radius: 16px; border: 0.5px solid var(--line); box-shadow: var(--shadow-lg); padding: 24px; }
.mcard .mark { width: 44px; height: 44px; }
.mcard .mt { margin-top: 16px; font-size: 15px; font-weight: 600; }
.mcard .ms { margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.mprog { height: 6px; margin-top: 18px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.mprog i { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--accent); }
.mdone { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 500; color: var(--green); }
.picker .mt { margin-top: 0; }
.picker .ml { margin-top: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.opt { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); transition: border-color .25s, background-color .25s, color .25s; }
.opt .ico { font-size: 14px; opacity: 0; transition: opacity .25s; color: var(--accent); }
.opt.sel { border-color: var(--accent-line); background: var(--accent-soft); color: var(--ink); }
.opt.sel .ico { opacity: 1; }

/* Numbers */
.numbers .cards { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .numbers .cards { grid-template-columns: repeat(4, 1fr); } }
.num .v { font-size: clamp(34px, 4.5vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.num .v small { font-size: .5em; font-weight: 600; letter-spacing: -0.01em; color: var(--muted); }
.num .l { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* Caption overlay mock */
.stage { position: relative; border-radius: 18px; background: var(--surface); border: 0.5px solid var(--line); box-shadow: var(--shadow); padding: 20px; min-height: 240px; display: grid; align-content: end; overflow: hidden; }
.stage .dots { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.stage .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--fill-strong); }
.stage .faces { position: absolute; top: 40px; left: 20px; right: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stage .faces i { height: 64px; border-radius: 10px; background: var(--surface-2); }
.caption { background: rgb(28 28 30 / 0.92); color: #f5f5f7; border-radius: 12px; padding: 12px 14px; width: min(320px, 100%); margin: 0 auto; box-shadow: var(--shadow-lg); }
.caption .orig { font-size: 12.5px; color: #98989d; min-height: 1.4em; }
.caption .tr { font-size: 15px; font-weight: 500; margin-top: 3px; min-height: 1.4em; }
.cur::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: currentColor; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Doc mock */
.doc { background: var(--surface); border-radius: 18px; border: 0.5px solid var(--line); box-shadow: var(--shadow); padding: 24px; }
.doc .h { font-weight: 600; font-size: 15px; }
.doc .m { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.doc ul { margin: 14px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.doc .tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; font-weight: 500; color: var(--green); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; }
html.js .doc li, html.js .doc .tag { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
html.js .doc li:nth-child(2) { transition-delay: .3s; } html.js .doc li:nth-child(3) { transition-delay: .6s; } html.js .doc .tag { transition-delay: 1s; }
html.js .reveal.in .doc li, html.js .reveal.in .doc .tag { opacity: 1; transform: none; }

/* Privacy: its own indigo panel with inverted tokens, so it reads the same with or without the scroll tone shift */
.privacy { background: var(--privacy-bg); color: var(--ink); --ink: #f5f5f7; --ink-2: #d1d1d6; --muted: #a4a4bf; --faint: #6f6f8f; --surface: #212148; --surface-2: #2a2a55; --line: rgb(255 255 255 / 0.12); --fill: rgb(255 255 255 / 0.1); --accent: #a4a2ff; --green: #30d158; --green-soft: rgb(48 209 88 / 0.18); --shadow: 0 0 0 0.5px rgb(255 255 255 / 0.08); }
.privacy .card { padding: 0; }
.privacy .row { padding: 14px 20px; gap: 14px; }
.privacy .row + .row::before { left: 60px; }
.privacy .title { font-size: 14px; font-weight: 500; }
.privacy .subtitle { font-size: 13px; margin-top: 2px; }
.badge { flex-shrink: 0; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--fill); color: var(--muted); }
.badge.green { background: var(--green-soft); color: var(--green); }

/* Download */
.download { text-align: center; }
.download .lead { margin-left: auto; margin-right: auto; }
.download .btn { margin-top: 28px; height: 50px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.download .req { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* Footer */
footer { border-top: 0.5px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
footer .wordmark { font-size: 17px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
footer nav a:hover { color: var(--ink); }
footer .made { flex-basis: 100%; }
footer .heart { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; fill: var(--red); }
footer .credits-link { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
footer .credits-link:hover { color: var(--ink); }
@media (min-width: 720px) { footer .made { flex-basis: auto; margin-left: auto; } }
footer .draw .wave { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }

/* Scroll reveal (only when JS is present so no-JS still shows everything) */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .doc li, html.js .doc .tag { opacity: 1; transform: none; }
  .mark-anim { display: none; }
  .cur::after { display: none; }
}
@media not (prefers-reduced-motion: reduce) { .mark-static { display: none; } }

/* Download buttons: the visitor's OS goes first and gets the primary style (common.js) */
.dl { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.dl .is-primary { order: -1; }
.req-line { margin-top: 12px; font-size: 13px; color: var(--muted); }
.dl-big { justify-content: center; gap: 16px; margin-top: 28px; }
.dlopt { display: grid; justify-items: center; }
.download .dl-big .btn { margin-top: 0; min-width: 250px; }

/* Hero: noise particles that get pulled into the mark on scroll (desktop motion only) */
.hero { position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.particles { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
html.motion .particles { display: block; }
.pt { position: absolute; left: var(--x); top: var(--y); will-change: transform, opacity; }
.pt i { display: block; font-style: normal; font-size: 12px; font-weight: 500; color: var(--muted); background: var(--fill); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  animation: pt-in 1s cubic-bezier(.2,.8,.2,1) both, drift 7s ease-in-out infinite alternate; animation-delay: calc(var(--d) * .15s + .5s), calc(var(--d) * -1s); }
.pt.dot i { width: 7px; height: 7px; padding: 0; background: var(--fill-strong); }
@keyframes pt-in { from { opacity: 0; scale: .6; } }
@keyframes drift { from { translate: -6px -4px; } to { translate: 8px 6px; } }

/* Before/after strip: the clean layer is revealed with two counter transforms, no clipping or layout */
.cmp-head { margin-bottom: 28px; }
.strip { position: relative; height: 150px; border-radius: 18px; background: var(--surface); border: 0.5px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 900px) { .strip { height: 220px; } .cmp-pin { min-height: calc(100vh - 56px); display: grid; align-content: center; } }
.layer { position: absolute; inset: 0; }
.layer svg { position: absolute; inset: 20px 16px; width: calc(100% - 32px); height: calc(100% - 40px); }
.noisy path { fill: var(--faint); }
.clean { overflow: hidden; background: var(--surface); transform: translateX(-50%); will-change: transform; }
.clean-inner { position: absolute; inset: 0; transform: translateX(50%); will-change: transform; }
.clean path { fill: var(--accent); }
.tag { position: absolute; top: 12px; left: 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--accent); }
.tag-r { left: auto; right: 16px; color: var(--muted); }
.wipe { position: absolute; inset: 0; transform: translateX(50%); pointer-events: none; will-change: transform; }
.wipe i { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--ink); opacity: .85; }
.wipe i::after { content: ""; position: absolute; top: 50%; left: -7px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--surface); }


/* Pointer tilt (desktop, fine pointer): transform only */
.tilt { transition: transform .4s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.tilt .tile { transition: transform .4s cubic-bezier(.2,.8,.2,1); }

@media (prefers-reduced-motion: reduce) {
  .particles, html.motion .particles { display: none; }
}

/* Why Quietify: four short cards right after the demo */
.why .cards { grid-template-columns: 1fr; }
@media (min-width: 560px) { .why .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why .cards { grid-template-columns: repeat(4, 1fr); } }
.why .card { padding: 22px; }
.why .card .tile { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; margin-bottom: 14px; }
.why .card h3 { font-size: 16px; }
.why .card p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Sound components: live waveform dividers, the cleaning divider, hero orb, demo glow, equalizers, wave underlines */
.wdiv { position: relative; height: 40px; margin: 0 auto; max-width: 1040px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.wtrack { position: absolute; inset: 0; width: 200%; will-change: transform; animation: wslide 16s linear infinite; animation-play-state: paused; }
.wtrack.w2 { animation-duration: 11s; animation-direction: reverse; opacity: .6; }
.wdiv.run .wtrack { animation-play-state: running; }
.wdiv svg { width: 100%; height: 100%; }
.wdiv path { fill: none; stroke: var(--accent-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.clean-div path { stroke: var(--accent); opacity: .55; }
@keyframes wslide { to { transform: translateX(-50%); } }

.markwrap { position: relative; width: 56px; height: 56px; margin-bottom: 24px; }
.markwrap .mark { position: relative; margin: 0; }
.orb, .ring { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; border-radius: 50%; pointer-events: none; will-change: transform, opacity; }
.orb { background: radial-gradient(closest-side, var(--accent-line), transparent); opacity: .5; animation: breathe 5s ease-in-out infinite alternate; }
.ring { border: 1.5px solid var(--accent-line); opacity: 0; transform: scale(.6); }
.orb.live { animation: none; }
@keyframes breathe { from { transform: scale(.85); opacity: .35; } to { transform: scale(1.05); opacity: .6; } }

.demo-stage { position: relative; }
.demo-stage .card { position: relative; z-index: 1; }
.glow { position: absolute; inset: -28px; z-index: 0; border-radius: 40px; background: radial-gradient(closest-side, var(--accent-line), transparent); filter: blur(18px); opacity: 0; pointer-events: none; will-change: transform, opacity; transition: opacity .6s; }
@media (max-width: 719px) { .glow { inset: -14px -12px; } } /* stays inside the 16px phone gutter */

.eq { position: absolute; top: 22px; right: 22px; display: flex; align-items: center; gap: 2px; height: 16px; }
.why .card { position: relative; }
.eq i { display: block; width: 3px; height: 100%; border-radius: 1.5px; background: var(--accent-line); transform: scaleY(.3); animation: eq 1.1s ease-in-out infinite alternate; animation-play-state: paused; }
.eq i:nth-child(2) { animation-delay: -.3s; animation-duration: .9s; } .eq i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.3s; }
.eq i:nth-child(4) { animation-delay: -.2s; animation-duration: .8s; } .eq i:nth-child(5) { animation-delay: -.5s; animation-duration: 1.2s; }
.run .eq i { animation-play-state: running; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.mainnav > a, footer nav a { position: relative; overflow: hidden; }
footer nav a { padding-bottom: 5px; }
.mainnav > a::after, footer nav a::after { content: ""; position: absolute; left: 0; bottom: 1px; width: calc(100% + 12px); height: 5px; background: currentColor; opacity: 0; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='5' viewBox='0 0 12 5'%3E%3Cpath d='M0 2.5 Q3 0 6 2.5 T12 2.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 0 / 12px 5px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='5' viewBox='0 0 12 5'%3E%3Cpath d='M0 2.5 Q3 0 6 2.5 T12 2.5' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") repeat-x 0 0 / 12px 5px; transition: opacity .2s; }
.mainnav > a:hover::after, footer nav a:hover::after { opacity: .6; animation: wl .8s linear infinite; }
.mainnav > a::after { left: 8px; width: calc(100% - 16px + 12px); bottom: 2px; }
@keyframes wl { to { transform: translateX(-12px); } }

/* Plans */
.plan { display: grid; align-content: start; gap: 6px; }
.plan .pn { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.plan .pd { margin-top: 0; color: var(--muted); }
.plan.pro { border-color: var(--accent-line); }
.plan.pro .pn { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .wtrack, .eq i, .orb { animation: none !important; }
  .eq i { transform: scaleY(.6); }
  .mainnav > a:hover::after, footer nav a:hover::after { animation: none; }
  .glow, .ring { display: none; }
}

/* Shared form bits (plans and account) */
.link { border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; padding: 4px 2px; }
.field { min-width: 0; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.field:focus { outline: 3px solid var(--accent-line); outline-offset: 0; border-color: var(--accent); }
.buy { display: grid; gap: 12px; margin-top: 14px; justify-items: start; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; border-radius: 10px; background: var(--fill); }
.seg[hidden] { display: none; }
.seg-b { height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.seg-b[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 0 0 0.5px var(--line); }
.buy .price { margin: 0; color: var(--ink); line-height: 1.1; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.buy .price .per { margin-left: 4px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.buy .price-note { margin: -6px 0 0; line-height: 1.4; font-size: 13px; color: var(--muted); }
.buy-btn { min-width: 160px; }
.buy-btn[hidden], .vtoggle[hidden], .vrow[hidden] { display: none; }
.vrow { display: flex; width: 100%; max-width: 320px; }
.vrow .field { flex: 1; text-transform: uppercase; letter-spacing: .04em; }
.buy .buy-msg { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.buy-msg:empty { display: none; }
.buy .buy-msg.err { color: var(--red); } .buy .buy-msg.ok { color: var(--green); }

/* Language switch (EN | ID) and the pre-paint wait while Indonesian is applied */
html.i18n-wait body { visibility: hidden; }
.langsw { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--fill); }
.langsw button { height: 26px; min-width: 32px; padding: 0 7px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .02em; cursor: pointer; }
.langsw button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 0 0 0.5px var(--line); }
@media (max-width: 380px) { .langsw button { min-width: 28px; padding: 0 5px; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 10px; max-width: min(520px, calc(100vw - 32px)); padding: 12px 10px 12px 16px; border-radius: 14px; background: var(--ink); color: var(--canvas); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.4; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast p { margin: 0; flex: 1; }
.toast-x { width: 28px; height: 28px; flex-shrink: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; opacity: .7; }
.toast-x:hover { opacity: 1; }

/* Pricing: three tiers (plans.js), the middle one recommended */
.cur-sw { margin: 20px 0 0; }
.cur-sw .seg-b[disabled] { opacity: .4; cursor: default; }
.tiers { display: grid; gap: 12px; margin-top: 20px; align-items: stretch; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; }
.tier .tn { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.tier .tp { margin: 0; display: flex; align-items: baseline; gap: 6px; min-height: 40px; color: var(--ink); }
.tier .amt { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.tier .per { font-size: 14px; color: var(--muted); }
.tier .soon { font-size: 22px; font-weight: 600; color: var(--muted); }
.tier .tnote { margin: -8px 0 0; font-size: 12.5px; color: var(--muted); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; }
.feat li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.feat li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); }
.feat li::after { content: ""; position: absolute; left: 5px; top: 5.5px; width: 6px; height: 3.5px; border: solid var(--accent); border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg); }
.feat li.no { color: var(--faint); }
.feat li.no::before { background: var(--fill); }
.feat li.no::after { left: 4px; top: 9px; width: 8px; height: 0; border-width: 1.6px 0 0 0; border-color: var(--faint); transform: none; }
.tier-btn { width: 100%; }
.tier.rec { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line), var(--shadow); }
.rec-badge { position: absolute; top: -11px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.tier[data-tier="free"] .rec-badge { background: var(--green); }
.tier[data-tier="monthly"] .tn { color: var(--accent); }
.tiers-compact { gap: 16px; margin-top: 18px; }
.tiers-compact .tier { padding: 22px 18px 18px; box-shadow: none; }
@media (min-width: 560px) and (max-width: 899px) { .tiers-compact { grid-template-columns: 1fr 1fr; } }
.acct .tiers { grid-template-columns: 1fr; }
@media (min-width: 620px) { .acct .tiers { grid-template-columns: repeat(3, 1fr); } }
.acct .tier .amt { font-size: 26px; }
.acct .tier .feat li { font-size: 13px; }

/* Buy sheet: centered dialog on desktop, a bottom sheet on phones */
.sheet { width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.sheet::backdrop { background: rgb(0 0 0 / 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 559px) {
  .sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 20px 20px 0 0; max-height: 92vh; }
  .sheet[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
}
.sheet-in { position: relative; padding: 24px 22px 22px; }
.sheet-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--fill); color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.sheet-h { margin: 0; padding-right: 40px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.sheet-price { margin: 4px 0 0; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sheet-opt { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 0.5px solid var(--line); }
.sheet-oh { margin: 0; font-size: 15px; font-weight: 600; }
.sheet-muted { margin: -4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.sheet-btn { width: 100%; }
.sheet-btn[hidden], .sheet .vtoggle[hidden], .sheet .vrow[hidden], .gift[hidden] { display: none; }
.sheet .vrow { max-width: none; }
.sheet .vtoggle { justify-self: start; }
.sheet-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 -4px; font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.sheet-or::before, .sheet-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sf { display: grid; gap: 5px; }
.sf-l { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.sf .field { width: 100%; }
.sf textarea.field { height: auto; padding: 9px 12px; resize: vertical; min-height: 70px; line-height: 1.4; }
.sf .count { justify-self: end; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--accent); }
.gift { display: grid; gap: 10px; }
.sheet .buy-msg { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sheet .buy-msg:empty { display: none; }
.sheet .buy-msg.err { color: var(--red); } .sheet .buy-msg.ok { color: var(--green); }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
.tier-msg { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.tier-msg:empty { display: none; }
.more-btn.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 2px 2px; }

/* JS-hidden controls must remain hidden despite component display styles. */
[hidden]{display:none !important}

#viewIn[data-suspended] > .card { display: none !important; }
