/* ============================================================
   SICA — Company Website v0.2 (visual upgrade pass)
   Design system: controlled POWER register, engineering-premium
   surfaces (Linear / BMW / NVIDIA grade), blueprint-grid motif.
   Palette:
     navy  #0B1220  (dark bg)      navy-2 #101A2E (lifted panel)
     cream #F5F2EA  (light bg)     cream-alt #EFE9DC (alt section)
     gold  #D9A441  (accent on dark)  gold-strong #A87A1F (on light)
     ink   #1F2430  (body text on light — dark charcoal)
   Copy, register content and structure are unchanged from v0.
   ============================================================ */

:root {
  --navy: #0B1220;
  --navy-2: #101A2E;
  --navy-3: #16233C;
  --cream: #F5F2EA;
  --cream-alt: #EFE9DC;
  --gold: #D9A441;
  --gold-bright: #E8BC63;
  --gold-strong: #A87A1F;   /* gold with contrast on light bg */
  --gold-tint: rgba(217, 164, 65, 0.13);
  --gold-line: rgba(217, 164, 65, 0.45);
  --grey: #9AA7B8;          /* secondary text on dark only */
  --ink: #1F2430;           /* body text on light */
  --ink-soft: #46536A;      /* secondary text on light */
  --ink-faint: #5C6A7E;
  --line: #DDD6C6;          /* hairline on light bg */
  --line-dark: #24304A;     /* hairline on dark bg */
  --card: #FFFFFF;
  --card-dark: #131E33;
  --green: #3E7C4F;
  --green-text: #8ACB96;
  --green-tint: rgba(62, 124, 79, 0.14);
  --green-line: rgba(138, 203, 150, 0.45);
  --red: #B34A4A;
  --red-text: #E09A9A;
  --red-tint: rgba(179, 74, 74, 0.14);
  --red-line: rgba(224, 154, 154, 0.45);

  --radius: 12px;
  --radius-lg: 14px;
  --radius-btn: 10px;
  --maxw: 1080px;

  /* layered elevation */
  --shadow-1: 0 1px 2px rgba(11, 18, 32, 0.05), 0 4px 14px rgba(11, 18, 32, 0.06);
  --shadow-2: 0 2px 4px rgba(11, 18, 32, 0.06), 0 10px 28px rgba(11, 18, 32, 0.10);
  --shadow-dark-1: 0 1px 2px rgba(0, 0, 0, 0.30), 0 6px 20px rgba(0, 0, 0, 0.28);
  --shadow-dark-2: 0 2px 4px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.38);
  --shadow-gold: 0 1px 2px rgba(11, 18, 32, 0.22), 0 6px 18px rgba(217, 164, 65, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* type scale — proportional steps */
  --fs-h1: clamp(2.4rem, 5.5vw, 4rem);
  --fs-h2: clamp(1.75rem, 3.4vw, 2.5rem);
  --fs-h3: clamp(1.18rem, 2.1vw, 1.45rem);
  --fs-h4: 1.05rem;
  --fs-body: 1.0625rem;     /* 17px */
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.78rem;

  --font-power: "Futura Condensed ExtraBold", "Futura", "Futura-Bold",
                "Impact", "Haettenschweiler", "Rockwell Bold", "Rockwell",
                "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, "Segoe UI", sans-serif;

  /* blueprint grid motif (fine 1px lines, ~5% opacity) */
  --grid-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23F5F2EA' stroke-opacity='0.05'/%3E%3C/svg%3E");
  --grid-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%230B1220' stroke-opacity='0.045'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: var(--fs-body);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: rgba(217, 164, 65, 0.35); }

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

/* ---------- Type scale ---------- */
/* POWER register, controlled: sentence case, tight tracking, no shout */
h1, h2, h3, h4, .power {
  font-family: var(--font-power);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 65ch;
  line-height: 1.6;
}

/* Wedge line: one statement per section. POWER, gold, sentence case. */
.wedge {
  font-family: var(--font-power);
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--gold-strong);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  margin: 0 0 1.1rem;
}
section.block.dark .wedge { color: var(--gold); }

/* Eyebrow: one style everywhere — small gold uppercase, wide tracking */
.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-eyebrow);
  color: var(--gold-strong);
  margin-bottom: 1rem;
}
section.block.dark .kicker, .hero .kicker { color: var(--gold); }

.muted { color: var(--ink-faint); }
section.block.dark .muted, .hero .muted { color: var(--grey); }
.small { font-size: var(--fs-small); }

/* Content links (not buttons): quiet underline that warms on hover */
section a:not(.btn), .placeholder a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
section a:not(.btn):hover, .placeholder a:hover {
  color: var(--gold-strong);
  text-decoration-color: var(--gold-strong);
}
section.block.dark a:not(.btn):hover { color: var(--gold); }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { height: 40px; width: 40px; object-fit: cover; border-radius: 8px; }
.brand .name {
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  color: var(--cream);
}
.brand .sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

nav.menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
nav.menu a {
  position: relative;
  text-decoration: none;
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 6px;
  transition: color 0.18s var(--ease);
}
/* underline animation */
nav.menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s var(--ease);
}
nav.menu a:hover { color: var(--gold); }
nav.menu a:hover::after { transform: scaleX(1); }
nav.menu a.active { color: var(--gold); }
nav.menu a.active::after { transform: scaleX(1); }
nav.menu a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  font-size: 1.3rem;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.98rem;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), filter 0.18s var(--ease);
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* primary — solid gold with depth and a subtle sheen */
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 55%, #CE9838 100%);
  color: var(--navy);
  border-color: rgba(11, 18, 32, 0.14);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 2px 4px rgba(11, 18, 32, 0.24), 0 10px 26px rgba(217, 164, 65, 0.38);
}
.btn-gold:active { transform: translateY(0); filter: brightness(0.98); }

/* secondary — ghost, visibly subordinate */
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: rgba(217, 164, 65, 0.5);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(217, 164, 65, 0.08);
}
.btn-ghost:active { transform: translateY(0); }

/* ---------- Hero (dark, blueprint motif) ---------- */
.hero {
  position: relative;
  background-color: var(--navy);
  /* faint radial gold glow behind the headline + fine grid */
  background-image:
    radial-gradient(720px 460px at 24% 34%, rgba(217, 164, 65, 0.08), transparent 68%),
    var(--grid-dark);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 7.5rem) 0;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.hero .kicker { color: var(--gold); margin-bottom: 1.4rem; }
/* thin gold rule under the eyebrow */
.hero .kicker::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 14px;
  background: var(--gold);
}
.hero h1 {
  color: var(--cream);
  margin-bottom: 1.2rem;
  max-width: 26ch;
}
.hero .hook {
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);
  color: rgba(245, 242, 234, 0.92);
  max-width: 46ch;
  margin-bottom: 0;
  line-height: 1.55;
}
.hero .motto {
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 1.8rem 0 2.2rem;
}
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: clamp(4rem, 8vw, 7rem) 0; }
section.block.alt { background: var(--cream-alt); }
section.block.dark {
  background-color: var(--navy);
  background-image: var(--grid-dark);
  color: var(--cream);
}
section.block.dark .lead { color: var(--grey); }

.section-head { margin-bottom: 2.4rem; max-width: 72ch; }
.section-head h2 { color: var(--ink); margin-bottom: 0.7rem; }
section.block.dark .section-head h2 { color: var(--cream); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-1);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-2);
}
section.block.alt .card { background: #FFFFFF; }
section.block.dark .card {
  background: var(--card-dark);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-dark-1);
}
section.block.dark .card:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow-dark-2);
}

.card h3 { color: var(--ink); margin-top: 2px; }
section.block.dark .card h3 { color: var(--cream); }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
section.block.dark .card p { color: var(--grey); }

/* card lead row: icon tile + optional badge */
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-strong);
}
.card-icon svg { width: 22px; height: 22px; display: block; }
section.block.dark .card-icon { color: var(--gold); }

/* numbered lead (alternative to an icon tile) */
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  font-family: var(--font-power);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--gold-strong);
}
section.block.dark .card-num { color: var(--gold); }

/* ---------- Badges (pills) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.68rem;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  align-self: flex-start;
  white-space: nowrap;
}
/* AVAILABLE — gold-tinted fill */
.tag.available {
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-strong);
}
/* IN BUILD — neutral outline */
.tag.build {
  background: transparent;
  border: 1px solid #B9C2CF;
  color: var(--ink-faint);
}
section.block.dark .tag.build { border-color: #46587A; color: #9FB2CE; }
/* DESIGNED — neutral outline, quieter */
.tag.designed {
  background: transparent;
  border: 1px solid #C6CCD6;
  color: #7A8698;
}
section.block.dark .tag.designed { border-color: #3C4C6C; color: #8296B4; }
/* ASPIRATIONAL — outline */
.tag.aspirational {
  background: transparent;
  border: 1px solid #B9AFCF;
  color: #7A6BA0;
}
/* LIVE — navy fill with gold dot */
.tag.live {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--cream);
}
.tag.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.25);
}

/* Legend */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-1);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
section.block.dark .legend {
  background: var(--card-dark);
  border-color: var(--line-dark);
  color: var(--grey);
  box-shadow: var(--shadow-dark-1);
}
.legend b {
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Proof strip ---------- */
.proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background-color: var(--navy);
  background-image:
    radial-gradient(560px 320px at 12% 20%, rgba(217, 164, 65, 0.07), transparent 70%),
    var(--grid-dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-dark-1);
}
.proof > div:first-child { max-width: 640px; }
.proof .label {
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
/* gold LIVE pill inside the proof label */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
  padding: 5px 12px;
}
.live-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}
.proof .date { color: var(--grey); font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat {
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: left;
  box-shadow: var(--shadow-dark-1);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.stat:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-dark-2);
}
.stat .num {
  font-family: var(--font-power);
  font-size: 2.3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.stat .num.pending {
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  padding-top: 8px;
  color: var(--gold);
  opacity: 0.92;
}
.stat .metric { font-weight: 600; color: var(--cream); font-size: 0.98rem; margin-bottom: 6px; }
.stat .def { color: var(--grey); font-size: 0.85rem; line-height: 1.55; margin-bottom: 0; }
.stats-note { margin-top: 20px; color: var(--grey); font-size: 0.85rem; }

/* ---------- Architecture diagram ---------- */
.diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: 30px 0 10px;
  padding: 34px 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background-color: rgba(16, 26, 46, 0.6);
  background-image: var(--grid-dark);
  box-shadow: var(--shadow-dark-1);
}
/* the main chain fits one row; the outcome row sits below it deliberately */
.diagram-chain {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
}
.diagram-outcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.outcome-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--grey);
  padding-right: 4px;
}
.node {
  background: var(--card-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 20px 22px;
  min-width: 158px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  box-shadow: var(--shadow-dark-1);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.node:hover {
  transform: translateY(-2px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-dark-2);
}
.node .role {
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
  font-size: 1.02rem;
  line-height: 1.15;
}
.node .note { color: var(--grey); font-size: 0.75rem; line-height: 1.45; }
.node.signer { border-color: var(--gold-line); }
.node.signer .role { color: var(--gold); }
/* arrows with chevrons */
.arrow {
  align-self: center;
  color: var(--gold);
  padding: 0 12px;
  user-select: none;
  display: flex;
  align-items: center;
}
.arrow svg { width: 22px; height: 22px; display: block; }
/* outcome row — Approved / Vetoed side by side under an explicit label */
.diagram-outcome .node { min-width: 150px; padding: 16px 18px; }
.diagram-outcome .node.approved {
  background: var(--green-tint);
  border-color: var(--green-line);
}
.diagram-outcome .node.approved .role { color: var(--green-text); }
.diagram-outcome .node.approved:hover { border-color: var(--green-text); }
.diagram-outcome .node.vetoed {
  background: var(--red-tint);
  border-color: var(--red-line);
}
.diagram-outcome .node.vetoed .role { color: var(--red-text); }
.diagram-outcome .node.vetoed:hover { border-color: var(--red-text); }

/* ---------- Placeholder block — "under seal" ---------- */
.placeholder {
  position: relative;
  border: 1.5px dashed var(--gold-line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  background: rgba(217, 164, 65, 0.05);
  color: var(--ink-soft);
}
section.block.dark .placeholder { color: var(--grey); background: rgba(217, 164, 65, 0.04); }
.placeholder .ph-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-strong);
  margin-bottom: 10px;
  font-size: 1.02rem;
}
section.block.dark .placeholder .ph-title { color: var(--gold); }
.placeholder .ph-lock {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold-strong);
}
section.block.dark .placeholder .ph-lock { color: var(--gold); }
.placeholder p:not(.ph-title) { max-width: 72ch; font-size: 0.96rem; }
.placeholder code, .placeholder pre { color: inherit; }

/* Code snippet */
pre.code {
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 26px;
  overflow-x: auto;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: var(--shadow-dark-1);
}
pre.code .k { color: var(--gold); }
pre.code .c { color: var(--grey); }
.code-caption { margin-top: 10px; color: var(--ink-faint); font-size: 0.82rem; }
section.block.dark .code-caption { color: var(--grey); }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
section.block.dark .faq { border-top-color: var(--line-dark); }
.faq-item { border-bottom: 1px solid var(--line); }
section.block.dark .faq-item { border-bottom-color: var(--line-dark); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 44px 22px 2px;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
  position: relative;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--gold-strong); }
section.block.dark .faq-q { color: var(--cream); }
section.block.dark .faq-q:hover { color: var(--gold); }
.faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
/* rotating chevron */
.faq-q::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq-item.open .faq-q::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a-inner {
  padding: 0 2px 24px;
  color: var(--ink-soft);
  max-width: 72ch;
}
section.block.dark .faq-a-inner { color: var(--grey); }

/* ---------- Tables ---------- */
table.price {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
table.price th, table.price td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.95rem;
}
table.price th {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  background: #F6F1E5;
  font-size: 0.74rem;
}
table.price tr:last-child td { border-bottom: none; }
table.price td.amt { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.price tbody tr { transition: background-color 0.15s ease; }
table.price tbody tr:hover { background: rgba(217, 164, 65, 0.05); }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-1);
}
.contact-line { margin-bottom: 14px; font-size: 1.02rem; }
.contact-line b { color: var(--ink); }
.contact-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 18px; }
/* form fields (inline styles set geometry; this adds polish + focus) */
.field {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field:focus, .field:focus-visible {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.22);
}

/* ---------- Footer (dark, refined) ---------- */
footer.site {
  background-color: var(--navy);
  background-image: var(--grid-dark);
  color: var(--grey);
  padding: 64px 0 44px;
  border-top: 1px solid rgba(217, 164, 65, 0.35); /* gold hairline */
}
footer.site .foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
footer.site .foot-brand { max-width: 340px; }
footer.site .foot-brand img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
footer.site .motto {
  font-family: var(--font-power);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
footer.site .foot-brand .small { color: var(--grey); }
footer.site nav.foot-links {
  columns: 2;
  column-gap: 56px;
}
footer.site nav.foot-links a {
  display: block;
  color: var(--grey);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0;
  break-inside: avoid;
  transition: color 0.15s ease;
}
footer.site nav.foot-links a:hover { color: var(--gold); }
footer.site nav.foot-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
footer.site .disclaimer {
  border-top: 1px solid var(--line-dark);
  padding-top: 26px;
  font-size: 0.85rem;
  color: var(--grey);
  max-width: 78ch;
}
footer.site .legal {
  margin-top: 18px;
  font-size: 0.8rem;
  color: #748398;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer.site .legal a { color: #748398; text-decoration: none; }
footer.site .legal a:hover { color: var(--gold); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.divider { height: 1px; background: var(--line); border: none; margin: 44px 0; }
section.block.dark .divider { background: var(--line-dark); }

ul.clean { list-style: none; }
ul.clean li { padding-left: 24px; position: relative; margin-bottom: 12px; }
ul.clean li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--gold);
}

/* ---------- Reveal on scroll ----------
   Visible by default (no-JS safe). The hidden-then-animate state is gated
   behind a `.js` class added by main.js; if JS never runs, content stays
   fully visible. */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal, .reveal { opacity: 1; transform: none; }
  .card:hover, .stat:hover, .node:hover, .btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .diagram { flex-direction: column; align-items: center; padding: 26px 18px; }
  .diagram-chain { flex-direction: column; align-items: center; }
  .diagram-outcome { flex-direction: column; align-items: center; gap: 18px; }
  .arrow { transform: rotate(90deg); padding: 8px 0; }
  .proof { padding: 28px 26px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  nav.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-dark-2);
  }
  nav.menu.open { display: flex; }
  nav.menu a { padding: 13px 8px; border-bottom: 1px solid var(--line-dark); }
  nav.menu a::after { display: none; }
  nav.menu a:last-child { border-bottom: none; }
  footer.site nav.foot-links { columns: 1; }
}

/* ---------- Eyebrow rule (v0.2 visual pass) ----------
   One consistent gold hairline under every eyebrow, on dark and light. */
.kicker { position: relative; padding-bottom: 14px; }
.kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.center .kicker::after,
.wrap.center .kicker::after { left: 50%; transform: translateX(-50%); }


/* --- black/white logo mark (2026-09-02) --- */
.brand img,
footer.site .foot-brand img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}
.brand .name {
  color: #F5F2EA;
  font-size: 1.15rem;
}
.brand .sub {
  color: rgba(245,242,234,0.62);
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  text-transform: uppercase;
}
footer.site .foot-brand img {
  height: 56px;
  width: 56px;
  margin-bottom: 12px;
}
/* hero logo plate optional */
.hero-logo {
  width: min(220px, 42vw);
  height: auto;
  margin: 0 0 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-dark-2);
}
