/* Junkfoodselfie — Soft Orchid on the web.
   No external fonts, no scripts, no cookies: the page IS the privacy policy.

   LAYOUT SYSTEM
   · Spacing: 4px modular scale (--s1…--s10), fluid section rhythm.
   · Type: fluid scale, ~1.25 ratio between steps.
   · Phones: every dimension derives from one width token --pw; the screen
     aspect is the REAL capture ratio (1206×2622), so CSS mocks and actual
     screenshots are geometrically identical at any size.
   · Mobile: nav collapses to a zero-JS <details> dropdown at ≤720px.        */

:root {
  /* palette */
  --page-bg: #F9F8FC;
  --card-bg: #FFFFFF;
  --field-bg: #F1EEF8;
  --accent: #B39DDB;
  --accent-light: rgba(179, 157, 219, 0.16);
  --accent-soft: rgba(179, 157, 219, 0.08);
  --blush: #F48FB1;
  --text-primary: #311B92;
  --text-secondary: #7E57C2;
  --text-tertiary: #A493D1;
  --divider: #E8E4F2;
  --success: #4DA67A;

  /* spacing scale (4px base) */
  --s1: 4px;  --s2: 8px;   --s3: 12px;  --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px;  --s8: 64px;  --s9: 96px; --s10: 128px;
  --section-pad: clamp(var(--s7), 9vw, var(--s9));
  --gutter: clamp(20px, 5vw, 32px);
  --container: 1080px;

  /* type scale (fluid, ratio ≈ 1.25) */
  --text-xs:   0.75rem;                                /* 12 */
  --text-sm:   0.875rem;                               /* 14 */
  --text-base: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);/* 16–17 */
  --text-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl:   clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
  --text-2xl:  clamp(1.75rem, 1.4rem + 1.6vw, 2.375rem);
  --display:   clamp(2.375rem, 1.6rem + 3.8vw, 3.625rem);

  /* radii */
  --radius-sm: 14px; --radius: 22px; --radius-lg: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text-secondary); }

/* ── Nav ─────────────────────────────────────────────────────────── */

.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto;
  padding: var(--s5) var(--gutter);
}
.nav-wordmark { height: 32px; display: block; }
.nav-links { display: flex; gap: var(--s5); }
.nav-links a, .nav-dropdown a {
  color: var(--text-secondary); text-decoration: none;
  font-weight: 600; font-size: var(--text-sm); white-space: nowrap;
}
.nav-links a:hover { color: var(--text-primary); }

/* Zero-JS mobile menu */
.nav-menu { display: none; position: relative; }
.nav-menu summary {
  list-style: none; cursor: pointer;
  display: grid; gap: 5px; padding: var(--s3);
  border-radius: var(--radius-sm); border: 1px solid var(--divider);
  background: var(--card-bg);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text-secondary);
}
.nav-menu[open] summary { background: var(--accent-light); border-color: var(--accent); }
.nav-dropdown {
  position: absolute; right: 0; top: calc(100% + var(--s2)); z-index: 50;
  min-width: 190px; display: grid; gap: var(--s2);
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: var(--radius-sm); padding: var(--s4);
  box-shadow: 0 16px 40px rgba(49, 27, 146, 0.14);
}
.nav-dropdown a { padding: var(--s2) var(--s3); border-radius: 10px; font-size: var(--text-base); }
.nav-dropdown a:hover { background: var(--accent-soft); color: var(--text-primary); }

/* ── Phone (all geometry derives from --pw) ─────────────────────── */

.phone {
  --pw: min(300px, 80vw);
  width: var(--pw); position: relative; margin: 0 auto;
  padding: calc(var(--pw) * 0.037);
  border-radius: calc(var(--pw) * 0.175);
  background: #17171a;
  box-shadow:
    0 0 0 2.5px #48484e,
    0 0 0 4.5px #0c0c0e,
    inset 0 0 4px rgba(255, 255, 255, 0.10),
    0 calc(var(--pw) * 0.10) calc(var(--pw) * 0.24) rgba(49, 27, 146, 0.25);
}
.phone::before {  /* volume buttons */
  content: ""; position: absolute; left: calc(var(--pw) * -0.018); top: 23%;
  width: calc(var(--pw) * 0.011); height: calc(var(--pw) * 0.085);
  border-radius: 2px; background: #3c3c42;
  box-shadow: 0 calc(var(--pw) * 0.12) 0 #3c3c42, 0 calc(var(--pw) * 0.24) 0 #3c3c42;
}
.phone::after {   /* power button */
  content: ""; position: absolute; right: calc(var(--pw) * -0.018); top: 31%;
  width: calc(var(--pw) * 0.011); height: calc(var(--pw) * 0.19);
  border-radius: 2px; background: #3c3c42;
}
.phone img, .phone .screen {
  width: 100%;
  border-radius: calc(var(--pw) * 0.14);
  aspect-ratio: 1206 / 2622;
}
.phone img { display: block; object-fit: cover; }

/* CSS-mock screen (shield) — all inner sizes in em, scaled from --pw */
.screen {
  position: relative; overflow: hidden;
  background: #1a191f; color: #EFEDE8;
  display: flex; flex-direction: column;
  font-size: calc(var(--pw) * 0.0455);
}
.screen .statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9em 1.5em 0.3em; font-size: 0.8em; font-weight: 700; opacity: 0.9;
}
.screen .statusbar .notch { width: 5.4em; height: 1.5em; background: #000; border-radius: 999px; }
.screen.shield {
  background: radial-gradient(120% 90% at 20% 0%, #2c4230 0%, #131217 55%),
              radial-gradient(80% 60% at 90% 100%, #443023 0%, transparent 60%), #131217;
}
.screen.shield .blob { position: absolute; border-radius: 50%; filter: blur(2em); opacity: 0.45; }
.screen.shield .blob.a { width: 9.6em; height: 9.6em; background: #4e8a52; top: 4.4em; left: -2.2em; }
.screen.shield .blob.b { width: 8.1em; height: 8.1em; background: #8a5b2e; bottom: 6.7em; right: -1.8em; }
.shield-body {
  position: relative; flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 0 1.9em; gap: 0.75em;
}
.shield-icon {
  width: 4.6em; height: 4.6em; border-radius: 1.35em; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.10); font-size: 1em; margin-bottom: 0.3em;
}
.shield-icon::before { content: "🔒"; font-size: 2em; }
.shield-body h4 { font-size: 1.4em; font-weight: 800; letter-spacing: -0.01em; }
.shield-body p { font-size: 0.95em; opacity: 0.75; line-height: 1.45; }
.shield-ok {
  margin-top: 1em; background: rgba(255, 255, 255, 0.14);
  padding: 0.65em 2.5em; border-radius: 999px; font-weight: 700; font-size: 1.05em;
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  max-width: var(--container); margin: 0 auto;
  padding: var(--s7) var(--gutter) var(--section-pad);
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: var(--s7); align-items: center;
}
.proof-chip {
  display: inline-block; background: var(--accent-light); color: var(--text-primary);
  border: 1px solid var(--divider); border-radius: 999px;
  padding: var(--s2) var(--s4); font-size: var(--text-xs); font-weight: 700;
  text-decoration: none; margin-bottom: var(--s4);
}
.proof-chip:hover { border-color: var(--accent); }
.hero h1 { font-size: var(--display); line-height: 1.06; letter-spacing: -0.02em; font-weight: 800; }
.hero .sub { margin-top: var(--s4); font-size: var(--text-lg); color: var(--text-secondary); max-width: 46ch; }
.cta-row { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.badge-soon {
  display: inline-block; background: var(--text-primary); color: #fff;
  padding: var(--s3) var(--s5); border-radius: 999px;
  font-weight: 700; font-size: var(--text-base);
}
.notify-link {
  font-weight: 700; font-size: var(--text-sm); color: var(--text-secondary);
  text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.notify-link:hover { color: var(--text-primary); }
.hero .fine { margin-top: var(--s3); font-size: var(--text-xs); color: var(--text-tertiary); }

/* Hero duo — back phone is 0.78× the front, offset by fixed ratios */
.hero-phones { position: relative; display: grid; place-items: center; }
.hero-phones .phone-front { --pw: min(280px, 72vw); position: relative; z-index: 2; }
.hero-phones .phone-back {
  --pw: min(218px, 56vw); position: absolute; z-index: 1;
  transform: translateX(-52%) rotate(-9deg);
}

/* ── Sections ────────────────────────────────────────────────────── */

section { max-width: var(--container); margin: 0 auto; padding: var(--section-pad) var(--gutter) 0; }
section:last-of-type { padding-bottom: var(--section-pad); }
.section-kicker {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: var(--text-xs);
  font-weight: 800; color: var(--text-tertiary); margin-bottom: var(--s2);
}
section h2 { font-size: var(--text-2xl); letter-spacing: -0.015em; margin-bottom: var(--s3); }
section .lead { color: var(--text-secondary); font-size: var(--text-lg); max-width: 60ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s6); }
.card {
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: var(--s5);
}
.card .step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--accent-light); color: var(--text-secondary);
  font-weight: 800; font-size: var(--text-lg); margin-bottom: var(--s3);
}
.card h3 { font-size: var(--text-lg); margin-bottom: var(--s2); }
.card p { color: var(--text-secondary); font-size: var(--text-sm); }

/* ── Feature phones row ─────────────────────────────────────────── */

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s7); }
.feature { text-align: center; }
.feature .phone { --pw: min(248px, 74vw); }
.feature h3 { margin-top: var(--s5); font-size: var(--text-lg); }
.feature p {
  margin-top: var(--s2); color: var(--text-secondary);
  font-size: var(--text-sm); max-width: 30ch; margin-inline: auto;
}

/* ── Science ─────────────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s6); }
.stat {
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: var(--s5) var(--s4); text-align: center;
}
.stat .big { font-size: var(--text-2xl); font-weight: 850; letter-spacing: -0.02em; line-height: 1; }
.stat .big.blush { color: var(--blush); }
.stat .big.lavender { color: var(--text-secondary); }
.stat p { margin-top: var(--s3); color: var(--text-secondary); font-size: var(--text-sm); }
.stat .src { margin-top: var(--s3); font-size: var(--text-xs); color: var(--text-tertiary); }
.stat .src a { color: var(--text-tertiary); }

/* ── Savings band ────────────────────────────────────────────────── */

.band {
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: var(--s7) var(--s6);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center;
}
.band .money { font-size: var(--display); font-weight: 850; line-height: 1.1; }
.band .money small { font-size: var(--text-lg); font-weight: 600; color: var(--text-secondary); display: block; }
.band p { color: var(--text-secondary); }
.band .fine { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: var(--s3); }

/* ── Privacy strip ───────────────────────────────────────────────── */

.privacy-strip { text-align: center; }
.privacy-strip .pills { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; margin-top: var(--s5); }
.pill {
  background: var(--accent-light); color: var(--text-primary);
  border-radius: 999px; padding: var(--s2) var(--s4);
  font-weight: 700; font-size: var(--text-sm);
}

/* ── CTA band ────────────────────────────────────────────────────── */

.cta-band {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-soft)), var(--card-bg);
  border: 1px solid var(--divider); border-radius: var(--radius);
  padding: var(--s8) var(--s6); text-align: center;
}
.cta-band h2 { margin-bottom: var(--s2); }
.cta-band p { color: var(--text-secondary); font-size: var(--text-lg); }
.cta-band .cta-row { margin-top: var(--s5); justify-content: center; }

/* ── FAQ ─────────────────────────────────────────────────────────── */

.faq details {
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: var(--radius-sm); padding: var(--s4) var(--s5); margin-top: var(--s3);
}
.faq summary { font-weight: 700; cursor: pointer; font-size: var(--text-base); }
.faq details p { margin-top: var(--s2); color: var(--text-secondary); font-size: var(--text-sm); }

/* ── Footer ──────────────────────────────────────────────────────── */

.footer {
  max-width: var(--container); margin: var(--s7) auto 0;
  padding: var(--s6) var(--gutter) var(--s7);
  border-top: 1px solid var(--divider);
  font-size: var(--text-sm); color: var(--text-secondary); text-align: center;
}
.footer p + p { margin-top: var(--s2); }
.footer .muted { color: var(--text-tertiary); font-size: var(--text-xs); }
.age-tag {
  display: inline-block; border: 1.5px solid var(--text-secondary);
  border-radius: 6px; padding: 0 6px; font-weight: 800; font-size: var(--text-xs);
}

/* ── Legal document pages ────────────────────────────────────────── */

.doc { max-width: 760px; margin: 0 auto; padding: var(--s5) var(--gutter) var(--s8); }
.doc h1 { font-size: var(--text-2xl); margin: var(--s4) 0 var(--s2); letter-spacing: -0.015em; }
.doc h2 { font-size: var(--text-xl); margin: var(--s6) 0 var(--s3); }
.doc p { margin: var(--s3) 0; color: var(--text-secondary); }
.doc p strong, .doc li strong { color: var(--text-primary); }
.doc ul { margin: var(--s3) 0 var(--s3) var(--s5); color: var(--text-secondary); }
.doc li { margin: var(--s2) 0; }
.doc hr { border: none; border-top: 1px solid var(--divider); margin: var(--s6) 0; }
.doc table {
  width: 100%; border-collapse: collapse; margin: var(--s4) 0;
  background: var(--card-bg); border: 1px solid var(--divider);
  border-radius: var(--radius-sm); overflow: hidden; font-size: var(--text-sm);
}
.doc td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--divider); vertical-align: top; }
.doc td:first-child { font-weight: 700; width: 38%; color: var(--text-primary); }
.doc td:last-child { color: var(--text-secondary); }
.doc tr:last-child td { border-bottom: none; }

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: var(--s5); }
  .hero .sub { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-phones { margin-top: var(--s4); }
  .hero-phones .phone-back { display: none; }
  .cards, .stats { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: var(--s7); }
  .band { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
}
@media (max-width: 560px) {
  .cards, .stats { grid-template-columns: 1fr; }
  .nav-wordmark { height: 26px; }
  .cta-band { padding: var(--s6) var(--s5); }
}
