/* matrix-inspect.classmethod-security.jp — hand-written, no build step, no
   third-party CSS. Palette follows classmethod.jp (blue #2D8DE0, navy
   #1D1E5A, yellow #F4BB2D) with a sharper treatment: deep-navy hero with a
   fine grid, square corners, notched buttons, hairline
   borders, monospace uppercase labels and outlined section numbers.
   One colour per menu (.c-web / .c-mobile / .c-llm / .c-code).
   Strict CSP (style-src 'self'): never use inline styles. System fonts only. */

:root {
  --bg: #ffffff;
  --band: #f5f6f8;
  --line: #e4e7ec;
  --line-2: #cfd4dc;
  --text: #15161f;
  --muted: #5f6472;
  --faint: #8a8f9c;
  --blue: #2d8de0;
  --blue-dark: #1e71b9;
  --blue-soft: #eaf3fc;
  --blue-hi: #6cb6f5;       /* blue on navy */
  --navy: #1d1e5a;
  --navy-deep: #0d0e2e;
  --yellow: #d9ae4a;       /* classmethod yellow, toned down */
  --yellow-hi: #e6c06a;
  --d-line: rgba(255, 255, 255, .1);
  --d-line-2: rgba(255, 255, 255, .2);
  --d-muted: #b4b9d6;
  --hi: #f0506e;
  --md: #d9ae4a;
  --lo: #6cb6f5;
  --maxw: 1180px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
  --en: "Helvetica Neue", "Arial Black", Arial, var(--font);
  --mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
  --notch: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  --s: var(--blue);        /* menu colour on light */
  --s-t: var(--blue-dark); /* menu colour as text on light */
  --s-d: var(--blue-hi);   /* menu colour on navy */
  color-scheme: light;
}

.c-web { --s: #2d8de0; --s-t: #1e71b9; --s-d: #6cb6f5; }
.c-pen { --s: #c0263f; --s-t: #a11d33; --s-d: #f0506e; }
.c-sub { --s: #b8892b; --s-t: #8a6414; --s-d: #d9ae4a; }
.c-mobile { --s: #13a39a; --s-t: #0b7a73; --s-d: #4fd6cc; }
.c-llm { --s: #c96a33; --s-t: #a5532a; --s-d: #e39a6c; }
.c-code { --s: #7b61ff; --s-t: #5b3fe0; --s-d: #a998ff; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html:has(.toc) { scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.9; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
p, li, dd, td { line-break: strict; word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; letter-spacing: .01em; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 880px; }
.center { text-align: center; }
section { padding: 112px 0; position: relative; }
section.band { background: var(--band); }

/* ── Dark surfaces ───────────────────────────────────────────────────── */
.dark {
  --text: #fff; --muted: var(--d-muted); --faint: #7d83a8; --line: var(--d-line); --line-2: var(--d-line-2);
  background: var(--navy-deep); color: #fff; isolation: isolate;
}
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 100%);
}
.dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 65% at 88% 15%, rgba(45, 141, 224, .30), transparent 70%),
              radial-gradient(45% 55% at 5% 100%, rgba(29, 30, 90, .95), transparent 70%);
}
.dark a { color: var(--blue-hi); }
.dark p, .dark .lead { color: var(--d-muted); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

/* ── Header (white, like classmethod.jp) ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-deep); text-decoration: none; }
.brand:hover { text-decoration: none; }
.mark { width: 34px; height: 34px; flex: none; }
.mk-f { stroke: var(--blue); stroke-width: 2.4; stroke-linecap: square; }
.mk-d { fill: var(--navy); }
.mk-d.on { fill: var(--yellow); }
.wm { display: flex; flex-direction: column; line-height: 1.05; }
.wm-name { font-family: var(--en); font-weight: 900; font-size: 20px; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.wm-name b { color: var(--blue); font-weight: 900; }
.wm-by { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--faint); text-transform: uppercase; margin-top: 4px; }
.site-footer .brand { color: #fff; }
.site-footer .wm-name b { color: var(--blue-hi); }
.site-footer .mk-d { fill: #8a8fc4; }

.nav { display: flex; align-items: stretch; gap: 2px; height: 72px; }
.nav-l {
  display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 13px;
  color: var(--text); font-size: 13.5px; font-weight: 700; line-height: 1.25; letter-spacing: .04em; text-decoration: none; position: relative;
}
.nav-l small { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--faint); transition: color .15s; }
.nav-l::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-l:hover, .nav-svc:hover > .nav-l, .nav-svc:focus-within > .nav-l { color: var(--blue); text-decoration: none; }
.nav-l:hover small, .nav-svc:hover > .nav-l small { color: var(--blue); }
.nav-l:hover::after, .nav-svc:hover > .nav-l::after, .nav-svc:focus-within > .nav-l::after { transform: scaleX(1); }
.nav-svc { position: relative; display: flex; }
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 340px; padding: 6px;
  background: var(--navy-deep); border-top: 3px solid var(--blue);
  box-shadow: 0 24px 48px rgba(13, 14, 46, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-svc:hover .nav-sub, .nav-svc:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; border-left: 2px solid transparent; }
.nav-sub a span { display: flex; flex-direction: column; }
.nav-sub a small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--d-muted); font-weight: 400; }
.nav-sub a:hover, .nav-sub a[aria-current] { background: rgba(255, 255, 255, .06); border-left-color: var(--s-d); text-decoration: none; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--s); flex: none; transform: rotate(45deg); }
.dark .dot, .nav-sub .dot { background: var(--s-d); }
.nav .btn { margin-left: 14px; align-self: center; }
.nav-toggle { display: none; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 15px 28px; border-radius: 0; font-weight: 700; font-size: 14.5px; line-height: 1.3; letter-spacing: .06em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; font-family: var(--font);
  transition: background .15s, border-color .15s, color .15s;
  clip-path: var(--notch);
}
.btn::after { content: "→"; font-weight: 400; transition: transform .15s; }
.btn:hover { text-decoration: none; }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.dark .btn-primary, .dark a.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.dark .btn-primary:hover { background: var(--yellow-hi); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); clip-path: none; }
.dark .btn-ghost, .dark a.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.dark .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.site-header .btn { padding: 12px 22px; font-size: 13.5px; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn-row.center { justify-content: center; }

/* ── Type ────────────────────────────────────────────────────────────── */
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--s-t);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .eyebrow { color: var(--yellow); }
.eyebrow .num { display: none; }
.sec-head { margin-bottom: 56px; position: relative; }
.bignum {
  position: absolute; right: 0; top: -40px; font-family: var(--en); font-weight: 900; font-size: 128px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: -.04em; pointer-events: none; user-select: none; z-index: 0;
}
.company .bignum { top: -96px; right: auto; left: -6px; }
.dark .bignum { -webkit-text-stroke: 1px rgba(255, 255, 255, .18); }
.sec-head > :not(.bignum) { position: relative; z-index: 1; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; letter-spacing: .01em; }
.lead { color: var(--muted); font-size: 16px; margin-top: 20px; max-width: 760px; }
.note {
  margin-top: 24px; font-size: 14px; color: var(--muted); padding: 14px 18px;
  border: 1px solid var(--line); border-left: 3px solid var(--s); background: #fff;
}
.dark .note { background: rgba(255, 255, 255, .04); border-color: var(--d-line); border-left-color: var(--yellow); }
.note.small, .small { font-size: 13px; }
.note.small { border: 0; background: none; padding: 0; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 0; overflow: hidden; }
.hero.sub { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero:not(.sub) .hero-grid { padding-bottom: 88px; }
.hero h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 900; line-height: 1.2; letter-spacing: .01em; }
.hero:not(.sub) h1 span { white-space: nowrap; }
.hero.sub h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.3; }
.hero h1 .hl { color: var(--yellow); position: relative; display: inline-block; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: .5em; bottom: -.04em; height: .1em; background: var(--blue); transform: skewX(-30deg); }
.hero .eyebrow { color: var(--blue-hi); }
.hero .lead { font-size: 16.5px; margin-top: 30px; color: #d3d6ea; }
.checks { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #fff; font-weight: 700; }
.ck { width: 18px; height: 18px; flex: none; }
.ck path { stroke: var(--s); stroke-width: 2.6; stroke-linecap: square; }
.dark .ck path { stroke: var(--yellow); }
.hero-side { position: relative; }
.crumb { font-size: 12.5px; color: var(--d-muted); margin-bottom: 20px; font-family: var(--mono); letter-spacing: .04em; }
.dark .crumb a { color: var(--d-muted); }
.svc-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 20px;
  border: 1px solid var(--s-d); font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; color: var(--s-d);
}
.hero-price { margin-top: 28px; display: inline-flex; align-items: baseline; gap: 12px; padding: 12px 18px; border-left: 3px solid var(--yellow); background: rgba(255, 255, 255, .05); }
.hero-price small { font-size: 12px; color: var(--d-muted); }
.hero-price b { font-size: 26px; color: #fff; font-family: var(--en); font-weight: 900; letter-spacing: -.01em; }


/* ── SVG illustrations ───────────────────────────────────────────────── */
.hero-art { width: 100%; height: auto; overflow: visible; }
.hero-art text { font-family: var(--mono); }
.pn { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.ln { stroke: rgba(180, 185, 214, .32); stroke-width: 1.2; fill: none; }
rect.ln { fill: rgba(180, 185, 214, .07); }
.dash { stroke-dasharray: 4 5; }
.ac { stroke: var(--yellow); stroke-width: 2; fill: none; stroke-linecap: square; stroke-linejoin: miter; }
.af { fill: var(--yellow); }
.sv { stroke: var(--s-d); stroke-width: 2; fill: none; stroke-linecap: square; }
.svf { fill: var(--s-d); }
.tx { fill: var(--d-muted); font-size: 11px; letter-spacing: .12em; }
.tx-s { fill: var(--yellow); font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.tx-n { fill: #fff; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.tx-c { fill: #e6e8f5; font-size: 10.5px; letter-spacing: .14em; text-anchor: middle; font-weight: 700; }
.tx-d { fill: rgba(180, 185, 214, .5); font-size: 10px; }
.tx-core { fill: #fff; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-anchor: middle; }
.chip { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .25); }
.chip.on { fill: var(--yellow); stroke: var(--yellow); }
.chip.on + .tx-c { fill: var(--navy-deep); }
.field { fill: rgba(180, 185, 214, .08); stroke: rgba(180, 185, 214, .3); }
.core { fill: rgba(45, 141, 224, .12); stroke: var(--blue-hi); stroke-width: 1.5; }
.cell { fill: rgba(180, 185, 214, .05); stroke: rgba(180, 185, 214, .16); }
.cell.hi { fill: rgba(240, 80, 110, .18); stroke: var(--hi); stroke-width: 1.5; }
.cell.md { fill: rgba(217, 174, 74, .16); stroke: var(--md); stroke-width: 1.5; }
.cell.lo { fill: rgba(108, 182, 245, .14); stroke: var(--lo); stroke-width: 1.5; }
.hi-f { fill: var(--hi); } .md-f { fill: var(--md); } .lo-f { fill: var(--lo); }
.dot-on { fill: var(--yellow); }
.dot-on.sv-d { fill: var(--s-d); }
.dot-off { fill: none; stroke: rgba(180, 185, 214, .4); }
.scanband { fill: rgba(45, 141, 224, .14); }
.sweep .ac { stroke: var(--blue-hi); }
.sweep { animation: sweep 6s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateY(0); } to { transform: translateY(232px); } }
.hero-art .cell.hi, .hero-art .cell.md, .hero-art .cell.lo { animation: blink 3.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .55; } }

/* ── Grids & cards (hairline grid, no gaps) ──────────────────────────── */
.grid { display: grid; gap: 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.grid > * { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: #fff; color: var(--text); transition: background .2s; }
.card::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 3px; background: var(--s); transition: width .3s ease; }
.card:hover::before { width: calc(100% + 2px); }
.card h3 { font-size: 17.5px; font-weight: 800; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.card .tag { margin-top: auto; align-self: flex-start; }
.card.compact { padding: 26px 22px; }
.card.compact h3 { font-size: 15.5px; }
.card.link:hover { text-decoration: none; background: var(--blue-soft); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.card-top .n { font-family: var(--en); font-weight: 900; font-size: 30px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.icon { display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--s-t); background: color-mix(in srgb, var(--s) 11%, #fff); }
.icon svg { width: 24px; height: 24px; }
.tag {
  display: inline-block; padding: 3px 10px; font-size: 11.5px; font-weight: 700; line-height: 1.6; white-space: nowrap;
  color: var(--s-t); background: color-mix(in srgb, var(--s) 10%, #fff); border-left: 2px solid var(--s);
}
.tag.hot { color: #c0263f; background: #fdecef; border-left-color: var(--hi); }
.dark .tag { color: var(--navy-deep); background: var(--yellow); border-left-color: var(--yellow); }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.7; }
.ticks .ck { margin-top: 3px; }
.ticks.big li { font-size: 15.5px; color: var(--text); padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

/* Service cards (top): notched corner in the menu colour. */
.svc-grid { border: 0; gap: 20px; }
.svc-grid > * { border: 0; }
.svc-card {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 24px;
  background: var(--line-2); color: var(--text); position: relative; transition: transform .2s, filter .2s;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  isolation: isolate;
}
.svc-card::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: #fff; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.svc-card .svc-top::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 4px; background: var(--s); }
.svc-card:hover { text-decoration: none; transform: translateY(-4px); background: var(--s); filter: drop-shadow(0 16px 24px rgba(13, 14, 46, .12)); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-top .en { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--s-t); text-align: right; padding-right: 14px; }
.svc-card h3 { font-size: 20px; font-weight: 900; }
.svc-card > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.svc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-direction: column; font-family: var(--en); font-size: 22px; font-weight: 900; color: var(--text); line-height: 1.25; letter-spacing: -.01em; }
.price small { font-family: var(--font); font-size: 11px; font-weight: 400; color: var(--faint); letter-spacing: .02em; }
.more { font-size: 12.5px; font-weight: 700; color: var(--s-t); white-space: nowrap; letter-spacing: .04em; }
.more i { font-style: normal; display: inline-block; transition: transform .2s; }
.svc-card:hover .more i { transform: translateX(4px); }

/* Subscription teaser (top, under the four menu cards) */
.sub-teaser {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 20px;
  padding: 26px 32px; background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); transition: transform .2s;
}
.sub-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 140% at 100% 50%, rgba(217, 174, 74, .28), transparent 70%); }
.sub-teaser::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); }
.sub-teaser:hover { text-decoration: none; transform: translateY(-3px); }
.st-icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--yellow); color: var(--navy-deep); }
.st-icon svg { width: 28px; height: 28px; }
.st-body { display: flex; flex-direction: column; gap: 4px; }
.st-body small { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--yellow); text-transform: uppercase; }
.st-body b { font-size: 20px; font-weight: 900; }
.st-body span { font-size: 14px; color: var(--d-muted); line-height: 1.75; }
.st-arr { font-style: normal; font-size: 22px; color: var(--yellow); transition: transform .2s; }
.sub-teaser:hover .st-arr { transform: translateX(5px); }

/* Year timeline (subscription page) */
.tl { background: #fff; border: 1px solid var(--line-2); border-top: 2px solid var(--text); padding: 8px 32px 12px; }
.tl-row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.tl-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.tl-label { font-size: 14px; font-weight: 800; line-height: 1.6; }
.tl-label b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--blue); margin-bottom: 2px; }
.tl-row + .tl-row .tl-label b { color: var(--s-t); }
.tl-row:last-child { border-bottom: 0; }
.tl-bar { height: 14px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, #6cb6f5 10px 16px); position: relative; }
.tl-bar span { position: absolute; right: -2px; top: 50%; transform: translateY(-50%); border-left: 12px solid var(--blue); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.tl-marks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-x { word-break: auto-phrase; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; line-height: 1.5; color: var(--s-t); padding-right: 12px; }
.tl-x i { width: 26px; height: 26px; flex: none; background: var(--yellow); }
.qbox { fill: var(--yellow); }
.tx-qm { stroke: var(--navy-deep); stroke-width: 2.4; fill: none; }

/* Self-check teaser (top) */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-grid .sec-head { margin-bottom: 0; }
.check-preview { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--d-line-2); border-left: 1px solid var(--d-line-2); }
.check-preview li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-right: 1px solid var(--d-line-2); border-bottom: 1px solid var(--d-line-2); font-size: 14.5px; font-weight: 800; }
.check-preview .n { font-family: var(--en); font-weight: 900; font-size: 13px; color: var(--yellow); }

/* Self-check page */
.checklist-sec { padding-top: 72px; }
.ck-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.ck-howto { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.ck-cat { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.ck-cat legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 12px; font-size: 19px; font-weight: 900; border-bottom: 2px solid var(--text); }
.ck-cat legend .n { font-family: var(--en); font-weight: 900; font-size: 15px; color: var(--blue); }
.ck-count { margin-left: auto; font-family: var(--en); font-size: 13px; font-weight: 900; color: var(--faint); }
.ck-cat.all-done .ck-count { color: #16a34a; }
.ck-cat ul { display: grid; }
.ck-cat li label { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.ck-cat li label:hover { background: var(--band); }
.ck-cat input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-box { width: 22px; height: 22px; margin-top: 2px; border: 2px solid var(--line-2); background: #fff; position: relative; transition: background .15s, border-color .15s; }
.ck-cat input:checked + .ck-box { background: var(--blue); border-color: var(--blue); }
.ck-cat input:checked + .ck-box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ck-cat input:focus-visible + .ck-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.ck-text { display: flex; flex-direction: column; gap: 2px; }
.ck-text b { font-size: 15px; font-weight: 700; line-height: 1.6; }
.ck-text small { font-size: 13px; color: var(--muted); line-height: 1.7; }
.ck-cat input:checked ~ .ck-text b { color: var(--muted); }

.ck-result { position: sticky; top: 96px; background: var(--navy-deep); color: #fff; padding: 26px 24px; border-top: 4px solid var(--yellow); }
.ck-r-h { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--yellow); }
.ck-score { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 12px; }
.ck-score b { font-family: var(--en); font-size: 54px; font-weight: 900; line-height: 1; }
.ck-score span { font-size: 13px; color: var(--d-muted); }
.ck-meter { height: 6px; background: rgba(255, 255, 255, .12); }
.ck-meter span { display: block; height: 100%; width: 0; background: var(--blue-hi); transition: width .3s; }
.ck-msg { font-size: 13.5px; color: #d3d6ea; line-height: 1.8; margin: 14px 0 18px; }
.ck-r-sub { font-size: 12px; font-weight: 800; color: var(--d-muted); margin-bottom: 8px; }
.ck-recs { display: grid; gap: 6px; margin-bottom: 18px; }
.ck-recs:not(:has(li:not([hidden])))::before { content: "—"; color: var(--d-muted); font-size: 13px; }
.ck-recs a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 13.5px; font-weight: 800; }
.ck-recs a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.ck-recs .dot { background: var(--s-d); }
.ck-cta { width: 100%; }
.ck-print { width: 100%; margin-top: 10px; padding: 11px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .3); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ck-print:hover { border-color: #fff; }
.ck-notes { margin-top: 16px; display: grid; gap: 6px; }
.ck-notes li { font-size: 11.5px; color: var(--d-muted); line-height: 1.7; }

@media print {
  .site-header, .site-footer, .cta, .ck-cta, .ck-print, .skip { display: none !important; }
  .hero.sub { padding: 0 0 16px; background: none; color: #000; }
  .hero.sub::before, .hero.sub::after { display: none; }
  .hero.sub h1, .hero.sub .lead, .hero.sub .checks li { color: #000; }
  .ck-layout { grid-template-columns: 1fr; }
  .ck-result { position: static; background: none; color: #000; border: 1px solid #000; }
  .ck-result *, .ck-recs a { color: #000 !important; background: none !important; }
  .ck-cat { break-inside: avoid; }
  .js .reveal { opacity: 1; transform: none; }
  .ck-cat input:checked + .ck-box { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Pentest band (top) */
.pen-band::after { background: radial-gradient(50% 70% at 90% 30%, rgba(240, 80, 110, .22), transparent 70%),
                                radial-gradient(45% 55% at 5% 100%, rgba(29, 30, 90, .95), transparent 70%); }
.pen-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.pen-grid .sec-head { margin-bottom: 0; }
.pen-side { border: 1px solid var(--d-line-2); background: rgba(255, 255, 255, .03); padding: 28px 30px; }
.dark .pen-note { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--s-d); margin-bottom: 16px; }
.pen-chain { display: grid; gap: 0; }
.pen-chain li { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-weight: 800; font-size: 16px; position: relative; }
.pen-chain li + li { border-top: 1px dashed var(--d-line-2); }
.pen-chain .n { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--s-d); color: var(--s-d); font-family: var(--en); font-weight: 900; font-size: 13px; }
.pen-chain li:last-child .n { background: var(--s-d); color: var(--navy-deep); }
.pen-price { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--d-line-2); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.pen-price b { font-family: var(--en); font-size: 36px; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.dark .pen-price small { font-size: 12px; color: var(--d-muted); }
.pen-price small:first-child { flex-basis: 100%; }
.chain.big li { font-size: 15px; padding: 22px 34px 22px 22px; }
.chain.big .n { color: var(--s-t); }
.chain.big li:last-child { background: var(--s); }
.chain.big li:last-child .n { color: #fff; }

/* Hybrid approach (top): four phases on a rail, then AI vs engineer. */
.hyb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.hyb::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--d-line-2); }
.hyb li { position: relative; }
.hyb .n {
  position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  background: var(--navy-deep); border: 1px solid var(--d-line-2); color: #fff; font-family: var(--en); font-size: 17px; font-weight: 900;
}
.hyb .role { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.hyb .role.ai { color: var(--blue-hi); }
.hyb .role.both { color: #c9cde3; }
.hyb .role.eng { color: var(--yellow); }
.hyb li:has(.role.ai) .n { border-color: var(--blue-hi); color: var(--blue-hi); }
.hyb li:has(.role.eng) .n { border-color: var(--yellow); color: var(--yellow); }
.hyb li:last-child:has(.role) .n { background: var(--yellow); color: var(--navy-deep); }
.hyb h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.dark .hyb p { font-size: 14px; line-height: 1.8; color: #c9cde3; }
.hyb-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border: 1px solid var(--d-line-2); }
.hyb-col { padding: 28px 30px; }
.hyb-col + .hyb-col { border-left: 1px solid var(--d-line-2); background: rgba(217, 174, 74, .06); }
.hyb-h { font-size: 17px; font-weight: 900; color: #fff !important; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.hyb-h span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; padding: 3px 8px; }
.hyb-col.ai .hyb-h span { background: var(--blue); color: #fff; }
.hyb-col.eng .hyb-h span { background: var(--yellow); color: var(--navy-deep); }
.hyb-col .ticks { display: grid; gap: 8px; }
.hyb-col .ticks li { color: #d3d6ea; font-size: 14.5px; }
.hyb-col.ai .ck path { stroke: var(--blue-hi); }
.dark .hyb-link { margin-top: 28px; font-size: 14px; color: var(--d-muted); }
.hyb-link a { margin-left: 8px; font-weight: 700; color: var(--yellow) !important; white-space: nowrap; }

/* Why (strengths): numbered rows — number | claim | proof points. */
.why { border-top: 2px solid var(--text); }
.why > li { display: grid; grid-template-columns: 96px 1fr 300px; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.why-n { font-family: var(--en); font-weight: 900; font-size: 56px; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--blue); }
.why > li:hover .why-n { color: var(--blue); }
.why-en { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--blue); margin-bottom: 6px; }
.why-main h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.why-main p:not(.why-en) { color: var(--muted); font-size: 15px; }
.why-proof { display: grid; gap: 8px; padding: 16px 18px; background: var(--band); border-left: 3px solid var(--yellow); }
.why-proof li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 700; line-height: 1.6; }
.why-proof .ck { margin-top: 2px; width: 16px; height: 16px; }
.why-proof .ck path { stroke: var(--blue); }

/* Registration */
.reg {
  margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  padding: 36px 40px 36px 44px; background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.reg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 0%, rgba(45, 141, 224, .35), transparent 70%); }
.reg::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); }
.reg-mark { width: 68px; height: 68px; display: grid; place-items: center; background: var(--yellow); color: var(--navy-deep); }
.reg-mark svg { width: 36px; height: 36px; }
.reg .eyebrow { color: var(--yellow); margin-bottom: 8px; }
.reg h3 { color: #fff; font-size: 20px; font-weight: 900; }
.reg dl { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 18px 0 14px; }
.reg dl div { display: flex; flex-direction: column; }
.reg dt { font-size: 11px; color: var(--d-muted); letter-spacing: .06em; }
.reg dd { margin: 0; font-family: var(--en); font-size: 18px; color: #fff; font-weight: 900; }
.reg p { color: var(--d-muted); }
.reg a { color: var(--yellow); margin-left: 6px; font-weight: 700; }

/* Report */
.report-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
/* Common findings (top): two headline cards, then smaller ones. */
.cf-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-card { background: #fff; border: 1px solid var(--line-2); border-top: 4px solid var(--hi); padding: 32px 32px 28px; }
.cf-tag { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; color: #c0263f; margin-bottom: 8px; }
.cf-tag span { font-family: var(--en); font-weight: 900; font-size: 13px; color: #fff; background: var(--hi); padding: 2px 8px; }
.cf-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 18px; }
.cf-card dl { margin: 0; border-top: 1px solid var(--line); }
.cf-card dl div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cf-card dt { font-size: 12px; font-weight: 800; color: var(--muted); padding-top: 2px; }
.cf-card dd { margin: 0; font-size: 14.5px; line-height: 1.8; }
.cf-more-h { font-size: 13px; font-family: var(--mono); letter-spacing: .16em; color: var(--muted); margin: 48px 0 14px; }
.cf-menu { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: var(--s-t); }

/* Severity scale — colours match the delivered report (docx_gen SCORE_FG_HEX). */
.sev { background: #fff; border: 1px solid var(--line-2); padding: 24px 26px; }
.sev-h { font-weight: 900; font-size: 16px; margin-bottom: 14px; }
.sev ul { display: grid; gap: 8px; }
.sev li { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.sev-badge { display: flex; flex-direction: column; padding: 6px 10px; border-left: 4px solid var(--c); background: var(--bg-s); }
.sev-badge b { font-size: 14px; color: var(--c); }
.sev-badge small { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--faint); }
.sev .s4 { --c: #dc2626; --bg-s: #fef2f2; }
.sev .s3 { --c: #ea580c; --bg-s: #fff7ed; }
.sev .s2 { --c: #ca8a04; --bg-s: #fefce8; }
.sev .s1 { --c: #16a34a; --bg-s: #f0fdf4; }
.sev .s0 { --c: #2563eb; --bg-s: #eff6ff; }
.report-feats { margin-top: 56px; }
.report-list { border-top: 2px solid var(--text); }
.report-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.report-list .n, .chain .n { font-family: var(--en); font-weight: 900; font-size: 22px; color: var(--blue); line-height: 1.3; }
.report-list h3 { font-size: 17px; font-weight: 800; }
.report-list p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* Pricing (top) */
.price-list { border-top: 2px solid var(--text); }
.price-row {
  display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 20px; padding: 26px 8px;
  border-bottom: 1px solid var(--line-2); color: var(--text); transition: background .15s, padding .2s;
}
.price-row:hover { text-decoration: none; background: var(--band); padding-left: 18px; }
.pl { display: flex; align-items: center; gap: 14px; font-weight: 900; font-size: 18px; flex-wrap: wrap; }
.pl small { font-weight: 400; font-size: 13px; color: var(--muted); }
.pv { font-family: var(--en); font-size: 32px; font-weight: 900; white-space: nowrap; letter-spacing: -.02em; }
.pv small, .plan-price small, .big-price small, .aws-price small { font-family: var(--font); font-size: 12px; font-weight: 400; color: var(--faint); margin-left: 4px; letter-spacing: 0; }
.arr { font-style: normal; width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy-deep); color: #fff; transition: background .2s; }
.price-row:hover .arr { background: var(--s); }

/* Process (top): one row per phase, steps read left to right on a rail. */
.phases { display: grid; gap: 0; border-top: 1px solid var(--d-line-2); }
.phase { display: grid; grid-template-columns: 168px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--d-line-2); }
.phase-h { font-size: 20px; font-weight: 900; color: #fff; line-height: 1.3; }
.phase-h span { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--yellow); }
.phase ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.phase ol::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--d-line-2); }
.phase li { position: relative; }
.phase .n {
  position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  background: var(--navy-deep); border: 1px solid var(--yellow); color: var(--yellow);
  font-family: var(--en); font-size: 15px; font-weight: 900;
}
.phase li:last-child .n { background: var(--yellow); color: var(--navy-deep); }
.phase h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.dark .phase p { font-size: 14px; line-height: 1.8; color: #c9cde3; }

/* FAQ */
.faq { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 52px 24px 48px; position: relative; font-weight: 800; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 6px; top: 20px; font-family: var(--en); font-weight: 900; font-size: 22px; color: var(--blue); }
.faq summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--text), var(--text)) center / 14px 2px no-repeat, linear-gradient(var(--text), var(--text)) center / 2px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 26px 48px; color: var(--muted); font-size: 15px; }

/* Company */
.company { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.company .sec-head { margin: 0; }
.co { margin: 0; border-top: 2px solid var(--text); }
.co div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.co dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.co dd { margin: 0; }

/* CTA */
.cta { padding: 128px 0; text-align: center; overflow: hidden; }
.cta-in { max-width: 900px; margin: 0 auto; }
.cta .eyebrow { justify-content: center; }
.cta .h2 { font-size: clamp(28px, 4vw, 48px); }
.cta .lead { margin: 20px auto 0; }
.cta .btn-row { justify-content: center; }
.cta::after { background: radial-gradient(50% 80% at 50% 120%, rgba(45, 141, 224, .5), transparent 70%); }

/* ── Service page blocks ─────────────────────────────────────────────── */
.toc { position: sticky; top: 72px; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.toc ul { display: flex; overflow-x: auto; scrollbar-width: none; }
.toc ul::-webkit-scrollbar { display: none; }
.toc a { display: block; padding: 16px 16px 13px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.toc a:hover { color: var(--s-t); border-bottom-color: var(--s); text-decoration: none; }

/* Plans */
.plans { display: grid; align-items: stretch; border: 1px solid var(--line-2); }
.plans.p3 { grid-template-columns: repeat(3, 1fr); }
.plans.p2 { grid-template-columns: repeat(2, 1fr); }
.plan { display: flex; flex-direction: column; padding: 36px 30px; background: #fff; position: relative; }
.plan + .plan { border-left: 1px solid var(--line-2); }
.plan.featured { background: var(--navy-deep); color: #fff; --line: rgba(255, 255, 255, .14); --text: #fff; }
.plan.featured::before { content: "RECOMMENDED"; position: absolute; top: 0; right: 0; padding: 5px 12px; background: var(--yellow); color: var(--navy-deep); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.plan.featured .plan-body, .plan.featured .plan-rows li > span:first-child, .plan.featured .ticks li { color: var(--d-muted); }
.plan.featured .plan-en { color: var(--yellow); }
.plan.featured .ck path { stroke: var(--yellow); }
.plan.featured .no { color: #6a6f99; }
.plan-en { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--s-t); }
.plan h3 { font-size: 24px; font-weight: 900; margin-top: 4px; }
.plan-price { font-family: var(--en); font-size: 42px; font-weight: 900; margin: 16px 0 14px; line-height: 1.1; letter-spacing: -.02em; }
.plan-body { color: var(--muted); font-size: 14.5px; min-height: 5.6em; }
.plan-rows { margin-top: 22px; border-top: 1px solid var(--line); }
.plan-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.plan-rows li > span:first-child { color: var(--muted); }
.plan-rows b { font-family: var(--en); font-weight: 900; font-size: 15px; }
.plan .ticks { margin-top: 22px; display: grid; gap: 10px; }
.yes .ck { width: 20px; height: 20px; }
.no { color: var(--faint); }

/* Flow (dark) */
.flow { display: grid; border-top: 1px solid var(--d-line-2); }
.flow li { display: grid; grid-template-columns: 104px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--d-line-2); align-items: start; transition: background .2s; }
.flow li:hover { background: rgba(255, 255, 255, .03); }
.flow .n { font-family: var(--en); font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--yellow); }
.flow h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow p { font-size: 14.5px; margin-top: 6px; }

/* Categories */
.cats { border-top: 2px solid var(--text); }
.cat { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 22px 6px; border-bottom: 1px solid var(--line-2); }
.cat h3 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cat h3::before { content: ""; width: 8px; height: 8px; background: var(--s); transform: rotate(45deg); flex: none; }
.cat p { color: var(--muted); font-size: 14.5px; }
.cat.key { background: color-mix(in srgb, var(--s) 6%, #fff); box-shadow: inset 3px 0 0 var(--s); padding-left: 16px; }

/* Tables */
.tbl-wrap { overflow-x: auto; background: #fff; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.tbl th, .tbl td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl thead th { background: var(--navy-deep); color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; }
.tbl tbody th { font-weight: 800; width: 26%; }
.tbl td { color: var(--muted); }
.tbl.dotted { min-width: 0; }
.tbl.dotted td { text-align: center; width: 20%; white-space: nowrap; }
.tbl.dotted thead th:not(:first-child) { text-align: center; }
.dots { display: inline-flex; gap: 6px; vertical-align: middle; }
.dots i { width: 10px; height: 10px; border: 1.5px solid var(--line-2); transform: rotate(45deg); }
.dots i.on { background: var(--s); border-color: var(--s); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); }
.split-col { padding: 36px 32px; background: #fff; position: relative; }
.split-col + .split-col { border-left: 1px solid var(--line-2); }
.split-col::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 4px; background: var(--s); }
.split-col h3 { font-size: 24px; font-weight: 900; }
.split-col .badge { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--s-t); }
.split-col > p:not(.badge) { color: var(--muted); font-size: 14.5px; margin-top: 14px; }
.kv { margin-top: 20px; border-top: 1px solid var(--line); }
.kv li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv span { color: var(--muted); }
.split-col .ticks { margin-top: 18px; display: grid; gap: 10px; }
.split-col .ticks li { font-size: 15px; color: var(--text); }
.chips-t { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip-t { padding: 10px 18px; background: var(--navy-deep); color: #fff; font-family: var(--mono); font-size: 14px; font-weight: 700; }

/* Code */
.code-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.code-pair { display: grid; gap: 14px; }
.code { overflow: hidden; background: var(--navy-deep); }
.code-h { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; padding: 9px 16px; text-transform: uppercase; }
.code.bad .code-h { background: var(--hi); color: #fff; }
.code.good .code-h { background: var(--yellow); color: var(--navy-deep); }
.code pre { margin: 0; padding: 20px 18px; overflow-x: auto; }
.code code { font-family: var(--mono); font-size: 13.5px; color: #e6e8f5; line-height: 1.75; white-space: pre; }

/* Routes */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); }
.route { padding: 28px 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.route + .route { border-left: 1px solid var(--line-2); }
.rk { width: 38px; height: 38px; display: grid; place-items: center; background: var(--navy-deep); color: var(--yellow); font-family: var(--en); font-weight: 900; font-size: 18px; }
.route:first-child .rk { background: var(--yellow); color: var(--navy-deep); }
.route h3 { font-size: 16px; font-weight: 800; }
.route p { color: var(--muted); font-size: 14px; }
.route .tag { margin-top: auto; align-self: flex-start; }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; gap: 4px; }
.chain li { padding: 18px 34px 18px 20px; font-size: 14px; font-weight: 800; display: flex; flex-direction: column; gap: 4px; background: #fff; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.chain .n { font-size: 16px; }
.chain li:last-child { background: var(--navy-deep); color: #fff; }
.chain li:last-child .n { color: var(--yellow); }

/* AWS option (dark) */
.aws-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.points { display: grid; border-top: 1px solid var(--d-line-2); }
.points li { padding: 20px 0; border-bottom: 1px solid var(--d-line-2); }
.points h3 { font-size: 16.5px; font-weight: 800; }
.points p { font-size: 14.5px; margin-top: 4px; }
.dark .aws-price { margin-top: 28px; font-family: var(--en); font-size: 42px; font-weight: 900; color: #fff; display: flex; align-items: baseline; gap: 10px; letter-spacing: -.02em; }
.dark .aws-price small { color: var(--d-muted); }
.aws-side { padding: 30px; border: 1px solid var(--d-line-2); background: rgba(255, 255, 255, .03); }
.areas { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--d-line-2); border-left: 1px solid var(--d-line-2); }
.area { padding: 16px; border-right: 1px solid var(--d-line-2); border-bottom: 1px solid var(--d-line-2); display: flex; flex-direction: column; }
.area b { font-family: var(--mono); color: #fff; font-size: 13.5px; }
.area span { font-size: 12px; color: var(--d-muted); }
.grades { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 18px; }
.g { text-align: center; padding: 12px 0; font-family: var(--en); font-weight: 900; font-size: 20px; color: var(--navy-deep); }
.gA { background: #6cb6f5; } .gB { background: #9fd3a8; } .gC { background: #d9ae4a; } .gD { background: #e39a6c; } .gE { background: #f0506e; }
.aws-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; border-top: 1px solid var(--d-line-2); }
.aws-steps li { padding: 24px 22px 6px 0; }
.aws-steps li + li { padding-left: 22px; border-left: 1px solid var(--d-line-2); }
.aws-steps .n { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--yellow); }
.aws-steps h4 { font-size: 16px; color: #fff; margin: 8px 0 4px; }
.aws-steps p { font-size: 13.5px; }

/* Price box (service) */
#price { padding: 88px 0; }
.price-box { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 44px 0; border-top: 2px solid var(--text); border-bottom: 1px solid var(--line-2); }
.price-box .lead { font-size: 15px; }
.price-box .note.small { margin-top: 10px; }
.big-price { font-family: var(--en); font-size: clamp(44px, 6vw, 80px); font-weight: 900; line-height: 1; color: var(--s-t); white-space: nowrap; letter-spacing: -.03em; }

/* Related */
.small-h { font-size: 12px; margin: 64px 0 16px; font-family: var(--mono); letter-spacing: .18em; color: var(--muted); }
/* Other menus: a row of navy tiles, menu colour as the accent. */
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rel {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 132px; padding: 22px 22px 20px;
  background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform .2s;
}
.rel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--s-d); transition: width .25s ease; z-index: -1; }
.rel small { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--s-d); transition: color .2s; }
.rel b { font-size: 16px; font-weight: 900; line-height: 1.45; word-break: auto-phrase; text-wrap: balance; }
.rel-arr { margin-top: auto; align-self: flex-end; font-style: normal; font-size: 18px; color: var(--s-d); transition: transform .2s, color .2s; }
.rel:hover { text-decoration: none; transform: translateY(-3px); }
.rel:hover::before { width: 100%; }
.rel:hover small, .rel:hover .rel-arr { color: var(--navy-deep); }
.rel:hover b { color: var(--navy-deep); }
.rel:hover .rel-arr { transform: translateX(4px); }

/* ── Contact ─────────────────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 24px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label, .form legend { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.req { display: inline-block; margin-left: 8px; padding: 0 6px; font-size: 10.5px; color: #fff; background: var(--hi); vertical-align: 1px; }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 15px; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 0; background: #fff;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1px solid var(--line-2); font-weight: 400; cursor: pointer; }
.chips label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); font-weight: 700; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.consent input { margin-top: 7px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; min-height: 1.5em; }
.form-status.ok { color: var(--blue-dark); }
.form-status.err { color: #c0263f; }
.privacy { padding: 28px; background: var(--band); border-top: 3px solid var(--navy-deep); font-size: 13.5px; color: var(--muted); }
.privacy h3 { font-size: 15px; color: var(--text); margin-bottom: 10px; }
.privacy li { padding-left: 16px; position: relative; margin-top: 6px; }
.privacy li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; background: var(--blue); transform: rotate(45deg); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: var(--d-muted); padding: 72px 0 28px; font-size: 14px; border-top: 4px solid var(--yellow); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.foot-brand p { margin-top: 16px; }
.site-footer .wm-by { color: var(--d-muted); }
.reg-mini { font-size: 12px; line-height: 1.7; padding-left: 12px; border-left: 3px solid var(--yellow); }
.site-footer .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--yellow); margin-bottom: 14px; font-weight: 700; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; }
.cm { display: inline-flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.cm span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--d-muted); }
.cm img { width: 136px; height: auto; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--d-line); font-size: 12px; }

/* ── Motion ──────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sweep, .hero-art .cell { animation: none !important; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .g4, .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .routes { grid-template-columns: repeat(2, 1fr); }
  .route:nth-child(3) { border-left: 0; }
  .route:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .nav-l { padding: 0 9px; }
  .bignum { font-size: 96px; }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero-grid, .report-grid, .company, .aws-grid, .code-grid, .contact-wrap, .site-footer .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-side { max-width: 540px; }
  .g3, .plans.p3 { grid-template-columns: 1fr; }
  .ck-layout { grid-template-columns: 1fr; }
  .ck-result { position: static; }
  .hyb { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .why > li { grid-template-columns: 72px 1fr; }
  .why-proof { grid-column: 2; }
  .why-n { font-size: 44px; }
  .pen-grid { grid-template-columns: 1fr; gap: 36px; }
  .hyb::before { display: none; }
  .phase { grid-template-columns: 1fr; gap: 20px; }
  .phase ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .phase ol::before { display: none; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line-2); }
  .aws-steps, .chain { grid-template-columns: repeat(2, 1fr); }
  .aws-steps li, .aws-steps li + li { padding: 20px 16px 16px 0; border-left: 0; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel { min-height: 112px; }

  .nav-toggle {
    display: inline-flex; align-items: center; padding: 9px 16px; font: inherit; font-size: 13px; font-weight: 700;
    color: var(--text); background: #fff; border: 1px solid var(--line-2); cursor: pointer;
  }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 32px; background: #fff; overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav-svc { flex-direction: column; }
  .nav-l { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-l small { min-width: 64px; }
  .nav-l::after { display: none; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 6px 0; min-width: 0; margin: 8px 0; }
  .nav .btn { margin: 20px 0 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .hero.sub { padding: 48px 0 64px; }
  .hero h1 { font-size: 38px; }
  .hero.sub h1 { font-size: 26px; }
  .bignum { font-size: 64px; top: -20px; }
  .sec-head { margin-bottom: 40px; }
  .g2, .g4, .g5, .svc-grid, .plans.p2, .split, .routes { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line-2); }
  .route + .route { border-left: 0; border-top: 1px solid var(--line-2); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .aws-steps, .chain { grid-template-columns: 1fr; }
  .chain li { clip-path: none; }
  .cat { grid-template-columns: 1fr; gap: 6px; }
  .check-grid { grid-template-columns: 1fr; gap: 32px; }
  .check-preview { grid-template-columns: 1fr; }
  .ck-layout { grid-template-columns: 1fr; }
  .ck-result { padding: 22px 18px; }
  .ck-score b { font-size: 44px; }
  .sub-teaser { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .st-arr { display: none; }
  .tl { padding: 20px 16px; }
  .tl-row { grid-template-columns: 1fr; gap: 10px; }
  .tl-marks { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .cf-top { grid-template-columns: 1fr; }
  .cf-card { padding: 26px 20px; }
  .cf-card dl div { grid-template-columns: 1fr; gap: 2px; }
  .why > li { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .why-proof { grid-column: auto; }
  .hyb, .hyb-split { grid-template-columns: 1fr; }
  .hyb-col + .hyb-col { border-left: 0; border-top: 1px solid var(--d-line-2); }
  .hyb-col { padding: 24px 20px; }
  .phase ol { grid-template-columns: 1fr; row-gap: 0; }
  .phase li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding-bottom: 22px; }
  .phase li .n { grid-row: span 2; margin: 0; }
  .phase li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 40px; bottom: 0; width: 1px; background: var(--d-line-2); }
  .flow li { grid-template-columns: 1fr; gap: 8px; }
  .flow .n { font-size: 32px; }
  .reg { grid-template-columns: 1fr; padding: 28px 22px 28px 26px; gap: 20px; }
  .price-row { grid-template-columns: 1fr auto; padding: 20px 4px; }
  .price-row .arr { display: none; }
  .pv { font-size: 24px; }
  .price-box { grid-template-columns: 1fr; gap: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .co div, .kv li { grid-template-columns: 1fr; gap: 2px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .wm-name { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .plan-body { min-height: 0; }
  .tbl.dotted th, .tbl.dotted td { padding: 14px 10px; font-size: 13.5px; }
  .tbl.dotted tbody th { width: auto; }
  .dots { gap: 4px; }
  .dots i { width: 8px; height: 8px; }
}
