/* CL2R Advisory: site styles.
   Warm paper and clay palette (matches the brand). Light only. One typeface (Atkinson Hyperlegible Next).
   The risk matrix in the home hero is the one expressive element; everything else stays quiet.

   Contents: 1 tokens · 2 base · 3 layout · 4 header · 5 buttons · 6 hero + matrix
             7 components · 8 forms · 9 article · 10 footer · 11 utilities */

/* 1. Tokens ---------------------------------------------------------------- */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-next-latin-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}

:root {
  color-scheme: light;

  --bg:        #FAF9F5;  /* warm paper */
  --surface:   #FFFFFF;
  --sunk:      #F0EEE6;
  --ink:       #141413;
  --ink-2:     #43423E;
  --ink-3:     #63625C;
  --rule:      #E6E4DA;
  --rule-2:    #8C897F;

  --accent:       #A9502F;  /* clay, deepened for readable text: links, outlines */
  --accent-hover: #8F4226;
  --accent-tint:  #F7EAE3;
  --on-accent:    #FFFFFF;
  --btn:          #B75C3D;  /* clay buttons */
  --btn-hover:    #A9502F;
  --clay:         #D97757;  /* bright clay: lines and markers only, never text */
  --focus:        #A9502F;

  /* Risk levels: used only where they mean a risk level */
  --risk-high: #B42318;  --risk-high-tint: #F7DAD6;
  --risk-med:  #A44A06;  --risk-med-tint:  #F8E6CC;
  --risk-low:  #2F7D4F;  --risk-low-tint:  #D8ECDF;

  --footer-bg:  #F0EEE6;
  --footer-ink: #43423E;
  --footer-strong: #141413;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale, ratio 1.25 on a 17px body */
  --t-sm:  0.875rem;
  --t-md:  1.0625rem;
  --t-lg:  1.3125rem;
  --t-xl:  clamp(1.5rem, 1.2rem + 1.1vw, 1.75rem);
  --t-2xl: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem);
  --t-3xl: clamp(2.125rem, 1.5rem + 2.8vw, 3.25rem);

  /* Spacing, 4pt base */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --wrap: 1200px;
  --gutter: 16px;
  --measure: 68ch;
  --header-h: 64px;

  --r-sm: 6px;
  --r-md: 10px;
}

@media (min-width: 768px)  { :root { --gutter: 32px; --header-h: 72px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-md);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: var(--t-3xl); letter-spacing: -0.022em; line-height: 1.08; }
h2 { font-size: var(--t-2xl); letter-spacing: -0.016em; }
h3 { font-size: var(--t-lg);  letter-spacing: -0.008em; line-height: 1.25; }
h4 { font-size: var(--t-md); line-height: 1.35; }
p  { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s-4); }
ul, ol { margin: 0; padding: 0; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); color: var(--bg); }

.icon { width: 1.1em; height: 1.1em; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--s-8); }
.section--sunk { background: var(--sunk); }
.section--ruled { border-top: 1px solid var(--rule); }
@media (min-width: 1024px) { .section { padding-block: var(--s-9); } }

.section-head { max-width: 46rem; margin-bottom: var(--s-6); }
.section-head p { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-lg); line-height: 1.5; }
@media (min-width: 1024px) { .section-head { margin-bottom: var(--s-7); } }

.split { display: grid; gap: var(--s-6); }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 7fr 5fr; }
}

/* 4. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: var(--s-3); height: var(--header-h); }

.brand { display: flex; align-items: center; flex: none; min-height: 44px; border-radius: var(--r-sm); }
.brand img { width: 104px; height: 36px; }
@media (min-width: 768px) { .brand img { width: 127px; height: 44px; } }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: var(--s-1); }
.nav-link {
  display: flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  border-radius: var(--r-sm); position: relative; white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--sunk); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 4px;
  height: 2px; background: var(--clay); border-radius: 2px;
}

.header-cta { flex: none; }
.menu-btn {
  display: none; align-items: center; justify-content: center; gap: var(--s-2);
  min-width: 44px; height: 44px; padding: 0 var(--s-2);
  background: transparent; color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r-sm);
  font: inherit; font-weight: 600; cursor: pointer;
}
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* Below 1100px the links move into a disclosure panel */
@media (max-width: 1099.98px) {
  .header-inner { justify-content: flex-start; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; display: none;
         background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(20,20,19,.08); }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-4); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
  .nav-link { min-height: 52px; font-size: var(--t-md); border-bottom: 1px solid var(--rule); border-radius: 0; padding: 0 var(--s-1); }
  .nav-list li:last-child .nav-link { border-bottom: 0; }
  .nav-link[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .nav-link[aria-current="page"] { padding-left: var(--s-4); }
}
@media (max-width: 400px) {
  .header-cta.btn { padding-inline: var(--s-3); font-size: 0.9rem; }
  .header-inner { gap: var(--s-2); }
}
@media (max-width: 359.98px) {
  .brand img { width: 84px; height: 29px; }
  .header-cta.btn { padding-inline: 10px; font-size: 0.85rem; }
  .menu-btn { min-width: 44px; padding: 0; }
}
@media (min-width: 1100px) { .nav { margin-right: var(--s-3); } }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  border-radius: var(--r-sm); border: 2px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--btn); color: var(--on-accent); }
.btn-primary:hover { background: var(--btn-hover); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn-sm { min-height: 44px; padding: 0 var(--s-4); font-size: 0.95rem; }
.btn .icon { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.actions-note { margin-top: var(--s-3); color: var(--ink-3); font-size: var(--t-sm); }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 16px; height: 16px; }

/* 6. Hero + risk matrix ---------------------------------------------------- */
.hero { padding-block: var(--s-7) var(--s-8); }
.hero-grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding-block: var(--s-9); }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); }
}
.hero h1 { max-width: 16ch; }
.lede { margin-top: var(--s-5); font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); max-width: 36rem; }

.page-hero { padding-block: var(--s-6) var(--s-7); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 22ch; }
@media (min-width: 1024px) { .page-hero { padding-block: var(--s-7) var(--s-8); } }
.page-hero--media .hero-grid { align-items: start; }

.crumbs { margin: calc(-1 * var(--s-3)) 0 var(--s-3); font-size: var(--t-sm); color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--rule-2); }
.crumbs a { color: var(--ink-3); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs ol { align-items: center; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs [aria-current] { color: var(--ink-2); }

/* The matrix: 5 x 5 likelihood x impact. One marker travels from high to acceptable, once. */
.matrix-figure { margin: 0; width: 100%; max-width: 340px; justify-self: start; }
@media (min-width: 960px) { .matrix-figure { max-width: 420px; } }
.matrix-wrap { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: var(--s-2); }
.matrix-axis { font-size: var(--t-sm); color: var(--ink-3); font-weight: 600; }
.matrix-axis--y { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; }
.matrix-axis--x { grid-column: 2; text-align: center; }
.matrix {
  position: relative; aspect-ratio: 1; display: grid;
  grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 4px;
}
.matrix .c { border-radius: 4px; }
.c.l { background: var(--risk-low-tint); }
.c.m { background: var(--risk-med-tint); }
.c.h { background: var(--risk-high-tint); }
.matrix-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.matrix-line path { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.marker {
  position: absolute; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%;
  border-radius: 50%; display: grid; place-items: center;
  font-size: clamp(0.7rem, 2.4vw, 0.85rem); font-weight: 800; letter-spacing: .01em;
}
.marker--before { left: 70%; top: 10%; border: 2px dashed var(--risk-high); color: var(--risk-high); background: var(--bg); }
.marker--after  { left: 30%; top: 70%; background: var(--ink); color: var(--bg); box-shadow: 0 0 0 4px var(--bg); }
.matrix-legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: var(--t-sm); color: var(--ink-2); }
.matrix-legend li { display: flex; align-items: center; gap: var(--s-2); }
.matrix-legend .sw { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.matrix-legend .sw.h { background: var(--risk-high-tint); outline: 1px solid var(--risk-high); }
.matrix-legend .sw.m { background: var(--risk-med-tint);  outline: 1px solid var(--risk-med); }
.matrix-legend .sw.l { background: var(--risk-low-tint);  outline: 1px solid var(--risk-low); }
.matrix-figure figcaption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-3); line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .marker--after { animation: treat 1.6s cubic-bezier(.45,.05,.25,1) .5s both; will-change: transform; }
  .matrix-line path { animation: draw 1.6s cubic-bezier(.45,.05,.25,1) .5s both; stroke-dashoffset: 0; }
  @keyframes treat {
    from { transform: translate(266.67%, -400%); background: var(--risk-high); color: #fff; }
    to   { transform: none; }
  }
  @keyframes draw { from { opacity: 0; } to { opacity: 1; } }
}

/* Credibility strip */
.proof { border-block: 1px solid var(--rule); background: var(--surface); }
.proof-inner { display: grid; gap: var(--s-4); padding-block: var(--s-5); }
.proof-label { font-size: var(--t-sm); color: var(--ink-3); font-weight: 600; }
.proof-names { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); }
.proof-names li { font-size: 1.125rem; font-weight: 700; color: var(--ink-2); letter-spacing: -0.005em; }
.proof-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-sm); color: var(--ink-2); }
.proof-facts li { display: flex; align-items: center; gap: var(--s-2); }
.proof-facts .icon { color: var(--accent); width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .proof-inner { grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s-6); }
  .proof-facts { grid-column: 2; }
}

/* 7. Components ------------------------------------------------------------ */

/* Register rows: services listed like entries in a risk register */
.rows { list-style: none; border-top: 1px solid var(--rule-2); }
.rows > li { border-bottom: 1px solid var(--rule); }
.row-link {
  display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-2);
  color: inherit; text-decoration: none; border-radius: var(--r-sm);
}
.row-link:hover { background: var(--surface); color: inherit; text-decoration: none; }
.row-link :is(h2, h3) { color: var(--ink); font-size: var(--t-lg); }
.row-link p { color: var(--ink-2); }
.row-go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.row-go .icon { width: 16px; height: 16px; }
.row-link:hover .row-go { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .row-link { grid-template-columns: 17rem 1fr auto; align-items: baseline; gap: var(--s-6); padding: var(--s-5) var(--s-4); }
}

/* Ordered steps: used only for real sequences */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s-5); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 var(--s-3); }
.steps > li::before {
  content: counter(step); grid-row: span 2;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--accent); color: var(--accent); font-weight: 800;
}
.steps h3 { font-size: var(--t-md); padding-top: 6px; }
.steps p { color: var(--ink-2); margin-top: var(--s-1); }
@media (min-width: 900px) {
  .steps--row { grid-template-columns: repeat(var(--n, 3), 1fr); gap: var(--s-6); }
  .steps--row > li { grid-template-columns: 1fr; align-content: start; }
  .steps--row > li::before { grid-row: auto; margin-bottom: var(--s-3); }
}

/* Points: short statements with a rule on top */
.points { list-style: none; display: grid; gap: var(--s-6); }
.points > li { border-top: 2px solid var(--ink); padding-top: var(--s-4); }
.points h3 { font-size: var(--t-md); }
.points p { margin-top: var(--s-2); color: var(--ink-2); }
@media (min-width: 700px)  { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .points--4 { grid-template-columns: repeat(4, 1fr); } }

/* Tick list */
.ticks { list-style: none; display: grid; gap: var(--s-3); }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; }
.ticks .icon { width: 20px; height: 20px; color: var(--risk-low); margin-top: 3px; }
.ticks strong { color: var(--ink); }

/* Service block on the services hub */
.service { display: grid; gap: var(--s-5); padding-block: var(--s-7); border-top: 1px solid var(--rule); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-name { display: block; font-size: var(--t-sm); font-weight: 700; letter-spacing: 0; color: var(--accent); margin-bottom: var(--s-2); }
.anchor { display: block; position: relative; top: calc(-1 * var(--header-h)); }
.service h2 { font-size: var(--t-xl); }
.service .intro { margin-top: var(--s-3); color: var(--ink-2); }
.service .text-link { margin-top: var(--s-3); }
@media (min-width: 900px) { .service { grid-template-columns: 5fr 6fr; gap: var(--s-8); } }

.jump { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid var(--rule-2); border-radius: 999px; color: var(--ink-2);
  text-decoration: none; font-weight: 600; font-size: 0.95rem; background: var(--surface);
}
.jump a:hover { border-color: var(--accent); color: var(--accent); }

/* Facts: label / value pairs */
.facts { display: grid; gap: var(--s-4); margin: var(--s-6) 0 0; }
.facts div { border-left: 3px solid var(--clay); padding-left: var(--s-3); }
.facts dt { font-size: var(--t-sm); color: var(--ink-3); font-weight: 600; }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--ink); }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts--4 { grid-template-columns: repeat(4, 1fr); } }

/* Deadline / info list */
.dl { display: grid; gap: var(--s-5); margin: 0; }
.dl > div { display: grid; gap: var(--s-1); align-content: start; }
.dl dt { font-weight: 700; }
.dl dd { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) { .dl--3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } .dl--2 { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-7); } }

/* Pricing */
.prices { display: grid; gap: var(--s-4); }
@media (min-width: 700px)  { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .prices--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .prices--4 { grid-template-columns: repeat(4, 1fr); } }
.price {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md);
}
.price--featured { border: 2px solid var(--clay); }
.price-tag { align-self: flex-start; font-size: var(--t-sm); font-weight: 700; color: var(--accent); background: var(--accent-tint); padding: 2px 10px; border-radius: 999px; }
.price-tag--empty { visibility: hidden; }
.price h3 { min-height: 2.5em; }
.price-for { min-height: 3em; font-size: var(--t-sm); color: var(--ink-3); }
.price-amount { font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.015em; color: var(--ink); line-height: 1.1; }
.price-amount s { font-size: 1rem; font-weight: 600; color: var(--ink-3); margin-right: var(--s-2); }
.price-note { font-size: var(--t-sm); color: var(--ink-3); }
.price .ticks { gap: var(--s-2); font-size: 0.97rem; }
.price .btn { margin-top: auto; }
.price-spacer { flex: 1; }
.fine { margin-top: var(--s-5); font-size: var(--t-sm); color: var(--ink-3); max-width: var(--measure); }

/* Callout band */
.note {
  display: grid; gap: var(--s-2); margin-top: var(--s-5); padding: var(--s-5);
  background: var(--accent-tint); border-radius: var(--r-md);
}
.note h3 { font-size: var(--t-md); }
.note p { color: var(--ink-2); }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-size: var(--t-sm); color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.compare td:last-child { color: var(--ink); font-weight: 600; }
.compare td:first-child { color: var(--ink-2); }
@media (max-width: 599.98px) {
  .compare thead { display: none; }
  .compare tr { display: grid; border-bottom: 1px solid var(--rule); padding-block: var(--s-3); }
  .compare td { border: 0; padding: 2px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: var(--t-sm); color: var(--ink-3); font-weight: 600; }
}

/* FAQ */
.faq { border-top: 1px solid var(--rule-2); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  min-height: 56px; padding: var(--s-3) 0; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > p { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: var(--measure); }

/* Founder card */
.person { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person-name { font-weight: 700; font-size: var(--t-lg); }
.person-role { color: var(--ink-3); }
@media (min-width: 768px) { .person { grid-template-columns: 128px 1fr; } .person img { width: 128px; height: 128px; } }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tags li { padding: 4px 12px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: var(--t-sm); font-weight: 700; color: var(--ink-2); background: var(--surface); }

/* Article list */
.posts { list-style: none; border-top: 1px solid var(--rule-2); }
.posts > li { border-bottom: 1px solid var(--rule); }
.post-link { display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-2); color: inherit; text-decoration: none; border-radius: var(--r-sm); }
.post-link:hover { background: var(--surface); color: inherit; text-decoration: none; }
.post-link :is(h2, h3) { font-size: var(--t-lg); }
.post-link:hover :is(h2, h3) { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.post-meta { font-size: var(--t-sm); color: var(--ink-3); display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.post-link p { color: var(--ink-2); max-width: var(--measure); }
@media (min-width: 900px) { .post-link { grid-template-columns: 12rem 1fr; column-gap: var(--s-6); padding: var(--s-6) var(--s-4); } .post-link .post-meta { flex-direction: column; grid-row: span 2; } }

/* Screenshot figure */
.shot { margin: 0; }
.shot img { border-radius: var(--r-md); border: 1px solid var(--rule); width: 100%; height: auto; }
.shot figcaption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-3); }

/* Closing call to action */
.cta-end { background: var(--sunk); border-top: 1px solid var(--rule); }
.cta-end-inner { display: grid; gap: var(--s-5); align-items: center; }
.cta-end p { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--t-lg); max-width: 34rem; }
.cta-end .actions { margin-top: 0; }
@media (min-width: 900px) { .cta-end-inner { grid-template-columns: 1fr auto; gap: var(--s-8); } }

/* Contact options */
.contact-list { list-style: none; display: grid; gap: var(--s-5); margin-top: var(--s-6); }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); }
.contact-list .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.contact-list strong { display: block; }
.contact-list p { color: var(--ink-2); }

/* 8. Forms ----------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); padding: var(--s-5); }
@media (min-width: 768px) { .form-card { padding: var(--s-6); } }
.form-card h2, .form-card h3 { font-size: var(--t-xl); }
.form-card > p { margin-top: var(--s-2); color: var(--ink-2); }
.form { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.form-row { display: grid; gap: var(--s-4); }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 0.97rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule-2); border-radius: var(--r-sm);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--risk-high); border-width: 2px; }
.field-error { color: var(--risk-high); font-size: var(--t-sm); font-weight: 700; }
.field-error[hidden] { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; font-size: 0.97rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: var(--s-4); border-radius: var(--r-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { background: var(--risk-low-tint); color: var(--ink); border-left: 4px solid var(--risk-low); }
.form-status.is-error { background: var(--risk-high-tint); color: var(--ink); border-left: 4px solid var(--risk-high); }
.form-fine { font-size: var(--t-sm); color: var(--ink-3); }

/* 9. Article --------------------------------------------------------------- */
.article-head { padding-block: var(--s-6) var(--s-7); border-bottom: 1px solid var(--rule); }
.article-head h1 { max-width: 24ch; font-size: clamp(2rem, 1.5rem + 2.2vw, 2.875rem); }
.article-meta { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); color: var(--ink-3); font-size: var(--t-sm); }
.article-body { padding-block: var(--s-7) var(--s-8); }
.prose { max-width: var(--measure); font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--t-xl); margin-top: var(--s-7); }
.prose h3, .prose h4 { font-size: var(--t-lg); margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s-2); }
.prose blockquote {
  margin: var(--s-6) 0; padding-left: var(--s-5); border-left: 4px solid var(--clay);
  font-size: var(--t-lg); font-weight: 700; line-height: 1.4; color: var(--ink);
}
.prose .box { padding: var(--s-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); }
.prose .box :is(h3, h4) { margin-top: 0; font-size: var(--t-md); }
.prose .box p { margin-top: var(--s-2); }
.prose .phases { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.prose .phases li { padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); }
.prose .phases :is(h3, h4) { margin: 0; font-size: var(--t-md); }
.prose .phases p { margin-top: var(--s-2); font-size: 1.0625rem; }
.prose sup, .prose a[href^="#ref"] { font-size: .75em; }
.prose .sources { font-size: 0.97rem; color: var(--ink-2); list-style: none; padding: 0; }
.summary { max-width: var(--measure); padding: var(--s-5); background: var(--accent-tint); border-radius: var(--r-md); margin-bottom: var(--s-7); }
.summary h2 { font-size: var(--t-md); }
.summary ul { margin-top: var(--s-3); padding-left: 1.2em; display: grid; gap: var(--s-2); }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--rule); background: var(--footer-bg); color: var(--footer-ink); padding-block: var(--s-8) var(--s-6); font-size: 0.97rem; }
.site-footer a { color: var(--footer-ink); text-decoration: none; }
.site-footer a:hover { color: var(--footer-strong); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--focus); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin-top: var(--s-4); max-width: 22rem; }
.footer-brand img { width: 127px; height: 44px; }
.site-footer h2 { font-size: var(--t-sm); color: var(--footer-strong); margin-bottom: var(--s-3); letter-spacing: 0; }
.footer-links { list-style: none; display: grid; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; gap: var(--s-2); }
.footer-links .icon { width: 18px; height: 18px; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid #D7D4C7; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-sm); }

/* 11. Utilities ------------------------------------------------------------ */
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--ink-3); }
.measure { max-width: var(--measure); }

@media print {
  .site-header, .site-footer, .cta-end, .actions { display: none; }
  body { background: #fff; color: #000; }
}
@media (min-width: 1000px) { .points--3 { grid-template-columns: repeat(3, 1fr); } }
