/* alixbot.com — the same design system as the Alix dashboard (dashboard_assets/styles.css). */

:root {
  color-scheme: dark;
  --bg: #111316;
  --surface: #1a1c20;
  --surface-raised: #212429;
  --surface-hover: #292d33;
  --sidebar: #15171a;
  --line: #30343a;
  --line-soft: #272b31;
  --text: #f3f2ef;
  --muted: #afb2b9;
  --faint: #9297a0;
  --accent: #ff956f;
  --accent-light: #ffab8c;
  --accent-soft: rgba(255, 149, 111, .10);
  --green: #8bd9a5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px;
  font-family: var(--font);
  background: var(--bg);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
em { color: var(--accent); font-style: normal; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }

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

.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--accent); color: #251713; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.mono { font-family: var(--mono); font-size: 12px; }

/* Brand: the dashboard's "alix." wordmark. */

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; object-fit: contain; }
.brand-name { font-size: 22px; font-weight: 750; letter-spacing: -1.3px; line-height: 1; }
.brand-name > span { color: var(--accent); }
.brand-small { gap: 8px; }
.brand-small .brand-mark { width: 22px; height: 22px; }
.brand-small .brand-name { font-size: 17px; letter-spacing: -.9px; }

/* Kickers and eyebrows, as in the dashboard. */

.kicker { display: flex; align-items: center; gap: 9px; color: var(--muted); font: 11px var(--mono); letter-spacing: .08em; }
.kicker > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.eyebrow { color: var(--accent); font: 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }

/* Buttons: dashboard shapes, one size up for a landing page. */

.button { min-height: 42px; border: 1px solid transparent; border-radius: 8px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: #251713; }
.button-primary:hover { background: var(--accent-light); }
.button-quiet { color: var(--muted); background: transparent; border-color: var(--line); }
.button-quiet:hover { color: var(--text); background: var(--surface-hover); }

/* Header */

.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav > a:not(.button) { min-height: 38px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; color: var(--muted); font-size: 13px; text-decoration: none; transition: background .15s, color .15s; }
.nav > a:not(.button):hover { background: var(--surface-hover); color: var(--text); }
.nav .button { min-height: 38px; margin-left: 8px; padding: 0 14px; font-size: 13px; }
.menu-toggle { display: none; margin-left: auto; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; }

/* Hero */

.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero-inner { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; }
.hero-copy { display: grid; gap: 20px; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 650; line-height: 1.06; letter-spacing: -1.8px; }
.lede { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.fineprint { color: var(--faint); font-size: 12px; }

/* Downloads: site.js hides the installer that doesn't fit this visitor's OS. */

.download { display: grid; gap: 10px; justify-items: start; }
.download-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.hint-label { padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--faint); font: 10px var(--mono); letter-spacing: .04em; }
.other-platforms { color: var(--faint); font-size: 12px; }
.other-platforms a { color: var(--muted); text-underline-offset: 3px; }
.other-platforms a:hover { color: var(--text); }

/* The assistant's desktop: the page's signature, drawn as a dashboard panel. */

.machine { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.machine-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dots i:first-child { background: var(--accent); }
.machine-title { color: var(--muted); font: 11px var(--mono); letter-spacing: .04em; }

.screen { position: relative; aspect-ratio: 16 / 10.5; padding: 7% 8% 9%; overflow: hidden; background: radial-gradient(90% 70% at 88% 0%, rgba(255, 149, 111, .08), transparent 60%), #15171a; }
.window { height: 100%; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); box-shadow: 0 18px 42px rgba(0, 0, 0, .38); }
.window-bar { padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--line-soft); color: var(--faint); font: 11px var(--mono); }
.form { padding: 6% 7%; display: grid; gap: 5%; align-content: start; }
.form-title { font-size: clamp(14px, 1.4vw, 17px); font-weight: 600; letter-spacing: -.2px; }
.field { display: grid; gap: 5px; }
.label { color: var(--text); font-size: 11px; font-weight: 600; }
.input { display: block; height: 2.2em; padding: .5em .75em; overflow: hidden; white-space: nowrap; border: 1px solid var(--line); border-radius: 8px; background: #131519; color: var(--text); font: 12px var(--mono); }
.typed { display: inline-block; width: 0; overflow: hidden; vertical-align: bottom; animation: type 1.6s steps(16, end) .9s forwards; }
.typed-late { animation-delay: 3s; animation-timing-function: steps(15, end); }
.submit { justify-self: start; margin-top: 2%; padding: .6em 1.1em; border-radius: 8px; background: var(--accent); color: #251713; font-size: 12px; font-weight: 600; animation: press 7s ease-in-out 5.1s infinite; }

.call-chip { position: absolute; right: 5%; top: 5%; display: inline-flex; align-items: center; gap: 8px; min-height: 24px; padding: 0 10px; border: 1px solid rgba(139, 217, 165, .24); border-radius: 999px; background: rgba(21, 23, 26, .9); color: #a9e8bb; font: 11px var(--mono); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-in-out infinite; }
.cursor { position: absolute; left: 30%; top: 44%; width: 18px; height: 22px; background: var(--text); clip-path: polygon(0 0, 0 78%, 22% 60%, 38% 96%, 52% 90%, 37% 55%, 66% 55%); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); animation: glide 7s ease-in-out .4s infinite; }

.status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.status-text { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 11px var(--mono); letter-spacing: .04em; }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(139, 217, 165, .1); }
.take { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border: 1px solid rgba(255, 149, 111, .28); border-radius: 999px; background: var(--accent-soft); color: var(--accent-light); font-size: 11px; font-weight: 600; }

@keyframes type { to { width: 100%; } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }
@keyframes glide {
  0% { left: 30%; top: 44%; }
  18% { left: 58%; top: 43%; }
  40% { left: 58%; top: 61%; }
  62% { left: 24%; top: 77%; }
  72% { left: 24%; top: 78%; }
  100% { left: 30%; top: 44%; }
}
@keyframes press { 0%, 8%, 100% { transform: none; } 3% { transform: scale(.94); } }

/* Sections */

.features, .autonomy, .how, .privacy, .get { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line-soft); }
section h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 650; line-height: 1.12; letter-spacing: -1.1px; }
h3 { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: -.2px; }
.section-lede { margin-top: 10px; max-width: 460px; color: var(--muted); }

/* What it can do: a bento grid, each tile with a small live example. */

.bento { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.tile:hover { transform: translateY(-2px); border-color: rgba(255, 149, 111, .32); background: var(--surface-raised); }
.tile p { color: var(--muted); font-size: 14px; }
.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }
.tile-example { color: var(--accent-light); font: 13px var(--mono); letter-spacing: .02em; }
.tile-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; min-height: 26px; padding: 0 10px; border: 1px solid rgba(255, 149, 111, .28); border-radius: 999px; background: var(--accent-soft); color: var(--accent-light); font-size: 11px; }
.bubble { max-width: 88%; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-raised); color: var(--text); font-size: 13px; line-height: 1.4; }
.tile .bubble { color: var(--text); }
.bubble-me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: rgba(255, 149, 111, .16); }
.tile-tall .bubble + p:not(.bubble) { margin-top: auto; }

/* Autonomy: a segmented control and a worked example. */

.autonomy-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.levels { display: inline-flex; margin: 24px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.levels label { position: relative; cursor: pointer; }
.levels input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.levels span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.levels label:hover span { color: var(--text); }
.levels input:checked + span { background: var(--accent-soft); color: var(--accent); }
.levels input:focus-visible + span { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.scenario { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.scenario-prompt { color: var(--muted); font-size: 12px; }
.outcome { font-size: 15px; line-height: 1.6; }
.outcome strong { color: var(--accent); font-weight: 600; }
.js .outcome:not(.active) { display: none; }
.guarantee { display: flex; gap: 10px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
.guarantee::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* How it works: three dashboard panels. */

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 18px; border: 1px solid rgba(255, 149, 111, .32); border-radius: 9px; background: #28201d; color: var(--accent-light); font-size: 13px; font-weight: 700; }
.steps p { margin-top: 7px; color: var(--muted); font-size: 14px; }

/* Privacy */

.waitlist-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, .55); overflow: auto; }
.waitlist-dialog::backdrop { background: rgba(8, 9, 11, .72); }
/* Without JavaScript a #waitlist link shows the form as a fixed panel. */
html:not(.has-modal) .waitlist-dialog:target:not([open]) { display: block; position: fixed; inset: 0; z-index: 50; }
.waitlist-card { position: relative; padding: 28px; }
.waitlist-card h2 { padding-right: 36px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--muted); font-size: 22px; line-height: 1; text-decoration: none; }
.dialog-close:hover { background: var(--surface-hover); color: var(--text); }
.dialog-close:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.waitlist-form { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.waitlist-error { color: #f2a28f; font-size: 13px; }
.waitlist-joined { display: grid; gap: 4px; justify-items: start; }
.waitlist-joined .button { margin-top: 18px; }
.form-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form-field small { color: var(--faint); font-weight: 400; }
.form-field-full { grid-column: 1 / -1; }
.form-field input, .form-field textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #131519; color: var(--text); font: 14px/1.4 inherit; font-family: inherit; }
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--faint); }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 1px; border-color: transparent; }
.waitlist-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.facts > div { padding: 20px 24px; }
.facts > div + div { border-top: 1px solid var(--line-soft); }
.facts dt { font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.facts dd { margin-top: 5px; color: var(--muted); font-size: 14px; }

/* Get started */

.get-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 12px; background: var(--sidebar); }

/* Footer */

.foot { padding: 22px 0 30px; border-top: 1px solid var(--line-soft); color: var(--faint); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.foot .mono { font-size: 11px; letter-spacing: .04em; }
.foot nav { margin-left: auto; display: flex; gap: 18px; font-size: 13px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }

/* 404 */

.lost { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 48px 0; text-align: center; }
.lost-logo { width: 48px; height: 48px; }
.lost h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 650; line-height: 1.1; letter-spacing: -1.4px; }
.lost p { max-width: 440px; color: var(--muted); }
.lost .actions { justify-content: center; }

/* Small screens */

@media (max-width: 1000px) {
  .nav .dl-word { display: none; }
}

@media (max-width: 900px) {
  .hero-inner, .privacy-inner, .autonomy-inner { grid-template-columns: minmax(0, 1fr); }
  .waitlist-form { grid-template-columns: minmax(0, 1fr); }
  .waitlist-card { padding: 22px 18px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
  .nav.open { display: flex; }
  .nav .button { margin: 8px 0 0; }
  .nav .dl-word { display: inline; }
  .screen { aspect-ratio: auto; padding: 48px 16px 28px; }
  .window { height: auto; }
  .form { gap: 12px; padding: 16px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide, .tile-tall { grid-column: auto; grid-row: auto; }
  .levels { display: flex; }
  .levels label { flex: 1; }
  .levels span { justify-content: center; width: 100%; padding: 0 8px; }
  .status { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typed { width: 100%; animation: none; }
  .cursor, .pulse, .submit { animation: none; }
  .button:active { transform: none; }
  .tile, .levels span { transition: none; }
  .tile:hover { transform: none; }
}
