/* ronna.mom: one dark look, per the Brand desk sheet (8 Oct 2026) and UX's
   waitlist design (12:58 CT, 8 Oct): carbon ground, Archivo display,
   IBM Plex Mono numbers, white action, gold on the word MOM only.
   Fonts are self-hosted so the site makes no third-party requests. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;   /* trimmed to the range the site uses (issue #12) */
  font-stretch: 100% 125%;
  src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"),
       url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
}

:root {
  --ground: #171A20;   /* carbon, per UX's waitlist design */
  --surface: #1F232A;  /* card lift on carbon; derived here, UX to confirm */
  --line: #2A2D33;     /* hairline separators (decorative) */
  --edge: #6A707A;     /* secondary outline, field edges: 3.5:1 on carbon */
  --dim: #A6AAB1;
  --ink: #FFFFFF;      /* ink and the one action color */
  --mom: #B5964D;      /* gold belongs to MOM alone */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 16px;
  --max: 1080px;
  color-scheme: dark;
}

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

html, body { background: var(--ground); color: var(--ink); }
body {
  margin: 0;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--dim); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--ground); padding: 8px 12px;
}
.skip:focus { left: 8px; top: 8px; z-index: 10; }

/* Text for screen readers only. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Header: mark A (the element tile, small-size cut) plus "RonnaOps" in mixed case. */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 24px;
  padding-block: 18px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-stretch: 125%;
  font-size: 20px; letter-spacing: .01em;
  text-decoration: none;
}
.wordmark .tile { display: block; width: 32px; height: 32px; flex: none; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; color: var(--dim);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Type */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--dim); margin: 0;
}
h1, h2 { font-weight: 700; font-stretch: 125%; letter-spacing: .02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 8vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(22px, 4vw, 30px); line-height: 1.15; font-weight: 600; font-stretch: 112%; }
p { margin: 0; color: var(--dim); max-width: 62ch; }
.lede { font-size: clamp(18px, 2.4vw, 21px); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.literal { text-transform: none; } /* code stays as typed, e.g. 1e27 */
.mom { color: var(--mom); font-weight: 700; font-stretch: 125%; letter-spacing: .12em; }

/* Placeholder copy marker, so nobody mistakes draft text for final. */
.copy-tag {
  font-family: var(--mono); font-size: .7em; font-weight: 500;
  letter-spacing: .08em; color: var(--dim);
  border: 1px dashed var(--line); border-radius: 3px;
  padding: 0 .35em; vertical-align: .15em; white-space: nowrap;
  font-stretch: 100%;
}

/* Sections */
.hero { padding-block: clamp(56px, 12vw, 128px) clamp(40px, 8vw, 88px); }
.hero .stack { display: flex; flex-direction: column; gap: 20px; }
.section { border-top: 1px solid var(--line); padding-block: clamp(40px, 7vw, 72px); }
.section .stack { display: flex; flex-direction: column; gap: 16px; }

.grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
.card h3 { margin: 0; font-size: 18px; font-weight: 600; font-stretch: 112%; color: var(--ink); }

/* One action color: white. */
.btn {
  display: inline-block; align-self: flex-start;
  font: inherit; font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 4px; border: 0;
  background: var(--ink); color: var(--ground);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--dim); color: var(--ground); }
/* Secondary: outlined in #6A707A. Text stays white, since #6A707A text on
   carbon (3.5:1) would fail the 4.5:1 text rule. */
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--edge); padding: 12px 23px; }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
/* Field edge uses --edge: WCAG 1.4.11 wants 3:1 for a field's boundary;
   #6A707A is 3.5:1 on carbon and 3.2:1 on the surface. Focus adds white. */
.field input {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--edge); border-radius: 4px; padding: 12px 14px; width: 100%;
}
.field input::placeholder { color: var(--dim); opacity: 1; }
.field input:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.notice {
  font-family: var(--mono); font-size: 13px; color: var(--dim);
  border-left: 2px solid var(--line); padding-left: 12px;
}
.notice[hidden] { display: none; }

/* ---- Waitlist main page (UX design, 12:58 CT) ---- */

.hero--full {
  min-height: min(78vh, 760px); display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero--full .wrap { width: 100%; }
/* Hero photo (CPO order, 9 Oct, Tomer 15:02): self-hosted, Unsplash License.
   A layer behind the hero (::before) carries the photo; 1000 px file on phones. Wide screens: the photo
   fills the hero with a carbon shade on the text side. Up to 1024 px: the
   photo is a band across the top that fades into the ground, and the text
   sits below it. tests/browser_check.mjs measures every hero text element
   against the brightest pixel behind it. */
.hero--photo { position: relative; isolation: isolate; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--ground);
  background-image: var(--hero-shade), var(--hero-img);
  background-size: cover, var(--hero-size, cover);
  background-position: center, var(--hero-pos, center);
  background-repeat: no-repeat;
}
.hero--photo {
  --hero-img: url(/assets/hero/home-2000.webp);
  --hero-pos: 70% center;
  --hero-shade: linear-gradient(90deg, rgba(23, 26, 32, .96) 0%, rgba(23, 26, 32, .93) 50%, rgba(23, 26, 32, .6) 74%, rgba(23, 26, 32, .35) 100%);
}
@media (min-width: 1025px) {
  /* Keep the text column on the shaded side, whatever the copy's length. */
  .hero--photo .wrap > * { max-width: min(36rem, 46vw); }
}
@media (max-width: 1024px) {
  .hero--photo {
    --band: clamp(200px, 52vw, 440px);
    --hero-size: cover;
    --hero-pos: 62% 45%;
    --hero-shade: linear-gradient(180deg, rgba(23, 26, 32, .1) 0%, rgba(23, 26, 32, .25) 60%, rgba(23, 26, 32, 1) 100%);
    min-height: 0;
    align-items: flex-start;
    padding-top: calc(var(--band) + 8px);
  }
  .hero--photo::before { bottom: auto; height: var(--band); }
}
@media (max-width: 760px) {
  .hero--photo { --hero-img: url(/assets/hero/home-1000.webp); }
}

.photo-credit { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--dim); margin-top: 4px; }

.pending {
  font-family: var(--mono); font-size: 13px; color: var(--dim);
  border: 1px dashed var(--edge); border-radius: 3px; padding: 4px 8px; align-self: flex-start;
}

.facts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.facts li { border-top: 1px solid var(--edge); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fact-num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(20px, 5vw, 40px); line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; }
.fact-label { color: var(--dim); font-size: 14px; line-height: 1.4; }

.shelf {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
@media (min-width: 760px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shelf .card { padding: 12px; gap: 8px; }
.shelf .card h3 { font-size: 16px; }
.shelf .card p { font-size: 14px; }
.ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 8px;
  border: 1px dashed var(--edge); border-radius: 3px; background: var(--ground);
}
.ph-label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); text-align: center; }

.join .step { display: flex; flex-direction: column; gap: 16px; }
.join .step[hidden] { display: none; }
.join .step:focus { outline: none; }
/* Human-check slot sized for Cloudflare Turnstile: "normal" is 300 x 65;
   under a 300 px column (phones below 332 px) it becomes "compact",
   150 x 140. Nothing loads into it until the CISO rules. */
.slot {
  width: 300px; height: 65px; display: flex; align-items: center; justify-content: center; padding: 8px;
  border: 1px dashed var(--edge); border-radius: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); text-align: center;
}
@media (max-width: 331px) { .slot { width: 150px; height: 140px; } }
.fine { font-size: 14px; }
.place-num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(40px, 10vw, 72px); line-height: 1; color: var(--ink); }

.never { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.never li { display: grid; grid-template-columns: 32px 1fr; color: var(--dim); max-width: 62ch; }
/* A short rule, drawn, so no em dash character anywhere (mom/21 v1.2). */
.never li::before { content: ""; width: 18px; height: 1px; margin-top: .75em; background: var(--ink); }

.keeper-line {
  font-weight: 700; font-stretch: 125%; letter-spacing: .02em; text-wrap: balance;
  font-size: clamp(22px, 4.5vw, 40px); line-height: 1.15; color: var(--ink); max-width: 28ch;
}

.ten27 { font-family: var(--mono); font-size: 13px; color: var(--dim); max-width: none; }
.ten27 .num { color: var(--ink); font-variant-numeric: tabular-nums; margin-right: .5em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--dim); }
.foot-links a:hover { color: var(--ink); }

/* Steps on the flow pages: one visible at a time, whatever display a step has. */
.step[hidden], [data-step][hidden] { display: none !important; }
.step:focus { outline: none; }

/* Honeypot: out of sight, out of the tab order and the accessibility tree. */
.hp { display: none !important; }

/* Rule 69.8: the two-line notice above the button (and rule 74.2's on /family/). */
.keep {
  font-size: 14px; line-height: 1.5; color: var(--dim);
  border-left: 2px solid var(--edge); padding-left: 12px; max-width: 62ch;
}
.referral { font-size: 14px; color: var(--dim); }
.invited { font-size: clamp(18px, 2.4vw, 21px); color: var(--dim); }
.invited strong { color: var(--ink); font-weight: 700; font-stretch: 112%; }

.btn--small { font-size: 14px; padding: 8px 14px; }
.code-input { font-family: var(--mono) !important; letter-spacing: .08em; text-transform: uppercase; }

/* /family/ */
.new-code {
  border: 1px dashed var(--ink); border-radius: 4px; padding: 16px; max-width: 480px;
}
.new-code:focus { outline: 2px solid var(--ink); outline-offset: 3px; }
.new-code-text { font-family: var(--mono); font-weight: 500; font-size: clamp(20px, 5.5vw, 28px); letter-spacing: .06em; color: var(--ink); margin: 0; }
.codes-title { font-size: 20px; margin-top: 12px; }
.codes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.codes li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 8px;
  font-family: var(--mono); font-size: 14px; color: var(--dim);
}

/* /confirm/: a member's invite codes, shown once */
.member-codes { border: 1px dashed var(--ink); border-radius: 4px; padding: 16px; max-width: 520px; }
.member-codes .codes li { flex-wrap: wrap; }
.member-codes .new-code-text { font-size: clamp(17px, 4.6vw, 22px); }

/* /how-mom-works/: the chat loop, five steps with made-up examples (W-05(1)) */
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 720px; }
.loop-step { border-top: 1px solid var(--edge); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.loop-step h3 { margin: 0; font-size: 22px; font-weight: 700; font-stretch: 112%; color: var(--ink); }
.chat { margin: 4px 0 0; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 4px; display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.chat-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.chat p { margin: 0; color: var(--ink); }
.chat-you::before { content: "You: "; color: var(--dim); }
.chat-mom::before { content: "MOM: "; color: var(--mom); }
.chat-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.chat-go { font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 3px; background: var(--ink); color: var(--ground); }
.coming { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--edge); border-radius: 3px; padding: 2px 6px; }

/* /how/: three steps */
.how-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.how-step { border-top: 1px solid var(--edge); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.how-num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(36px, 7vw, 56px); line-height: 1; color: var(--ink); }
.how-step h3 { margin: 0; font-size: 22px; font-weight: 700; font-stretch: 112%; color: var(--ink); }

/* /privacy/: draft banner for the CISO */
.review {
  align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); border: 1px dashed var(--ink); border-radius: 3px; padding: 6px 10px;
}

/* 404: the 1e27 easter egg, large, with one line under it. */
.egg {
  font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums;
  font-size: clamp(96px, 26vw, 288px); line-height: .9; letter-spacing: -.02em;
  color: var(--ink); margin: 0; max-width: none;
}
.egg-line { font-size: clamp(20px, 3vw, 28px); font-weight: 600; font-stretch: 112%; letter-spacing: .01em; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 24px;
  font-family: var(--mono); font-size: 12px; color: var(--dim);
}

/* Print: browsers drop backgrounds when printing, which would leave white
   text on white paper. Print black on white and drop what can't be used. */
@media print {
  :root { color-scheme: light; }
  html, body { background: #FFFFFF; color: #000000; }
  .skip, .nav, .btn, .notice, .slot { display: none !important; }
  .hero--full { min-height: 0; }
  .hero--photo { padding-top: 24px !important; }
  .hero--photo::before { display: none !important; }
  .ph { background: none; }
  body * { color: #000000 !important; }
  .site-head, .section, .site-foot { border-color: #999999; }
  .card { background: none; border-color: #999999; break-inside: avoid; }
  .field input { background: #FFFFFF; color: #000000; border-color: #000000; }
  .hero { padding-block: 24px; }
  .section { padding-block: 24px; }
  h1 { font-size: 32pt; }
}
