/* OPUS landing page. Style matches the promo video (opus-promo v2). */
:root {
  --paper: #f2f0ea;
  --ink: #121214;
  --cobalt: #2d5bff;
  --yellow: #ffd640;
  --mint: #7fe3b8;
  --orange: #ff8a3d;
  --pink: #ffadc6;
  --sky: #8fb4ff;
  --lilac: #c4b5fd;
  --white: #ffffff;
  --muted: #55555f;
  --bubble: #e9e9ee;
  --error: #d92d20;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --line: 4px;
  --shadow: 8px 8px 0 var(--ink);
  --radius: 22px;
  --gutter: 20px;
  --maxw: 1160px;
}
@media (min-width: 760px) {
  :root { --line: 5px; --shadow: 12px 12px 0 var(--ink); --gutter: 40px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* ---------- Type ---------- */
.label {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.75;
  margin: 0 0 18px;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 11vw, 96px); }
h2 { font-size: clamp(36px, 8.5vw, 72px); margin-bottom: 28px; }
h3 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.hl {
  display: inline-block;
  background: var(--cobalt);
  color: var(--white);
  padding: 0 0.14em 0.08em;
  line-height: 1;
}
.hl.ink { background: var(--ink); }
.lede { font-size: 20px; line-height: 1.45; max-width: 34ch; margin: 20px 0 0; }
@media (min-width: 760px) { .lede { font-size: 23px; } .label { font-size: 15px; } }

/* ---------- Cards and buttons ---------- */
.card {
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 14px 30px;
  font: 600 20px/1 var(--sans);
  letter-spacing: -0.02em;
  color: var(--white);
  background: var(--cobalt);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn.small { min-height: 44px; padding: 8px 18px; font-size: 16px; box-shadow: 4px 4px 0 var(--ink); border-width: 3px; }

/* ---------- Header ---------- */
.site-head { padding: 16px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 600; font-size: 30px; letter-spacing: -0.05em; }
.logo img { width: 38px; height: 38px; margin-right: 1px; image-rendering: auto; }

/* ---------- Sections ---------- */
section { padding: 72px 0; position: relative; }
@media (min-width: 760px) { section { padding: 110px 0; } }
.bg-paper { background: var(--paper); }
.bg-mint { background: var(--mint); }
.bg-yellow { background: var(--yellow); }
.bg-sky { background: var(--sky); }
.bg-lilac { background: var(--lilac); }
.bg-pink { background: var(--pink); }
.bg-cobalt { background: var(--cobalt); }
.section-intro { max-width: 640px; font-size: 20px; margin: -8px 0 40px; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) {
  .hero { padding: 40px 0 120px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}
.acro { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: #8a8a94; margin: 0 0 20px; }
.acro b { color: var(--ink); font-weight: 700; }
@media (min-width: 760px) { .acro { font-size: 15px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.chips li::after { content: "·"; margin-left: 8px; }
.chips li:last-child::after { content: ""; }

/* ---------- Video ---------- */
.video-col { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: var(--line) solid var(--ink);
  border-radius: 40px;
  box-shadow: var(--shadow);
  background: var(--ink);
  overflow: hidden;
}
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-stack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(100%, 360px); }
.sound-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  font: 600 17px/1 var(--sans);
  color: var(--white);
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--cobalt);
  cursor: pointer;
  white-space: nowrap;
}
.sound-btn[aria-pressed="true"] { background: var(--cobalt); box-shadow: 4px 4px 0 var(--ink); }
.sound-btn svg { width: 20px; height: 20px; }
.deco { position: absolute; pointer-events: none; }
.deco-ring1 { width: 50px; top: -14px; right: 4%; }
.deco-ring2 { width: 50px; top: 30%; right: -6px; }
.deco-wave { width: 166px; left: -60px; bottom: -56px; }
@media (max-width: 959px) { .deco-wave { left: auto; right: -6px; bottom: -34px; width: 100px; } }

/* ---------- Form ---------- */
.form-card { padding: 24px 20px 22px; margin-top: 32px; max-width: 560px; }
@media (min-width: 760px) { .form-card { padding: 32px 32px 26px; } }
.form-title { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 4px; }
.form-sub { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.field { margin: 0 0 14px; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: 16px; margin: 0 0 6px; padding: 0; }
.opt { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
input[type="email"], input[type="text"] {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  font: 500 18px/1.2 var(--sans);
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
}
input[type="email"]:focus, input[type="text"]:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.25); }
input[aria-invalid="true"] { border-color: var(--error); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px 6px;
  font-weight: 600; font-size: 16px;
  border: 3px solid var(--ink); border-radius: 999px; background: var(--white);
  transition: background 0.1s ease;
}
.seg input:checked + span { background: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.4; margin: 4px 0 18px; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--cobalt); cursor: pointer; }
.form-card .btn { width: 100%; }
.privacy-line { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.privacy-line a { color: var(--ink); }
.error-msg { display: none; margin: 0 0 12px; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--error); background: #fff1f0; border: 2px solid var(--error); border-radius: 12px; }
.error-msg.show { display: block; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: none; text-align: center; padding: 10px 0 6px; }
.thanks img { width: 124px; margin: 0 auto 8px; }
.thanks h3 { font-size: 34px; }
.thanks p { margin: 10px 0 0; color: var(--muted); }
.form-card.done form { display: none; }
.form-card.done .thanks { display: block; }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { padding: 22px 20px 24px; display: flex; flex-direction: column; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: var(--line) solid var(--ink); background: var(--white);
  font-weight: 600; font-size: 24px; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step > p { margin: 0 0 18px; color: var(--muted); }
.screen { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #f7f7f9; border: 3px solid var(--ink); border-radius: 22px; }
.callbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: var(--white); font-weight: 600; font-size: 15px; border-radius: 14px; }
.callbar svg { width: 18px; height: 18px; color: #2ee08a; flex: none; }
.bub { max-width: 88%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.3; font-weight: 500; }
.bub small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 3px; }
.bub.them { align-self: flex-start; background: var(--bubble); border-bottom-left-radius: 6px; }
.bub.them small { color: var(--cobalt); }
.bub.you { align-self: flex-end; background: var(--cobalt); color: var(--white); border-bottom-right-radius: 6px; }
.bub.you small { color: rgba(255, 255, 255, 0.8); }
.done-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; background: var(--ink); color: var(--white); border-radius: 999px; font-weight: 600; font-size: 15px; }
.done-pill b { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #2ee08a; color: var(--ink); font-size: 14px; }

/* ---------- Use cases ---------- */
.uses { display: grid; gap: 24px; }
@media (min-width: 700px) { .uses { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.use { padding: 22px 20px 24px; display: grid; grid-template-columns: 1fr 100px; gap: 6px 14px; align-items: start; }
@media (min-width: 760px) { .use { padding: 28px 28px 30px; grid-template-columns: 1fr 140px; } }
.use .tag { grid-column: 1 / -1; justify-self: start; font-family: var(--mono); font-size: 13px; font-weight: 700; padding: 4px 10px; border: 3px solid var(--ink); border-radius: 999px; }
.use .say { font-size: 26px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 8px; }
.use .result { margin: 0; color: var(--muted); }
.use img { width: 100%; grid-row: 2 / span 2; grid-column: 2; align-self: center; }

/* ---------- Every day ---------- */
.daily { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .daily { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1000px) { .daily { grid-template-columns: repeat(4, 1fr); } }
.daily li { padding: 22px 20px; }
.daily .ico { width: 52px; height: 52px; border-radius: 14px; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.daily .ico svg { width: 28px; height: 28px; }
.daily h3 { font-size: 24px; margin-bottom: 6px; }
.daily p { margin: 0; color: var(--muted); }

/* ---------- Safe by design ---------- */
.safe { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .safe { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.safe li { padding: 22px 20px; display: flex; gap: 16px; align-items: flex-start; }
.safe .num { flex: none; font-family: var(--mono); font-weight: 700; font-size: 14px; padding: 6px 10px; background: var(--ink); color: var(--white); border-radius: 10px; }
.safe h3 { font-size: 24px; margin-bottom: 6px; }
.safe p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; max-width: 820px; }
.faq details { padding: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 20px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; background: var(--ink); color: var(--white); }
.faq .ans { padding: 0 20px 22px; margin-top: -4px; }
.faq .ans p { margin: 0 0 10px; }
.faq .ans p:last-child { margin: 0; }
.faq .ans ul { margin: 0; padding-left: 20px; }

/* ---------- Final CTA ---------- */
.final { text-align: left; overflow: hidden; }
.final-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .final-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.final h2 { color: var(--white); }
.final .lede { color: var(--white); }
.final .label { color: var(--white); }
.final .hl { background: var(--ink); }
.final-mascot { width: 166px; margin: 8px 0 0; }
@media (min-width: 960px) { .final-mascot { width: 249px; } }
.final .form-card { margin-top: 0; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--white); padding: 48px 0 40px; }
.site-foot .wrap { display: grid; gap: 22px; }
@media (min-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.foot-brand { font-family: var(--mono); font-weight: 700; font-size: 22px; letter-spacing: 0.12em; margin: 0; }
.foot-tag { font-family: var(--mono); font-size: 14px; color: #a9a9b4; margin: 6px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.foot-links a { color: var(--white); text-underline-offset: 3px; }
.foot-copy { font-size: 14px; color: #a9a9b4; margin: 0; grid-column: 1 / -1; }

/* ---------- Privacy page ---------- */
.doc { padding: 32px 0 80px; }
.doc .card { padding: 26px 22px; max-width: 760px; }
@media (min-width: 760px) { .doc .card { padding: 40px 44px; } }
.doc h1 { font-size: clamp(40px, 9vw, 64px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; letter-spacing: -0.03em; margin: 30px 0 8px; }
.doc p, .doc li { font-size: 17px; }
.doc ul { padding-left: 22px; }
.final-mascot { background: var(--paper); border: var(--line) solid var(--ink); border-radius: 50%; padding: 14px; box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  max-width: 460px;
  padding: 18px 18px 16px;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
}
.consent[hidden] { display: none; }
@media (min-width: 760px) { .consent { left: 24px; bottom: 24px; right: auto; padding: 22px 24px 20px; } }
.consent-title { margin: 0 0 4px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.consent-text { margin: 0 0 14px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.consent-text a { color: var(--ink); }
.consent-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btns .btn { flex: 1 1 auto; }
.btn.ghost { background: var(--white); color: var(--ink); }
