@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --amp { syntax: "<number>"; inherits: true; initial-value: 1; }

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin.woff2") format("woff2-variations"), url("/fonts/inter-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;
}

:root {
  --ink: #141414;
  --soft: #5d5f66;
  --faint: #6c6e75;
  --line: rgba(20, 20, 20, .09);
  --page: #fbfbfa;
  --card: #f3f3f1;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --display: "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { background: var(--page); color: var(--ink); font: 17px/1.5 var(--body); overflow-x: hidden; }
.tn { font-weight: 600; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 250, .8); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font: 700 18px var(--display); letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--soft); }
.nav-links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.btn:hover { background: #2a2a2a; }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.btn.ghost:hover { background: rgba(0, 0, 0, .04); }
.btn .apple { width: 15px; height: 15px; margin-top: -2px; }

/* hover: springy swell plus two rings pulsing out like sound waves */
.btn { --ring: rgba(20, 20, 20, .22); position: relative; transition: scale .35s var(--spring), background .15s; }
.btn::before, .btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.price-card .btn { --ring: rgba(255, 255, 255, .35); }
@media (hover: hover) {
  .btn:hover { scale: 1.03; }
  .btn:hover::before { animation: swell .7s ease-out; }
  .btn:hover::after { animation: swell .7s .14s ease-out backwards; }
  .btn:hover .apple { animation: drop .5s var(--ease); }
}
/* scale (not transform) so it composes with the .rv reveal transform; after :hover so a press still shrinks */
.btn:active { scale: .97; }
@keyframes swell { from { box-shadow: 0 0 0 0 var(--ring); } to { box-shadow: 0 0 0 10px transparent; } }
@keyframes drop { 40% { translate: 0 3px; } 70% { translate: 0 -1px; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 84px 0 52px; }
.hero h1 { font: 700 clamp(46px, 7.4vw, 88px)/.98 var(--display); letter-spacing: -.04em; }
.hero .lede { max-width: 33em; margin: 24px auto 32px; font-size: 20px; line-height: 1.5; color: var(--soft); }
.hero .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fine { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* ---------- desktop stage ---------- */
.stage-wrap { padding: 0 24px; }
.stage { --s: 1; max-width: 1180px; margin: 0 auto; height: calc(720px * var(--s)); position: relative; }
.screen {
  position: absolute; left: 0; top: 0; width: 1180px; height: 720px; transform: scale(var(--s)); transform-origin: top left;
  border-radius: 20px; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 40px 90px -30px rgba(40, 25, 60, .55), 0 18px 36px -18px rgba(40, 25, 60, .35);
  background:
    radial-gradient(60% 55% at 18% 8%, #ffe1b8 0%, rgba(255, 225, 184, 0) 70%),
    radial-gradient(55% 60% at 75% 20%, #f4a382 0%, rgba(244, 163, 130, 0) 70%),
    radial-gradient(70% 70% at 30% 80%, #6a4a9c 0%, rgba(106, 74, 156, 0) 70%),
    radial-gradient(80% 80% at 90% 95%, #1e2d55 0%, rgba(30, 45, 85, 0) 70%),
    linear-gradient(160deg, #f2b991, #b9688a 45%, #3b3a72 80%, #1b2447);
}
.screen::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.menubar { position: relative; z-index: 5; height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 18px; font: 500 13.5px var(--mac); color: #1d1d1f; }
.menubar .left { display: flex; gap: 20px; align-items: center; }
.menubar .left b { font-weight: 700; }
.menubar .right { display: flex; gap: 6px; align-items: center; }
.mb-item { height: 22px; padding: 0 7px; border-radius: 6px; display: grid; place-items: center; transition: background .15s; }
.mb-item.active { background: rgba(255, 255, 255, .42); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .5); }
.mb-turny { cursor: pointer; }
.mic-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff9f0a; margin: 0 4px; transform: scale(0); transition: transform .3s var(--ease); }
.screen.call .mic-dot { transform: scale(1); }

/* windows */
.win { position: absolute; z-index: 1; border-radius: 16px; overflow: hidden; font: 13px var(--mac); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 24px 60px -10px rgba(0, 0, 0, .45); }
.titlebar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.titlebar i { width: 12px; height: 12px; border-radius: 50%; }
.titlebar i:nth-child(1) { background: #ff5f57; } .titlebar i:nth-child(2) { background: #febc2e; } .titlebar i:nth-child(3) { background: #28c840; }
.titlebar span { margin-left: 10px; font-weight: 600; font-size: 13px; }

.w-player { left: 60px; top: 92px; width: 400px; background: rgba(250, 249, 247, .94); color: #1d1d1f; }
.player { padding: 6px 22px 22px; display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: end; }
.cover { width: 132px; height: 132px; border-radius: 10px; background: radial-gradient(circle at 70% 30%, #ffd27a, rgba(255, 210, 122, 0) 55%), linear-gradient(135deg, #ff7a59, #c2417a 70%, #5b2b7a); box-shadow: 0 8px 20px -6px rgba(120, 40, 70, .5); }
.track b { display: block; font-size: 15px; }
.track span { color: #86868b; font-size: 13px; }
.viz { --amp: 1; display: flex; gap: 3px; align-items: flex-end; height: 44px; margin: 14px 0 12px; transition: --amp .5s var(--ease); }
.viz i { flex: 1; border-radius: 2px; background: #1d1d1f; height: 100%; transform-origin: bottom; transform: scaleY(calc(var(--h) * var(--amp) + .04)); }
.prog { height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .1); position: relative; }
.prog::before { content: ""; position: absolute; inset: 0 62% 0 0; border-radius: 2px; background: #1d1d1f; }

.w-call { left: 250px; top: 250px; width: 480px; height: 330px; background: #1c1c1e; color: #fff; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease); z-index: 2; }
.screen.call .w-call { opacity: 1; transform: none; }
.w-call .titlebar { background: #2a2a2c; }
.w-call .titlebar span { color: #c7c7cc; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; height: calc(100% - 38px - 46px); }
.tile { border-radius: 10px; position: relative; display: grid; place-items: center; background: linear-gradient(150deg, #3a3a3d, #2a2a2d); }
.tile .av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 19px; }
.tile small { position: absolute; left: 8px; bottom: 6px; font-size: 11px; color: #d1d1d6; }
.tile.speaking { box-shadow: inset 0 0 0 2px #30d158; }
.callbar { height: 46px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.callbar span { width: 30px; height: 30px; border-radius: 50%; background: #3a3a3c; }
.callbar span.end { width: 54px; border-radius: 15px; background: #ff453a; }

/* keycaps overlay for hotkey demo */
.keys { position: absolute; z-index: 6; left: 50%; bottom: 120px; transform: translate(-50%, 16px); display: flex; gap: 8px; opacity: 0; transition: .35s var(--ease); pointer-events: none; }
.screen.hotkeys .keys { opacity: 1; transform: translate(-50%, 0); }
.keys kbd { min-width: 56px; height: 56px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; font: 500 24px var(--mac); color: #1d1d1f;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08), 0 10px 24px -8px rgba(0, 0, 0, .35); transition: transform .1s; }
.keys kbd.down { transform: translateY(2px) scale(.97); }

/* ---------- Liquid Glass surfaces ---------- */
.glass {
  font-family: var(--mac); color: #1d1d1f;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(248, 248, 250, .5));
  backdrop-filter: blur(28px) saturate(1.9); -webkit-backdrop-filter: blur(28px) saturate(1.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 0 .5px rgba(0, 0, 0, .14), 0 22px 50px -12px rgba(0, 0, 0, .35);
}
.sec { color: rgba(0, 0, 0, .5); }
.ter { color: rgba(0, 0, 0, .28); }

/* panel (PanelView) */
.panel { position: absolute; z-index: 4; right: 96px; top: 36px; width: 320px; padding: 14px 16px 10px; border-radius: 18px; font-size: 13px; line-height: 1.25;
  transform-origin: 85% 0; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.panel.closed { opacity: 0; transform: scale(.96) translateY(-6px); pointer-events: none; }
.p-head { display: flex; justify-content: space-between; align-items: center; }
.p-title { font-size: 13px; font-weight: 600; }
.menu-btn { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: rgba(0, 0, 0, .5); padding: 1px 4px; margin-right: -4px; border-radius: 5px; }
.menu-btn svg { width: 8px; height: 8px; opacity: .8; }
.menu-btn.open { background: rgba(0, 0, 0, .06); }
.p-out { display: flex; align-items: center; gap: 10px; margin-top: 8px; color: rgba(0, 0, 0, .5); }
.p-out .ico { width: 18px; } .p-out .ico.r { width: 22px; display: flex; justify-content: flex-end; }
.divider { height: 1px; background: rgba(0, 0, 0, .1); margin: 0 -4px; }
.p-apps { margin: 10px 0 4px; }
.p-apps .playing { font-size: 11px; font-weight: 400; color: rgba(0, 0, 0, .5); margin-left: 6px; }
.status { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.status.on { grid-template-rows: 1fr; }
.status > div { overflow: hidden; display: flex; gap: 6px; align-items: baseline; font-size: 11px; color: rgba(0, 0, 0, .5); }
.status.on > div { padding-bottom: 4px; }
.status svg { flex: none; transform: translateY(1px); }

.rows { margin: 0 -8px; }
.row { display: flex; align-items: center; gap: 10px; height: 50px; padding: 5px 8px; }
.app-ic { position: relative; width: 26px; height: 26px; flex: none; cursor: pointer; transition: opacity .2s; }
.app-ic > svg { width: 26px; height: 26px; }
.row.muted .app-ic > svg { opacity: .35; }
.mute-badge { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; background: #ff3b30; display: grid; place-items: center; transform: scale(0); transition: transform .2s var(--ease); }
.row.muted .mute-badge { transform: scale(1); }
.row-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.row-top { display: flex; align-items: center; gap: 5px; font-size: 12px; white-space: nowrap; height: 16px; }
.row-top .name { color: rgba(0, 0, 0, .5); }
.row.playing .name { color: #1d1d1f; font-weight: 600; }
.eq-badge { font-size: 8px; font-weight: 700; line-height: 10px; padding: 0 3px; border-radius: 3px; color: rgba(0, 0, 0, .5); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); }
.dev { font-size: 10px; color: rgba(0, 0, 0, .3); overflow: hidden; text-overflow: ellipsis; }
.row-top .spacer { flex: 1; min-width: 4px; }
.lowered { font-size: 10px; color: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .3s; }
.row.ducked .lowered { opacity: 1; }
.pct { font-size: 11px; font-variant-numeric: tabular-nums; color: rgba(0, 0, 0, .5); }
.more { width: 18px; height: 18px; display: grid; place-items: center; color: rgba(0, 0, 0, .5); border-radius: 5px; }
.more.open { background: rgba(0, 0, 0, .07); }
.p-foot { display: flex; justify-content: space-between; padding-top: 8px; font-size: 12px; color: rgba(0, 0, 0, .5); }

/* slider: monochrome Liquid Glass style (VolumeSlider) */
.sl { --v: .5; position: relative; height: 20px; flex: 1; cursor: pointer; touch-action: none; outline: none; transition: --v .5s var(--ease), opacity .2s; }
.sl.dragging { transition: opacity .2s; }
.sl.dim { opacity: .45; }
.sl .track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.sl .track::before { content: ""; position: absolute; inset: 0; right: calc((1 - var(--v)) * 100%); background: #1d1d1f; border-radius: 2px; }
.sl .tick { position: absolute; left: calc(9px + (100% - 18px) * .5); top: 50%; margin-top: 4px; width: 1.5px; height: 4px; background: rgba(0, 0, 0, .25); border-radius: 1px; }
.sl .thumb { position: absolute; top: 50%; left: calc((100% - 22px) * var(--v)); width: 22px; height: 14px; margin-top: -7px; border-radius: 7px;
  background: linear-gradient(#fff, #f6f6f6); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 1.5px 4px rgba(0, 0, 0, .2); transition: transform .15s var(--ease); }
.sl:active .thumb, .sl.dragging .thumb { transform: scale(1.12); }
.sl:focus-visible .thumb { box-shadow: 0 0 0 3px rgba(10, 132, 255, .45), 0 1.5px 4px rgba(0, 0, 0, .2); }
.sl.small { height: 16px; }
.sl.small .track { height: 3px; margin-top: -1.5px; }
.sl.small .thumb { width: 18px; height: 11px; margin-top: -5.5px; left: calc((100% - 18px) * var(--v)); }
.sl.small .tick { margin-top: 3px; height: 3px; }

/* Turny's own slider (VolumeSlider.swift). --x is the thumb's center; the fill runs under it.
   While an app plays, the fill dims and the level meter (--m of the way to the thumb) plays over it. */
.sl.vol { --x: calc(9px + (100% - 18px) * var(--v)); height: 20px; }
.sl.vol .track { height: 4px; margin-top: -2px; background: rgba(29, 29, 31, .18); }
.sl.vol .track::before { right: auto; width: var(--x); border-radius: 2px 0 0 2px; transition: opacity .2s; }
.sl.vol.metering .track::before { opacity: .25; }
.sl.vol .meter { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: #1d1d1f; width: max(4px, calc(var(--x) * var(--m, 0))); display: none; transition: width .15s linear, background-color .4s; }
.sl.vol.metering .meter { display: block; }
.sl.vol.limiting .meter { background: #ff3b30; }
.sl.vol .tick { left: calc(9px + (100% - 18px) * var(--t) - 1.5px); margin-top: 5.5px; width: 3px; height: 3px; border-radius: 50%; background: rgba(29, 29, 31, .35); }
.sl.vol .thumb { left: calc((100% - 18px) * var(--v)); width: 18px; height: 14px; margin-top: -7px; border-radius: 7px; background: #fff; box-shadow: 0 .5px 3px rgba(0, 0, 0, .3); }
.sl.vol:active .thumb, .sl.vol.dragging .thumb { transform: scale(1.15); }
.sl.vol:focus-visible .thumb { box-shadow: 0 0 0 3px rgba(10, 132, 255, .45), 0 .5px 3px rgba(0, 0, 0, .3); }

/* menus (NSMenu look) */
.menu { position: absolute; z-index: 7; min-width: 220px; padding: 5px; border-radius: 12px; font-size: 13px; transition: opacity .2s, transform .25s var(--ease); }
.menu.closed { opacity: 0; transform: scale(.97) translateY(-4px); pointer-events: none; }
.menu .h { font-size: 11px; font-weight: 600; color: rgba(0, 0, 0, .45); padding: 4px 10px 2px 26px; }
.menu .mi { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 7px; white-space: nowrap; }
.menu .mi .chk { width: 12px; font-size: 11px; font-weight: 700; visibility: hidden; }
.menu .mi.on .chk { visibility: visible; }
.menu .mi.hl { background: #0a84ff; color: #fff; }
.menu .sep { height: 1px; background: rgba(0, 0, 0, .1); margin: 5px 8px; }

/* EQ popover (EQView) */
.eq-pop { position: absolute; z-index: 6; width: 330px; padding: 14px; border-radius: 16px; transition: opacity .25s var(--ease), transform .3s var(--ease); }
.eq-pop.closed { opacity: 0; transform: translateX(8px) scale(.98); pointer-events: none; }
.eq-pop::after { content: ""; position: absolute; right: -7px; top: var(--arrow, 60px); width: 14px; height: 14px; transform: rotate(45deg); background: rgba(250, 250, 251, .7); box-shadow: 1px -1px 0 rgba(255, 255, 255, .5); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.eq-head { display: flex; align-items: center; gap: 8px; }
.eq-head .app-ic, .eq-head .app-ic > svg { width: 18px; height: 18px; }
.eq-head b { font-size: 13px; flex: 1; }
.popup { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 6px 0 9px; border-radius: 6px; font-size: 12px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 1px 2px rgba(0, 0, 0, .08); }
.popup svg { width: 9px; height: 9px; opacity: .6; }
.bands { display: flex; gap: 4px; margin: 12px 0; }
.band { width: 26px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.vsl { --v: .5; position: relative; width: 26px; height: 110px; cursor: pointer; touch-action: none; transition: --v .5s var(--ease); }
.vsl.dragging { transition: none; }
.vsl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 2px; background: rgba(0, 0, 0, .1); }
.vsl .fill { position: absolute; left: 50%; width: 3px; margin-left: -1.5px; background: #1d1d1f; border-radius: 2px; top: min(50%, calc((1 - var(--v)) * 100%)); bottom: min(50%, calc(var(--v) * 100%)); }
.vsl .zero { position: absolute; left: 50%; top: 50%; width: 4px; height: 1.5px; margin-left: 4px; background: rgba(0, 0, 0, .25); }
.vsl .thumb { position: absolute; left: 50%; top: calc((1 - var(--v)) * (100% - 16px)); width: 11px; height: 16px; margin-left: -5.5px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 1px 3px rgba(0, 0, 0, .2); }
.eq-foot { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: rgba(0, 0, 0, .3); }
.eq-foot .popup { font-size: 11px; height: 20px; padding: 0 8px; color: #1d1d1f; }

/* HUD (VolumeHUD) */
.hud { position: absolute; z-index: 6; right: 12px; top: 38px; width: 260px; padding: 12px 14px; border-radius: 16px; display: flex; gap: 10px; align-items: center; transition: opacity .25s, transform .3s var(--ease); }
.hud.closed { opacity: 0; transform: translateY(-6px); }
.hud .app-ic, .hud .app-ic > svg { width: 26px; height: 26px; }
.hud-mid { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.hud-top { display: flex; justify-content: space-between; font-size: 12px; }
.hud-top b { font-weight: 600; }
.hud-top span { font-size: 11px; color: rgba(0, 0, 0, .5); font-variant-numeric: tabular-nums; }
.hud-bar { height: 5px; border-radius: 3px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.hud-bar i { display: block; height: 100%; border-radius: 3px; background: #1d1d1f; width: calc(var(--v) * 100%); transition: width .25s var(--ease); }

/* ---------- demo controls ---------- */
.demo { max-width: 760px; margin: 28px auto 0; padding: 0 24px; text-align: center; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: 14px; background: #efeeec; }
.seg button { height: 38px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--soft); transition: background .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--ink); }
.seg button { position: relative; }
.seg button::after { content: ""; position: absolute; inset: -3px 0; } /* 44px tap target without changing the look */
.seg button[aria-selected=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .06); }
.caption { min-height: 3em; margin-top: 16px; color: var(--soft); font-size: 16px; }

/* ---------- features ---------- */
.section { padding: 140px 0 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--faint); margin-bottom: 14px; }
.section h2 { font: 700 clamp(34px, 4.6vw, 54px)/1.04 var(--display); letter-spacing: -.035em; max-width: 15em; }
.section .sub { font-size: 19px; color: var(--soft); max-width: 36em; margin-top: 18px; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.card { grid-column: span 2; background: var(--card); border-radius: 22px; padding: 30px 30px 0; display: flex; flex-direction: column; overflow: hidden; }
.card .vis { min-height: 190px; flex: 1 0 auto; }
.card.wide { grid-column: span 3; }
.card h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.015em; }
.card p { margin-top: 8px; font-size: 16px; color: var(--soft); max-width: 30em; }
.card .vis { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 28px; position: relative; }
.card .vis > .glass, .card .vis > .solid { position: relative; border-radius: 16px 16px 0 0; padding: 16px 18px 6px; width: 100%; max-width: 360px; }
.solid { font-family: var(--mac); color: #1d1d1f; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 12px 30px -10px rgba(0, 0, 0, .18); }
.card .vis .menu, .card .vis .eq-pop { position: relative; }
.card .vis .eq-pop { border-radius: 16px 16px 0 0; }
.card .vis .eq-pop::after { display: none; }

/* settings-style controls inside cards */
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: 13px; }
.setrow + .setrow { border-top: 1px solid rgba(0, 0, 0, .07); }
.setrow small { display: block; color: rgba(0, 0, 0, .45); font-size: 11px; margin-top: 2px; }
.switch { width: 38px; height: 22px; border-radius: 11px; background: #34c759; position: relative; flex: none; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 18px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .2s var(--ease); }
.switch[aria-checked=false] { background: rgba(0, 0, 0, .15); }
.switch[aria-checked=false]::after { left: 2px; }
.duck-sl { display: flex; align-items: center; gap: 10px; width: 150px; }
.duck-sl .pct { width: 30px; text-align: right; }
.kc { display: inline-flex; gap: 3px; }
.kc kbd { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; display: grid; place-items: center; font: 500 11px var(--mac); background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 1px 1px rgba(0, 0, 0, .08); }
.code { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #1d1d1f; color: #e8e6e1; font: 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace; }
.code span { color: #f0b35a; }

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.trust h3 { font: 700 18px var(--display); margin-bottom: 8px; letter-spacing: -.01em; }
.trust p { color: var(--soft); font-size: 16px; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }
.price-card { background: var(--ink); color: #fff; border-radius: 26px; padding: 40px; position: relative; overflow: hidden; }
.price { font: 700 84px/1 var(--display); letter-spacing: -.04em; }
.price small { font: 500 20px var(--body); letter-spacing: 0; color: #a7a7ab; margin-left: 6px; }
.price-card .what { margin: 12px 0 28px; color: #c9c9cc; font-size: 17px; }
.price-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; font-size: 16px; }
.price-card li { display: flex; gap: 10px; align-items: baseline; }
.price-card li::before { content: ""; width: 14px; height: 8px; flex: none; border-left: 2px solid #f4a382; border-bottom: 2px solid #f4a382; transform: rotate(-45deg) translateY(-3px); }
.price-card .btn { background: #fff; color: var(--ink); }
.price-card .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.price-card .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.steps { display: grid; gap: 28px; }
.steps > div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.steps b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: 700 16px var(--display); }
.steps h3 { font: 700 18px var(--display); letter-spacing: -.01em; margin-bottom: 4px; }
.steps p { color: var(--soft); font-size: 16px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 18px var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--body); color: var(--faint); transition: transform .2s; }
.faq details[open]:not([data-dir="close"]) summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--soft); max-width: 44em; }
.faq details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.faq code { font: 14px ui-monospace, "SF Mono", Menlo, monospace; background: var(--card); padding: 1px 5px; border-radius: 5px; }

/* ---------- final CTA + footer ---------- */
.final { text-align: center; padding: 150px 24px 120px; }
.final .mark-big { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 17px; background: #e6e6e3; display: grid; place-items: center; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .08), 0 14px 30px -10px rgba(0, 0, 0, .25); }
.final .mark-big i { width: 42px; height: 42px; border-radius: 50%; background: #fff; position: relative; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); }
.final .mark-big i::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #1d1d1f; left: 9px; top: 7.5px; }
.final h2 { font: 700 clamp(38px, 5.4vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.final p { color: var(--soft); font-size: 19px; margin: 18px 0 30px; }
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; font-size: 14px; color: var(--faint); }
footer nav { display: flex; gap: 22px; }
footer nav a { padding: 12px 0; }
footer a:hover { color: var(--ink); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.btn.rv { transition: opacity .7s var(--ease), transform .7s var(--ease), scale .35s var(--spring), background .15s; }
.hero > * { animation: up .8s var(--ease) both; }
/* The headline and lede are the LCP candidates; fading them in from opacity 0 delays LCP, so they only slide. */
.hero > h1, .hero > .lede { animation-name: slide; }
.hero > :nth-child(2) { animation-delay: .08s; } .hero > :nth-child(3) { animation-delay: .16s; } .hero > :nth-child(4) { animation-delay: .22s; }
.stage-wrap { animation: up 1s .25s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } }
@keyframes slide { from { transform: translateY(16px); } }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card, .card.wide { grid-column: span 1; }
  .pricing { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links a { display: none; }
  .hero { padding: 56px 0 40px; }
  .hero .lede { font-size: 18px; }
  .stage-wrap { padding: 12px 16px 0; }
  .seg button { padding: 0 11px; font-size: 14px; }
  .seg { gap: 2px; }
  .wrap { padding: 0 16px; }
  .bento { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 24px 22px 0; }
  .section { padding-top: 100px; }
  .price-card { padding: 30px 24px; }
  .price { font-size: 68px; }
  .final { padding: 110px 16px 96px; }
  footer .wrap { flex-direction: column; justify-content: center; gap: 8px; height: auto; padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* wallpaper behind glass in feature cards */
.vis.wall { margin: 28px -30px 0; padding: 32px 30px 0; background: inherit; }
.vis.wall { background:
    radial-gradient(70% 80% at 15% 0%, #ffe1b8, rgba(255, 225, 184, 0) 70%),
    radial-gradient(60% 70% at 85% 10%, #f4a382, rgba(244, 163, 130, 0) 70%),
    linear-gradient(170deg, #f2b991, #b9688a 55%, #4b3f80); }
.card .vis > .eq-pop { padding: 14px; width: 330px; max-width: 100%; }
.menu-btn, .more { cursor: default; }
#sceneBtn { cursor: pointer; }

/* narrow screens: unscaled desktop with just the panel */
.screen.compact .win, .screen.compact .menubar .left span, .screen.compact .mb-item:not(.mb-turny):not(:last-child) { display: none; }
.screen.compact .panel { right: auto; left: 50%; margin-left: -160px; top: 40px; width: 320px; }
.screen.compact .eq-pop::after { display: none; }
.screen.compact .keys { bottom: 96px; }
@media (max-width: 720px) {
  .vis.wall { margin: 24px -22px 0; padding: 24px 16px 0; }
  .card .vis .band { width: 24px; }
  .card .vis .vsl { width: 24px; }
  .card .vis .bands { gap: 2px; }
}
.sl { display: block; }
.hero h1, .hero .lede, .section h2, .final h2 { text-wrap: balance; }
.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(250, 250, 252, .68)); }

/* dock */
.dock { position: absolute; z-index: 3; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px; border-radius: 24px;
  background: rgba(255, 255, 255, .28); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .25), 0 10px 30px -10px rgba(0, 0, 0, .3); }
.dock span { position: relative; }
.dock svg { width: 50px; height: 50px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); }
.dock span.run::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.screen.compact .dock svg { width: 38px; height: 38px; }

/* macOS shows a purple dot while an app is processing other apps' audio */
.rec-dot { width: 7px; height: 7px; border-radius: 50%; background: #af52de; margin: 0 2px 0 4px; }
.price-card .btn:hover { background: #e9e9e7; }
.price-card .btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.menu .mi .chk { flex: none; }
.menu .mi .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.card-menu { width: max-content; max-width: 100%; border-radius: 12px 12px 0 0; }
.card .vis > .card-menu { padding: 6px 6px 8px; width: max-content; min-width: 240px; max-width: 100%; }

/* Buy, thanks and activate pages */
.simple-page { max-width: 560px; padding-top: 72px; padding-bottom: 96px; }
.simple-page .brand { margin-bottom: 48px; }
.simple-page h1 { font-family: var(--display); font-size: 36px; letter-spacing: -.02em; margin: 0 0 16px; }
.simple-page p { color: var(--soft); font-size: 17px; line-height: 1.55; margin: 0 0 16px; }
.simple-page .ctas { margin-top: 28px; }
.simple-page .key { font-family: ui-monospace, Menlo, monospace; font-size: 18px; color: var(--ink); background: var(--card); border-radius: 10px; padding: 14px 16px; user-select: all; overflow-wrap: anywhere; }
.simple-page .note { font-size: 14px; color: var(--faint); margin-top: 32px; }

/* ---------- legal pages ---------- */
.simple-page.legal { max-width: 680px; }
.legal .updated { font-size: 14px; color: var(--faint); margin-bottom: 32px; }
.legal h2 { font: 600 20px/1.3 var(--display); letter-spacing: -.01em; margin: 40px 0 12px; }
.legal h3 { font: 600 16px/1.4 var(--body); margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { color: var(--soft); line-height: 1.55; margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a:not(.brand, .btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal ol { color: var(--soft); line-height: 1.55; margin: 0 0 16px; padding-left: 22px; }
.legal li b { color: var(--ink); }
.legal img { display: block; max-width: 100%; height: auto; border-radius: 16px; margin: 8px 0 8px; }
.simple-page.article { max-width: 880px; }
.article > p, .article > ul, .article > h2 { max-width: 680px; }
.compare-wrap { overflow-x: auto; margin: 28px 0 12px; }
.compare { border-collapse: collapse; min-width: 760px; font-size: 14px; line-height: 1.4; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--soft); }
.compare thead th { font-weight: 600; color: var(--ink); font-size: 13px; }
.compare tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare tr.us th, .compare tr.us td { color: var(--ink); background: var(--card); }
.compare tr.us th { padding-left: 12px; border-radius: 10px 0 0 10px; }
.compare thead th:first-child, .compare tbody tr:not(.us) th { padding-left: 12px; }
.legal .note { font-size: 14px; margin-top: 0; }
