/* GEC39 Sódhö — site styles
   Palette taken from the logo and the CIS Benchmark Manager brochure. */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #1a222d;          /* body text */
  --slate: #3d4651;        /* logo grey */
  --muted: #5a6573;
  --navy: #1e3a5f;         /* brochure navy */
  --navy-deep: #152b47;
  --steel: #2f5a96;        /* logo blue */
  --signal: #f2cd17;       /* logo yellow dot */
  --paper: #f3f5f8;
  --white: #ffffff;
  --line: #d6dce4;
  --pass: #1f7a55;
  --fail: #b3362b;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 4px;
  --r-md: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--signal); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; font-stretch: 110%; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 104%; line-height: 1.25; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--slate); max-width: 60ch; }
.measure { max-width: 68ch; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.code { font-family: var(--mono); font-size: .86em; font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--signal); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px;
  padding: .7em 1.35em; border-radius: var(--r-sm); border: 2px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: #ffdc2e; color: var(--ink); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.on-dark .btn-ghost { color: var(--white); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 12px; border-radius: var(--r-sm); }
.nav a:hover { background: var(--paper); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 42px; padding: .5em 1.05em; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
         box-shadow: 0 18px 30px rgba(21,43,71,.12); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--paper); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--signal); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.bg-paper { background: var(--paper); }
.on-dark { background: var(--navy); color: #dbe4ef; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark a:not(.btn) { color: #fff; }
.on-dark .lede { color: #c8d4e3; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--muted); max-width: 56ch; }
.section-head .more { font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }

/* Hero with the 39 grid */
.hero { padding: clamp(52px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); background: linear-gradient(var(--white), var(--paper)); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 20px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.thirtynine { margin: 0; }
.tn-row { display: grid; grid-template-columns: 124px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tn-row:first-child { border-top: 1px solid var(--line); }
.tn-label { font-family: var(--display); font-stretch: 108%; font-weight: 700; line-height: 1.1; }
.tn-label small { display: block; font-family: var(--mono); font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.tn-cells { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.tn-cells i { display: block; aspect-ratio: 1; border-radius: 3px; }
.tn-g i { background: var(--signal); }
.tn-e i { background: var(--steel); }
.tn-c i { background: var(--navy); }
.tn-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.tn-sum .eq { font-family: var(--mono); font-weight: 500; color: var(--slate); font-size: .95rem; }
.tn-sum .total { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 3.2rem; line-height: 1; color: var(--navy); }
.thirtynine figcaption { color: var(--muted); font-size: .95rem; margin-top: 12px; max-width: 44ch; }
@media (prefers-reduced-motion: no-preference) {
  .tn-cells i { opacity: 0; transform: scale(.4); animation: cell .38s cubic-bezier(.2,.7,.3,1.2) forwards; }
  .tn-g i:nth-child(1){animation-delay:200ms}.tn-g i:nth-child(2){animation-delay:224ms}.tn-g i:nth-child(3){animation-delay:248ms}.tn-e i:nth-child(1){animation-delay:272ms}.tn-e i:nth-child(2){animation-delay:296ms}.tn-e i:nth-child(3){animation-delay:320ms}.tn-e i:nth-child(4){animation-delay:344ms}.tn-e i:nth-child(5){animation-delay:368ms}.tn-e i:nth-child(6){animation-delay:392ms}.tn-e i:nth-child(7){animation-delay:416ms}.tn-e i:nth-child(8){animation-delay:440ms}.tn-e i:nth-child(9){animation-delay:464ms}.tn-c i:nth-child(1){animation-delay:488ms}.tn-c i:nth-child(2){animation-delay:512ms}.tn-c i:nth-child(3){animation-delay:536ms}.tn-c i:nth-child(4){animation-delay:560ms}.tn-c i:nth-child(5){animation-delay:584ms}.tn-c i:nth-child(6){animation-delay:608ms}.tn-c i:nth-child(7){animation-delay:632ms}.tn-c i:nth-child(8){animation-delay:656ms}.tn-c i:nth-child(9){animation-delay:680ms}.tn-c i:nth-child(10){animation-delay:704ms}.tn-c i:nth-child(11){animation-delay:728ms}.tn-c i:nth-child(12){animation-delay:752ms}.tn-c i:nth-child(13){animation-delay:776ms}.tn-c i:nth-child(14){animation-delay:800ms}.tn-c i:nth-child(15){animation-delay:824ms}.tn-c i:nth-child(16){animation-delay:848ms}.tn-c i:nth-child(17){animation-delay:872ms}.tn-c i:nth-child(18){animation-delay:896ms}.tn-c i:nth-child(19){animation-delay:920ms}.tn-c i:nth-child(20){animation-delay:944ms}.tn-c i:nth-child(21){animation-delay:968ms}.tn-c i:nth-child(22){animation-delay:992ms}.tn-c i:nth-child(23){animation-delay:1016ms}.tn-c i:nth-child(24){animation-delay:1040ms}.tn-c i:nth-child(25){animation-delay:1064ms}.tn-c i:nth-child(26){animation-delay:1088ms}.tn-c i:nth-child(27){animation-delay:1112ms}
  @keyframes cell { to { opacity: 1; transform: none; } }
}

/* Product band */
.product-band .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .product-band .wrap { grid-template-columns: 1fr; } }
.product-band .kicker { color: var(--signal); font-weight: 600; margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--signal); border-bottom: 2.5px solid var(--signal); transform: rotate(-45deg); }
.bg-paper .ticks li::before, .ticks.dark li::before { border-color: var(--steel); }

.screen { margin: 0; background: #e8edf3; border-radius: var(--r-md); padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.screen .bar { display: flex; gap: 6px; padding: 2px 4px 10px; }
.screen .bar span { width: 10px; height: 10px; border-radius: 50%; background: #c3ccd7; }
.screen img { border-radius: 6px; background: var(--white); width: 100%; }
.screen figcaption { color: var(--muted); font-size: .88rem; padding: 10px 4px 2px; }
.on-dark .screen { background: #2a4a72; }
.on-dark .screen .bar span { background: #48678f; }
.on-dark .screen figcaption { color: #b7c6d9; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); }
.service { padding: 28px 0 30px; border-top: 2px solid var(--ink); }
.service h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service p { color: var(--slate); margin: 0; }
.service ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--slate); }
.service ul li { margin-bottom: 4px; }
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }

/* Method (GEC) */
.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.pillar { padding: 32px clamp(20px, 3vw, 36px) 36px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; }
.pillar .n { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 3rem; line-height: 1; margin-bottom: 18px; color: var(--navy); }
.pillar .n sup { font-size: .5em; align-self: flex-start; line-height: 1; margin-left: 1px; }
.pillar .n small { align-self: flex-end; margin-bottom: .3em; }
.pillar .n small { font-family: var(--mono); font-weight: 500; font-size: .95rem; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.pillar .n { display: flex; align-items: baseline; }
.pillar:nth-child(1) { box-shadow: inset 0 5px 0 var(--signal); }
.pillar:nth-child(2) { box-shadow: inset 0 5px 0 var(--steel); }
.pillar:nth-child(3) { box-shadow: inset 0 5px 0 var(--navy); }
.pillar p { color: var(--slate); margin: 0; }
@media (max-width: 820px) { .method { grid-template-columns: 1fr; } .pillar { border-left: 0; border-top: 1px solid var(--line); } .pillar:first-child { border-top: 0; } }

/* Post lists (news + insights) */
.posts { list-style: none; margin: 0; padding: 0; }
.post-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row time { color: var(--muted); font-size: .95rem; padding-top: 3px; }
.post-row h3 { margin: 0 0 8px; font-size: 1.28rem; }
.post-row h3 a { color: var(--ink); text-decoration: none; }
.post-row h3 a:hover { color: var(--steel); text-decoration: underline; }
.post-row p { margin: 0; color: var(--slate); max-width: 72ch; }
.post-row .src { font-size: .92rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .post-row { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tags li { font-size: .8rem; font-weight: 500; color: var(--navy); background: #e3eaf4; padding: 2px 9px; border-radius: 99px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 26px 24px; text-decoration: none; color: inherit; border-top: 4px solid var(--navy); }
.card:hover { border-color: var(--steel); border-top-color: var(--signal); }
.card h3 { color: var(--ink); margin-bottom: 10px; }
.card p { color: var(--slate); margin: 0 0 18px; font-size: 1rem; }
.card .meta { margin-top: auto; color: var(--muted); font-size: .9rem; }
@media (max-width: 920px) { .cards { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 24ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* Product page */
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.problem-grid div { border-top: 2px solid var(--line); padding-top: 18px; }
.problem-grid h3 { font-size: 1.12rem; margin-bottom: 6px; }
.problem-grid p { color: var(--slate); margin: 0; font-size: 1rem; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .problem-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 4px solid var(--navy); padding-top: 18px; }
.steps li:last-child { border-top-color: var(--signal); }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 1.1rem; color: var(--steel); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--slate); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.figure { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--white); }
.figure.dark { background: var(--navy); border-color: var(--navy); color: #c8d4e3; }
.figure b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 2.8rem; line-height: 1; color: var(--navy); margin-bottom: 8px; }
.figure.dark b { color: var(--signal); }
.figure span { font-weight: 600; color: var(--ink); display: block; }
.figure.dark span { color: var(--white); }
.figure small { font-size: .92rem; }

.families { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.families li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 12px; font-size: .95rem; }
.families .code { color: var(--navy); margin-right: 6px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-stretch: 105%; font-size: 1rem; background: var(--paper); }
.compare thead th:last-child { background: var(--navy); color: var(--white); }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { background: #eef3f9; font-weight: 500; }
.compare tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { font-weight: 600; }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.trust div { padding: 24px 28px 26px 0; border-top: 1px solid rgba(255,255,255,.18); }
.trust h3 { font-size: 1.1rem; margin-bottom: 6px; }
.trust p { margin: 0; font-size: 1rem; color: #c8d4e3; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 640px; margin-top: 28px; }
.versus div { border-radius: var(--r-md); padding: 20px clamp(14px, 3vw, 24px); border: 1px solid var(--line); }
.versus div:last-child { background: var(--navy); border-color: var(--navy); }
.versus small { display: block; color: var(--muted); font-weight: 500; }
.versus div:last-child small { color: #b7c6d9; }
.versus b { font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.4rem); color: var(--muted); }
.versus div:last-child b { color: var(--signal); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 700; font-stretch: 104%; font-size: 1.14rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq details > div { padding: 0 0 20px; color: var(--slate); max-width: 70ch; }

/* Article */
.article { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.article .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .article .wrap { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--signal); color: var(--slate); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper); padding: 1px 5px; border-radius: 3px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .98rem; margin: 1.4em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); }
.article-meta { color: var(--muted); font-size: .98rem; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--paper); position: sticky; top: 100px; }
.aside-box h2 { font-size: 1.1rem; }
.aside-box p { font-size: .98rem; color: var(--slate); }
.source-box { border: 1px solid var(--line); border-left: 4px solid var(--steel); padding: 16px 20px; border-radius: var(--r-sm); margin: 0 0 28px; background: var(--white); font-size: 1rem; }
.source-box b { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .98rem; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #b9c3cf; border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(47,90,150,.25); }
.form .hp { display: none; }
.form .note { font-size: .92rem; color: var(--muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* CTA band */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 56ch; }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b7c6d9; padding: 64px 0 28px; font-size: .98rem; }
.site-footer a { color: #e6edf5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 34ch; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }

/* utilities */
.mt0 { margin-top: 0 !important; }
.mt18 { margin-top: 18px; }
.mt40 { margin-top: 40px; }
.mt48 { margin-top: 48px; }
.split.top { align-items: start; }
.lede.center { margin: 0 auto 24px; }
.actions.centered { justify-content: center; }

@media (max-width: 640px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  table.compare { min-width: 0; }
  .compare thead { display: none; }
  .figures { grid-template-columns: 1fr; }
  .figure { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: center; }
  .figure b { grid-row: span 2; margin: 0; }
  .compare tr { display: block; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; background: var(--white); }
  .compare th[scope="row"], .compare td { display: block; padding: 12px 16px; }
  .compare th[scope="row"] { background: var(--paper); font-family: var(--display); }
  .compare td::before { content: attr(data-label); display: block; font-size: .82rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
  .compare tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tr td:last-child { border-bottom: 0; }
  .tn-row { grid-template-columns: 104px 1fr; gap: 12px; }
  .tn-label { font-size: .95rem; }
}

/* ---------- The name as a formula (home hero + about) ---------- */
.hero-formula { padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.hero-formula .wrap { display: block; }
.hf-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.hero-formula h1 { font-size: clamp(2rem, 3.8vw, 3.15rem); font-weight: 650; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.1; max-width: 19ch; margin: 0; }
.hero-formula .lede { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.18rem); }
@media (max-width: 860px) { .hf-text { grid-template-columns: 1fr; align-items: start; } }

.formula { --fs: clamp(3.4rem, 7.2vw, 6.4rem); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: clamp(10px, 2vw, 28px); margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.f-term { display: flex; flex-direction: column; min-width: 0; }
.f-num { font-family: var(--display); font-size: var(--fs); font-weight: 250; font-stretch: 112%; line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.f-num sup { font-size: .38em; font-weight: 400; vertical-align: top; position: relative; top: .12em; margin-left: .04em; color: var(--steel); }
.f-t .f-num { font-weight: 750; position: relative; align-self: flex-start; }
.f-t .f-num::after { content: ""; position: absolute; width: .13em; height: .13em; border-radius: 50%; background: var(--signal); right: -.02em; bottom: -.14em; }
.f-op { font-family: var(--display); font-size: var(--fs); font-weight: 200; line-height: 1; color: #a7b1be; }
.f-name { margin-top: 26px; padding-top: 12px; border-top: 2px solid var(--line); font-weight: 600; font-size: 1rem; color: var(--ink); }
.f-g .f-name { border-top-color: var(--signal); }
.f-e .f-name { border-top-color: var(--steel); }
.f-c .f-name { border-top-color: var(--navy); }
.f-t .f-name { border-top-color: var(--ink); }
.f-desc { margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.5; max-width: 24ch; }

/* stacked: written as a column sum (phones, and the About page) */
@media (max-width: 760px) {
  .formula:not(.formula-stack) { --fs: clamp(2.8rem, 13vw, 3.6rem); }
}
@media (max-width: 760px) { .formula { display: block; } }
.formula-stack { display: block; --fs: clamp(2.8rem, 5vw, 3.6rem); margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 760px) {
  .formula .f-term { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs); }
  .formula .f-num { grid-row: span 2; text-align: right; font-size: 1em; }
  .formula .f-name, .formula .f-desc { font-size: 1rem; }
  .formula .f-name { margin: 0; padding: 0 0 0 12px; border-top: 0; border-left: 2px solid var(--line); align-self: end; }
  .formula .f-g .f-name { border-left-color: var(--signal); } .formula .f-e .f-name { border-left-color: var(--steel); } .formula .f-c .f-name { border-left-color: var(--navy); } .formula .f-t .f-name { border-left-color: var(--ink); }
  .formula .f-desc { padding-left: 14px; font-size: .92rem; max-width: none; align-self: start; margin-top: 2px; }
  .formula .f-op { display: none; }
  .formula .f-t { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; }
}
.formula-stack .f-term { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); column-gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--fs); }
.formula-stack .f-num { grid-row: span 2; text-align: right; font-size: 1em; }
.formula-stack .f-name { margin: 0; padding: 0 0 0 12px; border-top: 0; border-left: 2px solid var(--line); align-self: end; font-size: 1rem; }
.formula-stack .f-g .f-name { border-left-color: var(--signal); } .formula-stack .f-e .f-name { border-left-color: var(--steel); } .formula-stack .f-c .f-name { border-left-color: var(--navy); } .formula-stack .f-t .f-name { border-left-color: var(--ink); }
.formula-stack .f-desc { padding-left: 14px; font-size: .92rem; max-width: none; align-self: start; margin-top: 2px; }
.formula-stack .f-op { display: none; }
.formula-stack .f-t { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: -1px; }

/* method pillars */
.pillar .n { font-weight: 300; font-size: 2.6rem; }
.pillar .n sup { color: var(--steel); font-weight: 400; }
.pillar ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--slate); font-size: .98rem; }
.pillar ul li { margin-bottom: 4px; }
.pillar p + ul { margin-top: 14px; }

/* Yellow highlight on the G, E, C initials in the hero headline */
.hero-formula h1 .init { background: linear-gradient(transparent 12%, var(--signal) 12%, var(--signal) 88%, transparent 88%); padding: 0 .04em; margin: 0 .01em 0 -.04em; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
