/* Screenless AI Speaker — pre-order site. Plain CSS, no build step. */

:root {
  --bg: #ffffff;
  --ink: #000000;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --soft: #f5f5f7;
  --radius: 22px;
  --gutter: 20px;
  --max: 1080px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- nav ---------- */

.nav {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wordmark {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav .buy-form {
  display: none;
}

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

.buy-form {
  margin: 0;
}

.buy {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.buy:hover {
  opacity: 0.86;
}

.buy:active {
  transform: scale(0.985);
}

.buy:disabled {
  opacity: 0.6;
  cursor: progress;
}

.buy:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.buy.small {
  width: auto;
  height: 36px;
  padding: 0 18px;
  font-size: 15px;
}

.buy-error {
  margin: 10px 0 0;
  font-size: 14px;
  color: #b3261e;
}

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

.hero-media {
  margin: 0;
  height: 30vh;
  height: clamp(188px, 30svh, 300px);
  background: var(--soft);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-copy {
  padding: 22px var(--gutter) 0;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(40px, 11.6vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.038em;
  font-weight: 700;
}

.hero .sub {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--muted);
}

.hero .price {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
}

.hero .price strong {
  font-weight: 650;
  color: var(--ink);
}

.hero .buy-form {
  margin-top: 16px;
}

.fine {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

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

.section {
  padding: 64px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.section h2 {
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 700;
  max-width: 16ch;
}

.lede {
  margin: 14px 0 0;
  max-width: 34em;
  color: var(--muted);
}

/* how it works */

.steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
}

.steps .n {
  grid-row: span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.steps h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* choose your AI */

.choices {
  margin: 36px 0 0;
  display: grid;
  gap: 12px;
}

.choice {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.choice .by {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.choice h3 {
  margin-top: 4px;
  font-size: 26px;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.note {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* full-bleed-ish images */

.photo {
  margin: 0;
  background: var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo.wide {
  aspect-ratio: 4 / 3;
}

.split > .photo {
  margin-bottom: 36px;
}

/* use cases */

.uses {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
}

.uses li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(21px, 5.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--ink);
}

.uses li:last-child {
  border-bottom: 1px solid var(--line);
}

/* specs */

.specs {
  margin: 28px 0 0;
  padding: 0;
}

.specs div {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.specs div:last-child {
  border-bottom: 1px solid var(--line);
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  margin: 0;
  color: var(--text);
}

/* pricing */

.pricing-card {
  margin: 32px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  max-width: 520px;
}

.amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.amount strong {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink);
}

.amount span {
  color: var(--muted);
  font-size: 16px;
}

.included {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.included li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.included li span:last-child {
  color: var(--muted);
  text-align: right;
}

.after {
  margin: 18px 0 22px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.after strong {
  color: var(--text);
  font-weight: 600;
}

/* faq */

.faq {
  margin: 28px 0 0;
  max-width: 760px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  position: relative;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background:
    linear-gradient(var(--muted), var(--muted)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--muted), var(--muted)) center / 1.5px 12px no-repeat;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 40em;
}

/* final cta */

.final {
  text-align: center;
}

.final h2 {
  margin: 0 auto;
}

.final .lede {
  margin-left: auto;
  margin-right: auto;
}

.final .buy-form {
  margin: 28px auto 0;
  max-width: 360px;
}

/* footer */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(96px + env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 10px;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer p {
  margin: 0;
}

/* sticky mobile buy bar */

.stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.stickybar.show {
  transform: none;
  visibility: visible;
  transition: transform 0.25s ease;
}

.stickybar .label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.stickybar .label strong {
  font-size: 16px;
  color: var(--ink);
}

.stickybar .label span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.stickybar .buy-form {
  flex: 0 0 auto;
}

.stickybar .buy {
  width: auto;
  height: 44px;
  padding: 0 22px;
  font-size: 16px;
}

.stickybar .buy-error {
  display: none;
}

/* ---------- simple text pages (thanks / privacy / terms) ---------- */

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px var(--gutter) 80px;
}

.doc h1 {
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.doc h2 {
  margin-top: 36px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  color: var(--text);
}

.doc .updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.doc ul {
  padding-left: 1.2em;
}

.doc li + li {
  margin-top: 6px;
}

.status {
  margin-top: 14px;
  font-size: 19px;
  color: var(--muted);
}

.receipt {
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 22px;
}

.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 16px;
}

.receipt div + div {
  border-top: 1px solid var(--line);
}

.receipt dt {
  color: var(--muted);
}

.receipt dd {
  margin: 0;
  text-align: right;
}

.next {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: next;
}

.next li {
  position: relative;
  padding: 0 0 0 36px;
  color: var(--text);
}

.next li + li {
  margin-top: 14px;
}

.next li::before {
  counter-increment: next;
  content: counter(next);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.back {
  display: inline-block;
  margin-top: 32px;
  font-size: 15px;
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

/* ---------- larger screens ---------- */

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .steps li {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .steps .n {
    grid-row: auto;
  }

  .choices {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .photo.wide {
    aspect-ratio: 16 / 9;
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .split .photo {
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
  }
}

@media (min-width: 900px) {
  .nav {
    height: 64px;
  }

  .nav .buy-form {
    display: block;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px var(--gutter) 72px;
    min-height: min(calc(100vh - 64px), 720px);
  }

  .hero-media {
    order: 2;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
  }

  .hero-copy {
    order: 1;
    padding: 0;
  }

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

  .hero .sub {
    font-size: 21px;
    margin-top: 18px;
  }

  .hero .price {
    font-size: 17px;
    margin-top: 20px;
  }

  .hero .buy-form {
    margin-top: 26px;
    max-width: 340px;
  }

  .section {
    padding: 112px 0;
  }

  .stickybar {
    display: none;
  }

  .footer {
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
