/* KeelOps. House layout system (Weinberg + Westfalia relaunch), KeelOps colours.
   Fonts self-hosted, no Google requests. Two radii: 16 cards, 12 controls. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-500-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-600-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-sans-700-latin.woff2) format("woff2"); }
@font-face { font-family: "Archivo Narrow"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/archivo-narrow-600-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); }

:root {
  --ink: #16171c;        /* hero, dark bands, footer, header button */
  --ink-2: #23242b;      /* cards on dark */
  --head: #2b2b2e;       /* headings on light */
  --text: #37322c;       /* body text */
  --mut: #6b655d;        /* secondary text, eyebrows */
  --line: #e2ded8;       /* card borders, rules */
  --paper: #faf8f5;      /* quiet section ground */
  --soft: #fbf6dc;       /* yellow-tinted ground, used sparingly */
  --yellow: #ffd400;     /* brand: buttons, rules, marks, never body text on light */
  --yellow-hover: #f0c800;
  --green: #1f8a4c;      /* "allowed" only */
  --red: #b3261e;        /* form errors, "not allowed" */
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --narrow: "Archivo Narrow", "Arial Narrow", Helvetica, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --r-card: 16px;
  --r-ctl: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.62; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--head); font-weight: 700; }
h2 { font-size: 42px; line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 600; }
p + p { margin-top: 14px; }
b, strong { font-weight: 600; color: var(--head); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 820px; }
.mut { color: var(--mut); }
.small { font-size: 15px; }
.mono { font-family: var(--mono); font-weight: 500; }

/* Eyebrow: short yellow rule + narrow uppercase label (Weinberg "vorzeile") */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--narrow); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mut); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--yellow); flex: none; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 2px; background: var(--yellow); flex: none; }

/* Header: floating white bar (Westfalia relaunch) */
.top { position: sticky; top: 16px; z-index: 50; padding: 0 20px; margin-top: 16px; margin-bottom: -84px; }
.top .bar { max-width: 1180px; margin: 0 auto; background: #fff; border-radius: var(--r-card); box-shadow: 0 8px 30px rgb(0 0 0 / 0.12); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 12px 10px 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--head); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1.3 var(--sans); padding: 16px 28px; border-radius: var(--r-ctl); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .1s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--yellow); color: var(--ink); border-color: #e0b800; }
.btn.primary:hover { background: var(--yellow-hover); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a2b33; }
.btn.glass { background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.4); }
.btn.glass:hover { background: rgb(255 255 255 / 0.16); }
.btn.line { background: #fff; color: var(--head); border-color: var(--line); }
.btn.line:hover { border-color: var(--head); }
.btn.sm { font-size: 14px; padding: 12px 20px; }
.btn[disabled] { opacity: .6; cursor: default; }
.arrow::after { content: "\2192"; }
.textlink { font-weight: 600; color: var(--head); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Hero: dark, centred (Westfalia home), accent second line */
.hero { background: var(--ink); color: #fff; padding: 188px 0 104px; text-align: center; }
.hero .eyebrow { color: rgb(255 255 255 / 0.75); justify-content: center; }
.hero .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--yellow); }
.hero h1 { color: #fff; font-size: 58px; line-height: 1.06; letter-spacing: -0.025em; max-width: 980px; margin: 0 auto; }
.hero h1 span { color: var(--yellow); display: block; }
.hero .lede { font-size: 20px; line-height: 1.55; color: rgb(255 255 255 / 0.86); max-width: 680px; margin: 26px auto 0; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
.hero .proof { margin-top: 30px; font-size: 15px; color: rgb(255 255 255 / 0.7); }
.hero .proof b { color: #fff; }

/* Fact strip (Weinberg) */
.strip { background: #222329; color: rgb(255 255 255 / 0.8); border-top: 1px solid rgb(255 255 255 / 0.08); }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 44px; padding: 18px 0; font-size: 15px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; }
.strip b { color: #fff; }

/* Sections */
section.k { padding: 112px 0; }
section.k.paper { background: var(--paper); }
section.k.dark { background: var(--ink); color: rgb(255 255 255 / 0.82); }
section.k.dark h2, section.k.dark h3 { color: #fff; }
section.k.dark .eyebrow { color: rgb(255 255 255 / 0.7); }
.head { max-width: 720px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head .lede, .lede { font-size: 18px; color: var(--mut); margin-top: 14px; }
section.k.dark .lede { color: rgb(255 255 255 / 0.72); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
.two > *, .split > *, .grid3 > *, .grid4 > * { min-width: 0; }

/* One card style */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card h3 { margin-bottom: 8px; }
.card .hint { font-size: 15px; color: var(--mut); margin-bottom: 14px; }
.card p { font-size: 16px; }
.card.tint { background: var(--soft); border-color: #efe3a8; }
.card.tint .textlink { display: inline-block; margin-top: 16px; }

/* Dark band cards (Westfalia testimonials band) */
.dark .card { background: var(--ink-2); border-color: rgb(255 255 255 / 0.1); color: rgb(255 255 255 / 0.78); }
.dark .card h3 { color: #fff; }
.steps { list-style: none; counter-reset: s; }
.steps .n { font-family: var(--narrow); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; color: var(--yellow); margin-bottom: 14px; text-transform: uppercase; }

/* Framed split card (Westfalia founder / CTA block) */
.frame { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 56px; }

#review h2 { font-size: 36px; }

/* Quiz section */
.quiz-intro h2 { font-size: 40px; }
.quiz-intro ul { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.quiz-intro li { padding-left: 22px; position: relative; font-size: 16px; }
.quiz-intro li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--yellow); }
.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 20px 40px rgb(0 0 0 / 0.06); padding: 32px; min-height: 480px; display: flex; flex-direction: column; }
.qtop { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--mut); margin-bottom: 10px; }
.qtop .mono { font-size: 13px; }
.bar-track { height: 6px; background: #efece7; border-radius: 3px; overflow: hidden; margin-bottom: 30px; }
.bar-fill { height: 100%; width: 0; background: var(--yellow); transition: width .25s ease; } /* impeccable-disable-line layout-transition: the quiz progress fill, width is the indicator */
.qtitle { font-size: 24px; line-height: 1.3; margin-bottom: 8px; }
.qhelp { font-size: 15px; color: var(--mut); margin-bottom: 22px; }
.opts { display: grid; gap: 10px; }
.opt { width: 100%; text-align: left; font: 500 16px/1.4 var(--sans); color: var(--head); background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 16px 18px; cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.opt:hover { border-color: var(--head); }
.opt.on { border-color: var(--ink); background: var(--soft); box-shadow: inset 4px 0 0 var(--yellow); }
.qfoot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.back { background: none; border: 0; font: 500 15px var(--sans); color: var(--mut); cursor: pointer; padding: 6px 0; }
.back:hover { color: var(--head); }
.qnote { font-size: 14px; color: var(--mut); }

/* Result */
.level { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.level .word { font-size: 34px; font-weight: 700; color: var(--head); letter-spacing: -0.02em; }
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 6px; }
.meter i { height: 8px; border-radius: 3px; background: #efece7; }
.meter.low i:nth-child(1), .meter.medium i:nth-child(-n+2), .meter.high i { background: var(--ink); }
.meter-l { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 13px; color: var(--mut); }
.meter-l span:nth-child(2) { text-align: center; } .meter-l span:nth-child(3) { text-align: right; }
.toprisks { list-style: none; margin: 26px 0 8px; display: grid; gap: 14px; counter-reset: r; }
.toprisks li { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 18px 20px; counter-increment: r; }
.toprisks h4 { font-size: 17px; color: var(--head); margin-bottom: 4px; }
.toprisks h4::before { content: counter(r) ". "; }
.toprisks p { font-size: 15px; }
.toprisks .do { margin-top: 8px; font-size: 15px; padding-left: 12px; border-left: 3px solid var(--yellow); color: var(--head); }
.basis { font-size: 13.5px; color: var(--mut); margin-top: 10px; }
.offer { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 26px; }
.offer h3 { font-size: 22px; }
.offer .sub { color: var(--mut); margin: 4px 0 18px; font-size: 16px; }
.offer .row2 { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.linkbtn { background: none; border: 0; font: 600 15px var(--sans); color: var(--head); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; padding: 8px 4px; }

/* Lists */
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--head); border-bottom: 2px solid var(--head); transform: rotate(-45deg); }
.terms { list-style: none; display: grid; gap: 0; }
.terms li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.terms li:first-child { border-top: 1px solid var(--line); }
.numlist { list-style: none; counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.numlist li { counter-increment: c; padding-left: 44px; position: relative; font-size: 16px; }
.numlist li::before { content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--mut); }

/* Sample report */
.report .rh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 6px 12px; }
.report .rt { font-weight: 700; color: var(--head); }
.redact { white-space: nowrap; background: var(--head); color: var(--head); border-radius: 3px; padding: 0 4px; user-select: none; }
.label { font-family: var(--narrow); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; color: var(--mut); white-space: nowrap; }
.report .meta { font-size: 14px; color: var(--mut); margin: 6px 0 18px; }
.fixrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.fixrow .t { font-weight: 500; color: var(--head); font-size: 15.5px; }
.fixrow .amt { font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--head); }
.fixrow .d { grid-column: 1 / -1; font-size: 14px; color: var(--mut); }
.report .also { font-size: 14.5px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.report .total { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--paper); border-radius: var(--r-ctl); font-weight: 600; color: var(--head); }
.report .sign { font-size: 13px; color: var(--mut); margin-top: 12px; }

/* Access table */
.access table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.access td { padding: 11px 0; border-top: 1px solid rgb(255 255 255 / 0.1); }
.access td:last-child { text-align: right; font-family: var(--mono); font-size: 13.5px; }
.access .yes { color: #7fdca2; } .access .no { color: #ff9b93; }
.access .foot { margin-top: 14px; font-size: 13.5px; color: rgb(255 255 255 / 0.6); }

/* Plans */
.plan .for { color: var(--mut); font-size: 15px; min-height: 48px; }
.plan .price { font-size: 36px; font-weight: 700; color: var(--head); letter-spacing: -0.02em; margin: 14px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--mut); letter-spacing: 0; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--yellow); }
.plannote { margin-top: 24px; font-size: 15px; color: var(--mut); }
.example { margin-top: 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 16px; }

/* FAQ: accordion rows as cards (Westfalia) */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 22px; font-weight: 600; color: var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b2b2e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center no-repeat; transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 22px 20px; font-size: 16px; }

/* Forms */
label, legend { display: block; font-size: 15px; font-weight: 600; color: var(--head); margin-bottom: 6px; }
.opt-label { font-weight: 400; color: var(--mut); }
input[type=text], input[type=email], select, textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--head); background: #fff; border: 1px solid #cfc9c1; border-radius: var(--r-ctl); padding: 13px 14px; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b655d' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .opt:focus-visible, summary:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
form { display: grid; gap: 20px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
fieldset { border: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: 15.5px; margin: 0; cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.consent { font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 15px; min-height: 1.4em; }
.status.err { color: var(--red); }
.status.ok { color: var(--head); font-weight: 600; }

/* Footer: dark, columns (Westfalia) with brand rule (Weinberg) */
footer { background: var(--ink); color: rgb(255 255 255 / 0.66); border-top: 3px solid var(--yellow); font-size: 15px; }
footer .fcta { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
footer .fcta h3 { color: #fff; font-size: 22px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 48px 0; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer h4 { font-family: var(--narrow); font-weight: 600; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { color: rgb(255 255 255 / 0.75); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .legal { border-top: 1px solid rgb(255 255 255 / 0.1); padding: 22px 0 30px; font-size: 13.5px; color: rgb(255 255 255 / 0.5); }

/* Privacy page */
.doc { padding: 150px 0 96px; }
.doc h1 { font-size: 42px; letter-spacing: -0.02em; margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 16.5px; }
.doc ul { padding-left: 20px; }

/* ---------- Multi-page components (10-29) ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: var(--r-ctl); font-weight: 600; }
.skip:focus { left: 12px; }
.top { position: sticky; }
.top .bar { position: relative; }
.acts { display: flex; align-items: center; gap: 10px; }
.nav { gap: 24px; }
.dd { position: relative; }
.dd-btn { font: 600 15px var(--sans); color: var(--head); background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 0; }
.dd-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.dd.open .dd-btn::after { transform: rotate(225deg) translateY(-1px); }
.dd-menu { position: absolute; top: calc(100% + 16px); left: -24px; width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 18px 40px rgb(0 0 0 / 0.14); padding: 14px; display: none; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-grid a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none !important; }
.dd-grid a:hover { background: var(--paper); }
.dd-grid b { display: block; font-size: 15px; }
.dd-grid span { display: block; font-size: 13.5px; font-weight: 400; color: var(--mut); }
.dd-all { display: inline-block; margin: 10px 12px 4px; font-size: 14.5px; }
.menu-btn { display: none; align-items: center; gap: 8px; font: 600 14px var(--sans); color: var(--head); background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 10px 12px; cursor: pointer; }
.menu-btn span { width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.mnav { max-width: 1180px; margin: 8px auto 0; background: #fff; border-radius: var(--r-card); box-shadow: 0 8px 30px rgb(0 0 0 / 0.16); padding: 14px 18px 18px; max-height: calc(100vh - 110px); overflow-y: auto; }
.mnav[hidden] { display: none; }
.mgroup { display: grid; padding: 6px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.mgroup a { padding: 9px 0; font-weight: 600; color: var(--head); text-decoration: none; }
.mh { font-family: var(--narrow); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); padding-top: 4px; }
.mnav .btn { width: 100%; }

/* Page hero (sub-pages): dark, left aligned, breadcrumbs */
.phero { background: var(--ink); color: #fff; padding: 156px 0 80px; }
.phero h1 { color: #fff; font-size: 52px; line-height: 1.07; letter-spacing: -0.025em; max-width: 900px; }
.phero .eyebrow { color: rgb(255 255 255 / 0.72); }
.phero .lede { font-size: 19.5px; line-height: 1.55; color: rgb(255 255 255 / 0.84); max-width: 720px; margin-top: 22px; }
.phero .ctas, .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ctas.left { margin-top: 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: rgb(255 255 255 / 0.6); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgb(255 255 255 / 0.35); }
.crumbs a { color: rgb(255 255 255 / 0.78); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.phero.lp { padding-bottom: 88px; }
.phero.lp .split { align-items: start; }
.phero.lp h1 { font-size: 48px; }
.phero.lp .ticks li::before { border-color: var(--yellow); }
.phero.lp .ticks { color: rgb(255 255 255 / 0.88); }
.formcard { background: #fff; color: var(--text); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px rgb(0 0 0 / 0.3); }
.formcard h2 { font-size: 26px; }
.formcard .small { margin: 6px 0 20px; }
.guidetools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; font-size: 14.5px; color: rgb(255 255 255 / 0.65); }

/* Two-column section: heading left, body right */
.sec { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.sec > * { min-width: 0; }
.sec-h h2 { font-size: 34px; line-height: 1.12; position: sticky; top: 110px; }
.sec.diy .sec-b { background: var(--soft); border: 1px solid #efe3a8; border-radius: var(--r-card); padding: 32px; }
section.k.paper .sec.diy .sec-b { background: #fff; border-color: var(--line); }
.narrowtext { max-width: 820px; }

/* Prose from markdown */
.prose > * + * { margin-top: 16px; }
.prose h3 { font-size: 20px; margin-top: 30px; }
.prose ul.ticks, .prose ol, .prose ul { margin-top: 18px; }
.prose .textlink { font-weight: 500; }
.prose strong { font-weight: 600; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; overflow-wrap: anywhere; }
.dark .prose code { background: var(--ink-2); border-color: rgb(255 255 255 / .12); }
.note { padding: 14px 18px; border-left: 3px solid var(--yellow); background: var(--paper); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; font-size: 16px; color: var(--head); }
section.k.paper .note { background: #fff; }
.dark .note { background: var(--ink-2); color: #fff; }
.leads { list-style: none; display: grid; }
.leads li { padding: 14px 0 14px 22px; border-top: 1px solid var(--line); position: relative; font-size: 16.5px; }
.leads li:last-child { border-bottom: 1px solid var(--line); }
.leads li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 2px; background: var(--yellow); }
.numsteps { list-style: none; counter-reset: n; display: grid; gap: 14px; }
.numsteps li { counter-increment: n; position: relative; padding-left: 46px; font-size: 16.5px; }
.numsteps li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--mut); border-top: 2px solid var(--yellow); padding-top: 2px; }
.dark .numsteps li::before { color: rgb(255 255 255 / .6); }
.prose.wide > .grid3, .prose.wide > .steps { margin-top: 8px; }
.cards .card .textlink { display: inline-block; margin-top: 14px; font-size: 15px; }
.steps.grid3 { grid-template-columns: repeat(3, 1fr); }
.prose.wide > p, .prose.wide > .note, .prose.wide > ul.ticks { max-width: 760px; }
.head.center + .prose.wide > p { margin-left: auto; margin-right: auto; text-align: center; }

/* Tables */
.tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 13px 16px; border-top: 1px solid var(--line); }
.tbl thead th { border-top: 0; background: var(--paper); font-family: var(--narrow); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.tbl tbody th { font-weight: 600; color: var(--head); }
.dark .tblwrap { background: var(--ink-2); border-color: rgb(255 255 255 / .12); }
.dark .tbl th, .dark .tbl td { border-color: rgb(255 255 255 / .1); }
.dark .tbl thead th { background: #1c1d23; color: rgb(255 255 255 / .7); }
.dark .tbl tbody th { color: #fff; }
.plantbl { min-width: 640px; }
.plantbl thead th span { display: block; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--head); margin-top: 2px; }
.plantbl td { width: 20%; }
.plantbl .yes { font-weight: 600; color: var(--head); padding-left: 20px; position: relative; }
.plantbl .yes::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--head); border-bottom: 2px solid var(--head); transform: rotate(-45deg); }
.plantbl .no { color: #b7b0a6; }
.tblh { margin: 48px 0 16px; }
.plan .setup { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mut); }
.plan .prose ul.ticks { margin-top: 0; }
.plan .prose { font-size: 15.5px; }

/* CTA band + guide card + hub cards */
.ctaband { display: flex; justify-content: space-between; align-items: center; gap: 28px; background: var(--ink); color: rgb(255 255 255 / .8); border-radius: 20px; padding: 40px 44px; border-top: 3px solid var(--yellow); } /* impeccable-disable-line border-accent-on-rounded: yellow cap on the live CTA band */
.ctaband h3 { color: #fff; font-size: 26px; }
.ctaband .eyebrow { color: rgb(255 255 255 / .7); margin-bottom: 10px; }
.ctaband p { margin-top: 8px; max-width: 620px; }
.ctaband .btn { flex: none; }
.prose .ctaband { margin-top: 32px; }
section.k.endcta { padding: 72px 0; }
.guidecard { display: grid; gap: 6px; padding: 24px 26px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: var(--r-card); background: #fff; text-decoration: none; margin-top: 26px; }
.guidecard .gt { font-size: 19px; font-weight: 700; color: var(--head); }
.guidecard .gd { font-size: 15.5px; color: var(--mut); }
.guidecard .textlink { margin-top: 6px; font-size: 15px; }
.guidecard:hover { border-color: var(--head); border-left-color: var(--yellow); }
.hubcard { text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s ease; }
.hubcard:hover { border-color: var(--head); }
.hubcard h3 { margin: 0; }
.hubcard p { color: var(--mut); font-size: 15.5px; flex: 1; }
.hubgrid { margin-top: 8px; }
.prose.wide.head { margin-bottom: 40px; }

/* Trust row */
.trustrow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.trustrow li { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); }
.trustrow h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.trustrow h3::before { content: ""; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; flex: none; }
.trustrow p { font-size: 15.5px; }
.dark .trustrow, .dark .trustrow li { border-color: rgb(255 255 255 / .12); }

/* Home quiz teaser */
.teaser { box-shadow: 0 20px 40px rgb(0 0 0 / 0.06); }
.teaser .opt { display: block; text-decoration: none; }
.teaser .qfoot { gap: 14px; flex-wrap: wrap; }
.quiz-intro .prose ul.ticks li::before { top: 9px; }

/* Guides: printable article */
section.k.guide { padding-top: 72px; }
.guidebody { max-width: 780px; }
.guidebody h2 { font-size: 30px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.guidebody h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.guidebody h3 { margin-top: 28px; }
.checklist { list-style: none; display: grid; gap: 0; }
.checklist li { border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 13px 4px; font-weight: 400; font-size: 16.5px; color: var(--text); cursor: pointer; margin: 0; }
.checklist input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.checklist input:checked + span { color: var(--mut); text-decoration: line-through; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.printnote { display: none; }

.dark .textlink, .phero .textlink, .ctaband .textlink { color: #fff; }
footer .works b { color: #fff; }
footer .works { margin-top: 12px; }
footer .cols { grid-template-columns: 2fr 1fr 1.2fr 1fr; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid2 > * { min-width: 0; }
.prose .linkcards { margin-top: 20px; }
.prose ul.sub { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.prose ul.sub li { position: relative; padding-left: 18px; font-size: 15.5px; }
.prose ul.sub li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--mut); border: 0; transform: none; }
pre.code { background: var(--ink); color: #f3f1ec; border-radius: var(--r-ctl); padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
pre.code code { font-family: var(--mono); font-weight: 500; background: none; border: 0; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; white-space: pre; }

.quiz-intro ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; background: none; border-left: 2px solid var(--head); border-bottom: 2px solid var(--head); transform: rotate(-45deg); }
.quiz-intro ul.ticks li { padding-left: 28px; }

/* Privacy body */
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc h2:first-child { margin-top: 0; }

/* Minimal footer (landing page) */
footer.min .legal { border-top: 0; }

@media print {
  .top, footer, .no-print, .trust, .endcta, .skip, .crumbs, .ctas { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .phero { background: #fff !important; color: #000; padding: 0 0 10pt; border-bottom: 2pt solid #000; }
  .phero h1 { color: #000; font-size: 22pt; }
  .phero .lede { color: #222; font-size: 12pt; }
  .phero .eyebrow { color: #444; }
  section.k, section.k.guide { padding: 10pt 0; }
  .wrap { padding: 0; max-width: none; }
  .guidebody h2 { font-size: 15pt; margin-top: 16pt; padding-top: 8pt; break-after: avoid; }
  .guidebody h3 { break-after: avoid; }
  .checklist li, .leads li, .numsteps li, tr { break-inside: avoid; }
  pre.code { background: #fff; color: #000; border: 1pt solid #999; white-space: pre-wrap; }
  .checklist input { appearance: none; -webkit-appearance: none; border: 1.5pt solid #000; border-radius: 2pt; width: 12pt; height: 12pt; }
  .checklist label { padding: 6pt 0; font-size: 11pt; }
  .note { background: #fff !important; border-left: 2pt solid #000; }
  .tblwrap { overflow: visible; border-color: #999; }
  a.textlink[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; font-weight: 400; }
  .printnote { display: block; margin-top: 18pt; font-size: 9pt; color: #444; }
  @page { margin: 16mm; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 1000px) {
  .trustrow { grid-template-columns: 1fr 1fr; }
  .steps.grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .two, .split { grid-template-columns: 1fr; gap: 36px; }
  .frame { padding: 32px 24px; border-radius: var(--r-card); }
  .sec { grid-template-columns: 1fr; gap: 20px; }
  .pg-check .quiz { order: -1; }
  .sec-h h2 { position: static; }
  .phero h1 { font-size: 42px; }
  .ctaband { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .top { padding: 0 12px; top: 10px; margin-top: 10px; margin-bottom: -74px; }
  .top .bar { height: 60px; padding: 8px 8px 8px 14px; }
  .brand { font-size: 19px; } .brand svg { width: 28px; height: 28px; }
  .nav .btn.sm { padding: 10px 14px; font-size: 13.5px; }
  .hero { padding: 128px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero .eyebrow::before, .hero .eyebrow::after { display: none; }
  .hero .lede { font-size: 17.5px; }
  .hero .ctas .btn { width: 100%; }
  .strip ul { justify-content: flex-start; gap: 8px 22px; font-size: 14px; }
  section.k { padding: 64px 0; }
  h2, .quiz-intro h2 { font-size: 30px; }
  .head { margin-bottom: 32px; }
  .head .lede, .lede { font-size: 17px; }
  .grid3, .grid4, .f2, .checks, .numlist { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .quiz { padding: 22px 18px; min-height: 440px; }
  .qtitle { font-size: 21px; }
  .level .word { font-size: 28px; }
  footer .fcta { flex-direction: column; align-items: flex-start; }
  footer .cols { grid-template-columns: 1fr; }
  .phero { padding: 116px 0 56px; }
  .phero h1, .phero.lp h1 { font-size: 34px; }
  .phero .lede { font-size: 17.5px; }
  .phero .ctas .btn { width: 100%; }
  .sec-h h2 { font-size: 28px; }
  .sec.diy .sec-b { padding: 22px; }
  .trustrow, .steps.grid3 { grid-template-columns: 1fr; }
  .trustrow li { padding-right: 0; }
  .formcard { padding: 22px 18px; }
  .acts .btn.sm { padding: 10px 12px; font-size: 13.5px; }
  .menu-btn { padding: 9px 10px; }
  .ctaband .btn { width: 100%; }
  .guidebody h2 { font-size: 25px; }
  .tbl { font-size: 14.5px; } .tbl th, .tbl td { padding: 11px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.qtitle:focus, .level .word:focus { outline: none; }

/* Planned credentials. Each tile is the badge image. The name is the image alt text. */
.creds { background: var(--paper, #f7f6f2); border-top: 1px solid var(--line); padding: 36px 0 8px; }
.creds .grp { margin: 0 0 26px; }
.creds .grp p { margin: 0 0 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut, #6b6b66); }
.credgrid { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 14px; margin: 0; padding: 0; }
.credgrid li { width: 118px; }
.credgrid li.partner-gcp { width: 168px; }
.credgrid li.partner-ms { width: 248px; }
.credgrid li.finops-prem { width: 250px; }
.badge { position: relative; width: 100%; margin: 0; padding: 0; background: none; border: 0; }
.badge img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) {
  .credgrid li { width: calc(50% - 7px); }
  .credgrid li.partner-ms, .credgrid li.finops-prem, .credgrid li.partner-gcp { width: 100%; max-width: 280px; }
}

/* Ask AI: the product mark only. The name is in the link label for screen readers. */
.askai { background: var(--ink); color: #fff; padding: 28px 0; }
.askai .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.askai p { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.askai .wrap > div > span { display: block; margin-top: 6px; max-width: 36ch; font-size: 14px; line-height: 1.4; color: rgb(255 255 255 / 0.62); }
.askai ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.askai a { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgb(255 255 255 / 0.22); border-radius: 12px; color: #fff; text-decoration: none; }
.askai a svg { width: 22px; height: 22px; fill: currentColor; }
.askai a:hover { border-color: var(--yellow); color: var(--yellow); }
.askai .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 800px) { .askai .wrap { flex-direction: column; align-items: flex-start; } .askai p { font-size: 20px; } }

/* Works-with moving bar: plain-text platform names, not vendor logos */
.worksbar { background: var(--paper, #f7f6f2); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.worksbar .wrap { display: flex; align-items: center; gap: 28px; }
.wb-label { flex: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut, #6b6b66); margin: 0; }
.wb-viewport { display: flex; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wb-track { list-style: none; display: flex; flex: none; gap: 56px; margin: 0; padding: 0 56px 0 0; animation: wb-scroll 28s linear infinite; }
.wb-track li { display: flex; align-items: center; gap: 10px; font-family: 'Archivo Narrow', 'IBM Plex Sans', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: .01em; color: #3b3b38; white-space: nowrap; opacity: .82; }
.wb-track li svg { width: 28px; height: 28px; flex: none; fill: currentColor; }
.wb-track li.aws svg { width: 54px; height: 32px; }
.wb-track li.vmw svg { width: 120px; height: 19px; }
.wb-track li .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wb-viewport:hover .wb-track { animation-play-state: paused; }
@keyframes wb-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .wb-track { animation: none; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; gap: 16px 32px !important; padding-right: 0 !important; } .wb-track[aria-hidden] { display: none; } .wb-viewport { flex-wrap: wrap; min-width: 0; width: 100%; -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 640px) { .worksbar .wrap { flex-direction: column; align-items: flex-start; gap: 10px; } .wb-track li { font-size: 18px; } .wb-track li svg { width: 22px; height: 22px; } .wb-track li.aws svg { width: 44px; height: 26px; } .wb-track li.vmw svg { width: 98px; height: 16px; } .wb-track { gap: 40px; padding-right: 40px; } }

/* hero illustrations: paper card on the dark hero */
figure.art { background: var(--paper); border-radius: var(--r-card); overflow: hidden; margin: 0; box-shadow: 0 24px 60px rgb(0 0 0 / 0.35); }
figure.art img { width: 100%; height: auto; }
.heroart { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.heroart > * { min-width: 0; }
.phero.withart h1 { font-size: 46px; }
.hero figure.art { max-width: 600px; margin: 48px auto 0; transform: rotate(-0.6deg); }
@media (max-width: 900px) { .heroart { grid-template-columns: 1fr; gap: 36px; } .phero.withart h1 { font-size: 36px; } .hero figure.art { margin-top: 40px; } }
