/* QuietStrength Body — same family as quietstrength.uk: Jost, paper/ink,
   hairline rules, 12px uppercase eyebrows, full-screen mobile menu.
   Body's own accent is the app's plum (AccentTone) in place of the
   career site's orange. */

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/jost-variable-latin.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  --ink: #171714;
  --muted: #665f55;
  --paper: #f3f0e9;
  --surface: #e7e2d8;
  --line: #d4cec2;
  --accent: #7a2961;
  --accent-soft: #e9dde5;
  --white: #fff;
  --max: 1080px;
  --gutter: clamp(24px, 5vw, 76px);
  font-family: Jost, "Avenir Next", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; width: 100%; color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 1001; min-height: 72px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .06em; }
.brand-mark { width: 28px; height: 28px; border-radius: 6px; display: block; }
.brand span { color: var(--muted); font-weight: 500; letter-spacing: 0; }
#site-nav { display: flex; gap: 26px; font-size: 14px; }
#site-nav a { position: relative; text-decoration: none; font-weight: 500; }
#site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .15s ease; }
#site-nav a:hover::after, #site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0; border: none; background: none; cursor: pointer; position: relative; z-index: 1002; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  #site-nav { position: fixed; inset: 0; z-index: 1000; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
  #site-nav.is-open { opacity: 1; visibility: visible; }
  #site-nav a { padding: 14px 0; font-size: 28px; }
}

/* Layout */
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
section.band { padding: clamp(56px, 9vw, 104px) 0; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 750; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(40px, 7vw, 78px); line-height: .96; letter-spacing: -.035em; font-weight: 800; }
h2 { margin-bottom: 18px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.05; letter-spacing: -.025em; font-weight: 800; max-width: 22ch; }
h3 { margin-bottom: 6px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.lede { max-width: 620px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 2; } }

/* Hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 96px); }
.hero .lede { margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 650; text-decoration: none; background: var(--ink); color: var(--white); transition: background .15s ease; }
.button:hover { background: var(--accent); }
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fine { color: var(--muted); font-size: 14px; }

/* Product visual slots — real screenshots drop into assets/screens/ */
.shot { position: relative; margin: 0; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; aspect-ratio: 9 / 16; max-width: 340px; width: 100%; margin-inline: auto; box-shadow: 0 24px 60px rgba(23, 23, 20, .12); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot.is-missing img { display: none; }
.shot .pending { display: none; position: absolute; inset: 0; padding: 28px; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 13px; color: var(--muted); }
.shot.is-missing .pending { display: flex; }
.shot .pending strong { color: var(--ink); font-size: 15px; }
.shot .pending svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.shot .pending span { position: relative; }

/* Evidence cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .tag { display: block; margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.card li { padding: 4px 0 4px 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Compare slider */
.compare { position: relative; width: 100%; max-width: 380px; margin-inline: auto; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); touch-action: pan-y; user-select: none; }
.compare svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--white); box-shadow: 0 0 0 1px rgba(23,23,20,.15); pointer-events: none; }
.compare .handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within .handle::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.compare .lbl { position: absolute; top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: rgba(243,240,233,.85); padding: 3px 8px; border-radius: 4px; }
.compare .lbl.l { left: 12px; } .compare .lbl.r { right: 12px; }
.caption { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* Weight example */
.evidence { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 4vw, 36px); }
.evidence .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; }
.evidence .row:first-of-type { padding-top: 0; }
.evidence .arrow { color: var(--accent); font-weight: 800; white-space: nowrap; }
.evidence .obs { margin: 22px 0 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 6px 6px 0; font-size: 17px; }
.evidence .note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

/* Baseline strip */
.baseline { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.baseline svg { width: 100%; height: auto; display: block; }
.baseline .note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

/* Friction list */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 5vw, 64px); margin-top: 36px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px 0; border-top: 1px solid var(--line); }
.step p { margin: 0; color: var(--muted); }
.step h3 { margin-bottom: 4px; }
.future { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }

/* Principles */
.principles { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 5vw, 64px); }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }
.principles li { padding: 18px 0; border-top: 1px solid var(--line); }
.principles strong { display: block; font-size: 18px; margin-bottom: 2px; }
.principles span { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 4px; padding: 7px 14px; font-size: 14px; }

/* Pricing */
.price { text-align: center; }
.price h2 { margin-inline: auto; max-width: none; font-size: clamp(56px, 11vw, 112px); letter-spacing: -.04em; margin-bottom: 8px; }
.price .lede { margin-inline: auto; }
.price .cta-row { justify-content: center; margin-top: 28px; }

/* Footer */
footer.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer.site-footer a { color: inherit; }

/* Motion: reveal on scroll, switched off for reduced motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
