/* ─────────────────────────────────────────────────────────────────
   BizTranslation family — shared site styles (2026 redesign)
   Used by: index.html, you-are-the-harness.html
   Matches the product covers: deep navy, warm gold, white, real photos.
   ───────────────────────────────────────────────────────────────── */

:root {
  --navy:      #0B1B33;
  --navy-2:    #142A4D;
  --navy-3:    #1F3A66;
  --ink:       #0B1B33;
  --ink-2:     #2B3A55;
  --muted:     #5B6880;
  --paper:     #FFFFFF;
  --mist:      #F3F5F9;
  --sky:       #E7EEF8;
  --rule:      #DCE2EC;
  --gold:      #E3B04B;
  --gold-dk:   #B98A2C;
  --gold-soft: #FBEFD3;
  --money:     #12805C;
  --redpen:    #D64545;
  --white:     #FFFFFF;

  /* legacy names still used by the Harness page */
  --highlight: var(--gold);
  --highlight-soft: var(--gold-soft);
  --money-dk:  #0C5E43;

  --sans:  'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--sans);
  --body:    var(--sans);
  --voice:   var(--sans);

  --measure: 64ch;
  --gutter:  clamp(16px, 4vw, 40px);
  --wrap:    1200px;
  --r-lg:    22px;
  --r-md:    14px;
  --shadow:  0 24px 60px -24px rgba(11, 27, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1em; }

/* ── Type ─────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; margin-bottom: .5em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; margin-bottom: .35em; letter-spacing: -.015em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.small { font-size: .9rem; color: var(--muted); }

/* the two voices: what you say now, what business hears */
.said { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--redpen); text-decoration-thickness: 2px; }
.mark { background: linear-gradient(transparent 55%, var(--gold-soft) 55%); padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 1.08rem; line-height: 1.15;
  padding: 1rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-buy { background: var(--gold); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(185, 138, 44, .9); }
.btn-buy:hover { background: #EDBE5E; }
.btn-free { background: var(--navy); color: var(--white); }
.btn-free:hover { background: var(--navy-3); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-wide { width: 100%; }
.btn small { font-weight: 500; font-size: .85rem; opacity: .85; }

/* ── Nav ──────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 27, 51, .92); backdrop-filter: blur(12px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.brand { font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -.02em; color: var(--white); }
.brand span { color: var(--gold); }
.topbar nav { display: flex; align-items: center; gap: 1.6rem; font-size: .95rem; }
.topbar nav a { text-decoration: none; color: rgba(255,255,255,.82); }
.topbar nav a:hover { color: var(--white); }
.topbar nav a.btn-buy { color: var(--navy); padding: .6rem 1.1rem; font-size: .95rem; box-shadow: none; }
@media (max-width: 860px) { .topbar nav a:not(.btn) { display: none; } }

/* ── Sections ─────────────────────────────────────────────────── */
.band { padding: clamp(4rem, 8vw, 7rem) 0; }
.band-mist { background: var(--mist); }
.band-ink { background: var(--navy); color: var(--white); }
.band-ink .lede, .band-ink .small { color: #C3CCDB; }
.band-ink .said { color: #9AA8BF; }
.band-ink .mark { color: var(--navy); background: var(--gold); padding: 0 .2em; border-radius: 4px; }

.kicker { font-size: .95rem; font-weight: 700; color: var(--gold-dk); margin-bottom: .7rem; }
.band-ink .kicker { color: var(--gold); }

/* ── Footer ───────────────────────────────────────────────────── */
.foot { background: var(--navy); color: #AEB9CB; padding: 2.5rem 0 6rem; font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.foot a { color: var(--white); }
.foot b { color: var(--white); }

/* ── Copy box (prompt) ────────────────────────────────────────── */
.copybox { position: relative; background: var(--navy); color: #E8EDF4; border-radius: var(--r-md); padding: 1.4rem 1.4rem 4.2rem; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .95rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.copybox button { position: absolute; right: 1rem; bottom: 1rem; font-family: var(--sans); font-weight: 700; font-size: 1rem; background: var(--gold); color: var(--navy); border: 0; border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer; }
.copybox button[data-done] { background: var(--money); color: var(--white); }
