/* Public Jarvis site.
   Self-contained: shares nothing with the dashboard, including fonts.
   Fonts are vendored rather than pulled from a CDN -- one less third
   party between a visitor and this page. */

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'InterVar';
  src: url('fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #09060a;
  --bg-2: #0d080d;
  --panel: #131015;
  --panel-2: #17131a;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);

  --text: #f6f3f5;
  --text-2: #a9a1aa;
  --text-3: #6f6772;

  --red: #ff2d55;
  --red-2: #ff0048;
  --orange: #ff7a35;
  --grad: linear-gradient(96deg, #ff2d55 0%, #ff7a35 100%);
  --glow: rgba(255, 45, 85, .30);

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'InterVar', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 26px; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }

h1, h2, h3, .display {
  font-family: 'Space Grotesk', 'InterVar', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.06;
}

/* ---------- eyebrow / mono labels ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(255, 45, 85, .32);
  background: rgba(255, 45, 85, .07);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 26px;
}

.eyebrow-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 6, 10, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase;
}

.brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px var(--red);
}

.site-nav { display: flex; align-items: center; gap: 4px; }

.site-nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 14px; color: var(--text-2); transition: color .18s, background .18s;
}

.site-nav a:hover, .site-nav a.on { color: var(--text); background: rgba(255,255,255,.05); }

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 6px 20px -8px var(--glow);
}

.nav-cta:hover { filter: brightness(1.08); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  color: var(--text); font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: transform .16s, background .18s, border-color .18s;
}

.btn:hover { background: rgba(255,255,255,.08); border-color: var(--line-2); transform: translateY(-1px); }

.btn-primary {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 10px 30px -12px var(--glow);
}

.btn-primary:hover { filter: brightness(1.07); transform: translateY(-2px); }

.text-link { color: var(--red); font-weight: 600; font-size: 14.5px; }
.text-link:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 20px; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 96px 0 74px; overflow: hidden; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 520px at 8% -8%, rgba(255, 45, 85, .20), transparent 62%),
    radial-gradient(760px 460px at 96% 8%, rgba(255, 122, 53, .10), transparent 58%);
}

/* Faint engineering grid, so the dark isn't flat. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(700px 420px at 30% 20%, #000 0%, transparent 78%);
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 52px; align-items: center;
}

.hero h1 { font-size: clamp(40px, 6.6vw, 72px); margin: 0 0 24px; }

.lede { font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 0 34px; }
.lede.narrow { max-width: 640px; }

.hero-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }

.price-card, .side-card-hero {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.price-card { border-color: rgba(255,45,85,.28); }
.price-card::after, .card-accent::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 26px; height: 26px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  border-bottom-right-radius: var(--radius);
  opacity: .85;
}

.price-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.price { font-family: 'Space Grotesk', sans-serif; font-size: 38px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 6px; }
.price-note { font-size: 12px; color: var(--text-3); margin: 0 0 16px; }

.side-card-hero h3 { margin: 0 0 8px; font-size: 16.5px; }
.side-card-hero p { margin: 0 0 16px; font-size: 14px; color: var(--text-2); }

/* ---------- visualiser ---------- */

.viz-holder { display: flex; flex-direction: column; align-items: center; gap: 16px; }
#viz { width: 100%; max-width: 420px; height: auto; aspect-ratio: 1; }

.viz-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--text-3);
}

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

.section { padding: 84px 0; position: relative; }
.section-line { border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.page-title { font-size: clamp(34px, 5.4vw, 52px); margin: 8px 0 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 34px; }

/* ---------- cards ---------- */

.card-accent {
  position: relative;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s;
}

.card-accent:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card-accent .num { font-family: var(--mono); font-size: 11.5px; color: var(--red); letter-spacing: .12em; }
.card-accent h3 { margin: 12px 0 9px; font-size: 17px; }
.card-accent p { margin: 0; color: var(--text-2); font-size: 14.3px; }

/* ---------- identities ---------- */

.identity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 34px; }

.identity {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .22s, border-color .22s;
}

.identity:hover { transform: translateY(-4px); border-color: rgba(255,45,85,.34); }

.identity-mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 21px;
  border: 1px solid rgba(255,45,85,.4);
  background: rgba(255,45,85,.09);
  color: var(--red);
  margin-bottom: 16px;
  transition: box-shadow .3s;
}

.identity:hover .identity-mark { box-shadow: 0 0 26px -4px var(--glow); }
.identity h3 { margin: 0 0 4px; font-size: 18px; }
.identity .role { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.identity p { color: var(--text-2); font-size: 14.3px; margin: 12px 0 0; }

/* ---------- integrations ---------- */

.integration-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 34px; }

.integration {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform .22s, border-color .22s;
}

.integration:hover { transform: translateY(-3px); border-color: var(--line-2); }
.integration-logo { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); }
.integration-logo svg { width: 22px; height: 22px; }
.integration h3 { margin: 0 0 5px; font-size: 15.5px; }
.integration p { margin: 0; font-size: 13.6px; color: var(--text-2); }

/* ---------- live loop / terminal ---------- */

.loop-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }

.stat-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.stat-tile {
  position: relative;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 20px; min-width: 120px;
}

.stat-tile:first-child { border-color: rgba(255,45,85,.3); }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: var(--red); }
.stat-label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }

.terminal {
  background: #0b070c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(255,45,85,.35);
}

.terminal-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3);
}

.terminal-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 9px var(--red); animation: pulse-dot 2.2s ease-in-out infinite; }
.terminal-body { padding: 18px 18px 22px; min-height: 216px; font-family: var(--mono); font-size: 13.2px; line-height: 2; }
.term-line { display: flex; gap: 12px; }
.term-who { color: var(--text-3); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; min-width: 34px; }
.term-you { color: var(--text); }
.term-q { color: var(--red); }
.term-meta { color: var(--text-3); font-size: 11.5px; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--red); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

/* ---------- founder ---------- */

.founder {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 44px; align-items: center;
}

.founder-quote {
  position: relative;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 30px;
}

.founder-quote p { margin: 0 0 14px; color: var(--text-2); font-size: 15.4px; }
.founder-quote p:last-of-type { margin-bottom: 0; }
.founder-quote strong { color: var(--text); font-weight: 600; }

.founder-who { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

.founder-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #fff;
}

.ask-list { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 0; }
.ask-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 3vw, 27px); font-weight: 700;
  color: var(--text-3); transition: color .3s, transform .3s;
}
.ask-item.lit { color: var(--text); transform: translateX(6px); }

/* ---------- skills ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 6px; }

.filter {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text-3);
}

.filter:hover { border-color: var(--line-2); color: var(--text); }
.filter.on { background: rgba(255,45,85,.12); border-color: rgba(255,45,85,.5); color: var(--red); }

.skill-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s;
}

.skill-card:hover { transform: translateY(-4px); border-color: rgba(255,45,85,.3); }
.skill-card::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 22px; height: 22px;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  border-bottom-right-radius: var(--radius);
  opacity: 0; transition: opacity .22s;
}
.skill-card:hover::after { opacity: .9; }

.skill-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.skill-card-head h3 { margin: 0; font-size: 16.5px; }
.skill-cat { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.skill-card p { margin: 0; font-size: 14px; color: var(--text-2); flex: 1; }
.skill-card-foot { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-3);
}

.tag-easy { color: #4ade80; border-color: rgba(74,222,128,.3); }

/* ---------- skill detail ---------- */

.detail-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,300px); gap: 30px; align-items: start; }

.download-card {
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(255,45,85,.3); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}

.install-hint { margin: 8px 0 0; line-height: 1.6; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,290px); gap: 40px; margin-top: 38px; }
.detail-main h2 { font-size: 22px; margin: 38px 0 14px; }
.detail-main h2:first-child { margin-top: 0; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-2); }
.ticks li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.say-list { display: flex; flex-wrap: wrap; gap: 9px; }
.say { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--text-2); }

.hardware-list { list-style: none; padding: 0; margin: 0; }
.hardware-list li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.hardware-list li:last-child { border-bottom: none; }
.hardware-list p { margin: 5px 0 0; }

.wiring { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.wiring th { text-align: left; font-family: var(--mono); color: var(--text-3); font-size: 10px; text-transform: uppercase; letter-spacing: .16em; padding: 10px; border-bottom: 1px solid var(--line); }
.wiring td { padding: 12px 10px; border-bottom: 1px solid var(--line); color: var(--text-2); }

code { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; font-size: 12.5px; font-family: var(--mono); }

.board-card { background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.pin-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.pin { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.pin-index { background: rgba(255,45,85,.16); color: var(--red); border-radius: 4px; padding: 0 6px; font-weight: 700; font-size: 10.5px; }

.firmware-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.firmware-card p { margin: 4px 0 0; }

.steps { padding-left: 22px; color: var(--text-2); }
.steps li { margin-bottom: 10px; padding-left: 6px; }

.note { background: rgba(255,45,85,.07); border: 1px solid rgba(255,45,85,.28); border-radius: var(--radius); padding: 20px; margin-top: 30px; }
.note strong { display: block; margin-bottom: 7px; }
.note p { margin: 0; color: var(--text-2); font-size: 14.4px; }

.detail-side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-card h3 { margin: 0 0 14px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .18em; color: var(--text-3); font-weight: 400; }
.side-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.side-card dt { color: var(--text-3); }
.side-card dd { margin: 0; text-align: right; }

.action-list { list-style: none; padding: 0; margin: 0; }
.action-list li { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.action-list li:last-child { border-bottom: none; }

.code-block { background: #0b070c; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow-x: auto; font-size: 13.2px; line-height: 1.85; color: var(--text-2); font-family: var(--mono); }
.code-block code { background: none; border: none; padding: 0; }

.callout { position: relative; background: linear-gradient(165deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 44px; text-align: center; }
.callout h2 { margin: 6px 0 14px; }
.callout p { color: var(--text-2); max-width: 620px; margin: 0 auto 26px; }

.body-text { color: var(--text-2); max-width: 700px; font-size: 15.6px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 34px; margin-top: 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

/* ---------- scroll reveal ---------- */

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow-pill::before, .terminal-bar .dot, .caret { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero-grid, .loop-grid, .founder, .detail-head, .detail-grid { grid-template-columns: 1fr; }
  .hero { padding: 62px 0 50px; }
  .section { padding: 58px 0; }
  .founder-quote { order: 2; }
  .callout { padding: 32px 22px; }
}

/* ---------- hero visual ---------- */

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 26px; }

.product-shot {
  position: relative; margin: 0; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #000;
  box-shadow: 0 40px 90px -50px rgba(255, 45, 85, .55);
}

.product-shot img { display: block; width: 100%; height: auto; }

/* A slow breathing glow, so the device reads as powered rather than
   photographed. */
.product-shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 62%, rgba(255,45,85,.16), transparent 70%);
  animation: breathe 5.5s ease-in-out infinite;
}

@keyframes breathe { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

.viz-holder { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
#viz { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; }

@media (prefers-reduced-motion: reduce) { .product-shot::after { animation: none; } }

/* Kept !important deliberately: this is an intent ("not on a phone"),
   and a later responsive rule re-declaring display on .site-nav a has
   already resurrected these once. */
@media (max-width: 620px) { .hide-sm { display: none !important; } }

/* ---------- "say this, get that" ---------- */

.said-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 34px; }

.said {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; transition: transform .22s, border-color .22s;
}

.said:hover { transform: translateY(-3px); border-color: rgba(255,45,85,.3); }

.said-bubble {
  font-size: 14.2px; color: var(--text); font-style: italic;
  background: rgba(255,255,255,.045); border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px; padding: 11px 14px;
}

.said-arrow { width: 18px; height: 2px; background: var(--grad); position: relative; opacity: .8; }
.said-arrow::after {
  content: ""; position: absolute; right: -1px; top: -3px;
  border-left: 6px solid var(--orange);
  border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}

.said-result { display: flex; flex-direction: column; gap: 2px; }
.said-kind { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.said-result strong { font-size: 14.6px; }
.said-detail { font-size: 12.4px; color: var(--text-3); line-height: 1.45; }

/* ---------- memory chat ---------- */

.chat { background: #0b070c; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -46px rgba(255,45,85,.4); }
.chat-bar { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.chat-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 9px var(--red); }
.chat-body { padding: 18px; min-height: 300px; display: flex; flex-direction: column; gap: 12px; }

.chat-day { align-self: center; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; }

.msg { max-width: 82%; padding: 11px 15px; font-size: 14.2px; line-height: 1.55; border-radius: 16px; opacity: 0; transform: translateY(8px); animation: msg-in .45s cubic-bezier(.2,.7,.3,1) forwards; }
.msg-you { align-self: flex-end; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-bottom-right-radius: 5px; }
.msg-q { align-self: flex-start; background: rgba(255,45,85,.11); border: 1px solid rgba(255,45,85,.26); border-bottom-left-radius: 5px; }
.msg-note { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); background: none; border: none; padding: 0 4px; }

@keyframes msg-in { to { opacity: 1; transform: none; } }

/* ---------- phone mock ---------- */

.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.phone {
  position: relative; width: 290px; max-width: 100%;
  border-radius: 34px; padding: 11px;
  background: linear-gradient(165deg, #1e1a20, #100c12);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -44px rgba(255,45,85,.5);
}

.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 84px; height: 18px; background: #0b070c; border-radius: 0 0 12px 12px; z-index: 2; }
.phone-screen { background: #0b070c; border-radius: 25px; padding: 34px 14px 16px; display: flex; flex-direction: column; gap: 9px; }
.phone-head { display: flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; padding: 0 4px 6px; }

.switch-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; }
.switch-row strong { display: block; font-size: 13.4px; }
.switch-sub { font-size: 11px; color: var(--text-3); }
.switch-icon { font-size: 15px; color: var(--text-3); transition: color .3s, text-shadow .3s; }
.switch-row.on .switch-icon { color: var(--red); text-shadow: 0 0 12px var(--red); }

.toggle { width: 42px; height: 24px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); padding: 0; cursor: pointer; position: relative; transition: background .28s, border-color .28s; }
.toggle span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #6f6772; transition: transform .28s cubic-bezier(.3,1.4,.5,1), background .28s; }
.switch-row.on .toggle { background: rgba(255,45,85,.28); border-color: rgba(255,45,85,.6); }
.switch-row.on .toggle span { transform: translateX(18px); background: var(--red); box-shadow: 0 0 12px var(--red); }

.phone-say { margin-top: 5px; padding: 11px 13px; border-radius: 13px; border: 1px dashed rgba(255,45,85,.4); background: rgba(255,45,85,.05); display: flex; flex-direction: column; gap: 2px; transition: border-color .3s, background .3s; }
.phone-say.active { border-style: solid; border-color: var(--red); background: rgba(255,45,85,.13); }
.phone-say-label { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.phone-say-text { font-size: 13px; font-style: italic; color: var(--text); }

@media (max-width: 900px) { .phone-wrap { order: 2; } }
@media (max-width: 460px) { .said { grid-template-columns: 1fr; } .said-arrow { transform: rotate(90deg); margin: 0 auto; } }

/* ---------- brand ---------- */
/* The wordmark carries its own mark, so no separate dot. */
.brand img { display: block; height: 26px; width: auto; }
.brand-footer img { height: 22px; opacity: .85; }
@media (max-width: 620px) { .brand img { height: 22px; } }

/* ---------- identity samples ---------- */

.identity-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.identity-mark { margin-bottom: 0; }

.play-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,45,85,.4);
  background: rgba(255,45,85,.09);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: background .2s, border-color .2s, transform .2s;
  flex-shrink: 0;
}

.play-btn:hover { background: rgba(255,45,85,.2); border-color: var(--red); transform: scale(1.06); }

/* Triangle by default, two bars while playing -- drawn in CSS so there
   is no icon file to load for three buttons. */
.play-icon {
  width: 0; height: 0;
  border-left: 12px solid var(--red);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
  transition: all .18s;
}

.identity.playing .play-btn { background: var(--red); border-color: var(--red); }
.identity.playing .play-icon {
  width: 12px; height: 14px; margin-left: 0;
  border: none; border-left: 4px solid #fff; border-right: 4px solid #fff;
  background: none;
}

.identity.playing { border-color: var(--red); }
.identity.playing .identity-mark { box-shadow: 0 0 26px -4px var(--glow); }

.identity-line {
  margin: 14px 0 0; padding: 12px 14px;
  border-left: 2px solid rgba(255,45,85,.4);
  background: rgba(255,255,255,.03);
  border-radius: 0 10px 10px 0;
  font-size: 13.6px; font-style: italic; color: var(--text-2);
  transition: border-color .25s, color .25s;
}

.identity.playing .identity-line { border-left-color: var(--red); color: var(--text); }

/* A quiet level meter under the card while its sample plays. */
.identity::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .2s linear;
}

.identity.playing::after { transform: scaleX(var(--progress, 0)); }

/* ---------- waitlist ---------- */

.price-mask { opacity: .55; letter-spacing: .02em; }

.waitlist {
  margin-top: 16px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(255,45,85,.32);
  border-radius: var(--radius);
  padding: 22px;
  animation: waitlist-in .3s cubic-bezier(.2,.7,.3,1);
}

@keyframes waitlist-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.waitlist-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.waitlist-head h3 { margin: 0 0 4px; font-size: 18px; }
.waitlist-head p { margin: 0; }

.waitlist-close {
  background: none; border: none; color: var(--text-3);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px;
  min-width: 44px; min-height: 44px;
}

.waitlist-close:hover { color: var(--text); }

.waitlist-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }

.field label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }

.field input, .field textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  font-family: inherit;
  width: 100%;
  transition: border-color .18s, background .18s;
}

.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: rgba(255,45,85,.06);
}

.field textarea { resize: vertical; min-height: 62px; }

/* Hidden from people, reachable by a bot filling every input it finds. */
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.waitlist-form .btn { grid-column: 1 / -1; width: 100%; }

.waitlist-msg { grid-column: 1 / -1; margin: 0; font-size: 13.5px; min-height: 1px; }
.waitlist-msg.ok { color: #4ade80; }
.waitlist-msg.bad { color: #f87171; }

@media (max-width: 560px) { .waitlist-form { grid-template-columns: 1fr; } }

/* =====================================================================
   MOBILE
   Most visits are phones, so these are real optimisations rather than a
   reflow: less to scroll past, nothing animating on battery that the
   photo already says, and every target big enough for a thumb.
   ===================================================================== */

@media (max-width: 700px) {
  .wrap { padding: 0 18px; }

  .hero { padding: 40px 0 36px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(33px, 9vw, 44px); }
  .lede { font-size: 15.8px; margin-bottom: 26px; }

  .section { padding: 46px 0; }
  .section h2 { font-size: clamp(25px, 7vw, 32px); }
  .page-title { font-size: clamp(28px, 8vw, 36px); }

  /* The product photo already carries "it is listening". A second
     canvas animating below it is a rAF loop and ~400px of scroll for
     something the visitor has already understood. */
  .viz-holder { display: none; }

  .grid-3, .grid-2, .identity-grid, .integration-row, .said-grid,
  .loop-grid, .founder, .hero-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-accent, .identity, .integration, .said, .skill-card { padding: 18px; }
  .callout { padding: 26px 20px; }

  /* Reveal animations move less on a small screen, where a 22px lift
     reads as a jolt rather than a fade. */
  .reveal { transform: translateY(12px); }

  /* Anything tappable clears the 44px minimum. */
  .btn { padding: 14px 24px; min-height: 48px; }
  .site-nav a:not(.hide-sm) { padding: 10px 13px; min-height: 44px; display: inline-flex; align-items: center; }
  .nav-cta { white-space: nowrap; }
  .filter { padding: 10px 16px; min-height: 42px; display: inline-flex; align-items: center; }
  .play-btn { width: 48px; height: 48px; }
  .toggle { width: 48px; height: 28px; }
  .toggle span { width: 22px; height: 22px; }
  .switch-row.on .toggle span { transform: translateX(20px); }
  .switch-row { padding: 13px; }

  .terminal-body { min-height: 180px; font-size: 12.4px; padding: 14px 14px 18px; }
  .chat-body { min-height: 250px; padding: 14px; }
  .msg { max-width: 88%; font-size: 13.6px; }

  .phone { width: 260px; }
  .detail-grid { gap: 26px; }
  .detail-main h2 { font-size: 19px; margin: 28px 0 12px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { flex-wrap: wrap; gap: 14px 18px; }
  .footer-tag { font-size: 9px; }

  .identity-line { font-size: 13px; }
  .said-bubble { font-size: 13.6px; }

  /* Wide content scrolls inside itself rather than pushing the page. */
  .wiring, .pin-row, .code-block { max-width: 100%; overflow-x: auto; }
  .board-card { padding: 16px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 31px; }
  .price { font-size: 33px; }
  .brand img { height: 20px; }
  .site-nav a:not(.hide-sm) { padding: 9px 10px; font-size: 13.5px; }
  .nav-cta { padding: 9px 14px; }
}

/* A phone in landscape is short, not narrow -- do not steal its height. */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 28px 0 24px; }
  .section { padding: 34px 0; }
}

/* ---------- morning brief ---------- */

.brief {
  background: #0b070c;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -46px rgba(255,45,85,.4);
}

.brief-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-3);
}

.brief-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 9px var(--red); }

.brief-controls { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 16px 4px; }

.seg { display: inline-flex; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }

.seg-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-3); font-family: inherit;
  font-size: 12.5px; font-weight: 600;
  padding: 8px 15px; border-radius: 999px;
  min-height: 38px;
  transition: background .18s, color .18s;
}

.seg-btn:hover { color: var(--text); }
.seg-btn.on { background: var(--grad); color: #fff; }

.brief-play {
  display: flex; align-items: center; gap: 12px; width: calc(100% - 32px);
  margin: 14px 16px 10px; padding: 14px 18px;
  background: rgba(255,45,85,.08);
  border: 1px solid rgba(255,45,85,.34);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 600;
  cursor: pointer; min-height: 52px;
  transition: background .2s, border-color .2s;
}

.brief-play:hover { background: rgba(255,45,85,.16); border-color: var(--red); }
.brief-play .play-icon { flex-shrink: 0; }
.brief-play-label { flex: 1; text-align: left; }
.brief-time { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }

.brief.playing .brief-play { background: rgba(255,45,85,.18); border-color: var(--red); }
.brief.playing .play-icon {
  width: 12px; height: 14px; margin-left: 0;
  border: none; border-left: 4px solid var(--red); border-right: 4px solid var(--red);
}

.brief-track { height: 2px; background: rgba(255,255,255,.07); margin: 0 16px; border-radius: 2px; overflow: hidden; }
.brief-fill { height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }

.brief-text {
  margin: 0; padding: 16px;
  font-size: 13.6px; line-height: 1.75; color: var(--text-2);
  border-top: 1px solid var(--line); margin-top: 14px;
  min-height: 128px;
}

.brief-text em { color: var(--text); font-style: normal; }

@media (max-width: 700px) {
  .brief-controls { padding: 14px 14px 2px; }
  .seg-btn { padding: 9px 13px; font-size: 12px; }
  .brief-play { width: calc(100% - 28px); margin: 12px 14px 10px; }
  .brief-text { font-size: 13.2px; padding: 14px; min-height: 0; }
}

/* ---------- dashboard screenshot ---------- */

.browser {
  margin: 36px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b070c;
  box-shadow: 0 50px 110px -55px rgba(255, 45, 85, .5);
}

.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.browser-dots i:first-child { background: rgba(255,45,85,.5); }

.browser-url {
  flex: 1;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  text-align: center;
}

/* The image is a tall page shot; cap the height and let the top of it
   show rather than squashing the aspect ratio. */
.browser img {
  display: block; width: 100%; height: auto;
  max-height: 620px; object-fit: cover; object-position: top;
}

.browser figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}

@media (max-width: 700px) {
  .browser { margin-top: 26px; }
  .browser img { max-height: 420px; }
  .browser-url { font-size: 9px; letter-spacing: .1em; }
  .browser figcaption { padding: 12px 14px; font-size: 12.4px; }
}

/* ---------- dashboard screen gallery ---------- */

.screens { margin-top: 34px; }

.screen-tabs {
  display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px;
}

.screen-tab {
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text-3);
  cursor: pointer; font-family: inherit;
  min-height: 40px;
  transition: background .18s, border-color .18s, color .18s;
}

.screen-tab:hover { color: var(--text); border-color: var(--line-2); }
.screen-tab.on { background: var(--grad); border-color: transparent; color: #fff; }

/* The stage holds every screen stacked; only one is visible, so
   switching never reflows the page around it. */
/* Padded, because the shots now include the dashboard's own navigation
   and it sat flush against the browser bar above it, reading as one
   chrome bar overlapping another. */
.screen-stage {
  position: relative;
  background: #0b070c;
  min-height: 300px;
  padding: 18px 18px 0;
}

.screen-img {
  display: block; width: 100%; height: auto;
  max-height: 640px; object-fit: cover; object-position: top;
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  opacity: 0; position: absolute; inset: 18px 18px auto;
  transition: opacity .28s ease;
  pointer-events: none;
}

.screen-img.on { opacity: 1; position: relative; inset: auto; pointer-events: auto; }

.screens-foot { margin-top: 12px; }

@media (max-width: 700px) {
  .screen-tabs {
    flex-wrap: nowrap; overflow-x: auto; gap: 6px;
    margin: 0 -18px 14px; padding: 0 18px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .screen-tabs::-webkit-scrollbar { display: none; }
  .screen-tab { flex: 0 0 auto; scroll-snap-align: start; font-size: 12.5px; padding: 9px 14px; }
  .screen-img { max-height: 400px; }
  .screen-stage { min-height: 200px; padding: 12px 12px 0; }
  .screen-img:not(.on) { inset: 12px 12px auto; }
}
