/* BusinessClarity360 site v1 — shared styles. Daniel (Webmaster), 21 Oct 2026.
   Brand kit (W-001): Ink Navy #0E1118, Ivory #F1EDE4, Clarity Gold #B6984B (decoration only),
   bronze #6F5A22 for small gold-toned text on ivory. Playfair Display headlines, Inter body.
   Tool pages use Grace's provisional "BC360 Tools" tokens (body.tool), swappable here. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-latin.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #0E1118;
  --ivory: #F1EDE4;
  --gold: #B6984B;      /* decoration only: rules, ring, borders */
  --bronze: #6F5A22;    /* small text on ivory, 5.7:1 */
  --muted: #4A4F5C;     /* 7.0:1 on ivory */
  --paper: #FFFFFF;
  --line: #D8D1C2;
  --focus: #6F5A22;
  --radius: 10px;
  --wrap: 68rem;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--ivory); padding: .75rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 42rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); margin-top: 0; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.eyebrow {
  font: 600 .8125rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 .75rem;
}
.rule { width: 3rem; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.25rem; }

/* Header */
.site-head { background: var(--ink); color: var(--ivory); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.brand { font: 700 1.125rem/1 var(--serif); text-decoration: none; color: var(--ivory); display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 0; }
.brand svg { width: 1.35rem; height: 1.35rem; flex: none; }
.site-nav { display: flex; gap: 1.1rem; font-size: .9375rem; }
.site-nav a { color: var(--ivory); text-decoration: none; padding: .75rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }
.site-head :focus-visible { outline-color: var(--gold); }
@media (max-width: 30rem) { .site-nav .opt { display: none; } }

/* Sections */
section { padding: 3.5rem 0; }
.hero { padding: 3.25rem 0 2.75rem; }
.band-ink { background: var(--ink); color: var(--ivory); }
.band-ink .lead, .band-ink .muted { color: #C9C4B8; }   /* 10.6:1 on ink */
.band-ink .eyebrow { color: var(--ivory); }
.band-ink :focus-visible { outline-color: var(--gold); }
.band-paper { background: var(--paper); }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }

/* Buttons: min 48px tap target */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .8rem 1.4rem; border-radius: var(--radius);
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); background: var(--ink); color: var(--ivory);
}
.btn:hover { background: #262B36; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(14,17,24,.06); }
.band-ink .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.band-ink .btn:hover { background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-block { width: 100%; }

/* Pathway cards */
.paths { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 52rem) { .paths { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column;
}
.card h3 { font-size: 1.6rem; }
.card ul { padding-left: 1.2rem; margin: 0 0 1.25rem; }
.card li { margin-bottom: .4rem; }
.card .btn-row { margin-top: auto; padding-top: .5rem; }
.tag { font: 600 .8125rem/1 var(--sans); color: var(--bronze); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }

/* Lists and steps */
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .8rem;
  border: 2px solid var(--gold); border-radius: 50%;
}
.steps { display: grid; gap: 1rem; grid-template-columns: 1fr; padding: 0; list-style: none; margin: 1.5rem 0 0; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.steps .t { font: 700 .875rem/1 var(--sans); color: var(--bronze); letter-spacing: .06em; display: block; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.steps strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: .25rem; }

.grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.facts li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; font-size: .9375rem; }
.facts b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: .25rem; }

.price { font: 700 2.5rem/1 var(--serif); margin: .5rem 0; }
.price small { font: 400 1rem var(--sans); color: var(--muted); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 600; min-height: 2rem; list-style-position: outside; }
details p { margin: .75rem 0 0; color: var(--muted); }

/* Sticky mobile CTA (sales pages) */
.sticky-cta {
  position: sticky; bottom: 0; z-index: 5; background: var(--ink); color: var(--ivory);
  padding: .65rem 1.25rem calc(.65rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}
.sticky-cta .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); min-height: 2.75rem; padding: .6rem 1.1rem; }
.sticky-cta :focus-visible { outline-color: var(--gold); }
@media (min-width: 60rem) { .sticky-cta { display: none; } }

/* Legal pages */
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.draft-flag { background: #FFF4D6; border: 2px solid var(--bronze); border-radius: var(--radius); padding: .9rem 1rem; font-weight: 600; margin-bottom: 1.5rem; }

/* Footer */
.site-foot { background: var(--ink); color: #C9C4B8; padding: 2.25rem 0 2.5rem; font-size: .9375rem; }
.site-foot a { color: var(--ivory); }
.site-foot :focus-visible { outline-color: var(--gold); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: .75rem 0; }
.site-foot nav a { padding: .5rem 0; display: inline-block; }
.site-foot p { margin: .35rem 0; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  .site-head, .site-foot, .sticky-cta, .no-print, .skip { display: none !important; }
  body { background: #fff; }
}

/* Jack 21 Oct: Playfair defaults to old-style figures ("360" drops below the line). Lining figures everywhere it is used (same fix as the carousel, Grace Z-001). */
h1, h2, h3, h4, .brand, .logo, [class*="brand"], .price { font-variant-numeric: lining-nums proportional-nums; font-feature-settings: "lnum" 1, "pnum" 1; }
