:root {
  color-scheme: dark;
  --bg: #07090e;
  --surface: #0f131c;
  --line: #242b38;
  --text: #f7f9fc;
  --muted: #9ba8ba;
  --cyan: #00e6ff;
  --yellow: #ffd60a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.site-header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 15px; height: 15px; border: 3px solid var(--cyan); border-radius: 50%; box-shadow: inset -4px 0 0 var(--yellow); }
nav { display: flex; gap: 26px; }
nav a, footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { color: var(--cyan); }

.hero { min-height: 710px; padding: 120px 0 80px; position: relative; overflow: hidden; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: .95; letter-spacing: -.06em; }
.hero h1 { max-width: 800px; font-size: clamp(58px, 10vw, 120px); }
.hero h1 span { color: var(--muted); }
.hero-copy { max-width: 590px; margin: 34px 0 32px; color: var(--muted); font-size: clamp(18px, 2.2vw, 23px); }
.button { display: inline-flex; gap: 24px; align-items: center; padding: 13px 20px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; }
.button:hover, .button:focus-visible { color: var(--bg); background: var(--cyan); border-color: var(--cyan); }
.signal { position: absolute; right: 3%; bottom: 70px; display: flex; align-items: end; gap: 8px; opacity: .8; transform: rotate(-8deg); }
.signal span { width: 8px; height: 50px; border-radius: 99px; background: var(--cyan); }
.signal span:nth-child(2), .signal span:nth-child(4) { height: 110px; background: var(--yellow); }
.signal span:nth-child(3) { height: 175px; }
.signal span:nth-child(5) { height: 78px; }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 110px 0; border-top: 1px solid var(--line); }
.product h2 { font-size: clamp(56px, 8vw, 96px); }
.product .lead { margin: 28px 0 14px; font-size: 24px; line-height: 1.35; }
.product-copy > p:not(.eyebrow):not(.lead):not(.status) { color: var(--muted); }
.product-link { display: inline-flex; gap: 16px; margin-top: 14px; color: var(--cyan); font-size: 14px; font-weight: 800; text-decoration: none; }
.product-link:hover, .product-link:focus-visible { text-decoration: underline; }
.status { display: flex; align-items: center; gap: 9px; margin-top: 28px; font-size: 14px; font-weight: 700; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 18px var(--yellow); }
.camera-card { aspect-ratio: 4 / 5; padding: 22px; position: relative; border: 1px solid #303846; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 65% 32%, #263644 0, #121922 28%, #090c12 65%); box-shadow: 0 35px 90px #0008; }
.camera-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 45%, #00e6ff0d); }
.camera-top, .camera-bottom { display: flex; justify-content: space-between; position: relative; z-index: 1; font-size: 11px; letter-spacing: .12em; }
.camera-top span:last-child { color: var(--cyan); }
.camera-bottom { position: absolute; left: 22px; right: 22px; bottom: 32px; color: var(--muted); }
.focus-frame { position: absolute; width: 110px; height: 110px; left: 50%; top: 45%; transform: translate(-50%, -50%); }
.focus-frame i { position: absolute; width: 28px; height: 28px; border-color: var(--cyan); border-style: solid; }
.focus-frame i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.focus-frame i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.focus-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.focus-frame i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.shutter { position: absolute; width: 66px; height: 66px; right: 24px; top: 50%; border: 7px solid #fff; border-radius: 50%; opacity: .95; }

.product-baby { border-top: 1px solid var(--line); }
.product-baby .eyebrow { color: #fff; }
.product-baby .status span { background: #fff; box-shadow: 0 0 18px #fff; }
.vocab-card {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #cfd0c9;
  background: #e9e9e3;
  color: #171717;
}
.vocab-card::before, .vocab-card::after { content: ""; position: absolute; border-radius: 50%; }
.vocab-card::before { width: 250px; height: 250px; left: -90px; bottom: -80px; background: #babbb5; }
.vocab-card::after { width: 170px; height: 170px; right: -45px; top: -40px; background: #d6d7d1; }
.eink-badge { position: absolute; left: 22px; top: 20px; z-index: 3; padding: 6px 10px; border: 2px solid #171717; background: #fff; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .13em; }
.flashcard {
  width: min(72%, 320px);
  aspect-ratio: 3 / 4;
  padding: 28px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 4px solid #171717;
  border-radius: 26px;
  background: #fff;
  box-shadow: 14px 14px 0 #171717;
  transform: rotate(3deg);
}
.animal { font-size: 96px; line-height: 1.2; filter: grayscale(1) contrast(1.7); }
.flashcard strong { margin-top: 18px; font-size: 30px; letter-spacing: -.04em; }
.flashcard small { color: #69717c; font-size: 17px; }
.sound { width: 46px; height: 46px; margin-top: 22px; display: grid; place-items: center; border-radius: 50%; background: #171717; color: #fff; font-size: 14px; }
.vocab-spark { position: absolute; z-index: 2; display: grid; place-items: center; border: 3px solid #171717; background: #fff; color: #171717; font-weight: 900; }
.spark-one { width: 62px; height: 62px; left: 8%; top: 12%; border-radius: 18px; transform: rotate(-12deg); font-size: 29px; }
.spark-two { width: 58px; height: 58px; right: 9%; bottom: 13%; border-radius: 50%; transform: rotate(9deg); color: #171717; font-size: 28px; }

.policy { max-width: 760px; padding: 96px 0 120px; }
.policy h1 { font-size: clamp(48px, 8vw, 76px); }
.policy .updated { color: var(--muted); margin: 18px 0 52px; }
.policy h2 { margin: 46px 0 12px; font-size: 26px; letter-spacing: -.035em; line-height: 1.2; }
.policy p { color: #c5ccd6; }
.policy a { color: var(--cyan); }
footer { min-height: 100px; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer div { display: flex; gap: 24px; }

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 68px; }
  nav { gap: 16px; }
  .hero { min-height: 650px; padding-top: 88px; }
  .signal { opacity: .35; right: -15px; bottom: 36px; }
  .product { grid-template-columns: 1fr; gap: 48px; padding: 80px 0; }
  .camera-card { max-height: 600px; }
  .product-baby .vocab-card { order: 2; min-height: 480px; }
  .policy { padding-top: 72px; }
  footer { align-items: flex-start; gap: 18px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
