
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url('fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url('fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url('fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url('fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  --background: #ffffff;
  --surface: #f0ece7;
  --accent: #e2d6c5;
  --text: #1f1c19;
  --text-secondary: #6a625a;
  --text-body-secondary: #4a443e;
  --border: #e6e0d8;
  --input-border: #c9bfb2;
  --primary-bg: #1f1c19;
  --primary-text: #ffffff;
  --error: #b3261e;
  --mark-bg: #e2d6c5;
  --mark-fg: #1f1c19;
  --shadow: 0 1px 2px rgba(31, 28, 25, 0.06), 0 12px 32px rgba(31, 28, 25, 0.1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #161513;
    --surface: #23211e;
    --text: #f2eee6;
    --text-secondary: #a9a298;
    --text-body-secondary: #cfc8bd;
    --border: #33302c;
    --input-border: #4a4540;
    --primary-bg: #f2eee6;
    --primary-text: #161513;
    --error: #ffb4ab;
    --mark-bg: #161513;
    --mark-fg: #e2d6c5;
    --shadow: 0 0 0 1px #33302c, 0 12px 32px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -60px;
  padding: 10px 16px;
  background: var(--primary-bg);
  color: var(--primary-text);
  border-radius: 10px;
  z-index: 10;
}
.skip:focus { inset-block-start: 12px; }

.top {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  padding-inline: max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-block-end: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.mark { width: 36px; height: 36px; }
.mark-bg { fill: var(--mark-bg); }
.mark-fg { fill: var(--mark-fg); }
@media (prefers-color-scheme: dark) { .top .mark-bg { stroke: #33302c; stroke-width: 2; } }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary-bg); color: var(--primary-text); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; background: var(--surface); color: var(--text); }

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 16px 40px;
  display: grid;
  gap: 20px;
  justify-items: start;
}
.eyebrow, .label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--accent);
  color: #1f1c19;
}
h1 { font-size: clamp(46px, 12.4vw, 104px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
h1 > span { display: block; white-space: nowrap; }
.hero-sub { font-size: clamp(14px, calc((100vw - 32px) / 21.5), 24px); line-height: 1.35; font-weight: 500; color: var(--text-body-secondary); }
.hero .btn-primary { margin-top: 12px; }
.intro { max-width: 760px; margin: 0 auto; padding: 24px 16px 32px; }
.lead { font-size: 18px; color: var(--text-body-secondary); max-width: 620px; }

.features { max-width: 1040px; margin: 0 auto; padding: 24px 0 40px; }
.features > .label { padding: 0 16px 20px; text-align: center; font-size: 16px; letter-spacing: 0.06em; }
.carousel { position: relative; }
.track {
  list-style: none;
  margin: 0;
  padding: 0 16px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.slide {
  scroll-snap-align: start;
  display: grid;
  gap: 20px;
  align-content: start;
  justify-items: center;
  padding: 20px 16px 28px;
  border-radius: 14px;
  background: var(--surface);
}
.copy { display: grid; gap: 8px; max-width: 460px; text-align: center; }
.copy h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.copy p { color: var(--text-body-secondary); }
.pro {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--accent);
  color: #1f1c19;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 4px;
}
.slide picture { display: block; width: min(300px, 78vw); }
.slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--background);
}

.controls { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 16px 0; }
.round {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.round svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.round:disabled { opacity: 0.4; cursor: default; }
[dir='rtl'] .round svg { transform: scaleX(-1); }
.dots { display: flex; gap: 2px; }
.dot {
  width: 28px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.dot::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--input-border); transition: width 0.2s; }
.dot[aria-current='true']::before { width: 20px; background: var(--text); }
@media (prefers-reduced-motion: reduce) { .dot::before { transition: none; } }

.note { padding: 14px 16px 0; text-align: center; font-size: 13px; color: var(--text-secondary); }

@media (max-width: 819px) {
  .features {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 69px);
    height: calc(100svh - 69px);
    min-height: 460px;
    scroll-margin-top: 69px;
    padding: 16px 0 12px;
  }
  .features > .label { padding-bottom: 12px; }
  .carousel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .track { flex: 1; min-height: 0; }
  .slide { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 0; padding: 16px 16px 14px; }
  .copy { gap: 6px; }
  .copy h3 { font-size: 20px; }
  .copy p { font-size: 15px; line-height: 1.4; }
  .slide picture { flex: 1 1 0; min-height: 0; width: 100%; display: flex; justify-content: center; }
  .slide img { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 20px; }
  .controls { padding-top: 8px; }
  .note { padding-top: 6px; font-size: 12px; }
}
@media (max-width: 819px) and (max-height: 620px) {
  .features { padding-top: 10px; padding-bottom: 6px; }
  .features > .label { padding-bottom: 8px; font-size: 14px; }
  .slide { gap: 8px; padding: 12px 12px 10px; }
  .copy { gap: 4px; }
  .copy h3 { font-size: 18px; }
  .copy p { font-size: 14px; line-height: 1.35; }
  .controls { padding-top: 4px; }
  .round { width: 44px; height: 44px; }
  .dot { height: 44px; }
  .note { padding-top: 2px; font-size: 11px; }
}

@media (min-width: 820px) {
  .hero { padding-top: 88px; }
  .slide {
    grid-template-columns: 1fr 320px;
    align-items: center;
    gap: 48px;
    padding: 40px 56px;
  }
  .copy { text-align: start; justify-self: start; }
  .copy h3 { font-size: 32px; }
  .copy p { font-size: 18px; }
  .slide picture { width: 320px; }
}

.waitlist {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 16px 56px;
  display: grid;
  gap: 16px;
}
.waitlist h2 { font-size: clamp(28px, 5vw, 34px); line-height: 1.15; letter-spacing: -0.02em; }
.waitlist > p { color: var(--text-body-secondary); }
.form { display: grid; gap: 18px; padding-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
input[type='email'], select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  background: var(--background);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
[aria-invalid='true'] { border-color: var(--error); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary-bg); }
.check label { font-size: 15px; color: var(--text-body-secondary); }
.hint { font-size: 14px; color: var(--text-secondary); }
.error { font-size: 14px; color: var(--error); font-weight: 500; }
.status:empty { display: none; }
.status { padding: 14px 16px; border-radius: 14px; background: var(--accent); color: #1f1c19; font-weight: 500; }
.us { padding-top: 8px; color: var(--text-body-secondary); }

.foot {
  border-block-start: 1px solid var(--border);
  padding: 24px 16px 40px;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.foot .wordmark { font-size: 14px; }
.foot a { color: var(--text-secondary); text-underline-offset: 3px; }
.foot a:hover { color: var(--text); }

.speak {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 16px 8px;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}
.speak h2 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.speak p { font-size: 18px; color: var(--text-body-secondary); }

.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hint a, .done a, .foot a, .legal a { color: inherit; text-underline-offset: 3px; }
.done { display: grid; gap: 8px; padding: 20px 16px; border-radius: 14px; background: var(--accent); color: #1f1c19; }
.done h3 { font-size: 22px; letter-spacing: -0.02em; }
.done { scroll-margin-top: 90px; }
.done:focus { outline: none; }
.done:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

.preview-badge {
  display: inline-block;
  margin-inline-end: 6px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--accent);
  color: #1f1c19;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.foot-contact { font-size: 15px; color: var(--text-body-secondary); padding-bottom: 8px; }
.foot-legal { max-width: 520px; }

.legal { max-width: 680px; margin: 0 auto; padding: 40px 16px 56px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(30px, 6vw, 44px); }
.legal h2 { font-size: 20px; letter-spacing: -0.01em; padding-top: 12px; }
.legal p, .legal li { color: var(--text-body-secondary); }
.legal ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }
.legal .updated { font-size: 14px; color: var(--text-secondary); }

.soon {
  justify-self: center;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
}
.slide--text { align-content: center; }
.safe {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 460px;
  width: 100%;
}
.safe li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--background);
  color: var(--text-body-secondary);
  line-height: 1.4;
}
.safe strong { color: var(--text); font-weight: 600; }
@media (min-width: 820px) {
  .slide--text { grid-template-columns: 1fr 1fr; }
  .soon { justify-self: start; }
}
@media (max-width: 819px) {
  .slide--text { justify-content: flex-start; }
  .safe { gap: 8px; }
  .safe li { padding: 10px 14px; font-size: 15px; line-height: 1.35; }
  .slide { position: relative; }
  .soon {
    position: absolute;
    inset-block-end: 24px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  [dir='rtl'] .soon { transform: translateX(50%); }
}
