/* AliceMate landing. Palette follows the app: violet accent, dark glass surfaces. */

:root {
  color-scheme: dark;
  --bg: #0a0a0f;
  --bg-2: #0f0f16;
  --surface: #15151c;
  --surface-2: #1b1b23;
  --surface-3: #24242d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f8;
  --muted: #a4a4b3;
  --faint: #6f6f7d;

  --violet: #7552ff;
  --violet-hi: #8c63ff;
  --violet-lo: #663df5;
  --accent: #a37aff;
  --lilac: #b587ff;
  --pink: #f573c7;
  --gold: #ffcc5c;
  --selection: rgba(117, 82, 255, 0.42);

  --radius: 22px;
  --max: 1160px;
  --gutter: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--selection); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--violet); color: #fff;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn .i { font-size: 18px; }
.btn:active { transform: scale(0.97); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-sm .i { font-size: 16px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn-lg .i { font-size: 20px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #9a76ff 0%, var(--violet) 55%, var(--violet-lo) 100%);
  /* Size the gradient to the border box, or it repeats under the transparent border as a light seam. */
  background-origin: border-box;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 28px -6px rgba(117, 82, 255, 0.7);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 36px -6px rgba(117, 82, 255, 0.9); transform: translateY(-1px); }

.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn-soft { color: #d6c6ff; background: rgba(117, 82, 255, 0.18); border-color: rgba(163, 122, 255, 0.25); }
.btn-soft:hover { background: rgba(117, 82, 255, 0.28); }
.btn-soft .i { color: var(--accent); fill: currentColor; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-left { justify-content: flex-start; }

kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  font: 500 16px/1 var(--font); color: var(--text);
  background: linear-gradient(180deg, #2c2c36, #1f1f27) border-box;
  border: 1px solid var(--line-2); border-bottom-width: 3px; border-radius: 10px;
}
kbd.wide { min-width: 82px; font-size: 14px; }
kbd.inline {
  min-width: 0; height: 24px; padding: 0 7px; font-size: 14px;
  border-radius: 6px; border-bottom-width: 2px; vertical-align: 1px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--font-display); letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: 28px 0 40px; }
.hero-glow {
  position: absolute; inset: -200px 0 auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(600px 380px at 50% 220px, rgba(117, 82, 255, 0.38), transparent 70%),
    radial-gradient(500px 300px at 22% 420px, rgba(245, 115, 199, 0.12), transparent 70%),
    radial-gradient(520px 320px at 80% 460px, rgba(91, 123, 255, 0.16), transparent 70%);
}
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-icon {
  width: 92px; height: 92px; margin-bottom: 28px;
  filter: drop-shadow(0 18px 40px rgba(117, 82, 255, 0.55));
}
.js .hero-icon { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }

h1 {
  max-width: 880px;
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #c9b8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { max-width: 640px; margin: 22px 0 32px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }

.hero-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; font-size: 14px; color: var(--faint); }

/* ---------- Hero stage: real screenshots on one desktop, filmed by a moving camera ----------
   The world is the 2x capture (3560 px = the 1780 pt screen region). main.js scales and pans it;
   every layer sits at its real position in capture pixels. */

.stage {
  position: relative; margin: 52px 0 0; overflow: hidden;
  aspect-ratio: 2400 / 1294; border-radius: 18px;
  background: #15102a;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(117, 82, 255, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.world { position: absolute; left: 0; top: 0; width: 3560px; height: 2380px; transform-origin: 0 0; transform: scale(var(--fit, 0.3)); }
.world > *, .fx > * { position: absolute; }
.fx { inset: 0; }
.w-desk { left: 0; top: 0; display: block; max-width: none; }
.world img, .world video { max-width: none; display: block; }
/* macOS menu bar at the scale of the capture */
.mac-bar {
  left: 0; top: 0; width: 3560px; height: 62px; z-index: 2; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; padding: 0 36px;
  background: rgba(10, 8, 24, 0.42);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  font-size: 28.5px; line-height: 1; color: rgba(255, 255, 255, 0.92); white-space: nowrap;
}
.mac-bar-side { display: flex; align-items: center; gap: 41px; }
.mac-bar b { font-weight: 700; }
.mac-bar .i { width: 37px; height: 37px; stroke-width: 2.2; }
.mac-apple { width: 32px; height: 32px; fill: currentColor; margin-right: 7px; }
.mac-status {
  width: 37px; height: 37px; background: currentColor;
  -webkit-mask: url(assets/status-icon.png) center / contain no-repeat; mask: url(assets/status-icon.png) center / contain no-repeat;
}

/* Animated layers start hidden; without JS the desk shows the panel with its answer. */
.js .w-layer, .js .w-sel, .js .w-ping { visibility: hidden; opacity: 0; }
html:not(.js) .fx, html:not(.js) .hp, html:not(.js) .w-voice, html:not(.js) .stage-bar, html:not(.js) .stage-hit { display: none; }
.w-pop { filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5)); }
.w-pop > img { position: absolute; left: 0; top: 0; }
.w-copied { opacity: 0; }
.w-wait { position: absolute; background: #1e1e1e; display: flex; align-items: flex-start; padding: 22px 28px; box-sizing: border-box; }
.w-line { position: absolute; left: 0; width: 100%; background: var(--src) no-repeat; clip-path: inset(0 100% 0 0); }
/* The draft typed into the messenger field: its own pixels, glyph by glyph, with a caret. */
.js .w-type { visibility: hidden; }
.w-caret { position: absolute; left: 0; top: 0; width: 2px; height: 36px; background: #ececf1; visibility: hidden; }
.w-ping { border-radius: 50% 0 0 50%; }
/* 54 x 56 pt tab with a true semicircle, glass with the app's dark tint, a 36 pt Alice orb. */
.w-handle {
  left: 3452px; top: 912px; width: 108px; height: 112px; box-sizing: border-box; padding: 20px 16px 20px 20px;
  border-radius: 56px 0 0 56px; background: rgba(16, 17, 22, 0.46);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11), 0 6px 18px rgba(0, 0, 0, 0.18);
}
.w-handle::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(rgba(255, 255, 255, 0.16), transparent 10%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.w-handle svg { display: block; width: 72px; height: 72px; }
.w-handle circle { fill: rgb(117, 82, 255); }
.w-handle path { fill: #fff; }
.w-ping::after {
  content: ""; position: absolute; inset: -30%; border-radius: 50%;
  border: 5px solid rgba(163, 122, 255, 0.85); animation: ping 1.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* The panel slides in from the right edge of the screen. */
.w-panel { width: 880px; height: 1380px; border-radius: 34px 0 0 34px; overflow: hidden; box-shadow: -14px 0 38px rgba(0, 0, 0, 0.55); }
.w-panel > img { position: absolute; left: 0; top: 0; }
.js .w-panel { transform: translateX(104%); }
.w-voice { background: #1b1b1b; object-fit: fill; }
.hp, .hp > * { position: absolute; }
.hp { inset: 0; }
.hp-cover { left: 90px; top: 88px; width: 790px; height: 1090px; background: #181818; }
.hp-cut { background: url(assets/shots/hero-panel-layer.webp) no-repeat; background-size: 880px 1380px; }
.hp-bubble { opacity: 0; visibility: hidden; }
.hp-line { clip-path: inset(0 100% 0 0); }
.hp-ph { left: 150px; top: 1212px; width: 560px; height: 54px; background: #262626; visibility: hidden; }
.hp-input { left: 157px; top: 1218px; width: 610px; font: 400 26px/38px var(--font); color: #ececec; letter-spacing: -0.005em; visibility: hidden; transition: top .18s ease; }
/* The composer grows upward one line at a time, like the site's own field; the arrow replaces Alice once there is text. */
.hp-grow { left: 120px; top: 1184px; width: 728px; height: 92px; background: #262626; border-radius: 60px 60px 0 0; visibility: hidden; transition: top .18s ease, height .18s ease; }
.hp-send { left: 772px; top: 1281px; width: 56px; height: 56px; border-radius: 50%; background: #7859f8; display: grid; place-items: center; visibility: hidden; }
.hp-send svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hp-input span::after { content: ""; display: inline-block; width: 2px; height: 28px; margin-left: 1px; vertical-align: -5px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.dots { display: flex; gap: 9px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #8d8d8d; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-5px); } }
.hp-dots { left: 120px; top: 470px; visibility: hidden; }
.stage-hit {
  left: 3452px; top: 912px; width: 108px; height: 111px;
  padding: 0; border: 0; border-radius: 50% 0 0 50%; background: transparent; cursor: pointer;
}

/* Cursor and the shortcut being pressed live above the camera, at screen size. */
.cursor { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; visibility: hidden; opacity: 0; }
.cursor svg { position: absolute; left: 0; top: 0; width: 22px; height: 28px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
.cursor path { fill: #111; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.ripple { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); opacity: 0; }
.hud { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 3; display: flex; justify-content: center; pointer-events: none; }
.hud-keys {
  grid-area: 1 / 1; display: flex; gap: 8px; padding: 10px; border-radius: 16px;
  background: rgba(14, 12, 24, 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  visibility: hidden; opacity: 0;
}
.hud { display: grid; justify-items: center; }
/* Who is speaking while the recorded question is said, as in the onboarding tour. */
.hud-speaking {
  grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 999px;
  background: rgba(21, 21, 28, 0.92); border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  font-size: 16px; font-weight: 600; line-height: 1; color: var(--text); white-space: nowrap; visibility: hidden; opacity: 0;
}
.hud-speaking svg { width: 21px; height: 21px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hud-speaking .bars { display: inline-flex; align-items: center; gap: 4px; height: 28px; }
.hud-speaking .bars i { width: 4px; height: 100%; border-radius: 2px; background: var(--accent); transform: scaleY(0.25); animation: speak 0.8s ease-in-out infinite; }
.hud-speaking .bars i:nth-child(2) { animation-delay: -0.55s; } .hud-speaking .bars i:nth-child(3) { animation-delay: -0.2s; animation-duration: 0.65s; }
.hud-speaking .bars i:nth-child(4) { animation-delay: -0.4s; } .hud-speaking .bars i:nth-child(5) { animation-delay: -0.1s; animation-duration: 0.7s; }
.hud-speaking .bars i:nth-child(6) { animation-delay: -0.65s; } .hud-speaking .bars i:nth-child(7) { animation-delay: -0.3s; animation-duration: 0.75s; }
@keyframes speak { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.hud-keys kbd { background-color: #26262f; }
@media (max-width: 640px) {
  .stage { aspect-ratio: 2400 / 2459; }
  .hud-keys kbd { min-width: 32px; height: 32px; font-size: 14px; }
  .hud-speaking { gap: 9px; padding: 9px 15px 9px 12px; font-size: 14px; }
  .hud-speaking .bars { height: 20px; }
}

.stage-bar { display: none; }
.js .stage[data-step="base"] .stage-hit::after {
  content: ""; position: absolute; inset: -30%; border-radius: 50%;
  border: 2px solid rgba(163, 122, 255, 0.85);
  animation: ping 1.8s ease-out infinite;
}
/* On phones show the right part of the screen: the messenger's edge and the panel. */
@media (max-width: 640px) {
  .stage { aspect-ratio: 2400 / 2459; }
  .stage-inner { width: 190%; }
  /* The selection scene moves the view to the message and its card. */
  .stage:is([data-step="sel"], [data-step="bar"], [data-step="menu"], [data-step="card"], [data-step="copied"]) .stage-inner {
    transform: translateX(27.4%) scale(1.45); transform-origin: 23% 95%;
  }
}
@keyframes ping { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

.stage-bar { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.stage-scenes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stage-scene {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 500 14px/1 var(--font); color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.stage-scene:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.stage-scene[aria-pressed="true"] { color: var(--text); background: rgba(124, 92, 255, 0.16); border-color: rgba(163, 122, 255, 0.5); }
.stage-scene .i { font-size: 16px; color: var(--accent); }
/* The playing scene fills like a progress bar. */
.stage-scene { position: relative; isolation: isolate; overflow: hidden; }
.stage-scene::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, rgba(163, 122, 255, 0.10), rgba(163, 122, 255, 0.24));
  transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
}
.stage-scene[aria-pressed="false"]::before { opacity: 0; }
.stage-keys { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; }
.stage-keys kbd.inline { height: 22px; font-size: 13px; }
.stage-caption { margin: 0; min-height: 1.5em; text-align: center; }

/* ---------- Three ways ---------- */

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 56px 0 24px; }
.way {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.way h3 { font-size: 20px; margin-top: 10px; }
.way p { color: var(--muted); font-size: 15px; }
.way .keys { margin-top: auto; padding-top: 14px; }
.way-icon, .tile-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
  font-size: 22px; color: #fff;
  background: linear-gradient(160deg, var(--violet-hi), var(--violet-lo));
  box-shadow: 0 6px 18px -6px rgba(117, 82, 255, 0.7), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.keys { display: flex; gap: 6px; align-items: center; }
.keys-text { font-size: 14px; color: var(--faint); height: 41px; }

@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Feature sections ---------- */

.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center;
  padding: 110px 0 40px;
}
.feature-alt .feature-copy { order: 2; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
.sub { margin-top: 18px; color: var(--muted); font-size: 18px; }
.checks { display: grid; gap: 16px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; color: var(--muted); font-size: 16px; }
.checks li > .i { font-size: 20px; margin-top: 2px; color: var(--accent); }
.checks b { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; }
  .feature-alt .feature-copy { order: 0; }
}

/* ---------- Prompts ---------- */

.prompts { padding: 120px 0 20px; }

.tools { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 64px; }
.tools-list, .tools-own { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); }
.tools h3 { font-size: 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.tool-grid li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; color: #dadae2; background: rgba(255, 255, 255, 0.03); }
.tool-grid li .i { font-size: 17px; color: var(--accent); }
.tools-own { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.tools-own::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(117, 82, 255, 0.35), transparent 70%); pointer-events: none; }
.own-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 22px; color: #fff; background: linear-gradient(160deg, #c46bff, #7552ff); }
.tools-own p { color: var(--muted); font-size: 15px; }
.places { display: grid; gap: 8px; }
.places li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.places li .i { color: var(--accent); }
.tools-own .fine { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--faint); }

@media (max-width: 900px) {
  .tools { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) { .tool-grid { grid-template-columns: 1fr; } }

/* ---------- Companion panel ---------- */

.companion, .selection { padding: 120px 0 20px; }
.center-copy { max-width: 760px; margin: 0 auto; text-align: center; }

.showcase {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 56px; align-items: center;
  margin-top: 56px;
}
.showcase-list { display: grid; gap: 8px; }
.showcase-list button {
  display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 18px 20px; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  border-radius: 18px; border: 1px solid transparent; background: transparent;
  transition: background-color .2s, border-color .2s;
}
.showcase-list button:hover { background: rgba(255, 255, 255, 0.03); }
.showcase-list button[aria-selected="true"] {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-color: rgba(163, 122, 255, 0.3);
}
.showcase-icon {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  font-size: 20px; color: var(--accent); background: rgba(117, 82, 255, 0.14);
  transition: background-color .2s, color .2s;
}
.showcase-list button[aria-selected="true"] .showcase-icon { color: #fff; background: linear-gradient(160deg, var(--violet-hi), var(--violet-lo)); }
.showcase-text b { display: block; font: 600 18px/1.3 var(--font-display); letter-spacing: -0.01em; }
.showcase-text > span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.showcase-view {
  margin: 0; overflow: hidden; border-radius: 24px; background: #15102a;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(117, 82, 255, 0.45);
}
.showcase-view img { width: 100%; transition: opacity .2s ease; }
.showcase-view img.swap { opacity: 0; }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.extra {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
}
.extra h3 { font-size: 19px; margin-top: 6px; }
.extra p { color: var(--muted); font-size: 15px; }
.extra .tile-icon { background: rgba(117, 82, 255, 0.16); color: var(--accent); box-shadow: none; }
.extra-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 32px 40px; }
.extra-copy { display: flex; flex-direction: column; gap: 10px; }
.extra-copy h3 { font-size: 24px; }
.extra-copy p { font-size: 16px; }
.extra-media { margin-bottom: 8px; border-radius: 14px; overflow: hidden; }
.extra-window { margin: 0; overflow: visible; }
.extra-window img { filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.55)); }
.screen-bg {
  background:
    radial-gradient(60% 90% at 85% 30%, rgba(96, 64, 230, 0.55), transparent 70%),
    radial-gradient(60% 90% at 10% 100%, rgba(120, 70, 200, 0.4), transparent 70%),
    #15102a;
}
.extra-edge, .extra-bar { display: flex; align-items: center; height: 200px; border: 1px solid var(--line); }
.extra-edge { justify-content: flex-end; }
.extra-edge img { width: 54px; height: 56px; }
/* The top of the real panel at the screen edge, fading out into the rest of it. */
.extra-bar { position: relative; }
.extra-bar img {
  position: absolute; right: 0; top: 24px; width: min(88%, 440px);
  filter: drop-shadow(-8px 0 22px rgba(0, 0, 0, 0.5));
  -webkit-mask-image: linear-gradient(180deg, #000 38%, transparent 78%); mask-image: linear-gradient(180deg, #000 38%, transparent 78%);
}

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase-view { order: -1; width: min(100%, 430px); margin: 0 auto; }
  .extras, .extra-wide { grid-template-columns: 1fr; }
  .extra-wide { gap: 20px; }
}

/* ---------- Selection menu ---------- */

.flow {
  margin-top: 48px; padding: 18px; border-radius: 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(117, 82, 255, 0.5);
}
.flow-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flow-tabs button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 500 15px/1 var(--font); color: var(--muted); background: transparent; border: 1px solid transparent;
  transition: color .2s, background-color .2s, border-color .2s;
}
.flow-tabs button .i { font-size: 17px; }
.flow-tabs button:hover { color: var(--text); }
.flow-tabs button[aria-selected="true"] { color: #fff; background: rgba(117, 82, 255, 0.22); border-color: rgba(163, 122, 255, 0.35); }
.flow-panel { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 16px; }
.flow-panel[hidden] { display: none; }
.frames {
  position: relative; aspect-ratio: 1840 / 1456; overflow: hidden;
  border-radius: 18px; background: #15102a; border: 1px solid var(--line);
}
.frames img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; }
.frames img.on { opacity: 1; }
.flow-steps { display: grid; gap: 10px; counter-reset: step; }
.flow-steps button {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 16px; text-align: left; cursor: pointer;
  font: 15.5px/1.45 var(--font); color: var(--muted);
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: color .2s, background-color .2s, border-color .2s;
}
.flow-steps button:hover { color: var(--text); }
.flow-steps button[aria-current="step"] { color: var(--text); border-color: rgba(163, 122, 255, 0.35); background: rgba(117, 82, 255, 0.12); }
.flow-steps span {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: var(--accent); background: rgba(117, 82, 255, 0.16);
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.facts li { display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.facts .i { font-size: 20px; margin-top: 2px; color: var(--accent); }
.facts b { display: block; font-size: 16px; }
.facts p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.fine-center { max-width: 720px; margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--faint); }

@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .flow { padding: 12px; border-radius: 22px; }
  .flow-panel { grid-template-columns: 1fr; gap: 12px; }
  .frames { border-radius: 12px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .flow-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
  .flow-tabs::-webkit-scrollbar { display: none; }
  .flow-tabs button { flex: none; }
}

/* ---------- Real app windows ---------- */

.window { margin: 0; }
.window img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }
.window figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

.voice-shot {
  margin: 0; overflow: hidden; border-radius: 18px; background: #1e1e1e;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(117, 82, 255, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.voice-head {
  display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px;
  font-size: 13px; color: var(--muted); background: #262626; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lights { display: flex; gap: 7px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.voice-shot img { width: 100%; }
.voice-shot img + img { margin-top: -2px; padding-bottom: 8px; }

/* ---------- Zoom ---------- */

[data-zoom] { cursor: zoom-in; }
.zoom {
  width: auto; max-width: min(96vw, 1680px); max-height: 94vh; padding: 0; border: 0;
  background: transparent; overflow: visible;
}
.zoom::backdrop { background: rgba(6, 6, 10, 0.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.zoom img { display: block; width: auto; max-width: 100%; max-height: 94vh; border-radius: 12px; cursor: zoom-out; }
.zoom-close {
  position: fixed; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-2); background: rgba(30, 30, 38, 0.9); color: var(--text);
  font-size: 20px; cursor: pointer;
}

/* ---------- Bento ---------- */

.more { padding: 120px 0 20px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.tile {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: rgba(163, 122, 255, 0.35); transform: translateY(-2px); }
.tile h3 { font-size: 19px; margin-top: 8px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .tile-icon, .privacy-grid .tile-icon { background: rgba(117, 82, 255, 0.16); color: var(--accent); box-shadow: none; }

@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */

.privacy { padding: 120px 0 20px; }
.privacy-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 48px; padding: 48px; border-radius: 30px;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(117, 82, 255, 0.22), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.privacy-grid h3 { font-size: 17px; margin: 14px 0 6px; }
.privacy-grid p { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .privacy-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
}
@media (max-width: 560px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- Download ---------- */

.download { padding: 120px 0 20px; scroll-margin-top: 40px; }
.download-card {
  position: relative; overflow: hidden; padding: 64px 32px 48px; border-radius: 32px; text-align: center;
  background: linear-gradient(180deg, #1c1630, var(--surface));
  border: 1px solid rgba(163, 122, 255, 0.22);
  display: flex; flex-direction: column; align-items: center;
}
.download-glow { position: absolute; inset: -120px 0 auto; height: 420px; background: radial-gradient(420px 260px at 50% 40%, rgba(117, 82, 255, 0.45), transparent 70%); pointer-events: none; }
.download-card > :not(.download-glow) { position: relative; }
.download-icon { width: 96px; height: 96px; margin-bottom: 22px; filter: drop-shadow(0 14px 30px rgba(117, 82, 255, 0.6)); }
.download-card .sub { margin: 12px 0 28px; }
.download-meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 920px; margin-top: 44px; text-align: left; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); font-size: 15px; color: #d8d8e0; }
.steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; font-weight: 700; color: var(--accent); background: rgba(117, 82, 255, 0.16); }
.reqs { margin-top: 28px; font-size: 14px; color: var(--faint); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }

@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .download-card { padding: 48px 18px 36px; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; padding: 120px 0 20px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .25s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }
.faq details a { color: var(--accent); }

/* ---------- Support ---------- */

.support { padding: 100px 0 100px; }
.support-card {
  display: flex; align-items: center; gap: 36px; max-width: 860px; margin: 0 auto; padding: 32px 40px; border-radius: 28px;
  background: linear-gradient(120deg, rgba(117, 82, 255, 0.14), rgba(245, 115, 199, 0.06)), var(--surface);
  border: 1px solid var(--line);
}
.support-card img { width: 150px; height: 150px; flex: none; filter: drop-shadow(0 16px 30px rgba(117, 82, 255, 0.4)); }
.support-card h2 { font-size: 28px; }
.support-card p { margin: 10px 0 20px; color: var(--muted); font-size: 16px; }

@media (max-width: 640px) {
  .support-card { flex-direction: column; text-align: center; padding: 28px 22px; gap: 12px; }
  .support-card .cta-left { justify-content: center; }
}

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 18px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font: 700 16px/1 var(--font-display); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.legal { grid-column: 1 / -1; font-size: 13px; color: var(--faint); max-width: 760px; }
.legal a { color: var(--muted); }

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-icon, .w-ping::after, .dots i, .hud-speaking .bars i { animation: none; }
  .frames img, .showcase-view img { transition: none; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 32px; }
  .hero-icon { width: 76px; height: 76px; }
  .btn-lg { height: 50px; padding: 0 22px; font-size: 16px; }
  .stage { margin-top: 44px; border-radius: 12px; }
  .feature, .companion, .selection, .prompts, .more, .privacy, .download, .faq { padding-top: 80px; }
}
