:root {
  color-scheme: light;
  --ink: #141414;
  --ink-soft: #4c5b62;
  --paper: #f2fafd;
  --paper-bright: #ffffff;
  --green: #009de0;
  --green-dark: #0077a8;
  --mint: #e6f7fc;
  --lime: #fef3c7;
  --coral: #d32f2f;
  --line: #eef1f3;
  --shadow: 0 28px 70px rgba(0, 119, 168, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 4px;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 16px;
  left: 50%;
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  padding: 10px 12px 10px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(19, 33, 28, 0.1);
  border-radius: 8px;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, top 180ms ease;
}

.site-header.is-scrolled { top: 8px; box-shadow: 0 12px 30px rgba(19, 33, 28, 0.1); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--green);
  color: var(--paper-bright);
  font-size: 17px;
}

.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a, .site-footer a { text-decoration: none; }
.desktop-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .site-footer a:hover { color: var(--green); }

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.button-small { min-height: 42px; padding: 0 16px; justify-self: end; font-size: 14px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: var(--green-dark); }
.button-primary { background: var(--paper-bright); color: var(--green-dark); box-shadow: 0 12px 24px rgba(20, 20, 20, 0.12); }
.button-primary:hover { background: var(--mint); }
.button-light { background: var(--paper-bright); color: var(--green-dark); }

.hero {
  min-height: 880px;
  padding: 150px 24px 72px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    var(--green);
  background-size: 44px 44px;
  color: white;
}

.hero-copy { width: min(940px, 100%); margin: 0 auto; text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .eyebrow, .closing-section .eyebrow { color: var(--lime); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 940px; margin: 0 auto; font-size: 68px; line-height: 0.98; font-weight: 850; }
.hero-lede { max-width: 700px; margin: 28px auto 0; color: rgba(255,255,255,0.82); font-size: 19px; }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 24px; }
.text-link { color: white; font-weight: 750; text-underline-offset: 5px; }

.product-stage {
  position: relative;
  width: min(1040px, 100%);
  height: 590px;
  margin: 72px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 12% 5% 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50% 50% 0 0;
}

.phone-shell {
  position: relative;
  z-index: 2;
  width: 330px;
  min-height: 574px;
  padding: 14px 18px 20px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-bright);
  border: 8px solid var(--ink);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.phone-status, .app-heading { display: flex; align-items: center; justify-content: space-between; }
.phone-status { padding: 0 8px 10px; font-size: 9px; font-weight: 800; }
.app-heading { padding: 10px 2px 2px; }
.app-wordmark { font-size: 17px; font-weight: 850; }
.quiet-button { width: 34px; height: 34px; border: 0; background: var(--mint); border-radius: 50%; color: var(--ink); line-height: 1; }
.score-block { padding: 20px 4px 15px; text-align: center; }
.score-block span { display: block; color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: 0.15em; }
.score-block strong { display: inline-block; margin-top: 4px; font-size: 58px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score-block small { margin-left: 4px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.basket-feed { min-height: 228px; display: flex; flex-direction: column; gap: 7px; }
.bubble { min-height: 38px; padding: 9px 12px; display: flex; justify-content: space-between; gap: 20px; background: var(--mint); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; animation: bubble-in 240ms ease both; }
.bubble strong { font-variant-numeric: tabular-nums; }
.bubble-accent { background: var(--lime); }
.bubble-demo { background: var(--mint); }
.voice-control { min-height: 70px; margin-top: 12px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 10px; padding: 11px; background: var(--green); color: white; border-radius: 8px; }
.voice-control strong { align-self: end; font-size: 13px; }
.voice-control small { align-self: start; color: rgba(255,255,255,0.7); font-size: 10px; }
.voice-pulse { grid-row: 1 / 3; width: 42px; height: 42px; border: 8px solid rgba(255,255,255,0.24); border-radius: 50%; background: var(--paper-bright); box-shadow: 0 0 0 0 rgba(255,255,255,0.35); animation: pulse 2s infinite; }
.stage-note { position: absolute; top: 45%; color: rgba(255,255,255,0.7); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; text-transform: uppercase; }
.stage-note-left { left: 4%; text-align: right; }
.stage-note-right { right: 4%; }

.demo-commands { width: min(980px, 100%); margin: 28px auto 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.demo-commands > span { margin-right: 6px; color: rgba(255,255,255,0.62); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.demo-commands button { min-height: 38px; padding: 0 13px; color: white; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); border-radius: 6px; cursor: pointer; }
.demo-commands button:hover { background: rgba(255,255,255,0.16); }

.steps-section, .principles-section, .faq-section { padding: 112px max(24px, calc((100% - 1160px) / 2)); }
.section-heading { max-width: 720px; }
.section-heading.compact { max-width: 480px; }
h2 { margin: 0; font-size: 46px; line-height: 1.07; font-weight: 820; }
h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.steps-grid { margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; }
.steps-grid li { min-height: 270px; padding: 30px; background: var(--paper-bright); }
.step-number { display: block; margin-bottom: 72px; color: var(--green); font-size: 12px; font-weight: 900; }
.steps-grid p, .principles-grid p { margin: 13px 0 0; color: var(--ink-soft); }

.proof-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; background: var(--paper-bright); }
.proof-copy { padding: 110px max(36px, calc((100vw - 1160px) / 2)); padding-right: 72px; }
.proof-copy > p:not(.eyebrow) { max-width: 580px; margin: 24px 0 0; color: var(--ink-soft); font-size: 18px; }
.check-list { margin: 34px 0 0; padding: 0; display: grid; gap: 16px; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.check-list span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--mint); color: var(--green-dark); }
.command-board { padding: 92px max(36px, calc((100vw - 1160px) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 12px; background: var(--lime); }
.command-board p { margin: 0; }
.command-user { align-self: flex-end; max-width: 80%; padding: 14px 16px; background: var(--ink); color: white; border-radius: 8px 8px 0 8px; }
.command-result { width: 92%; padding: 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; background: var(--paper-bright); border-radius: 8px; box-shadow: 0 8px 20px rgba(19,33,28,0.08); }
.command-result span { color: var(--green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.command-result b { font-size: 13px; font-variant-numeric: tabular-nums; }

.principles-section { background: var(--mint); }
.principles-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.principles-grid article { border-top: 2px solid var(--ink); padding-top: 20px; }
.principles-grid article > span { display: block; margin-bottom: 70px; color: var(--green); font-size: 12px; font-weight: 900; }

.faq-section { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: 80px; background: var(--paper-bright); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 24px 42px 24px 0; position: relative; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: -8px 40px 24px 0; color: var(--ink-soft); }

.closing-section { padding: 100px 24px; text-align: center; color: white; background: var(--green-dark); }
.closing-section h2 { font-size: 58px; }
.closing-section p:not(.eyebrow) { margin: 18px 0 28px; color: rgba(255,255,255,0.72); }
.site-footer { min-height: 180px; padding: 40px max(24px, calc((100% - 1160px) / 2)); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px; }
.site-footer p { color: var(--ink-soft); text-align: center; }
.site-footer > div { display: flex; gap: 20px; }
.site-footer small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 12px; }

@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  h1 { font-size: 52px; }
  .stage-note { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid li { min-height: auto; }
  .step-number { margin-bottom: 38px; }
  .proof-section { grid-template-columns: 1fr; }
  .proof-copy, .command-board { padding: 80px 32px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article > span { margin-bottom: 34px; }
  .faq-section { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 600px) {
  .site-header { top: 8px; width: calc(100% - 16px); min-height: 58px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .button-small { min-height: 38px; padding: 0 12px; }
  .hero { min-height: 760px; padding: 124px 16px 58px; }
  h1 { font-size: 42px; line-height: 1.02; }
  .hero-lede { font-size: 17px; }
  .hero-actions { flex-direction: column; gap: 16px; }
  .product-stage { height: 530px; margin-top: 56px; }
  .phone-shell { width: 292px; min-height: 514px; border-width: 7px; border-radius: 34px; }
  .score-block { padding: 12px 4px 10px; }
  .score-block strong { font-size: 48px; }
  .basket-feed { min-height: 200px; }
  .bubble { min-height: 34px; padding: 8px 10px; }
  .demo-commands { justify-content: flex-start; }
  .demo-commands > span { width: 100%; }
  .steps-section, .principles-section, .faq-section { padding: 78px 20px; }
  h2, .closing-section h2 { font-size: 36px; }
  .steps-grid { margin-top: 42px; }
  .steps-grid li { padding: 24px; }
  .proof-copy, .command-board { padding: 72px 20px; }
  .command-result { width: 100%; grid-template-columns: 1fr auto; }
  .command-result span { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; }
  .site-footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
