:root {
  --bg: #faf8f5;
  --bg-tint: #f3eff5;
  --surface: #ffffff;
  --text: #1d1b20;
  --muted: #6f6a73;
  --accent: #6b5a75;
  --accent-fill: #6b5a75;
  --accent-soft: #e6dfeb;
  --bubble: #ece8f0;
  --agent-bubble: #ffffff;
  --border: #e3dde6;
  --border-strong: #d0c8d5;
  --shadow: 0 1px 2px rgba(29, 27, 32, 0.04), 0 12px 40px -12px rgba(60, 40, 75, 0.18);
  --band: #241e29;
  --band-text: #f1ecf4;
  --band-muted: #b5abbb;
  --band-surface: #2f2835;
  --band-border: #403847;
  --display: 'Fraunces', ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #121014;
    --bg-tint: #18151b;
    --surface: #1f1c22;
    --text: #ece8ef;
    --muted: #a39da8;
    --accent: #c4b0d2;
    --accent-soft: #3a3141;
    --bubble: #2b2730;
    --agent-bubble: #26232b;
    --border: #2e2a33;
    --border-strong: #3a353f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 48px -16px rgba(0, 0, 0, 0.7);
    --band: #1c1820;
    --band-surface: #27222c;
    --band-border: #3a333f;
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #121014;
  --bg-tint: #18151b;
  --surface: #1f1c22;
  --text: #ece8ef;
  --muted: #a39da8;
  --accent: #c4b0d2;
  --accent-soft: #3a3141;
  --bubble: #2b2730;
  --agent-bubble: #26232b;
  --border: #2e2a33;
  --border-strong: #3a353f;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 48px -16px rgba(0, 0, 0, 0.7);
  --band: #1c1820;
  --band-surface: #27222c;
  --band-border: #3a333f;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-wrap: pretty;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: 'SOFT' 50;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-cta {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--surface);
}

/* Avatars */

.av {
  --size: 28px;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: calc(var(--size) * 0.4);
  line-height: 1;
}

.av-z {
  background: var(--accent-fill);
  font-weight: 700;
  font-size: calc(var(--size) * 0.5);
  padding-bottom: calc(var(--size) * 0.06);
}

.av-m {
  background: #d9a6c4;
}

.av-s {
  background: #9fb7d9;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 96px;
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 540;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 14px;
  color: var(--muted);
}

.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid #000;
  transition: transform 0.15s;
}

.appstore:hover {
  transform: translateY(-1px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .appstore {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
}

.appstore svg {
  width: 22px;
  height: 26px;
  fill: currentColor;
}

.appstore span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.appstore small {
  font-size: 11px;
  font-weight: 500;
}

.appstore strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Chat mock */

.chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.stack {
  display: inline-flex;
}

.stack .av {
  --size: 30px;
  box-shadow: 0 0 0 2px var(--surface);
}

.stack .av + .av {
  margin-left: -8px;
}

.chat-title {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.chat-title strong {
  font-size: 16px;
}

.chat-title span {
  font-size: 13px;
  color: var(--muted);
}

.chat-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 88%;
}

.msg .av {
  --size: 26px;
}

.msg-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.who {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding-left: 12px;
}

.bubble {
  background: var(--bubble);
  padding: 9px 14px;
  border-radius: 20px;
  border-bottom-left-radius: 6px;
  font-size: 15.5px;
  line-height: 1.4;
}

.msg.zot .bubble {
  background: var(--agent-bubble);
  border: 1px solid var(--border);
}

.mention {
  color: var(--accent);
  font-weight: 600;
}

.card {
  margin-left: 34px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 14px 16px;
  max-width: 340px;
}

.card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

.card p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.btn {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
}

.btn-yes {
  background: var(--accent-fill);
  border-color: var(--accent-fill);
  color: #fff;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-label::before {
    animation: none;
  }
}

/* Section headings */

.section {
  padding-top: 112px;
  padding-bottom: 112px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4.6vw, 54px);
}

.section-head p {
  margin-top: 18px;
  font-size: 19px;
  color: var(--muted);
}

/* Scenes */

.scenes-bg {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scenes {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.scene {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.scene-when {
  font-size: 14px;
  color: var(--muted);
}

.scene h3 {
  margin-top: 8px;
  font-size: 28px;
}

.scene > p {
  margin-top: 12px;
  color: var(--muted);
}

.scene .mini {
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.scene .mini-spacer {
  height: 24px;
  flex: none;
}

.scene .msg {
  max-width: 100%;
}

.scene .bubble {
  font-size: 15px;
}

.mini-tag {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Computer */

.band {
  background: var(--band);
  color: var(--band-text);
}

.band .eyebrow,
.band .card-label {
  color: #c4b0d2;
}

.band .section-head p {
  color: var(--band-muted);
}

.computer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.abilities {
  display: grid;
  gap: 32px;
}

.ability h3 {
  font-size: 23px;
}

.ability p {
  margin-top: 6px;
  color: var(--band-muted);
}

.task {
  background: var(--band-surface);
  border: 1px solid var(--band-border);
  border-radius: 24px;
  padding: 24px;
  font-size: 15px;
  position: sticky;
  top: 24px;
}

.task-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.task-top strong {
  font-size: 17px;
}

.status {
  font-size: 13px;
  font-weight: 600;
  color: #c4b0d2;
  white-space: nowrap;
}

.browser {
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--band-border);
  background: #faf8f5;
  color: #1d1b20;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #ece8f0;
  font-size: 12px;
  color: #6f6a73;
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0c8d5;
}

.browser-bar span {
  margin-left: 8px;
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 3px 10px;
}

.browser-page {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e3dde6;
  font-size: 14px;
  background: #fff;
}

.slot.picked {
  border-color: #6b5a75;
  box-shadow: 0 0 0 2px rgba(107, 90, 117, 0.25);
}

.slot b {
  font-weight: 600;
}

.slot em {
  font-style: normal;
  font-size: 12px;
  color: #6f6a73;
}

.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--band-muted);
}

.steps li {
  display: flex;
  gap: 10px;
}

.steps li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1.5px solid #8f7f9b;
  background: radial-gradient(circle, #c4b0d2 0 3px, transparent 3.5px);
}

.ask {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--band-border);
}

.ask p {
  font-size: 15.5px;
}

.ask .card-actions .btn {
  border-color: var(--band-border);
}

.ask .card-actions .btn-yes {
  border-color: var(--accent-fill);
}

/* Household */

.house {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.house-card {
  border-top: 2px solid var(--text);
  padding-top: 24px;
}

.house-card h3 {
  font-size: 26px;
}

.house-card p {
  margin-top: 10px;
  color: var(--muted);
}

/* Trust */

.trust {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 56px;
}

.trust h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 46px);
}

.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.trust li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
}

.trust li svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.trust li strong {
  display: block;
  font-size: 17px;
}

.trust li span {
  color: var(--muted);
}

/* CTA */

.cta {
  text-align: center;
  padding-top: 128px;
  padding-bottom: 128px;
}

.cta .av {
  --size: 64px;
}

.cta h2 {
  margin: 28px auto 0;
  font-size: clamp(40px, 6vw, 68px);
  max-width: 14em;
}

.cta p {
  margin: 18px auto 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 30em;
}

.cta .appstore {
  margin-top: 36px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  padding-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 24px;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

/* Legal pages */

.legal {
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 96px;
}

.legal h1 {
  font-size: clamp(38px, 6vw, 56px);
}

.legal .updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.legal h2 {
  margin-top: 48px;
  font-size: 26px;
}

.legal p,
.legal ul {
  margin-top: 14px;
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 920px) {
  .hero,
  .computer,
  .trust {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .task {
    position: static;
  }

  .house {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .lede {
    font-size: 18px;
  }

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .chat {
    border-radius: 22px;
  }

  .chat-body {
    padding: 14px 12px 18px;
  }

  .msg {
    max-width: 94%;
  }

  .card {
    margin-left: 0;
  }

  .scene {
    padding: 24px 20px;
  }

  .scene .mini {
    padding: 12px;
  }

  .scene h3 {
    font-size: 25px;
  }

  .task {
    padding: 18px;
  }

  .trust {
    padding: 32px 22px;
    border-radius: 24px;
    gap: 32px;
  }

  .cta {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}
