/* 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; }
.c-aws { --s: #2f8f4e; --s-t: #1f6b37; --s-d: #5cc98a; }
.c-azure { --s: #0f7bc4; --s-t: #0b5f98; --s-d: #4fb3ef; }
.c-gcp { --s: #3f6fd8; --s-t: #2c53ad; --s-d: #86a8f5; }

*, *::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, .2); }
.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); }
.aws-teaser::before { background: radial-gradient(40% 140% at 100% 50%, rgba(92, 201, 138, .24), transparent 70%); }
.aws-teaser::after, .aws-teaser .st-icon { background: var(--s-d); }
.aws-teaser .st-body small, .aws-teaser .st-arr { color: var(--s-d); }
.cloud-teaser:hover { transform: none; }
.ct-links { display: flex; flex-direction: column; gap: 8px; min-width: 240px; }
.ct-links a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; font-weight: 800; font-size: 15px; line-height: 1.4; transition: border-color .2s, background .2s; }
.ct-links a span { flex: 1; }
.ct-links a .dot { background: var(--s-d); }
.ct-links a .st-arr { font-size: 16px; color: var(--s-d); }
.ct-links a:hover { text-decoration: none; border-color: var(--s-d); background: rgba(255, 255, 255, .05); }
.ct-links a:hover .st-arr { transform: translateX(4px); }

/* 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); }

/* ── 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; }

/* ── v2: sharper, darker chrome (2026-11 redesign) ───────────────────────
   Layer on top of the base rules above: dark glass header on every page,
   a cinematic home hero (scope frame + example session log), glowing
   accents and crisper section heads. Responsive overrides at the end of file. */
:root {
  --glass: rgba(10, 11, 36, .72);
  --glow-b: rgba(45, 141, 224, .55);
  --glow-y: rgba(217, 174, 74, .45);
  --grad-y: linear-gradient(100deg, #f3d48a 0%, #d9ae4a 45%, #c58a2c 100%);
  --grad-line: linear-gradient(90deg, var(--blue-hi), var(--blue) 40%, transparent);
}
body { background: var(--navy-deep); }
main { background: var(--bg); }

/* Header: dark glass, fused with the hero */
.site-header {
  background: var(--glass); border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(108, 182, 245, .6) 30%, rgba(217, 174, 74, .5) 70%, transparent);
  opacity: .7;
}
.site-header .brand { color: #fff; }
.site-header .wm-name b { color: var(--blue-hi); }
.site-header .wm-by { color: #8a90b8; }
.site-header .mk-d { fill: #8a8fc4; }
.site-header .mk-d.on { fill: var(--yellow); filter: drop-shadow(0 0 4px var(--yellow)); }
.site-header .nav-l { color: #e9ebf7; }
.site-header .nav-l small { color: #7d83a8; }
.site-header .nav-l:hover, .site-header .nav-svc:hover > .nav-l, .site-header .nav-svc:focus-within > .nav-l,
.site-header .nav-l[aria-current] { color: #fff; }
.site-header .nav-l:hover small, .site-header .nav-svc:hover > .nav-l small, .site-header .nav-l[aria-current] small { color: var(--blue-hi); }
.site-header .nav-l::after { height: 2px; background: var(--blue-hi); box-shadow: 0 0 12px var(--glow-b); }
.site-header .nav-l[aria-current]::after { transform: scaleX(1); }
.nav-sub { background: rgba(13, 14, 46, .97); border-top: 2px solid var(--blue-hi); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06); }
.site-header .btn-primary { background: var(--blue); box-shadow: none; }
.site-header .btn-primary:hover { background: #3a9bef; filter: drop-shadow(0 0 14px var(--glow-b)); }

/* Buttons: glow on hover, gold sheen sweep on the primary */
.btn { position: relative; overflow: hidden; transition: background .2s, border-color .2s, color .2s, filter .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.dark .btn-primary, .dark a.btn-primary { background: var(--grad-y); }
.dark .btn-primary:hover { background: var(--grad-y); filter: drop-shadow(0 6px 22px var(--glow-y)) brightness(1.06); }
.dark .btn-primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg);
  transition: left .6s ease;
}
.dark .btn-primary:hover::before { left: 130%; }
.dark .btn-ghost:hover { border-color: var(--blue-hi); background: rgba(108, 182, 245, .08); box-shadow: inset 0 0 18px rgba(108, 182, 245, .15); }

/* Section heads */
.eyebrow::before { width: 36px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -.005em; line-height: 1.3; }
.bignum { font-size: 152px; -webkit-text-stroke: 1px var(--line-2); opacity: .9; }
.dark .bignum { -webkit-text-stroke: 1px rgba(108, 182, 245, .28); }

/* Dark sections: deeper, with a soft vignette */
.dark { background: radial-gradient(120% 80% at 50% 0%, #121442 0%, var(--navy-deep) 60%); }
.dark::before { background-size: 48px 48px; }

/* ── Home hero ───────────────────────────────────────────────────────── */
.hero.home { padding: 120px 0 0; min-height: min(100svh - 72px, 980px); display: flex; flex-direction: column; justify-content: center; }
.hero.home .hero-grid { padding-bottom: 72px; grid-template-columns: 1.1fr 1fr; gap: 64px; }
.hero.home::after {
  background: radial-gradient(40% 50% at var(--mx, 80%) var(--my, 25%), rgba(45, 141, 224, .32), transparent 70%),
              radial-gradient(50% 60% at 0% 100%, rgba(52, 40, 140, .55), transparent 70%),
              radial-gradient(30% 40% at 60% 110%, rgba(217, 174, 74, .12), transparent 70%);
  transition: background .2s linear;
}
.hero.home > .wrap { width: 100%; min-width: 0; }
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fx .beam {
  position: absolute; left: 0; right: 0; top: -20%; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(108, 182, 245, .04) 70%, rgba(108, 182, 245, .16) 99%, transparent);
  animation: beam 9s linear infinite;
}
@keyframes beam { from { transform: translateY(0); } to { transform: translateY(130vh); } }
.hero-fx .glow {
  position: absolute; width: 640px; height: 640px; right: -160px; top: -200px; border-radius: 50%;
  background: conic-gradient(from 90deg, rgba(45, 141, 224, .0), rgba(45, 141, 224, .28), rgba(217, 174, 74, .16), rgba(45, 141, 224, 0));
  filter: blur(60px); animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero.home h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.12; letter-spacing: -.01em; text-shadow: 0 0 40px rgba(108, 182, 245, .18); }
.hero.home h1 .hl { background: var(--grad-y); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 0 22px rgba(217, 174, 74, .28)); padding-bottom: .06em; }
.hero.home h1 .hl::after { height: .07em; bottom: -.06em; background: linear-gradient(90deg, var(--blue-hi), var(--blue)); box-shadow: 0 0 18px var(--glow-b); transform-origin: left; }
.js .hero.home h1 .hl::after { animation: draw 1s .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes draw { from { transform: skewX(-30deg) scaleX(0); } to { transform: skewX(-30deg) scaleX(1); } }
.hero.home .eyebrow { color: var(--blue-hi); text-shadow: 0 0 14px rgba(108, 182, 245, .45); }
.hero.home .lead { font-size: 17px; line-height: 2; max-width: 620px; color: #c9cde6; }
.js .hero.home .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero.home .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero.home .hero-copy > :nth-child(3) { animation-delay: .18s; }
.js .hero.home .hero-copy > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scope: framed scan grid with a session log */
.scope {
  position: relative; padding: 18px 18px 8px; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.scope::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(108, 182, 245, .35), transparent 30%, transparent 70%, rgba(217, 174, 74, .3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 1px;
}
.scope-bar { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: #8f95bd; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.scope-bar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 10px var(--hi); animation: blink 1.6s ease-in-out infinite; }
.scope .hero-art { margin-top: 8px; }
.scope .hero-art .lg, .scope .hero-art > text { display: none; }
.hero.home .cell.hi { filter: drop-shadow(0 0 6px rgba(240, 80, 110, .7)); }
.hero.home .cell.md { filter: drop-shadow(0 0 6px rgba(217, 174, 74, .6)); }
.hero.home .cell.lo { filter: drop-shadow(0 0 6px rgba(108, 182, 245, .6)); }
.hero.home .scanband { fill: rgba(108, 182, 245, .16); }

.hero.home .hero-side { padding: 0 0 112px 0; }
.console {
  position: absolute; left: -56px; bottom: 0; width: min(400px, 88%);
  background: rgba(8, 9, 30, .92); border: 1px solid rgba(108, 182, 245, .25);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(45, 141, 224, .15);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 11.5px; line-height: 1.5;
}
.console-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #7d83a8; letter-spacing: .08em; font-size: 10.5px; }
.console-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.console-bar span { margin-left: 8px; }
.console ol { padding: 10px 12px 12px; display: grid; gap: 5px; }
.console li { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; color: #c9cde6; white-space: nowrap; }
.console .tx { overflow: hidden; text-overflow: ellipsis; font-family: var(--font); font-size: 12px; }
.console .tg { font-size: 10px; letter-spacing: .1em; padding: 1px 0; text-align: center; border: 1px solid; }
.console .tg.ai { color: var(--blue-hi); border-color: rgba(108, 182, 245, .45); }
.console .tg.ai-eng { color: #b9a6ff; border-color: rgba(185, 166, 255, .45); }
.console .tg.eng { color: var(--yellow); border-color: rgba(217, 174, 74, .5); }
.console b { font-weight: 700; font-size: 10px; letter-spacing: .12em; }
.console .st-done b { color: #5cc98a; }
.console .st-running b { color: var(--yellow); animation: blink 1.2s ease-in-out infinite; }
.console .st-queued b { color: #6a7096; }
.console .fd { grid-template-columns: 58px 1fr; margin-top: 2px; padding-top: 6px; border-top: 1px dashed rgba(255, 255, 255, .08); }
.console .fd + .fd { border-top: 0; margin-top: 0; padding-top: 0; }
.console .sev { font-size: 10px; letter-spacing: .1em; text-align: center; color: #0d0e2e; font-weight: 700; padding: 1px 0; }
.console .fd.hi .sev { background: var(--hi); box-shadow: 0 0 12px rgba(240, 80, 110, .5); }
.console .fd.md .sev { background: var(--md); }
.js .console li { animation: typein .5s ease both; }
.js .console li:nth-child(1) { animation-delay: .6s; }
.js .console li:nth-child(2) { animation-delay: 1s; }
.js .console li:nth-child(3) { animation-delay: 1.4s; }
.js .console li:nth-child(4) { animation-delay: 1.8s; }
.js .console li:nth-child(5) { animation-delay: 2.4s; }
.js .console li:nth-child(6) { animation-delay: 2.8s; }
@keyframes typein { from { opacity: 0; transform: translateX(-6px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }

/* Spec strip (replaces the check list) */
.hero-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-specs span { display: flex; align-items: flex-start; gap: 10px; }
.hero-specs .ck { margin-top: 1px; }
.hero-specs li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 30px; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.5; position: relative; }
.hero-specs li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-specs li:first-child { padding-left: 0; }
.hero-specs small { font-family: var(--mono); font-size: 10px; letter-spacing: .22em; color: #7d83a8; font-weight: 700; }
.hero-specs li::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--yellow); box-shadow: 0 0 10px var(--glow-y); }
.hero-specs li + li::before { left: 24px; }

/* Sub-page heroes share the polish */
.hero.sub h1 { letter-spacing: -.005em; text-shadow: 0 0 36px rgba(108, 182, 245, .16); }
.hero.sub .hero-art { filter: drop-shadow(0 0 18px rgba(45, 141, 224, .18)); }

/* Cards: lift + coloured edge glow */
.svc-card:hover { filter: drop-shadow(0 18px 30px color-mix(in srgb, var(--s) 30%, transparent)); }
.svc-card .icon { transition: transform .25s, box-shadow .25s; }
.svc-card:hover .icon { transform: scale(1.06); box-shadow: 0 0 0 4px color-mix(in srgb, var(--s) 14%, transparent); }
.card.link:hover { background: linear-gradient(180deg, var(--blue-soft), #fff); }
.dark .card, .dark .pen-side, .dark .hyb-col { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }

/* Light bands get a faint dot grid */
section.band { background-color: var(--band); background-image: radial-gradient(rgba(29, 30, 90, .07) 1px, transparent 1.2px); background-size: 22px 22px; }

/* CTA: stronger finish */
.cta::after { background: radial-gradient(50% 80% at 50% 120%, rgba(45, 141, 224, .55), transparent 70%), radial-gradient(30% 50% at 50% 130%, rgba(217, 174, 74, .25), transparent 70%); }
.cta .h2 { font-size: clamp(30px, 4.4vw, 56px); }

/* Footer accent */
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--yellow) 60%, transparent); }

/* Preview builds only */
.preview-ribbon {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90;
  padding: 7px 16px; background: #f0506e; color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); white-space: nowrap; pointer-events: none;
}

/* ── 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; }
  .hero-fx, .rec, .console li, .console b, .hero.home .hero-copy > *, .hero.home h1 .hl::after { 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, .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; }
  .ct-links { min-width: 0; }
  .ct-links .st-arr { display: inline; }
  .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; }
  .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; }
}

/* v2 responsive */
@media (max-width: 960px) {
  .site-header .nav-toggle { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
  .site-header .nav { background: rgba(10, 11, 36, .98); }
  .site-header .nav-l { border-bottom-color: rgba(255, 255, 255, .08); }
  .hero.home { min-height: 0; padding-top: 72px; }
  .hero.home .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .console { left: auto; right: -12px; bottom: -40px; }
  .hero-specs { grid-template-columns: 1fr; }
  .hero-specs li, .hero-specs li:first-child { padding: 18px 0; }
  .hero-specs li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .hero-specs li + li::before { left: 0; }
  .bignum { font-size: 104px; }
}
@media (max-width: 640px) {
  .hero.home { padding-top: 48px; }
  .hero.home h1 { font-size: 40px; }
  .hero.home .lead { font-size: 15px; }
  .scope { padding: 12px 12px 4px; }
  .scope-bar span + span { display: none; }
  .hero.home .hero-side { padding: 0; }
  .hero.home .hero-grid { gap: 48px; padding-bottom: 48px; }
  .console { position: relative; left: 0; right: 0; bottom: 0; width: auto; margin: 12px 0 8px; }
  .preview-ribbon { font-size: 10px; letter-spacing: .06em; bottom: 8px; }
  .console li { grid-template-columns: 50px 1fr auto; }
  .console .fd { grid-template-columns: 50px 1fr; }
  .bignum { font-size: 64px; }
}
/* Footer grid children must be allowed to shrink (long words pushed the page to ~450px at phone width). */
.site-footer .wrap > *, .site-footer .cols > * { min-width: 0; }
@media (max-width: 960px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr); } }

/* ── v2 header: single-line nav, viewfinder hover (matches the mark) ── */
@media (min-width: 961px) {
  .site-header .nav { gap: 10px; align-items: center; }
  .site-header .nav-l { flex-direction: row; align-items: center; height: 40px; padding: 0 14px; font-size: 14px; letter-spacing: .06em; color: #c9cde6; transition: color .2s; }
  .site-header .nav-svc { align-self: stretch; align-items: center; }
  .site-header .nav-l small { display: none; }
  .site-header .nav-l::after { display: none; }
  .site-header .nav-l::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; color: var(--blue-hi);
    --c: linear-gradient(currentColor, currentColor);
    background:
      var(--c) left top / 9px 1.5px no-repeat, var(--c) left top / 1.5px 9px no-repeat,
      var(--c) right top / 9px 1.5px no-repeat, var(--c) right top / 1.5px 9px no-repeat,
      var(--c) left bottom / 9px 1.5px no-repeat, var(--c) left bottom / 1.5px 9px no-repeat,
      var(--c) right bottom / 9px 1.5px no-repeat, var(--c) right bottom / 1.5px 9px no-repeat;
    opacity: 0; transform: scale(1.18); transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1);
    filter: drop-shadow(0 0 4px rgba(108, 182, 245, .7));
  }
  .site-header .nav-l:hover::before, .site-header .nav-svc:hover > .nav-l::before,
  .site-header .nav-svc:focus-within > .nav-l::before { opacity: 1; transform: none; }
  .site-header .nav-l[aria-current] { color: #fff; }
  .site-header .nav-l[aria-current]::before { opacity: 1; transform: none; color: var(--yellow); filter: drop-shadow(0 0 4px rgba(217, 174, 74, .6)); }
  .site-header .nav-sub { top: 100%; }

  .site-header .nav .btn { margin-left: 20px; position: relative; }
  .site-header .nav .btn::before { content: none; }
  .site-header .nav > .btn { box-shadow: none; }
  .site-header .nav > .btn-primary { margin-left: 28px; }
  .nav > .btn-primary { overflow: visible; }
}
.site-header .btn-primary {
  background: linear-gradient(120deg, #4aa8f5 0%, #2d8de0 45%, #2563c9 100%);
  letter-spacing: .08em; padding: 12px 24px;
}
.site-header .btn-primary:hover { background: linear-gradient(120deg, #5cb4f8 0%, #3a9bef 45%, #2c6fd9 100%); filter: drop-shadow(0 0 16px var(--glow-b)); }
.site-header .wrap { position: relative; }
@media (min-width: 961px) {
  /* hairline divider between the links and the CTA */
  .site-header .nav-l:nth-last-of-type(1) { margin-right: 0; }
  .site-header .nav > .btn-primary { overflow: hidden; }
  .site-header .nav > .btn-primary::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .6s ease;
  }
  .site-header .nav > .btn-primary:hover::before { left: 130%; }
  .site-header .nav > a.nav-l:last-of-type { position: relative; }
  .nav-sep { width: 1px; height: 28px; background: rgba(255, 255, 255, .14); margin-left: 16px; }
}

/* Brand: divider + the lit centre dot breathes */
.site-header .brand { gap: 14px; }
.site-header .mark { transition: transform .3s; }
.site-header .brand:hover .mark { transform: rotate(90deg); }
.site-header .mk-d.on { animation: breathe 2.8s ease-in-out infinite; transform-origin: 16px 16px; }
@keyframes breathe { 50% { opacity: .55; } }

/* Scrolled: denser glass + shadow */
.site-header { transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(8, 9, 30, .9); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: reduce) { .site-header .mk-d.on { animation: none; } }
/* backdrop-filter makes the header the containing block of the fixed drawer
   (it was clipped to 72px): drop it while the drawer is open. */
.site-header.drawer-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 11, 36, .98); }

/* Header must never wrap: with Hiragino the links did not fit 1180px and each
   item shrank into two lines. Wider header row, nowrap, tighter spacing, and
   progressively tighter below 1280px. */
.site-header .wrap { max-width: 1360px; }
.site-header .brand, .site-header .nav > *, .site-header .nav-l, .site-header .btn, .site-header .wm-name, .site-header .wm-by { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 961px) {
  .site-header .nav { gap: 2px; }
  .site-header .nav-l { padding: 0 12px; font-size: 14px; letter-spacing: .04em; }
  .nav-sep { margin: 0 14px 0 12px; }
  .site-header .nav > .btn-primary { margin-left: 0; padding: 11px 20px; gap: 12px; }
}
@media (min-width: 961px) and (max-width: 1279px) {
  .site-header .wm-by { display: none; }
  .site-header .nav-l { padding: 0 9px; font-size: 13.5px; letter-spacing: .02em; }
  .nav-sep { margin: 0 10px 0 8px; }
  .site-header .nav > .btn-primary { padding: 10px 16px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .site-header .nav-l { padding: 0 7px; font-size: 13px; letter-spacing: 0; }
  .nav-sep { display: none; }
  .site-header .nav > .btn-primary { margin-left: 8px; padding: 10px 14px; font-size: 13px; }
  .site-header .nav > .btn-primary::after { display: none; }
}

/* Home hero: falling green characters (drawn by site.js). Faint behind the
   copy on the left, stronger on the right; fades out towards the bottom. */
.hero-fx .rain {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .72;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .4) 40%, rgba(0, 0, 0, .55) 55%, #000 80%), linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .4) 40%, rgba(0, 0, 0, .55) 55%, #000 80%), linear-gradient(180deg, #000 60%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 960px) { .hero-fx .rain { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .hero-fx .rain { display: none; } }

/* Footer: Classmethod Security logo (official white artwork) */
.cm-sec { display: inline-block; margin-top: 32px; }
.cm-sec:hover { opacity: .85; }
.cm-sec img { width: 180px; height: auto; }
/* Operator name stays on one line: the third column takes its natural width. */
.site-footer .op a { white-space: nowrap; }
@media (min-width: 641px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content; } }
@media (max-width: 640px) { .site-footer .cols .op { grid-column: 1 / -1; } }
@media (min-width: 961px) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); } }

/* Cookie-less analytics notice: its own line above the copyright row */
.legal .legal-note { flex-basis: 100%; }
