/* Dexys Klip landing page. Dexys Works design system tokens, the same as the app (apps/web/src/app/globals.css):
   monochrome ink on neutral, no accent hue, hierarchy from type, background changes and 1px borders. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") 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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Caption fonts the app renders with (Poppins, Anton; SIL Open Font License), subset to Latin. */
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-bold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("/assets/fonts/poppins-extrabold.woff2") format("woff2"); }
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("/assets/fonts/anton-regular.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f3f5f6;
  --line: #e3e7e9;
  --text: #171a1c;
  --muted: #657078;      /* 4.9:1 on white, 4.5:1 on surface-2 */
  --accent: #171a1c;     /* emphasis is ink */
  --accent-ink: #ffffff;
  --accent-hover: #3c4348;
  --symbol: #51656e;
  --focus: #63798a;
  --ink: #171a1c;
  --on-ink-muted: #adb7bf;
  --video-frame: #171a1c; /* fixed dark ground for the video illustrations */
  --radius-tile: 15px;
  --radius-tile-sm: 12px;
  --radius-panel: 16px;
  --radius-pill: 32px;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
}
/* Dark theme: by the OS setting unless a theme was picked (data-theme on <html>, set before first paint). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #171a1c; --surface: #171a1c; --surface-2: #22272a; --line: #30363a; --text: #f1f3f5; --muted: #adb7bf;
    --accent: #f1f3f5; --accent-ink: #171a1c; --accent-hover: #d5dce1; --symbol: #9daeb9; --focus: #8a9cab;
    --video-frame: #0b0d0e; /* darker than the page so the frames stay visible */
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171a1c; --surface: #171a1c; --surface-2: #22272a; --line: #30363a; --text: #f1f3f5; --muted: #adb7bf;
  --accent: #f1f3f5; --accent-ink: #171a1c; --accent-hover: #d5dce1; --symbol: #9daeb9; --focus: #8a9cab;
  --video-frame: #0b0d0e;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
a { color: inherit; }
svg { flex-shrink: 0; }
img { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 4px; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: 14px; }
.xsmall { font-size: 12px; }
.symbol { color: var(--symbol); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-tile); }
.tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-tile-sm); background: var(--surface-2); color: var(--symbol); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 60; padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; height: 36px; padding: 0 16px;
  border-radius: var(--radius-pill); border: 1px solid transparent; font: 500 14px/1 var(--font); text-decoration: none;
  transition: background-color .2s, color .2s, opacity .2s; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-inverse { background: var(--accent-ink); color: var(--accent); }
.btn-inverse:hover { opacity: .9; }
.btn-inverse:focus-visible { outline-color: var(--accent-ink); }
.btn-large { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; height: 44px; }
.btn-compact { padding: 0 14px; }
@media (min-width: 640px) { .btn-compact { padding: 0 16px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
@media (min-width: 1024px) { .header-inner { gap: 32px; } }
.brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; text-decoration: none; border-radius: var(--radius-tile-sm); }
.brand-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-tile-sm); background: var(--surface-2); color: var(--symbol); }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: -1px; line-height: 1; }
.header-nav { display: none; }
@media (min-width: 1024px) { .header-nav { display: block; } }
.header-nav ul { display: flex; gap: 24px; font-size: 14px; font-weight: 500; }
.header-nav a, .signin-text { color: var(--muted); text-decoration: none; transition: color .2s; }
.header-nav a:hover, .signin-text:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.signin-text { font-size: 14px; font-weight: 500; }
.signin-btn { display: none; }
@media (min-width: 640px) { .signin-text { display: none; } .signin-btn { display: inline-flex; } .header-actions { gap: 8px; } }

/* Hero: centered copy with the link field, the product illustration below. */
.hero { display: grid; justify-items: center; gap: 56px; padding-top: 48px; padding-bottom: 64px; text-align: center; }
@media (min-width: 640px) { .hero { padding-top: 72px; } }
@media (min-width: 1024px) { .hero { gap: 72px; padding-bottom: 96px; } }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 52rem; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); font-size: 13px; font-weight: 500; color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text); }
.hero h1 { margin-top: 20px; font-size: 2.75rem; line-height: 1.02; letter-spacing: -0.05em; text-wrap: balance; }
@media (min-width: 640px) { .hero h1 { font-size: 4rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 5rem; } }
.lead { margin-top: 24px; max-width: 40rem; font-size: 18px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero .capture-hero { margin-top: 32px; }
.hero-note { margin-top: 14px; max-width: 34rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s, background-color .2s; }
.chips a:hover { color: var(--text); border-color: var(--text); }

/* Link field + button (hero, closing section, bottom bar). */
.capture { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 560px; padding: 6px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface);
  box-shadow: 0 12px 32px -20px rgb(23 26 28 / .35); text-align: left; }
.capture:focus-within { border-color: var(--text); }
.capture-icon { display: none; color: var(--muted); padding-left: 10px; }
@media (min-width: 480px) { .capture-icon { display: grid; } }
.capture input[type="text"] { flex: 1 1 0; width: 0; min-width: 0; height: 44px; padding: 0 8px 0 12px; border: 0; background: transparent; color: var(--text);
  font: 400 16px/1 var(--font); outline: none; }
@media (min-width: 480px) { .capture input[type="text"] { padding-left: 2px; } }
.capture input::placeholder { color: var(--muted); opacity: 1; }
.capture .btn { height: 44px; padding: 0 18px; }
.capture:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
/* Narrow screens: hero and closing forms stack (field above a full-width button) so long labels never squeeze the field. */
@media (max-width: 479px) {
  .capture-hero, .capture-cta { flex-wrap: wrap; border-radius: var(--radius-panel); padding: 8px; }
  .capture-hero input[type="text"], .capture-cta input[type="text"] { flex-basis: 100%; width: 100%; }
  .capture-hero .btn, .capture-cta .btn { width: 100%; }
}

/* Hero illustration: a wide source video, its timeline, and three scored vertical clips fanned out. */
.hero-visual { position: relative; width: 100%; max-width: 880px; aspect-ratio: 16 / 10; text-align: left; }
.source { position: absolute; left: 0; top: 8%; width: 58%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-panel);
  background: var(--video-frame); box-shadow: 0 0 0 1px var(--line); }
.speakers { position: absolute; inset: auto 0 0 0; height: 78%; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 8%; }
.sp { height: 100%; color: rgb(255 255 255 / .2); }
.sp-b { height: 92%; color: rgb(255 255 255 / .12); }
.crop { position: absolute; top: 6%; bottom: 6%; left: 14%; width: 30%; border: 2px dashed rgb(255 255 255 / .55); border-radius: 10px; }
.source-label { position: absolute; left: 12px; bottom: 12px; padding: 2px 8px; border-radius: 999px; background: rgb(0 0 0 / .4);
  color: var(--on-ink-muted); font-size: 11px; font-weight: 500; }
.timeline { position: absolute; left: 0; top: 70%; width: 46%; padding: 12px; }
.bars { display: flex; align-items: center; gap: 2px; height: 48px; }
.bars span { flex: 1; border-radius: 999px; background: var(--line); }
.bars span.on { background: var(--text); }
.moments { display: flex; gap: 6px; margin-top: 8px; }
.moments span { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 500; }
.phone { container-type: inline-size; position: absolute; width: 23%; aspect-ratio: 9 / 16; overflow: hidden;
  border: 4px solid var(--bg); border-radius: 20px; background: var(--video-frame);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgb(23 26 28 / .55); }
.phone-front { right: 14%; top: 2%; z-index: 2; }
.phone-back { top: 14%; z-index: 1; }
.phone-left { right: 30%; transform: rotate(-7deg); }
.phone-right { right: 0; transform: rotate(7deg); }
.phone-back .phone-speaker .sp { color: rgb(255 255 255 / .16); }
.phone-right .score { left: auto; right: 7%; }
.phone-speaker { position: absolute; inset: auto 0 0 0; height: 70%; display: flex; justify-content: center; }
.phone-speaker .sp { color: rgb(255 255 255 / .25); }
.track { position: absolute; left: 30%; top: 46%; width: 40%; aspect-ratio: 1; border: 2px solid rgb(255 255 255 / .7); border-radius: 8px;
  animation: track 4s ease-in-out infinite; }
.score { position: absolute; left: 7%; top: 5%; display: inline-flex; align-items: center; gap: 1cqw; padding: 1.5cqw 6cqw; border-radius: 999px;
  background: #fff; color: var(--ink); font-size: 8cqw; font-weight: 600; }
.score svg { width: 8cqw; height: 8cqw; stroke-width: 2.4; }
.caption { position: absolute; left: 6%; right: 6%; top: 73%; display: flex; flex-wrap: wrap; justify-content: center; gap: 1cqw 2cqw;
  color: #fff; font: 800 9.5cqw/1 "Poppins", var(--font); text-align: center; text-transform: uppercase; }
.word { padding: 1cqw 1.5cqw; border-radius: 1.5cqw; animation: word 3s linear infinite; }
@keyframes word { 0%, 32% { background: #fff; color: var(--ink); } 33.4%, 100% { background: transparent; color: #fff; } }
@keyframes track { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4%, -3%); } }

/* Sources strip */
.sources { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sources p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding-top: 24px; padding-bottom: 24px;
  font-size: 14px; color: var(--muted); }
.chip { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 500; }
.inline { display: inline-flex; align-items: center; gap: 6px; }

/* Sections */
.section { padding: 80px 0; scroll-margin-top: 64px; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.band { background: var(--surface-2); }
.section-head { max-width: 42rem; margin-bottom: 48px; }
.section-head h2, .faq-grid > h2 { font-size: 30px; line-height: 1.2; }
@media (min-width: 640px) { .section-head h2, .faq-grid > h2 { font-size: 36px; } }
.section-head p { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3 > .card { padding: 24px; }
.grid-3 h3, .features h3 { margin-top: 16px; font-size: 18px; }
.grid-3 p, .features p { margin-top: 8px; line-height: 1.65; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step h3 { margin-top: 24px; }
.step-n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.note a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.note a:hover { text-decoration-color: var(--text); }

/* Features */
.showcase { display: grid; align-items: center; gap: 40px; margin-bottom: 64px; padding: 24px; border: 1px solid var(--line);
  border-radius: var(--radius-panel); background: var(--surface-2); }
@media (min-width: 640px) { .showcase { padding: 40px; } }
@media (min-width: 1024px) { .showcase { grid-template-columns: 1fr 1fr; } .showcase .score-card { justify-self: end; } }
.showcase h3 { font-size: 24px; }
.showcase p { margin-top: 12px; line-height: 1.65; }
.score-card { width: 100%; max-width: 28rem; padding: 24px; justify-self: center; }
.score-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hook { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.score-total { text-align: right; flex-shrink: 0; }
.score-number { font-size: 36px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.metrics { display: grid; gap: 12px; margin-top: 24px; }
.metric { display: grid; grid-template-columns: 6.5rem 1fr 2rem; align-items: center; gap: 12px; font-size: 14px; }
.metric-label { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metric-bar { height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.metric-bar span { display: block; height: 100%; border-radius: 999px; background: var(--text); }
.metric-value { text-align: right; font-variant-numeric: tabular-nums; }
.features { display: grid; gap: 40px 32px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--text); }
.plan h3 { margin-top: 0; }
.plan > .small { margin-top: 4px; }
.price { margin-top: 24px; font-size: 36px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.per { margin-left: 2px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan-features { display: grid; gap: 10px; margin: 24px 0 32px; font-size: 14px; }
.plan-features li { display: flex; gap: 10px; }
.plan-features svg { margin-top: 2px; color: var(--symbol); }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq-section { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 2fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--muted); transition: transform .2s; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { padding: 0 32px 20px 0; line-height: 1.65; }

/* Closing call to action */
.cta-wrap { padding-bottom: 80px; }
@media (min-width: 640px) { .cta-wrap { padding-bottom: 96px; } }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px; border-radius: var(--radius-panel);
  background: var(--accent); color: var(--accent-ink); }
@media (min-width: 640px) { .cta { padding: 48px; } }
@media (min-width: 768px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta h2 { font-size: 30px; }
.cta p { margin-top: 8px; opacity: .8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { max-width: 20rem; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.65; }
.site-footer h2 { font-size: 14px; letter-spacing: 0; }
.site-footer nav ul { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.site-footer nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer nav a:hover, .site-footer nav a[aria-current] { color: var(--text); }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lang-switch { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.site-footer .lang-switch ul { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 0; }
.lang-switch a[aria-current] { color: var(--text); font-weight: 600; }
.theme-switch { display: inline-flex; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.theme-switch[hidden] { display: none; }
.theme-switch button { display: grid; place-items: center; width: 32px; height: 28px; border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.theme-switch button:focus-visible { outline-offset: 2px; }

/* Caption styles gallery: the app's five styles with their real fonts and colours. Scrolls sideways on phones. */
.styles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 1fr); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: thin; }
@media (min-width: 640px) { .styles { margin: 0 -32px; padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { .styles { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.style-card { scroll-snap-align: start; }
.style-frame { container-type: inline-size; position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-tile);
  background: var(--video-frame); box-shadow: 0 0 0 1px var(--line); }
.style-speaker { position: absolute; inset: auto 0 0 0; height: 68%; display: flex; justify-content: center; }
.style-speaker .sp { color: rgb(255 255 255 / .2); }
.style-caption { position: absolute; left: 7%; right: 7%; top: 66%; display: flex; flex-wrap: wrap; justify-content: center; gap: .15em .3em;
  color: #fff; text-align: center; line-height: 1.1; }
.style-name { margin-top: 12px; font-size: 15px; font-weight: 600; }
/* Values follow STYLES in the app: size is a fraction of the frame width, highlight/keyword colours as rendered. */
.style-bold .style-caption { font: 800 11cqw/1.05 "Poppins", var(--font); text-transform: uppercase;
  -webkit-text-stroke: .1em #000; paint-order: stroke fill; text-shadow: 0 .06em .12em rgb(0 0 0 / .6); }
.style-bold .on { color: #FFE500; }
.style-karaoke .style-caption { font: 700 9cqw/1.1 "Poppins", var(--font); text-shadow: 0 .06em .12em rgb(0 0 0 / .6); }
.style-karaoke .on { padding: 0 .25em; border-radius: .3em; background: #7C3AED; }
.style-minimal .style-caption { top: 76%; font: 600 7cqw/1.25 "Poppins", var(--font); text-shadow: 0 .06em .12em rgb(0 0 0 / .7); }
.style-boxed .style-caption { font: 700 8cqw/1.2 "Poppins", var(--font); }
.style-boxed .style-caption { gap: .12em 0; }
.style-boxed .style-caption span { padding: .08em .14em; background: rgb(0 0 0 / .82); }
.style-boxed .on { color: #FFE500; }
.style-neon .style-caption { top: 64%; font: 400 13cqw/1 "Anton", var(--font); text-transform: uppercase; letter-spacing: .01em; }
.style-neon .on { color: #39FF14; text-shadow: 0 0 .25em #39FF14, 0 0 .6em rgb(57 255 20 / .6); }

/* Closing section with the link field. */
.cta .capture-cta { flex: 0 1 460px; box-shadow: none; }
.cta-copy { max-width: 32rem; }

/* Bottom bar with the link field, shown while neither the hero nor the closing section is on screen. */
.dock { position: fixed; left: 50%; bottom: 16px; z-index: 50; width: calc(100% - 32px); max-width: 560px;
  transform: translate(-50%, 0); transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.dock[hidden] { display: block; visibility: hidden; opacity: 0; transform: translate(-50%, 24px); pointer-events: none; }
.dock .capture { max-width: none; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgb(23 26 28 / .45);
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Touch screens: every target at least 44×44px (iOS 44pt / Android 48dp guidance; WCAG minimum is 24px). */
@media (pointer: coarse) {
  .btn { height: 44px; }
  .btn-large { height: 48px; }
  .brand { min-height: 44px; }
  .theme-switch button { width: 44px; height: 44px; }
  .site-footer nav ul { gap: 0; margin-top: 4px; }
  .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-footer .lang-switch ul { gap: 0 16px; }
}

/* Early access: the address in plain text for visitors without an email app. */
.cta .alt { margin-top: 12px; font-size: 14px; }
.cta .alt a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

/* 404 */
.not-found { padding-top: 96px; padding-bottom: 96px; }
.not-found h1 { font-size: 40px; }
.not-found .btn { margin: 32px 0 24px; }
.not-found p + p { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .word:nth-child(2) { background: #fff; color: var(--ink); } /* keep one word highlighted so the idea still reads */
}
