:root {
  --bg: #121418;
  --bg-2: #181b20;
  --surface: #1d2026;
  --line: #2c3037;
  --text: #ece9e3;
  --muted: #a4a7ad;
  --accent: #c89259;
  --accent-ink: #14161a;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 7vw, 76px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 650; text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--surface);
}
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); border-color: var(--accent); }
.nav-cta { color: var(--accent) !important; font-weight: 650; }

/* Hero */
.hero { padding: 96px 0 84px; }
.hero .verse { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.hero .verse cite { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(19px, 2.2vw, 22px); max-width: 680px; margin-bottom: 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 84px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(200, 146, 89, 0.12); color: var(--accent); margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps-more { margin: 22px 0 0; color: var(--muted); }
.steps li { counter-increment: step; border-top: 2px solid var(--accent); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; color: var(--accent); font-weight: 800; font-size: 30px; margin-bottom: 6px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; align-content: start; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.after-list { margin: 18px 0 0; }

/* Mission */
.mission blockquote { margin: 0 0 28px; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 20px; }
.mission blockquote cite { display: block; color: var(--muted); font-style: normal; font-size: 15px; margin-top: 6px; }
.lines { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.lines span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 650; }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); max-width: 760px; }

/* Closing */
.closing { text-align: center; }
.closing .lead { max-width: 620px; margin: 0 auto 28px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Policy pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin-top: 44px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.setup .summary a, .setup .summary strong { color: var(--text); }
.setup .callout { margin: 18px 0; }
.doc .summary.download .form { margin-top: 0; max-width: 420px; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin: 28px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 20px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; } .doc td { border-top: 0; padding: 2px 0; } .doc tr { border-top: 1px solid var(--line); padding: 10px 0; } }

/* Early access form (opens with #early-access, no script needed) */
.modal { display: none; position: fixed; inset: 0; z-index: 20; place-items: center; padding: 16px; }
.modal:target { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 11, 0.74); }
.modal-card { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px 26px; }
.modal-card h2 { font-size: 28px; margin-bottom: 8px; }
.modal-close { position: absolute; top: 10px; right: 12px; padding: 2px 10px; color: var(--muted); text-decoration: none; font-size: 30px; line-height: 1; border-radius: 8px; }
.modal-close:hover { color: var(--text); }
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form .optional { color: var(--muted); font-weight: 400; }
.form input { font: inherit; width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form button { font: inherit; font-weight: 650; cursor: pointer; margin-top: 4px; }
.form .fine { font-size: 14px; color: var(--muted); margin: 0; }
.form fieldset.as { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form fieldset.as legend { font-weight: 600; font-size: 15px; padding: 0; margin-bottom: 6px; }
/* Man / woman: two cards, each with a preview of that version's colors */
.form .choice { display: block; position: relative; cursor: pointer; font-weight: 600; }
.form .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; pointer-events: none; }
.choice-card { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 40px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); position: relative; transition: border-color .15s, box-shadow .15s; }
.choice-card::after { content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2px solid var(--muted); box-sizing: border-box; }
.choice-mark { width: 36px; height: 36px; flex: none; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.choice-name { font-size: 16px; line-height: 1.2; }
.form .choice:hover .choice-card { border-color: var(--muted); }
.form .choice input:checked + .choice-card { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.form .choice input:checked + .choice-card::after { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--bg); }
.form .choice input:focus-visible + .choice-card { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 480px) { .form fieldset.as { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Report form */
.lead-sm { font-size: 19px; color: var(--muted); max-width: 680px; }
.report-form { max-width: 640px; margin-top: 30px; gap: 18px; }
.form select, .form textarea { font: inherit; width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .field { display: grid; gap: 6px; }
.form input[type=file] { padding: 10px; font-size: 15px; }
.form input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.form .hint { font-size: 14px; color: var(--muted); margin: 0; }
.form .hint.bad { color: #e8a0a0; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--muted); }
.callout strong { color: var(--text); }
.form button:disabled { opacity: 0.7; cursor: progress; }

/* "For women" bar at the top of the page */
.audience-bar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.audience-bar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.audience-bar span { color: var(--muted); }
.audience-bar a { font-weight: 650; text-decoration: none; }
.audience-bar a:hover { text-decoration: underline; }

/* Eyes Forward for women: same layout, its own light, warm look */
body.women {
  --bg: #f8f3ee;
  --bg-2: #f2e9e1;
  --surface: #fffcf9;
  --line: #e4d7cb;
  --text: #2a2226;
  --muted: #6b5c61;
  --accent: #9c3f58;
  --accent-ink: #ffffff;
  color-scheme: light;
}
.women h1, .women h2, .women blockquote { font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
.women h1 { letter-spacing: -0.02em; }
.women .audience-bar { background: var(--text); border-bottom: 0; }
.women .audience-bar span { color: #d9cdd1; }
.women .audience-bar a { color: #f3b9a3; }
.women .hero { background: radial-gradient(900px 420px at 85% 10%, rgba(230, 167, 143, 0.28), transparent 70%), radial-gradient(700px 380px at 0% 100%, rgba(156, 63, 88, 0.10), transparent 70%); }
.women .card { box-shadow: 0 1px 2px rgba(42, 34, 38, 0.04), 0 8px 24px rgba(42, 34, 38, 0.05); }
.women .card .icon { background: rgba(156, 63, 88, 0.09); }
.women .btn { background: var(--surface); }
.women .btn-primary { background: var(--accent); color: var(--accent-ink); }
.women .modal-backdrop { background: rgba(42, 34, 38, 0.55); }
.women .not-alone { align-items: center; gap: 48px; }
.women .not-alone blockquote { margin: 0; padding: 30px 32px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; font-size: 22px; line-height: 1.45; }
.women .not-alone blockquote cite { display: block; color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-style: normal; font-size: 15px; margin-top: 10px; }
.women .lines span { background: var(--surface); }

/* The site for women: numbers from studies, what women say, and sources */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 20px; display: flex; flex-direction: column; }
.stat strong { display: block; font-size: 46px; line-height: 1; color: var(--accent); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 12px; font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
.stat p { margin: 0 0 14px; }
.stat .src { margin: auto 0 0; font-size: 13px; color: var(--muted); }
.stat .src a { color: inherit; }
.stats-note { margin-top: 22px; font-size: 15px; }
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; }
.pain h3 { margin: 0 0 8px; font-size: 20px; font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-weight: 600; }
.pain p { margin: 0; color: var(--muted); }
.pain p + p { margin-top: 10px; color: var(--text); }
.facts { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.facts li { padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.facts b { color: var(--accent); }
.sources ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.sources a { overflow-wrap: anywhere; }
.women .stat, .women .pain { box-shadow: 0 1px 2px rgba(42, 34, 38, 0.04), 0 8px 24px rgba(42, 34, 38, 0.05); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } .pains { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } .stat strong { font-size: 40px; } }
blockquote.quiet { margin: 22px 0 0; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 20px; }
blockquote.quiet cite { display: block; color: var(--muted); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-style: normal; font-size: 15px; margin-top: 6px; }
