/* RooPouch landing — brand tokens.
   Light is the primary look; dark mode mirrors it so the page does not glare
   at night. Every colour is defined once here and only re-declared inside the
   dark block. */
:root {
  --paper: #f8f5ef;
  --surface: #ffffff;
  --ink: #21182d;
  --ink-soft: #5c5360;
  --muted: #675f69;
  --line: #d9d0cf;
  --chip: #e9e3df;
  --coral: #ed7359;
  --coral-deep: #a73727;
  --focus: #be412f;
  --on-dark: #ffffff;
  --on-dark-soft: #d4cbd9;
  --accent-on-dark: #ffa48e;
  --band: #21182d;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17121e;
    --surface: #221a2c;
    --ink: #f4efe9;
    --ink-soft: #c3bac9;
    --muted: #a79fae;
    --line: #3a3145;
    --chip: #2e2639;
    --coral: #ed7359;
    --coral-deep: #ff9d84;
    --focus: #ff9d84;
    --band: #2a2036;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Figtree, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.skip {
  position: absolute; left: 20px; top: -100px; z-index: 10;
  background: var(--surface); color: var(--ink);
  padding: 12px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 4px; }

/* ---------- header ---------- */
header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; font-size: 25px; font-weight: 800; letter-spacing: -1px;
  line-height: 1;
}
.brand img { object-fit: contain; }
.nav-link { font-size: 14px; font-weight: 600; text-underline-offset: 5px; }

/* ---------- hero ---------- */
.hero { display: grid; gap: 32px; padding: 44px 0; }
.eyebrow {
  font-size: 12px; letter-spacing: 2px; font-weight: 800;
  text-transform: uppercase; margin: 0 0 18px;
}
h1 {
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.03; letter-spacing: -0.055em; font-weight: 800;
  margin: 0 0 26px;
}
h1 span { color: var(--coral-deep); }
.lead { font-size: 19px; line-height: 1.55; max-width: 30ch; margin: 0 0 30px; }

.primary {
  display: inline-flex; align-items: center; gap: 20px;
  min-height: 56px; padding: 16px 26px;
  border-radius: 100px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600;
  transition: background-color .18s ease, transform .18s ease;
}
.primary:hover { background: #463251; }
.primary:active { transform: translateY(1px); }
.primary .arrow { font-size: 22px; line-height: 1; }
.availability { font-size: 14px; color: var(--muted); margin: 16px 0 0; }

/* Store buttons. Text-only on purpose: Apple and Google both require their
   own official badge artwork, so these are sized to be swapped for it 1:1
   rather than being a redrawn imitation of it. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 168px; min-height: 56px;
  padding: 8px 20px;
  border: 1.5px solid var(--ink); border-radius: 14px;
  text-decoration: none; color: var(--ink); background: transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.store-top {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
}
.store-name { font-size: 18px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.2; }
.store:hover { background: var(--ink); color: var(--paper); }
.store:hover .store-top { color: var(--paper); opacity: .75; }
.store[data-soon] { cursor: default; opacity: .72; }
.store[data-soon]:hover { background: transparent; color: var(--ink); }
.store[data-soon]:hover .store-top { color: var(--muted); opacity: 1; }

.stores.on-dark { margin: 22px 0; }
.stores.on-dark .store { border-color: rgba(255,255,255,.45); color: var(--on-dark); }
.stores.on-dark .store-top { color: var(--on-dark-soft); }
.stores.on-dark .store:hover { background: var(--on-dark); color: var(--band); border-color: var(--on-dark); }
.stores.on-dark .store[data-soon]:hover { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,.45); }
.stores.on-dark .store[data-soon]:hover .store-top { color: var(--on-dark-soft); }

.product {
  position: relative; margin: 0; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 0 0;
}
.halo {
  position: absolute; top: 17%; z-index: -1;
  width: 100%; max-width: 520px; aspect-ratio: 1;
  border-radius: 50%; background: var(--coral);
}
.phone {
  width: min(270px, 75vw);
  border: 7px solid var(--ink); border-radius: 33px;
  overflow: hidden; background: var(--paper);
  box-shadow: 12px 20px 0 rgba(33, 24, 45, 0.12);
  transform: rotate(4deg);
}
figcaption { font-size: 12px; color: var(--muted); margin-top: 25px; text-align: center; }

/* ---------- benefits ---------- */
.benefits {
  display: grid; gap: 26px; padding: 32px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.number { font-size: 13px; font-weight: 800; color: var(--coral-deep); }
.benefits h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.6px; margin: 9px 0 10px; }
.benefits p { margin: 0; color: var(--ink-soft); }

/* ---------- how ---------- */
.how { display: grid; gap: 30px; padding: 65px 0; }
.how h2, .beta h2, .privacy h2 {
  font-size: clamp(30px, 4vw, 48px); line-height: 1.12;
  letter-spacing: -1.7px; margin: 0;
}
.how-note { color: var(--muted); font-size: 15px; margin: 16px 0 0; max-width: 34ch; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 25px; }
.how li { display: flex; gap: 20px; }
.how li > span {
  display: grid; place-items: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--chip); font-weight: 700;
}
.how h3 { margin: 2px 0 5px; font-size: 19px; }
.how li p { margin: 0; color: var(--ink-soft); }

/* ---------- privacy ---------- */
.privacy { padding: 0 0 65px; }
.privacy h2 { margin-bottom: 24px; }
.facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.facts li {
  position: relative; padding-left: 30px; color: var(--ink-soft); max-width: 62ch;
}
.facts li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral);
}
.facts strong { color: var(--ink); }
.text-link { font-weight: 600; text-underline-offset: 5px; }

/* ---------- beta band ---------- */
.beta {
  background: var(--band); color: var(--on-dark);
  border-radius: 24px; padding: 30px 24px;
  display: flex; align-items: flex-start; gap: 20px;
}
.beta > img { display: none; background: var(--paper); border-radius: 25px; padding: 12px; }
.beta .eyebrow { color: var(--accent-on-dark); }
.beta h2 { font-size: 34px; }
.beta p { max-width: 670px; }
.beta .small { font-size: 14px; color: var(--on-dark-soft); margin-bottom: 0; }

/* ---------- footer ---------- */
footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px;
  padding: 35px 0; font-size: 13px; color: var(--muted);
}
footer .brand { color: var(--ink); font-size: 20px; }
footer p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-underline-offset: 4px; }
.copy { margin-left: auto; }

/* ---------- article pages ---------- */
.doc { padding: 10px 0 60px; max-width: 68ch; }
.doc h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.doc h2 { font-size: 22px; letter-spacing: -0.4px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc a { text-underline-offset: 4px; }

/* ---------- responsive ---------- */
@media (min-width: 760px) {
  .wrap { width: min(1160px, calc(100% - 80px)); }
  header { padding-top: 28px; }
  .hero {
    grid-template-columns: 1.15fr 1fr; align-items: center;
    gap: 50px; padding: 40px 0 70px;
  }
  .product { padding: 12px 12px 0; }
  .phone { width: 265px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 40px 0; }
  .how { grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 85px; }
  .privacy { padding-bottom: 85px; }
  .beta { padding: 44px; gap: 32px; align-items: center; }
  .beta > img { display: block; flex-shrink: 0; }
  .beta h2 { font-size: 44px; }
}
@media (min-width: 1060px) {
  .hero { min-height: 690px; }
  .phone { width: 280px; }
}
@media (max-width: 360px) {
  .brand { font-size: 22px; }
  .nav-link { font-size: 12px; }
  .primary { padding-inline: 18px; font-size: 15px; }
  .beta h2 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
