/* =========================================================
   Baseworth — shared brand layer for the marketing site.
   Loaded by home / valuation / cim / pricing.
   The app (sellready.html) keeps its own inline styles.
   ========================================================= */

:root {
  /* --- brand ------------------------------------------------------------
     --brand is the one token that decides the whole site's character.
     #16302a is the deep green already used by the CIM the customer
     downloads, so the site and the product read as one company.
     The wireframe's navy is kept below — swap the two lines to try it. */
  --brand:        #16302a;   /* wireframe navy alternative: #1b2b44 */
  --brand-deep:   #0f231e;
  --brand-soft:   #9bb0a3;

  --gold:         #a9803f;   /* the single action colour — CTAs only */
  --gold-dark:    #8a6830;
  --gold-tint:    #f7f1e4;   /* the upsell band */

  --ink:          #16241d;
  --soft:         #5c6a5f;
  --bg:           #eef1ea;
  --white:        #ffffff;
  --border:       #d5d9cf;
  --border-dark:  #2a453d;

  --wrap:         1080px;
  --radius:       2px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3.4vw, 30px); }
h3 { font-size: 18px; }
p  { margin: 0 0 14px; }
a  { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Mono is the label voice throughout — eyebrows, field labels, fine print.
   Carried over from the report so the two never look like separate products. */
.mono, .eyebrow, .field-label, .fineprint, .stepkicker {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.fineprint { font-size: 12px; color: var(--soft); line-height: 1.55; }
.lede { font-size: 17px; color: var(--soft); max-width: 46ch; }

/* ---------- header ---------- */
.site-header { background: var(--brand); color: var(--bg); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
/* The BaseWorth lockup: the stepped Riser mark beside the name. The mark is
   inline SVG filled with currentColor, so it takes the text colour on any
   background. Proportions follow the logo artwork — the "B" stands about 72%
   of the mark's height, centred on it, with a gap of about two thirds of that. */
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em;
  font-size: 22px; line-height: 1; text-decoration: none; white-space: nowrap;
}
.logo-mark { width: 23px; height: 22px; fill: currentColor; flex: none; }
.site-nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.site-nav a {
  font-size: 14px; text-decoration: none; color: var(--bg); opacity: 0.85;
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { opacity: 1; }
.site-nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--gold); }

/* ---------- buttons ----------
   Gold is reserved for the action that makes money. Everything else is
   outlined or plain, so on any given screen exactly one thing looks
   clickable at a glance. */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: var(--radius);
  font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  letter-spacing: 0.06em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s;
}
.btn-gold      { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover{ background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline   { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ink       { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.btn-ink:hover { background: var(--brand-deep); }
.btn-sm        { padding: 9px 16px; font-size: 12px; }

/* ---------- surfaces ---------- */
.band        { padding: 56px 0; }
.band-white  { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-tint   { background: var(--gold-tint); border-top: 1px solid #e8dcc2; border-bottom: 1px solid #e8dcc2; }
.card        { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- legal / prose pages (about, privacy, terms) ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 15px; color: var(--soft); }
.legal ul { padding-left: 0; list-style: none; margin: 0 0 14px; }
.legal li { padding-left: 18px; position: relative; margin-bottom: 8px; }
.legal li::before { content: "›"; position: absolute; left: 0; color: var(--gold); }
.legal strong { color: var(--ink); }
.legal a { color: var(--gold-dark); }
.updated {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--soft);
  border-bottom: 1px solid var(--border); padding-bottom: 16px;
}
/* Marks wording that still needs a decision only the owner can make — a state,
   an entity name, a retention period. Loud on purpose: a policy shipped with a
   square bracket still in it is worse than no policy at all. */
.needs-you {
  background: #fdf6e6; border: 1px dashed var(--gold); padding: 12px 15px;
  border-radius: var(--radius); margin: 14px 0;
}
.needs-you p { margin: 0; font-size: 13px; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand); color: var(--bg); padding: 44px 0 36px; }
.site-footer a { color: var(--brand-soft); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--bg); margin: 0 0 12px; font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-blurb { color: var(--brand-soft); font-size: 14px; max-width: 30ch; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 12px; }
  .site-nav { gap: 18px; margin-left: 0; width: 100%; }
  /* The header CTA has nowhere to go at this width and was being clipped
     mid-word. It is redundant on a phone anyway — the hero button sits a
     thumb's width below it. */
  .site-nav .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .band { padding: 40px 0; }
}
