/* joinoneway.com — oneway public site (people with no facility tie).
   Tokens are the Softriver identity from BRAND.html + src/constants/brandThemes.ts
   (verified 2026-09-21): Deep Camel #A78347 = the workhorse, Soft Coffee #BF9A64 =
   lift/hover, app dark ground #12161C / surface #1B212A. "Gold is the only brand
   hue." Grey-Blue #8E9BA5 is a secondary NEUTRAL: text only, never a button/link/
   accent. SOS coral #E0705F is reserved for the 988 crisis affordance.
   Type: Outfit (kross's 2026-09-18 pick, replaces Geist). The wordmark is ONLY the
   official lockup SVG — never re-set "oneway" in a font.
   No inline styles/scripts anywhere: the CSP in _headers allows 'self' only. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-deep: #0D1116;
  --ground: #12161C;
  --surface: #1B212A;
  --surface-high: #232B36;
  --line: #2A3340;
  --text: #EEF2F7;
  --grey-blue: #8E9BA5;
  --camel: #A78347;
  --coffee: #BF9A64;
  --on-primary: #0D1116;
  --sos: #E0705F;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --max: 1120px;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ground); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: var(--coffee); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--coffee); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 10; background: var(--camel); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* the one sanctioned glow: faint gold, top-right. Painted as a BACKGROUND
   (not a positioned pseudo-element) because an element that pokes past the
   right edge makes the page scroll sideways (measured: +180px at 1280). */
body { background: var(--ground) radial-gradient(360px 360px at calc(100% - 180px) 120px, rgba(191,154,100,.16), rgba(167,131,71,.06) 55%, transparent 100%) no-repeat; }

/* header */
.site-head { padding: 22px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lockup { width: 148px; height: auto; }
.lockup-center { margin-left: auto; margin-right: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a.link { color: var(--grey-blue); text-decoration: none; font-size: 15.5px; font-weight: 400; padding: 10px 2px; }
.nav a.link:hover { color: var(--text); }

/* buttons: solid Deep Camel, dark text (5.3:1); hover lifts to Soft Coffee */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 500 16.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--camel); color: var(--on-primary); border: 1px solid var(--camel); }
.btn-primary:hover { background: var(--coffee); border-color: var(--coffee); color: var(--on-primary); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(238,242,247,.28); }
.btn-ghost:hover { border-color: var(--coffee); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15.5px; }

/* hero */
.hero { padding: 64px 0 88px; }
.pill { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--coffee); font-size: 13px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1.02; letter-spacing: -.025em; font-weight: 500; margin-top: 24px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--coffee); white-space: nowrap; }
.lede { color: var(--grey-blue); font-size: clamp(1.1rem, 2.6vw, 1.32rem); font-weight: 300; max-width: 34em; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fine { color: var(--grey-blue); font-size: 14.5px; margin-top: 18px; }

/* sections */
section { padding: 72px 0; }
.eyebrow { color: var(--coffee); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; margin-top: 12px; max-width: 20ch; }
.section-sub { color: var(--grey-blue); font-weight: 300; font-size: 1.1rem; max-width: 36em; margin-top: 16px; }
.grid { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px; }
.card p { color: var(--grey-blue); font-size: 16px; font-weight: 300; }
.card .num { color: var(--coffee); font-weight: 500; font-size: 14px; letter-spacing: .08em; margin-bottom: 14px; }
.card.sos { border-color: rgba(224,112,95,.45); }
.card.sos h3 { color: var(--sos); }

/* bridge */
.bridge { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 34px var(--gutter); }
.bridge h2 { max-width: 22ch; }
.bridge-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* faq */
.faq { margin-top: 36px; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-size: 1.12rem; font-weight: 500; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6rem; font-weight: 300; color: var(--coffee); line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { color: var(--grey-blue); font-weight: 300; padding: 0 44px 24px 0; }

/* crisis: SOS coral is reserved for 988 */
.crisis { background: var(--bg-deep); border: 1px solid var(--line); border-radius: 26px; padding: 30px var(--gutter); }
.crisis h2 { max-width: none; }
.crisis-grid { display: grid; gap: 12px; margin-top: 26px; grid-template-columns: 1fr; }
.crisis-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.crisis-item.primary { border-color: rgba(224,112,95,.5); }
.crisis-item .who { color: var(--grey-blue); font-size: 15px; font-weight: 300; }
.crisis-item .how { display: flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 1.25rem; font-weight: 500; color: var(--text); text-decoration: none; }
.crisis-item.primary .how { color: var(--sos); }
.crisis-item .how:hover { text-decoration: underline; }
.crisis-note { color: var(--grey-blue); font-size: 15px; margin-top: 20px; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.site-foot .lockup { width: 126px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; padding: 0; }
.foot-links a { color: var(--grey-blue); text-decoration: none; font-size: 15.5px; display: inline-block; padding: 10px 0; }
.foot-links a:hover { color: var(--text); text-decoration: underline; }
.legal { color: var(--grey-blue); font-size: 14px; margin-top: 26px; max-width: 70ch; }

.h1-gap { margin-top: 40px !important; }
.center { text-align: center; }
.center .lede, .center h1 { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .hero { padding: 96px 0 120px; }
  section { padding: 96px 0; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .bridge { padding: 52px; }
  .crisis { padding: 48px; }
  .crisis-grid { grid-template-columns: repeat(3, 1fr); }
  .lockup { width: 164px; }
}

@media (max-width: 560px) {
  .nav a.link { display: none; }
  .cta-row .btn { width: 100%; }
  .bridge-links .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
