/* Clackwell website. Clay tokens follow the app's tokens.css; dark is the default. */
:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #13151b; --bg-glow: #221f35; --bg-glow-2: #16302a;
  --surface: #1c1f27; --surface-2: #232733; --surface-3: #2d3240;
  --ink: #eef0f7; --muted: #a0a7ba; --faint: #6c7387; --rule: #2f3442;
  --accent: #9b8cff; --accent-2: #c3b6ff; --accent-ink: #15122b; --accent-soft: #2c2850;
  --mint: #6fe3b4; --mint-soft: #1d3a31; --peach: #ffb38f; --peach-soft: #3d2a22;
  --clay: 14px 16px 34px #08090ccc, -8px -8px 22px #ffffff08, inset 2px 2px 3px #ffffff14, inset -5px -6px 12px #00000059;
  --clay-sm: 6px 8px 18px #08090cb3, -4px -4px 12px #ffffff06, inset 1px 1px 2px #ffffff14, inset -3px -3px 6px #0000004d;
  --nav-shadow: 0 6px 22px #08090c99, inset 0 1px 1px #ffffff14, inset 0 -1px 2px #00000040;
  --clay-inset: inset 5px 5px 12px #08090cb3, inset -3px -3px 9px #ffffff0a;
  --clay-press: inset 3px 4px 8px #08090ccc, inset -2px -2px 6px #ffffff08;
  --btn-shadow: 0 12px 28px -6px #9b8cff73, inset 2px 2px 4px #ffffff8c, inset -4px -5px 10px #3b2f9e66;
  --switch-a: #3a3f4d; --switch-b: #20232c; --switch-top: #464c5c; --switch-edge: #555b6b; --switch-line: #8b93a6; --switch-shadow: #000000;
  --case: #23262f; --case-edge: #15171d;
  --cap-alpha: #e4e2dc; --cap-alpha-ink: #3b3d44; --cap-mod: #6a6e78; --cap-mod-ink: #eceef2; --cap-accent: #ef7d46; --cap-accent-ink: #fff6ef;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eceef6; --bg-glow: #e0dafc; --bg-glow-2: #d5f3e6;
  --surface: #f2f3fa; --surface-2: #fbfbff; --surface-3: #e4e6f1;
  --ink: #1f2233; --muted: #5a6075; --faint: #8a90a5; --rule: #dcdfeb;
  --accent: #6f5cf0; --accent-2: #9384f8; --accent-ink: #ffffff; --accent-soft: #e6e1fe;
  --mint: #149a6d; --mint-soft: #d7f4e8; --peach: #e0693a; --peach-soft: #fde5d9;
  --clay: 14px 16px 32px #8f97b852, -10px -10px 24px #ffffffeb, inset 2px 2px 4px #ffffffd9, inset -5px -6px 12px #8f97b833;
  --clay-sm: 6px 8px 18px #8f97b84d, -5px -5px 14px #ffffffd9, inset 1px 1px 2px #ffffffcc, inset -3px -3px 6px #8f97b82e;
  --nav-shadow: 0 6px 22px #8f97b847, inset 0 1px 1px #ffffffd9, inset 0 -1px 2px #8f97b82e;
  --clay-inset: inset 5px 5px 12px #8f97b84d, inset -5px -5px 12px #ffffffe6;
  --clay-press: inset 3px 4px 8px #8f97b866, inset -3px -3px 8px #ffffffcc;
  --btn-shadow: 0 12px 26px -6px #6f5cf066, inset 2px 2px 4px #ffffff73, inset -4px -5px 10px #3b2f9e4d;
  --switch-a: #fbfcfd; --switch-b: #cdd2df; --switch-top: #f4f6fa; --switch-edge: #c3c8d6; --switch-line: #6b7286; --switch-shadow: #2a2f45;
  --case: #3a3e49; --case-edge: #24272f;
}
:root {
  --font-body: 'Plus Jakarta Sans', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
  --r-sm: 14px; --r-md: 20px; --r-lg: 30px; --r-xl: 40px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sound: #d3bd8f;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
code { font: 500 .88em var(--font-mono); padding: .12em .45em; border-radius: 8px; background: var(--surface-3); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { top: 16px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.narrow { --container: 820px; }

/* Ambient background */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .7; animation: drift 24s ease-in-out infinite alternate; }
.blob-a { width: 620px; height: 620px; left: -160px; top: -180px; background: var(--bg-glow); }
.blob-b { width: 520px; height: 520px; right: -140px; top: 30vh; background: var(--bg-glow-2); animation-delay: -8s; }
.blob-c { width: 480px; height: 480px; left: 30%; bottom: -260px; background: var(--bg-glow); opacity: .45; animation-delay: -15s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

/* Clay primitives */
.clay { background: linear-gradient(145deg, var(--surface-2), var(--surface)); border-radius: var(--r-lg); box-shadow: var(--clay); }
.clay-sm { background: linear-gradient(145deg, var(--surface-2), var(--surface)); border-radius: var(--r-md); box-shadow: var(--clay-sm); }
.clay-inset { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--clay-inset); }
.clay-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill); background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); font-size: 13px; font-weight: 600; color: var(--muted); }

/* Buttons */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--spring), box-shadow .2s, filter .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: var(--btn-shadow); }
.btn-ghost { background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: var(--clay-press); }

.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); color: var(--muted); transition: transform .2s var(--spring), color .2s; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: var(--ink); transform: rotate(-12deg) scale(1.05); }
.icon-btn:active { box-shadow: var(--clay-press); }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }

/* Header */
.site-header { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav { pointer-events: auto; width: min(var(--container), 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 10px 10px 10px 18px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface-2) 82%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: var(--nav-shadow); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.brand img { border-radius: 10px; box-shadow: 3px 4px 10px #0000004d; }
.brand i { color: var(--accent); font-style: normal; }
.nav-links { display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s, box-shadow .2s; }
.nav-links a:hover { color: var(--ink); background: var(--surface); box-shadow: var(--clay-inset); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

/* Hero */
.hero { padding: 150px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.eyebrow { margin-bottom: 26px; color: var(--ink); transition: transform .2s var(--spring); }
.eyebrow:hover { transform: translateY(-2px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 22%, transparent); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--mint) 0%, transparent); } }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); letter-spacing: -.045em; line-height: 1.02; }
.grad { background: linear-gradient(110deg, var(--accent-2) 0%, var(--accent) 45%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.6; }

.hero-visual { position: relative; }
.hero-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-xl); overflow: hidden; }
.hero-stage::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sound) 40%, transparent), transparent 65%); filter: blur(30px); transition: background .4s; }
.hero-switch { position: relative; width: 74%; touch-action: none; animation: bob 5s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.hero-switch .switch-illustration { filter: drop-shadow(0 30px 30px #00000059); }
.hero-switch.pressing .switch-stem { transform: translateY(9px); }
.hero-switch:focus-visible { outline-offset: -10px; border-radius: 40px; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero-hint { position: absolute; bottom: 22px; font-size: 13px; color: var(--faint); }
.kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 8px; font: 600 12px var(--font-mono); background: var(--cap-alpha); color: var(--cap-alpha-ink); box-shadow: inset 0 -3px 0 #0000003d, 0 2px 4px #0000004d; }

.float-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: var(--r-md); animation: bob 6s ease-in-out infinite; }
.float-chip strong { display: block; font-size: 15px; line-height: 1.2; }
.float-chip small { display: block; font-size: 12px; color: var(--muted); }
.chip-a { top: 8%; left: -9%; animation-delay: -1s; }
.chip-b { top: 46%; right: -8%; animation-delay: -3s; }
.chip-c { bottom: 19%; left: -7%; animation-delay: -4.5s; }
.chip-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; box-shadow: inset 2px 2px 3px #ffffff1f, inset -3px -3px 6px #00000033; }
.chip-ico svg { width: 19px; height: 19px; }
.mint { background: var(--mint-soft); color: var(--mint); }
.peach { background: var(--peach-soft); color: var(--peach); }
.violet { background: var(--accent-soft); color: var(--accent-2); }
:root[data-theme="light"] .violet { color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; padding: 10px; list-style: none; }
.stats li { padding: 22px 16px; text-align: center; }
.stats li + li { border-left: 1px solid var(--rule); }
.stats strong { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats strong small { font-size: .5em; margin-left: 2px; color: var(--accent-2); }
:root[data-theme="light"] .stats strong small { color: var(--accent); }
.stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 24px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 5px 13px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 1px 1px 2px #ffffff14, inset -2px -2px 4px #00000026; }
:root[data-theme="light"] .kicker { color: var(--accent); }
.section-head h2, .privacy h2, .cta h2 { font-size: clamp(32px, 4.2vw, 50px); }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }

/* Studio demo */
.studio { padding: clamp(16px, 2.6vw, 30px); border-radius: var(--r-xl); }
.studio-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.now-playing { display: flex; align-items: center; gap: 14px; }
.np-art { display: grid; place-items: center; width: 62px; height: 62px; padding: 6px; border-radius: 18px; box-shadow: var(--clay-inset); background: var(--surface); }
.np-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.now-playing strong { font-size: 20px; margin-right: 6px; }
.type-chip { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); font: 600 11px/1.5 var(--font-body); font-style: normal; background: var(--accent-soft); color: var(--accent-2); vertical-align: 3px; }
:root[data-theme="light"] .type-chip { color: var(--accent); }
.studio-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.volume { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--clay-inset); color: var(--muted); }
.volume svg { width: 20px; height: 20px; flex: none; }
.volume output { min-width: 3ch; font: 600 13px var(--font-mono); color: var(--ink); text-align: right; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 150px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--fill, 45%), var(--surface-3) var(--fill, 45%)); box-shadow: inset 1px 2px 3px #00000040; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(145deg, #fff, var(--accent-2)); box-shadow: 2px 3px 7px #00000059, inset -2px -2px 4px #00000026; transition: transform .15s var(--spring); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: linear-gradient(145deg, #fff, var(--accent-2)); box-shadow: 2px 3px 7px #00000059; }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

.toggle { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 18px; border-radius: var(--r-pill); background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); font-size: 14px; font-weight: 600; }
.toggle-label { min-width: 6.2em; text-align: left; }
.toggle-track { display: block; width: 46px; height: 28px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-3); box-shadow: inset 2px 2px 4px #00000040; transition: background .25s; }
.toggle-track span { display: block; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 1px 2px 5px #00000059; transition: transform .25s var(--spring); }
[aria-checked="true"] .toggle-track, .toggle-track.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
[aria-checked="true"] .toggle-track span, .toggle-track.on span { transform: translateX(18px); }

/* Live keyboard, from the app */
.keyboard-scene { container-type: inline-size; padding: 4px 0; }
.keyboard { --pad: 2.2cqw; position: relative; padding: 4cqw var(--pad) var(--pad); border-radius: 2.6cqw; background: linear-gradient(160deg, color-mix(in srgb, var(--case) 85%, #fff), var(--case) 45%, var(--case-edge)); box-shadow: 0 2.4cqw 4cqw #00000066, inset 0 .3cqw .4cqw #ffffff1f, inset 0 -.5cqw .8cqw #00000066; }
.keyboard::before { content: ''; position: absolute; left: var(--pad); top: 1.55cqw; width: 4.6cqw; height: .7cqw; background: radial-gradient(circle, var(--mint) 45%, transparent 50%) 0 0 / .7cqw .7cqw repeat-x; opacity: .85; }
.keyboard-badge { position: absolute; right: var(--pad); top: 1.1cqw; font: 600 max(7px, 1cqw)/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: #ffffff59; }
.keyboard-grid { display: grid; grid-template-columns: repeat(64, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 2 * var(--pad)) / 16); }
.key { display: flex; align-items: center; justify-content: center; min-width: 0; margin: .22cqw; overflow: hidden; border-radius: .8cqw; padding: 0 .5cqw .45cqw; font: 600 max(6px, 1.15cqw)/1 var(--font-body); background: linear-gradient(180deg, color-mix(in srgb, var(--cap) 92%, #fff), var(--cap)); color: var(--cap-ink); box-shadow: inset 0 -.45cqw 0 #0000003d, inset 0 .15cqw 0 #ffffff59, 0 .3cqw .45cqw #00000073; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform 60ms ease-out, box-shadow 60ms ease-out, filter 60ms ease-out; }
.key-alpha { --cap: var(--cap-alpha); --cap-ink: var(--cap-alpha-ink); }
.key-mod { --cap: var(--cap-mod); --cap-ink: var(--cap-mod-ink); }
.key-accent { --cap: var(--cap-accent); --cap-ink: var(--cap-accent-ink); }
.key-word { justify-content: flex-start; align-items: flex-end; padding: 0 .7cqw .9cqw; font-size: max(5px, .85cqw); font-weight: 500; text-transform: lowercase; }
.key:hover { filter: brightness(1.04); }
.key.pressed { transform: translateY(.3cqw); filter: brightness(1.05); box-shadow: inset 0 -.15cqw 0 #00000033, inset 0 .15cqw 0 #ffffff40, 0 0 0 .22cqw var(--sound), 0 0 1.8cqw color-mix(in srgb, var(--sound) 70%, transparent); }

.studio-foot { margin-top: 22px; }
.type-field { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 22px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--clay-inset); transition: box-shadow .2s; }
.type-field:focus-within { box-shadow: var(--clay-inset), 0 0 0 2px var(--accent); }
.type-field input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; color: var(--ink); font: 500 16px var(--font-body); }
.type-field input::placeholder { color: var(--faint); }
.last-key { flex: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); font-size: 12px; color: var(--faint); }
.last-key b { font: 600 13px var(--font-mono); color: var(--ink); min-width: 3ch; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fine { margin-top: 12px; font-size: 13px; color: var(--faint); }

/* Switch library */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter { height: 40px; padding: 0 18px; border-radius: var(--r-pill); background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, transform .2s var(--spring), box-shadow .2s; }
.filter:hover { color: var(--ink); transform: translateY(-1px); }
.filter[aria-selected="true"] { color: var(--accent-ink); background: linear-gradient(145deg, var(--accent-2), var(--accent)); box-shadow: var(--btn-shadow); }

.switch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.sound-card { position: relative; display: flex; flex-direction: column; text-align: left; padding: 14px 14px 18px; border-radius: var(--r-lg); background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform .25s var(--spring), box-shadow .2s; animation: pop-in .45s var(--spring) both; }
.sound-card[hidden] { display: none; }
.sound-card:hover { transform: translateY(-4px); box-shadow: var(--clay); }
.sound-card.pressing { transform: translateY(1px) scale(.985); box-shadow: var(--clay-press); }
.sound-card[aria-pressed="true"] { box-shadow: var(--clay-sm), 0 0 0 2.5px var(--card-color); }
.card-art { display: grid; place-items: center; height: 150px; border-radius: var(--r-md); background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--card-color) 26%, transparent), transparent 70%), var(--surface); box-shadow: var(--clay-inset); }
.card-art .switch-illustration { height: 118px; width: auto; }
.card-copy { padding: 16px 6px 0; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-title strong { font-size: 17px; }
.sound-card small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.selected-check { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--card-color); color: #fff; box-shadow: 2px 3px 6px #00000040, inset 1px 1px 2px #ffffff66; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--spring); }
.selected-check svg { width: 15px; height: 15px; stroke-width: 3; }
.sound-card[aria-pressed="true"] .selected-check { opacity: 1; transform: none; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.switch-illustration { display: block; width: 100%; overflow: visible; }
.sw-body-a { stop-color: var(--switch-a); }
.sw-body-b { stop-color: var(--switch-b); }
.sw-top { fill: var(--switch-top); }
.sw-edge { stroke: var(--switch-edge); }
.sw-line { stroke: var(--switch-line); stroke-opacity: .45; }
.sw-shadow { fill: var(--switch-shadow); opacity: .18; }
.sw-shade { fill: var(--switch-shadow); opacity: .14; }
.switch-stem { transition: transform 70ms ease-out; }
.pressing .switch-stem { transform: translateY(8px); }

/* Original sounds use a simple clay key instead of a switch */
.orig-art { display: grid; place-items: center; width: 92px; height: 82px; border-radius: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--card-color) 70%, #fff), var(--card-color)); box-shadow: inset 0 -8px 0 #00000033, inset 2px 3px 4px #ffffff73, 0 12px 18px #00000059; color: #1f2233; font: 700 15px var(--font-mono); transition: transform 70ms ease-out, box-shadow 70ms ease-out; }
.pressing .orig-art { transform: translateY(6px); box-shadow: inset 0 -2px 0 #00000033, inset 2px 3px 4px #ffffff73, 0 4px 8px #00000059; }
.np-art .orig-art { width: 42px; height: 38px; border-radius: 11px; font-size: 10px; box-shadow: inset 0 -4px 0 #00000033, inset 1px 2px 3px #ffffff73, 0 4px 8px #00000040; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 30px; }
.span-2 { grid-column: span 2; }
.span-full { grid-column: 1 / -1; }
.card h3 { margin-top: 20px; font-size: 21px; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.f-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; box-shadow: inset 2px 2px 3px #ffffff1f, inset -4px -4px 8px #00000033, 4px 6px 12px #00000033; }
.f-ico svg { width: 24px; height: 24px; }
.feature-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.app-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.app-pills .clay-chip { animation: bob 5s ease-in-out infinite; }
.app-pills .clay-chip:nth-child(2n) { animation-delay: -2s; }
.app-pills .clay-chip:nth-child(3n) { animation-delay: -3.5s; }
.latency { display: grid; gap: 10px; margin-top: 20px; }
.lat-row { display: grid; grid-template-columns: 76px 1fr 54px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.lat-row i { display: block; height: 10px; width: var(--w); min-width: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--peach), color-mix(in srgb, var(--peach) 60%, var(--surface-3))); box-shadow: inset 1px 1px 2px #ffffff40; }
.lat-row i.mint-bar { background: var(--mint); }
.lat-row b { font: 600 12px var(--font-mono); color: var(--ink); text-align: right; }
.mini-prefs { display: grid; gap: 4px; padding: 10px; }
.pref { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600; }
.pref + .pref { border-top: 1px solid var(--rule); border-radius: 0; }

/* Showcase */
.showcase { perspective: 1600px; }
.window { max-width: 1000px; margin: 0 auto; padding: 12px; border-radius: var(--r-xl); transform: rotateX(8deg); transition: transform .8s var(--ease); }
.showcase.in .window { transform: none; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 6px 10px 14px; }
.window-bar span { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-3); box-shadow: inset 1px 1px 2px #00000040; }
.window-bar span:nth-child(1) { background: #ff8a8a; } .window-bar span:nth-child(2) { background: #ffd28a; } .window-bar span:nth-child(3) { background: var(--mint); }
.window-bar em { margin-left: auto; margin-right: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--faint); transform: translateX(-20px); }
.shot { width: 100%; border-radius: calc(var(--r-xl) - 14px); }
.shot-light { display: none; }
:root[data-theme="light"] .shot-light { display: block; }
:root[data-theme="light"] .shot-dark { display: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; padding: 32px; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: var(--accent-ink); font-size: 22px; font-weight: 800; box-shadow: var(--btn-shadow); }
.step h3 { margin-top: 22px; font-size: 21px; }
.step p { margin-top: 10px; color: var(--muted); }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-xl); }
.privacy-copy p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 8px; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fe3b4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; box-shadow: inset 1px 1px 2px #ffffff1f, inset -2px -2px 4px #00000026; }
.flow { display: grid; justify-items: center; }
.flow-node { display: flex; align-items: center; gap: 14px; width: min(100%, 320px); padding: 16px 18px; }
.flow-node strong { display: block; font-size: 15px; }
.flow-node small { color: var(--muted); font-size: 13px; }
.flow-node .kbd { min-width: 38px; height: 38px; font-size: 15px; }
.flow-line { position: relative; width: 2px; height: 54px; background: repeating-linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: flow 0.8s linear infinite; }
.flow-line span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 600 11px var(--font-mono); color: var(--faint); }
@keyframes flow { to { background-position: 0 12px; } }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { padding: 0 24px; transition: box-shadow .2s; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b8cff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: var(--clay-inset); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 80px) 24px; text-align: center; border-radius: var(--r-xl); background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), linear-gradient(145deg, var(--surface-2), var(--surface)); }
.cta p { margin: 14px 0 30px; color: var(--muted); font-size: 18px; }
.cta h2 { max-width: 16em; margin-inline: auto; }
.cta-keys { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.cta-keys span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; font: 700 18px var(--font-mono); background: linear-gradient(180deg, color-mix(in srgb, var(--cap-alpha) 92%, #fff), var(--cap-alpha)); color: var(--cap-alpha-ink); box-shadow: inset 0 -6px 0 #0000003d, inset 0 2px 0 #ffffff59, 0 8px 14px #00000059; animation: tap 2.4s ease-in-out infinite; }
.cta-keys span:last-child { background: linear-gradient(180deg, #f59a6c, var(--cap-accent)); color: var(--cap-accent-ink); }
.cta-keys span:nth-child(2) { animation-delay: .15s; } .cta-keys span:nth-child(3) { animation-delay: .3s; } .cta-keys span:nth-child(4) { animation-delay: .45s; } .cta-keys span:nth-child(5) { animation-delay: .6s; }
@keyframes tap { 0%, 30%, 100% { transform: none; } 15% { transform: translateY(5px); box-shadow: inset 0 -2px 0 #0000003d, inset 0 2px 0 #ffffff59, 0 2px 4px #00000059; } }

/* Footer */
.footer { padding: 40px 0 56px; }
.footer-inner { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: 14px; color: var(--muted); }
.footer-inner a:not(.brand) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-ctas, .hero-meta { justify-content: center; }
  .hero-visual { width: min(460px, 82%); margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feature-wide { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; }
  .menu-btn { display: grid; }
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: var(--r-lg); background: var(--surface-2); box-shadow: var(--clay); opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .25s var(--spring); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; font-size: 16px; text-align: center; }
  .nav { position: relative; }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .hero { padding-top: 120px; }
  .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .chip-a { left: -6%; } .chip-b { right: -6%; } .chip-c { left: -5%; }
  .float-chip { padding: 9px 12px 9px 9px; gap: 9px; }
  .float-chip strong { font-size: 13px; }
  .chip-ico { width: 30px; height: 30px; border-radius: 10px; }
  .studio-bar, .studio-controls { width: 100%; }
  .volume { flex: 1; }
  input[type="range"] { flex: 1; width: auto; min-width: 0; }
  .switch-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-art { height: 110px; }
  .card-art .switch-illustration { height: 88px; }
  .orig-art { width: 70px; height: 62px; }
  .sound-card small { display: none; }
  .card-title { flex-direction: column; align-items: flex-start; gap: 4px; }
  .selected-check { top: 18px; right: 18px; }
  .last-key > span { display: none; }
  .cta-keys span { width: 44px; height: 44px; font-size: 15px; }
  .hero-btn-wrap .btn, .hero-ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .window { transform: none; }
}
.maker { color: var(--ink); font-weight: 700; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@media (max-width: 640px) { .cta-actions .btn { flex: 1 1 100%; } }
.footer-inner a.maker-link { display: inline-flex; align-items: center; gap: 6px; vertical-align: -5px; }
.maker-link img { border-radius: 6px; box-shadow: 2px 3px 6px #0000004d; }

/* Inner pages */
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: var(--clay-inset); }
.page-hero { padding: 150px 0 24px; }
.page-hero-inner { display: grid; justify-items: center; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.045em; }
.page-hero .lead { margin-inline: auto; }
.page-hero .hero-ctas { justify-content: center; }
.page-hero .fine { margin-top: 18px; }
.maker-badge { display: grid; place-items: center; width: 132px; height: 132px; margin-bottom: 28px; border-radius: 38px; animation: bob 5s ease-in-out infinite; }
.maker-badge img { border-radius: 24px; box-shadow: 6px 10px 20px #00000059; }
.thanks-keys { margin-bottom: 32px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step .f-ico { margin-bottom: 4px; }
.project { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 28px; }
.project-icon { border-radius: 26px; box-shadow: 8px 12px 24px #00000059; }
.project h3 { font-size: 24px; }
.project h3 .type-chip { margin-left: 8px; }
.project-copy p { margin-top: 8px; color: var(--muted); }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1020px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .project { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .project-actions { justify-content: center; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: 120px; }
  .principles { grid-template-columns: 1fr; }
  .page-hero .hero-ctas .btn, .privacy .hero-ctas .btn { flex: 1 1 100%; }
}

/* Demo sound switcher */
.np-picker { position: relative; }
.np-row { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.np-step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, var(--surface-2), var(--surface)); box-shadow: var(--clay-sm); color: var(--muted); transition: color .2s, transform .2s var(--spring); }
.np-step svg { width: 16px; height: 16px; stroke-width: 2.5; }
.np-step:hover { color: var(--ink); transform: scale(1.08); }
.np-step:active { box-shadow: var(--clay-press); transform: scale(.95); }
.np-current { flex: none; width: 272px; max-width: calc(100vw - 210px); display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 14px; border-radius: var(--r-pill); transition: background .2s, box-shadow .2s; }
.np-current:hover, .np-current[aria-expanded="true"] { background: var(--surface); box-shadow: var(--clay-inset); }
.np-current strong { flex: 1; min-width: 0; font-size: 20px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.np-current .type-chip { flex: none; vertical-align: 0; }
.np-caret { flex: none; }
.np-caret { width: 16px; height: 16px; color: var(--muted); transition: transform .25s var(--spring); }
.np-current[aria-expanded="true"] .np-caret { transform: rotate(180deg); }
.np-menu { position: absolute; z-index: 20; top: calc(100% + 10px); left: 0; width: 300px; max-height: min(420px, 60vh); overflow-y: auto; padding: 8px; border-radius: var(--r-md); animation: pop-in .25s var(--spring); }
.np-menu[hidden] { display: none; }
.np-group { display: block; padding: 10px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.np-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: left; transition: background .15s; }
.np-option i { flex: none; width: 14px; height: 14px; border-radius: 5px; background: var(--c); box-shadow: inset 0 -2px 0 #00000040, inset 1px 1px 1px #ffffff59; }
.np-option em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: var(--faint); }
.np-option:hover, .np-option:focus-visible { background: var(--surface); box-shadow: var(--clay-inset); outline: 0; }
.np-option[aria-pressed="true"] { background: var(--accent-soft); color: var(--ink); }
.np-option[aria-pressed="true"] em { color: var(--accent-2); }
@media (max-width: 640px) {
  .np-current strong { font-size: 16px; }
  /* Arrows fixed at both ends; the name takes the space between them. */
  .now-playing { flex: 1 1 100%; width: 100%; min-width: 0; }
  .np-picker { flex: 1; min-width: 0; }
  .np-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; }
  .np-current { width: auto; max-width: none; padding: 0 10px 0 12px; }
  .np-current .type-chip { display: none; }
  .np-menu { width: min(300px, calc(100vw - 80px)); }
}

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: var(--btn-shadow); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .3s var(--spring); }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.5; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top:active { transform: scale(.94); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 16px; } }

/* Site-wide clack counter */
.studio-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; }
.studio-meta .fine { margin: 0; }
.clack-counter { margin: 0; color: var(--muted); font-weight: 500; }
.clack-counter[hidden] { display: none; }
.clack-counter b { color: var(--ink); font: 700 14px var(--font-mono); font-variant-numeric: tabular-nums; }
.clack-mine { padding-left: 10px; border-left: 1px solid var(--rule); }
@media (max-width: 400px) {
  .np-art { display: none; }
}

/* Mobile and tablet fixes */
.keyboard-scroll { position: relative; }
.swipe-hint { display: none; }
.np-current strong { flex: 0 1 auto; }
.np-caret { margin-left: auto; }
.lat-row { grid-template-columns: 76px minmax(0, 1fr) auto; }
.lat-row b { white-space: nowrap; }
@media (max-width: 1240px) { .chip-b { right: -3%; } }
@media (max-width: 1020px) {
  .hero-grid { gap: 48px; }
  .hero-visual { width: min(400px, 78%); }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .studio-bar { gap: 14px; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .section-tight { padding: 12px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 16px; }
  .hero { padding-bottom: 16px; }
  .stats { margin-top: 44px; }
  .stats li { padding: 18px 10px; }

  /* Hero: the chips sit in a row under the switch instead of covering it. */
  .hero-visual { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero-stage { flex: 1 1 100%; width: min(320px, 100%); max-width: 320px; margin: 0 auto; }
  .float-chip { position: static; animation: none; padding: 8px 12px 8px 8px; }
  .float-chip small { font-size: 11px; }

  /* Demo: the board keeps a tappable size and scrolls sideways. */
  .studio { padding: 16px; border-radius: var(--r-lg); }
  .keyboard-scroll { margin: 0 -16px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
  .keyboard-scroll::-webkit-scrollbar { display: none; }
  .keyboard-scroll .keyboard-scene { min-width: 640px; padding: 4px 16px 10px; }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 0; font-size: 12px; color: var(--faint); }
  .swipe-hint svg { width: 16px; height: 16px; }
  .studio-controls { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .toggle { width: 100%; justify-content: space-between; }
  .studio-foot { margin-top: 16px; }
  .type-field { padding-left: 16px; }
  .studio-meta { flex-direction: column; align-items: flex-start; }

  /* Switch library: tighter cards so 17 sounds take less scrolling. */
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 24px; padding: 4px 16px 14px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .switch-grid { gap: 12px; }
  .sound-card { padding: 10px 10px 14px; border-radius: var(--r-md); }
  .card-art { height: 96px; border-radius: 14px; }
  .card-art .switch-illustration { height: 76px; }
  .orig-art { width: 60px; height: 54px; border-radius: 16px; font-size: 13px; }
  .card-copy { padding: 12px 4px 0; }
  .card-title strong { font-size: 15px; }
  .selected-check { top: 16px; right: 16px; width: 22px; height: 22px; }

  /* Cards and steps */
  .bento { gap: 16px; }
  .card { padding: 22px; }
  .card h3 { margin-top: 16px; font-size: 19px; }
  .f-ico { width: 46px; height: 46px; border-radius: 14px; }
  .steps { gap: 14px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px; }
  .step > :first-child { grid-row: span 2; }
  .step h3 { margin-top: 4px; font-size: 19px; }
  .step p { margin-top: 4px; font-size: 15px; }
  .step-n, .step .f-ico { width: 46px; height: 46px; font-size: 20px; margin: 0; }
  .privacy { gap: 32px; border-radius: var(--r-lg); }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 15.5px; padding: 18px 0; }
  .cta { border-radius: var(--r-lg); padding: 36px 18px; }
  .window { padding: 8px; border-radius: var(--r-lg); }
  .window-bar { padding: 4px 6px 10px; }
  .shot { border-radius: 14px; }

  /* Inner pages */
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .maker-badge { width: 108px; height: 108px; border-radius: 32px; }
  .maker-badge img { width: 72px; height: 72px; border-radius: 20px; }
  .thanks-keys { gap: 6px; }
  .thanks-keys span { width: 40px; height: 40px; font-size: 14px; border-radius: 12px; }
  .project { padding: 22px; gap: 18px; }
  .project-icon { width: 80px; height: 80px; border-radius: 22px; }
  .project-actions { width: 100%; }
  .project-actions .btn { flex: 1; }
}
@media (max-width: 380px) {
  .float-chip small { display: none; }
  .cta-keys span { width: 38px; height: 38px; font-size: 14px; }
}
[tabindex="-1"]:focus { outline: none; }
