/* cyberforces.cloud — hand-written, no build step, no third-party CSS.
   Palette follows classmethod.jp (blue #2D8DE0, navy #1D1E5A, yellow #F4BB2D)
   with a sharper, more technical treatment: deep-navy hero/footer with a fine
   grid, square corners, hairline borders, monospace uppercase labels.
   Strict CSP (style-src 'self'): never use inline style attributes. */

:root {
  --bg: #ffffff;
  --band: #f5f6f8;
  --line: #e4e7ec;
  --line-2: #cfd4dc;
  --text: #15161f;
  --muted: #5f6472;
  --faint: #8a8f9c;
  --blue: #2d8de0;
  --blue-dark: #1e71b9;
  --blue-soft: #eaf3fc;
  --navy: #1d1e5a;
  --navy-deep: #0d0e2e;
  --yellow: #f4bb2d;
  --orange: #e35f10;
  --ok: #1a9b62;
  --danger: #d93025;
  --radius: 2px;
  --maxw: 1180px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴ Pro W3",
          "Yu Gothic", YuGothic, Meiryo, system-ui, sans-serif;
  --en: "Montserrat", "Helvetica Neue", Arial, var(--font);
  --mono: "JetBrains Mono", "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  /* Light-surface defaults for the group colour slots. */
  --c: var(--blue);
  --c-bg: var(--blue-soft);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
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 { line-break: strict; text-wrap: pretty; word-break: auto-phrase; }
h1, h2, h3 { line-height: 1.4; margin: 0; word-break: auto-phrase; text-wrap: balance; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.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; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; }
main > section:nth-of-type(even) { background: var(--band); }
/* Beats the even-band rule above by specificity. */
main > section.dark { background: var(--navy-deep); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; color: var(--c); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c); }
.center .eyebrow { justify-content: center; }
.h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.lead { color: var(--muted); font-size: 16px; max-width: 760px; margin: 18px 0 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Group colour slots. Light surfaces first; dark surfaces re-tune them below
   so navy stays readable on navy. Testing uses orange, because yellow fails
   as text on white. */
.g-web, .g-more { --c: var(--blue); --c-bg: #eaf3fc; }
.g-cloud { --c: var(--navy); --c-bg: #e9e9f5; }
.g-test { --c: var(--orange); --c-bg: #fdeee4; }

/* ── Dark surfaces (hero / cycle / CTA / footer) ─────── */
.dark {
  --text: #ffffff; --muted: #b4b9d6; --faint: #7d83a8;
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .22);
  background: var(--navy-deep); color: #fff; position: relative; isolation: isolate;
}
.dark .g-web, .dark .g-more, .g-web .dark, .g-more .dark { --c: #5fb0f5; --c-bg: rgba(95, 176, 245, .14); }
.dark .g-cloud, .g-cloud .dark { --c: #9ea2f3; --c-bg: rgba(158, 162, 243, .16); }
.dark .g-test, .g-test .dark { --c: #ff9a52; --c-bg: rgba(255, 154, 82, .16); }
.dark a { color: #9ccbf5; }
.dark .eyebrow { color: #9ccbf5; } .dark .eyebrow::before { background: #9ccbf5; }
/* Fine grid + blue glow, masked so it fades out downward. */
.dark.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}
.dark.grid-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 20%, rgba(45, 141, 224, .32), transparent 70%),
              radial-gradient(40% 50% at 10% 100%, rgba(29, 30, 90, .9), transparent 70%);
}

/* ── Header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; 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; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--en); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: stretch; }
.nav > a, .nav > .has-menu > .menu-link { display: flex; flex-direction: column; justify-content: center; gap: 1px; color: var(--text); padding: 0 14px; position: relative; line-height: 1.2; }
.nav > a small, .menu-link small { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--faint); transition: color .15s; }
.nav > a span, .menu-link span { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; }
.nav > a::after, .menu-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav > a:hover, .nav > a[aria-current="page"], .menu-link:hover, .menu-link[aria-current="page"], .has-menu:hover .menu-link, .has-menu.open .menu-link { color: var(--blue); text-decoration: none; }
.nav > a:hover small, .nav > a[aria-current="page"] small, .menu-link:hover small, .menu-link[aria-current="page"] small, .has-menu:hover .menu-link small, .has-menu.open .menu-link small { color: var(--blue); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .menu-link:hover::after, .menu-link[aria-current="page"]::after, .has-menu:hover .menu-link::after, .has-menu.open .menu-link::after { transform: scaleX(1); }
.nav .btn { margin-left: 14px; align-self: center; }
.nav > a.lang-switch { align-self: center; padding: 4px 9px; margin-left: 8px; border: 1px solid var(--line-2); border-radius: var(--radius); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.nav > a.lang-switch::after { display: none; }
.nav > a.lang-switch:hover { color: var(--blue); border-color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius); padding: 6px 12px; font: inherit; font-size: 14px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
         background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; gap: 0; box-shadow: 0 16px 32px rgba(13, 14, 46, .12); }
  .nav.open { display: flex; }
  .nav > a, .menu-link { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav > a small, .menu-link small { min-width: 120px; }
  .nav > a::after, .menu-link::after { content: none; }
  .nav .btn { margin: 16px 0 0; text-align: center; border-bottom: none; }
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 14px 26px; min-width: 180px; border-radius: var(--radius); font-weight: 700; font-size: 14px; line-height: 1.3;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; letter-spacing: .06em;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.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); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.dark .btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.nav .btn { min-width: 0; padding: 10px 18px; font-size: 13px; color: #fff; }
.nav .btn::after { content: none; }
.nav .btn:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.center .btn-row { justify-content: center; }
button.btn::after { content: none; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.hero h1 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 900; letter-spacing: .01em; line-height: 1.45; }
.hero h1 .hl { color: #5fb0f5; }
.hero .lead { font-size: clamp(15px, 1.4vw, 17px); color: #d7daee; margin-top: 26px; }
.hero .checks { display: flex; flex-direction: column; gap: 6px; margin: 34px 0 0; padding: 0; list-style: none; color: #b4b9d6; font-size: 14px; }
.hero .checks li::before { content: "✓"; color: #5fb0f5; margin-right: 10px; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #b4b9d6; margin-bottom: 22px; }
.pill b { color: var(--navy-deep); background: var(--yellow); font-family: var(--en); font-weight: 800; font-size: 12px; letter-spacing: .06em; padding: 3px 10px; }
.hero-svc .tag { margin-bottom: 18px; }
/* Sub-page heroes: compact. */
.hero.sub { padding: 64px 0 72px; }
.hero.sub h1 { font-size: clamp(28px, 3.8vw, 44px); }
.hero.sub .lead { color: #c9cde6; }

/* Hero diagram: the service categories and their services. */
.hero-map { display: grid; gap: 14px; }
.hero-map .set { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-top: 2px solid var(--c); border-radius: var(--radius); padding: 18px 20px; color: inherit; display: block; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .15s, border-color .15s; }
.hero-map .set:hover { text-decoration: none; background: rgba(255, 255, 255, .07); border-color: var(--c); }
.hero-map .set-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-map .set-h b { font-size: 16px; }
.hero-map .set-h span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--c); }
.hero-map ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-map li { background: rgba(255, 255, 255, .05); border-left: 2px solid var(--c); padding: 7px 12px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.hero-map li small { display: block; font-size: 11px; font-weight: 400; color: #9ea4c6; }

/* ── Cards / grids ──────────────────────────────────── */
.grid { display: grid; gap: 20px; margin-top: 48px; }
.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)); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.card h3 { font-size: 18px; font-weight: 800; }
.card p { color: var(--muted); margin: 10px 0 0; font-size: 14px; line-height: 1.85; }
.card .icon { width: 40px; height: 40px; border: 1px solid var(--c); border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 18px; color: var(--c); background: var(--c-bg); }
.card .icon svg { width: 20px; height: 20px; }
a.card { color: inherit; display: flex; flex-direction: column; transition: border-color .18s, transform .18s, box-shadow .18s; }
a.card:hover { text-decoration: none; border-color: var(--c); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13, 14, 46, .08); }
.card .more { margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--c); border-top: 1px solid var(--line); }
.card ul.mini { margin: 14px 0 18px; padding: 0; list-style: none; font-size: 14px; color: var(--text); }
.card ul.mini li { padding-left: 16px; position: relative; margin-top: 4px; line-height: 1.7; }
.card ul.mini li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 2px; background: var(--c); }
.dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.dark .card p { color: #b4b9d6; }

.tag { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 3px 9px; border-radius: var(--radius); background: var(--c-bg); color: var(--c); margin-bottom: 12px; align-self: flex-start; }

/* Group headings */
.pillar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 80px; padding-bottom: 18px; border-bottom: 1px solid var(--text); }
.pillar-head h3 { font-size: 26px; font-weight: 800; display: flex; align-items: center; gap: 14px; }
.pillar-head h3 .num { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--c); border: 1px solid var(--c); padding: 2px 8px; }
.pillar-head p { margin: 0; color: var(--muted); max-width: 600px; font-size: 14px; }
.pillar-head + .grid { margin-top: 28px; }

/* Category block */
.group-foot { display: flex; justify-content: flex-end; margin-top: 20px; }
.group-foot a, .group-link a { font-weight: 700; color: var(--c); font-size: 14px; letter-spacing: .04em; }
.group-link { margin: 32px 0 0; }
.plain-group { margin-top: 80px; }
.plain-group:first-of-type { margin-top: 56px; }

.member-map { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 44px; }
.member-map a { display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: var(--radius); padding: 24px; transition: border-color .18s, transform .18s; }
.member-map a:hover { text-decoration: none; border-color: var(--c); transform: translateY(-3px); }
.member-map .role { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--c); padding: 1px 10px; }
.member-map h3 { font-size: 19px; margin-top: 10px; }
.member-map p { color: var(--muted); font-size: 14px; margin: 8px 0 0; line-height: 1.85; }

/* Cycle (on a dark section) */
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 48px 0 0; padding: 0; counter-reset: step; text-align: left; }
.cycle li { list-style: none; position: relative; padding: 26px 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-top: 2px solid var(--c); border-radius: var(--radius); }
.cycle li::before { counter-increment: step; content: "STEP 0" counter(step); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--c); }
.cycle li h3 { font-size: 18px; margin-top: 6px; color: #fff; }
.cycle li p { color: #b4b9d6; font-size: 14px; margin: 8px 0 0; line-height: 1.85; }
.cycle li .who { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--c); background: var(--c-bg); padding: 2px 8px; }
.cycle li:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 50%; z-index: 2; width: 10px; height: 10px;
  border-top: 1px solid rgba(255, 255, 255, .5); border-right: 1px solid rgba(255, 255, 255, .5); transform: translateY(-50%) rotate(45deg);
}
.cycle-note { text-align: center; color: #7d83a8; font-size: 13px; margin-top: 20px; font-family: var(--mono); letter-spacing: .04em; }
@media (max-width: 900px) {
  .cycle { grid-template-columns: 1fr; gap: 24px; }
  .cycle li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%) rotate(135deg); }
}

/* Features (service pages) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.features > div { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.features h3 { font-size: 17px; font-weight: 800; display: flex; gap: 12px; align-items: baseline; }
.features h3 .n { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--c); }
.features p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--c); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }
.spec th { width: 220px; background: var(--band); font-weight: 800; white-space: nowrap; border-right: 1px solid var(--line); }
.spec td ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.spec td li { position: relative; padding-left: 20px; line-height: 1.7; }
.spec td li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 2px; background: var(--c); }
@media (max-width: 640px) {
  .spec th, .spec td { display: block; width: auto; }
  .spec th { border-right: none; border-bottom: none; padding-bottom: 10px; }
  .spec td { padding-top: 0; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-top: 44px; padding: 0; counter-reset: s; }
.steps li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--c); display: block; line-height: 1; margin-bottom: 14px; }
.steps li h3 { font-size: 17px; }
.steps li p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* Callout */
.note { border: 1px solid var(--line); border-left: 3px solid var(--c); background: #fff; border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; color: var(--text); font-size: 14px; }
.note b { color: var(--text); }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line-2); background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 56px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 20px; font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--blue); }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 24px; font-weight: 300; font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 48px 24px 56px; color: var(--muted); position: relative; }
.faq details p::before { content: "A"; position: absolute; left: 18px; top: -3px; font-family: var(--mono); font-weight: 700; font-size: 18px; color: var(--orange); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band .h2 { color: #fff; font-size: clamp(22px, 2.8vw, 32px); }
.cta-band .lead { color: #c9cde6; }
.cta-band .btn-primary { background: var(--yellow); color: var(--navy-deep); }
.cta-band .btn-primary:hover { background: #f8d479; }

/* Related services */
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.related a { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 16px; font-size: 14px; color: var(--text); font-weight: 700; }
.related a:hover { border-color: var(--c); color: var(--c); text-decoration: none; }
.small-h { font-size: 18px; margin-top: 56px; }

/* Breadcrumb */
.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: #7d83a8; margin: 0 0 24px; }
.crumb a { color: #b4b9d6; }

.lead-strong { color: #fff; font-weight: 700; font-size: 18px; }
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--navy-deep); background: var(--yellow); padding: 2px 8px; }
.hero-svc .soon { margin: 0 0 18px 8px; }

/* ── Contact form ───────────────────────────────────── */
.form { display: grid; gap: 24px; margin-top: 8px; max-width: 800px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
@media (max-width: 640px) { .form { padding: 24px 20px; } }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label, .form legend { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.form .req { color: #fff; background: var(--danger); font-size: 11px; margin-left: 8px; font-weight: 700; padding: 1px 6px; vertical-align: 1px; }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--text); padding: 12px 14px; font: inherit; font-size: 15px;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45, 141, 224, .18); }
.form fieldset { border: none; margin: 0; padding: 0; }
.chip-group { margin-top: 12px; }
.chip-group .chips { margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 6px 14px; cursor: pointer; font-size: 14px; background: #fff; }
.chips input { accent-color: var(--blue); }
.chips label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.consent input { margin-top: 7px; accent-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; font-size: 14px; margin: 0; }
.form-status.ok { color: var(--ok); font-weight: 700; }
.form-status.err { color: var(--danger); font-weight: 700; }
.privacy { margin-top: 32px; max-width: 800px; font-size: 13px; color: var(--muted); }
.privacy h3 { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.privacy ul { margin: 0; padding-left: 1.2em; }

/* ── Footer (dark) ──────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: #b4b9d6; padding: 72px 0 36px; font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { color: #fff; }
.foot-brand { margin-bottom: 40px; }
.foot-brand p { color: #7d83a8; }
.site-footer .cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .06em; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #b4b9d6; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #7d83a8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Entrance animation only when JS can reveal it (progressive enhancement). */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card, .member-map a { transition: none; }
}

/* ── Overview blocks (concept / platform / AI / provider) ── */
.lead-wide { max-width: 860px; }
.more-link { margin: 32px 0 0; font-weight: 700; font-size: 14px; letter-spacing: .04em; }
.exec { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.exec h3 { font-size: 20px; font-weight: 800; }
.exec .grid { margin-top: 24px; }
.exec-item { padding: 0 0 0 20px; border-left: 2px solid var(--blue); }
.exec-item h4 { margin: 0; font-size: 16px; }
.exec-item p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* Layered platform diagram */
.stack { display: grid; gap: 0; margin-top: 48px; }
.layer { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.layer + .layer { margin-top: 28px; }
.layer + .layer::before { content: ""; position: absolute; left: 50%; top: -29px; width: 1px; height: 28px; background: var(--line-2); }
.layer + .layer::after { content: ""; position: absolute; left: 50%; top: -8px; width: 7px; height: 7px; border-right: 1px solid var(--faint); border-bottom: 1px solid var(--faint); transform: translateX(-50%) rotate(45deg); }
.layer-k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); padding-top: 4px; }
.layer-console { border-top: 2px solid var(--navy); }
.layer-env { background: var(--band); }
.layer-body h3 { font-size: 20px; font-weight: 800; }
.layer-body p { color: var(--muted); font-size: 14px; margin: 8px 0 0; line-height: 1.85; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 14px; }
.ticks li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 10px; }
.layer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.layer-col { border-top: 2px solid var(--c); padding-top: 12px; }
.layer-col-h { display: block; font-weight: 800; font-size: 15px; color: var(--text); }
a.layer-col-h:hover { color: var(--c); text-decoration: none; }
.layer-col ul { list-style: none; margin: 10px 0 0; padding: 0; }
.layer-col li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.layer-col li a { color: var(--text); font-weight: 700; }
.layer-col li a:hover { color: var(--c); text-decoration: none; }
.layer-col li small { display: block; font-size: 11px; color: var(--faint); font-family: var(--mono); letter-spacing: .04em; }
.env-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.env-items h4 { margin: 0; font-size: 15px; }
.env-items p { font-size: 13px; }
.footnotes { margin: 16px 0 0; padding: 0 0 0 1.2em; color: var(--faint); font-size: 12px; }
@media (max-width: 960px) {
  .layer { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .layer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .env-items, .ticks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .layer-cols { grid-template-columns: 1fr; } }

/* AI roles (dark) */
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: 1fr; } }
.ai-item { display: flex; flex-direction: column; color: #fff; padding: 22px 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); transition: background .15s, border-color .15s; }
.ai-item:hover { text-decoration: none; background: rgba(255, 255, 255, .07); border-color: #5fb0f5; }
.ai-svc { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #5fb0f5; }
.ai-item p { color: #d7daee; font-size: 14px; margin: 8px 0 0; line-height: 1.85; }
.ai-more { margin-top: auto; padding-top: 14px; font-size: 12px; font-weight: 700; color: #9ccbf5; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }
.principles h4 { margin: 0; font-size: 15px; color: #fff; }
.principles p { margin: 6px 0 0; font-size: 13px; color: #b4b9d6; line-height: 1.85; }

/* Provider */
.provider { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .provider { grid-template-columns: 1fr; gap: 32px; } }
.provider-link { margin-top: 20px; }
.provider-steps { list-style: none; margin: 0; padding: 0; counter-reset: ps; }
.provider-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.provider-steps li:last-child { border-bottom: 1px solid var(--line-2); }
.provider-steps li::before { counter-increment: ps; content: "0" counter(ps); font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.provider-steps h4 { margin: 0; font-size: 16px; }
.provider-steps p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ── Company logos / trust bar / provider cards ───── */
.co-logos { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.co-logos a { display: flex; align-items: center; gap: 12px; color: inherit; }
.co-logos a:hover { text-decoration: none; opacity: .85; }
.co-logos .cap { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--faint); border: 1px solid var(--line-2); padding: 1px 7px; }
.co-logos img { height: 28px; width: auto; }
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 32px 0 28px; }
.trust-bar .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.trust-lead { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0; max-width: 1100px; font-size: 15px; line-height: 1.7; color: var(--text); }
.trust-lead img { height: 32px; width: auto; flex: none; }
.trust-lead a:hover { opacity: .85; }
@media (max-width: 720px) { .trust-lead { flex-direction: column; gap: 12px; text-align: center; font-size: 14px; } }
.stats { display: flex; flex-wrap: wrap; justify-content: center; }
.stat { text-align: center; padding: 4px 40px; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-family: var(--en); font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--text); line-height: 1.2; }
.stat span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; line-break: strict; word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 960px) {
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .stat { padding: 4px 16px; }
  .stat:nth-child(odd) { border-left: none; }
  .stat b { font-size: 20px; }
}

.group-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; margin-top: 48px; padding: 40px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--navy); border-radius: var(--radius); }
@media (max-width: 860px) { .group-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; } }
.group-id img { height: 44px; width: auto; }
.group-name { margin: 18px 0 0; font-weight: 800; font-size: 18px; }
.group-id .co-link { display: inline-block; margin-top: 16px; }
.group-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
@media (max-width: 600px) { .group-points { grid-template-columns: 1fr; } }
.group-points h4 { margin: 0; font-size: 15px; padding-left: 14px; border-left: 2px solid var(--blue); }
.group-points p { margin: 8px 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.co-link { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.provider { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line-2); }
.provider .h3 { font-size: 20px; font-weight: 800; }
.site-footer .co-logos { margin-top: 24px; }
.site-footer .co-logos .cap { color: #9ea4c6; border-color: rgba(255, 255, 255, .25); }

.support-intro p { color: var(--muted); font-size: 15px; margin: 14px 0 0; max-width: 460px; }
.support-art { width: 100%; max-width: 440px; height: auto; margin: 28px 0; display: block; }
.support-intro .btn { margin-top: 4px; }

/* Hero illustrations (service / category pages) */
.hero-side { display: flex; justify-content: center; }
.hero-art { width: 100%; max-width: 440px; height: auto; }
.hero-art .pn { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .14); }
.hero-art .ln { stroke: rgba(255, 255, 255, .22); stroke-width: 1; fill: none; }
.hero-art .tx { fill: #9ea4c6; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.hero-art .ac { stroke: var(--c); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .af { fill: var(--c); }
.hero-art .wh { stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero.sub .hero-grid { align-items: center; }
@media (max-width: 960px) { .hero-side { display: none; } }

/* Concept loop diagram (light surface) */
.concept-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .concept-grid { grid-template-columns: 1fr; gap: 32px; } }
.concept-side { display: flex; justify-content: center; }
.concept-art { width: 100%; max-width: 440px; height: auto; }
.concept-art .gr { stroke: var(--line); stroke-width: 1; }
.concept-art .ca-o { stroke: var(--orange); fill: none; stroke-linecap: round; }
.concept-art .ca-b { stroke: var(--blue); fill: none; stroke-linecap: round; }
.concept-art .ca-o.fill { fill: var(--orange); stroke: none; }
.concept-art .ca-b.fill { fill: var(--blue); stroke: none; }
.concept-art .nd { fill: #fff; }
.concept-art rect.ca-o, .concept-art rect.ca-b { stroke-width: 1.5; }
.concept-art .nl { fill: var(--text); font-size: 12px; font-weight: 700; text-anchor: middle; }
.concept-art .hl-o { fill: var(--orange); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.concept-art .hl-b { fill: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.concept-art .sh { fill: var(--navy); }
.concept-art .shw { stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.concept-art .ct { fill: var(--text); font-size: 13px; font-weight: 800; text-anchor: middle; }
.concept-art .cs { fill: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-anchor: middle; }
.concept-art .ai { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1; }
.concept-art .ait { fill: var(--blue); font-size: 11px; font-weight: 700; text-anchor: middle; }

/* Cycle step icons (dark surface) */
.cycle li { padding-top: 22px; }
.cycle li .icon { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border: 1px solid var(--c); border-radius: var(--radius); display: grid; place-items: center; color: var(--c); background: var(--c-bg); }
.cycle li .icon svg { width: 20px; height: 20px; }
.cycle li::before { display: block; margin-right: 56px; }
.cycle li h3 { margin-right: 56px; }
.hero-art .g-web .ac, .hero-art .g-cloud .ac, .hero-art .g-test .ac { stroke: var(--c); }

/* ── Mega menu (Services) ───────────────────────────── */
/* The panel is a direct child of the sticky header, so it sits below the
   bar at full width and is untouched by the nav's flex layout. It opens
   while the header carries .menu-open (JS: hover/click/keyboard). */
.caret { display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(13, 14, 46, .14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.site-header.menu-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-header.menu-open .menu-link, .site-header.menu-open .menu-link small { color: var(--blue); }
.site-header.menu-open .menu-link::after { transform: scaleX(1); }
.site-header.menu-open .caret { transform: translateY(0) rotate(225deg); }
.mega-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 32px 24px 28px; max-width: var(--maxw); margin: 0 auto; }
.mm-col { border-top: 2px solid var(--c); padding-top: 14px; }
.mm-h { display: block; color: var(--text); margin-bottom: 10px; }
.mm-h small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--c); }
.mm-h b { font-size: 16px; font-weight: 800; }
a.mm-h:hover { text-decoration: none; color: var(--c); }
.mm-col ul { list-style: none; margin: 0; padding: 0; }
.mm-col li a { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; color: var(--text); font-size: 14px; font-weight: 700; border-top: 1px solid var(--line); white-space: nowrap; }
.mm-col li a small { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--faint); font-weight: 400; white-space: normal; min-width: 0; }
.mm-col li a:hover { color: var(--c); text-decoration: none; }
.mm-col li a .soon { margin-left: 0; }
/* English names and roles are longer: stack the role under the name so every row keeps one height. */
html[lang="en"] .mm-col li a { flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; }
html[lang="en"] .mm-col li a small { white-space: nowrap; }
.mm-foot { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 960px) {
  /* Mobile: the panel is part of the drawer, shown whenever the drawer is open. */
  .caret { display: none; }
  .mega { display: none; position: absolute; left: 0; right: 0; top: auto; transform: none; box-shadow: 0 16px 32px rgba(13, 14, 46, .12); border: none; background: var(--band); transition: none; opacity: 1; visibility: visible; }
  .site-header.drawer-open .nav { padding-bottom: 0; }
  .site-header.drawer-open .mega { display: block; position: static; }
  .site-header.drawer-open .nav .btn { order: 9; }
  .mega-in { grid-template-columns: 1fr; gap: 20px; padding: 16px 24px 8px; }
  .mm-col li a { padding: 10px 0; }
}

/* Contact page: centre the form and the notice */
.contact-wrap { display: flex; flex-direction: column; align-items: center; }
.contact-wrap .form, .contact-wrap .privacy { width: 100%; }

/* Topical sections on service pages */
.topics { margin-top: 44px; }
.topic { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: var(--radius); padding: 24px 26px; }
.topic .tag { margin-bottom: 10px; }
.topic h3 { font-size: 17px; font-weight: 800; }
.topic p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

/* ARD × SRD decision matrix (light surface) */
.matrix-art { width: 100%; max-width: 440px; height: auto; }
.matrix-art text { text-anchor: middle; }
.matrix-art .mx-axis { fill: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.matrix-art .mx-col, .matrix-art .mx-row { fill: var(--text); font-size: 12px; font-weight: 800; }
.matrix-art .mx-hit { fill: #fdeee4; stroke: var(--orange); stroke-width: 1.5; }
.matrix-art .mx-warn { fill: var(--blue-soft); stroke: var(--blue); stroke-width: 1.5; }
.matrix-art .mx-ok { fill: #fff; stroke: var(--line-2); stroke-width: 1; }
.matrix-art .mx-tag-hit { fill: var(--orange); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.matrix-art .mx-tag-warn { fill: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.matrix-art .mx-tag-ok { fill: var(--faint); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.matrix-art .mx-t { fill: var(--text); font-size: 15px; font-weight: 800; }
.matrix-art .mx-t2 { fill: var(--muted); font-size: 13px; font-weight: 700; }
.matrix-art .mx-s { fill: var(--muted); font-size: 11px; }
.matrix-art .mx-ard { fill: var(--orange); }
.matrix-art .mx-ard-t { fill: #fff; font-size: 10px; font-weight: 700; }
.matrix-art .mx-foot { fill: var(--faint); font-size: 10px; text-anchor: start; }

/* Rule library */
.lib-sum { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.lib-sum > div { flex: 1 1 140px; padding: 20px 24px; border-left: 1px solid var(--line); }
.lib-sum > div:first-child { border-left: none; }
.lib-sum b { display: block; font-family: var(--en); font-size: 34px; font-weight: 800; color: var(--c); line-height: 1.1; }
.lib-sum span { font-size: 13px; color: var(--muted); }
.lib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.lib-tile { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: var(--radius); padding: 20px 22px; }
.lib-tile.feat { grid-column: span 2; padding: 26px 28px; }
.lib-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lib-en { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--c); }
.lib-tile h3 { font-size: 15px; font-weight: 800; margin-top: 4px; }
.lib-tile.feat h3 { font-size: 20px; }
.lib-grid { margin-top: 40px; }
.lib-n { font-family: var(--en); font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; text-align: right; }
.lib-tile.feat .lib-n { font-size: 44px; color: var(--c); }
.lib-n small { display: block; font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .14em; color: var(--faint); margin-top: 4px; }
.lib-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.lib-chips span { font-size: 12px; line-height: 1.5; padding: 3px 9px; border-radius: var(--radius); background: var(--band); color: var(--text); }
.lib-tile.feat .lib-chips span { font-size: 13px; padding: 4px 11px; background: var(--c-bg); }
.lib-bar { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.lib-tile.feat .lib-bar { left: 28px; right: 28px; }
.lib-bar i { display: block; height: 100%; background: var(--c); }
.lib-bar i.w1 { width: 5%; }
.lib-bar i.w2 { width: 10%; }
.lib-bar i.w3 { width: 15%; }
.lib-bar i.w4 { width: 20%; }
.lib-bar i.w5 { width: 25%; }
.lib-bar i.w6 { width: 30%; }
.lib-bar i.w7 { width: 35%; }
.lib-bar i.w8 { width: 40%; }
.lib-bar i.w9 { width: 45%; }
.lib-bar i.w10 { width: 50%; }
.lib-bar i.w11 { width: 55%; }
.lib-bar i.w12 { width: 60%; }
.lib-bar i.w13 { width: 65%; }
.lib-bar i.w14 { width: 70%; }
.lib-bar i.w15 { width: 75%; }
.lib-bar i.w16 { width: 80%; }
.lib-bar i.w17 { width: 85%; }
.lib-bar i.w18 { width: 90%; }
.lib-bar i.w19 { width: 95%; }
.lib-bar i.w20 { width: 100%; }
@media (max-width: 1000px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lib-grid { grid-template-columns: 1fr; } .lib-tile.feat { grid-column: auto; } }
.stacks { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stack-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.stack-row:first-child { border-top: none; }
.stack-k { font-size: 13px; font-weight: 800; }
.chips-ro { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-ro span { font-size: 12.5px; padding: 3px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--band); }
.tpl-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tpl-list li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--c); padding: 10px 14px; font-size: 14px; font-weight: 700; }
@media (max-width: 640px) { .stack-row { grid-template-columns: 1fr; gap: 8px; } }

/* Rule-library illustration (light surface) */
.lib-art { width: 100%; max-width: 440px; height: auto; }
.lib-art .la-h { fill: var(--c); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.lib-art .la-card { fill: #fff; stroke: var(--line-2); }
.lib-art .la-card.on { fill: var(--c-bg); stroke: var(--c); }
.lib-art .la-chk { fill: #fff; stroke: var(--line-2); }
.lib-art .la-chk.on { fill: var(--c); stroke: var(--c); }
.lib-art .la-tick { stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lib-art .la-name { fill: var(--text); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.lib-art .la-n { fill: var(--faint); font-family: var(--mono); font-size: 11px; text-anchor: end; }
.lib-art .la-pill { fill: #fff; stroke: var(--c); }
.lib-art .la-pt { fill: var(--c); font-size: 10px; font-weight: 700; text-anchor: middle; }
.lib-art .la-flow { stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; }
.lib-art .la-s { fill: var(--faint); font-family: var(--mono); font-size: 10px; }
.lib-art .la-s2 { fill: var(--faint); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.lib-art .la-box { fill: #fff; stroke: var(--navy); stroke-width: 1.5; }
.lib-art .la-sh { fill: var(--navy); }
.lib-art .la-shw { stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lib-art .la-mode.c { fill: #fff; stroke: var(--line-2); }
.lib-art .la-mode.b { fill: var(--c); }
.lib-art .la-mt { font-family: var(--mono); font-size: 10px; font-weight: 700; text-anchor: middle; letter-spacing: .06em; }
.lib-art .la-mt.c { fill: var(--muted); }
.lib-art .la-mt.b { fill: #fff; }

/* Bot-defense illustration */
.lib-art .bt-h { fill: var(--c); }
.lib-art .bt-g { fill: var(--c-bg); stroke: var(--c); stroke-width: 1.5; }
.lib-art .bt-x { fill: #fff; stroke: var(--faint); stroke-width: 1.5; }
.lib-art .bt-eye { fill: var(--text); }
.lib-art .bt-l { fill: var(--text); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.lib-art .bt-pass { stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; }
.lib-art .bt-stop { stroke: var(--faint); stroke-width: 1.4; stroke-dasharray: 4 4; }
.lib-art .bt-xm { stroke: var(--danger); stroke-width: 2; stroke-linecap: round; }
.lib-art .bt-layer { fill: var(--c-bg); stroke: var(--c); stroke-opacity: .5; }
.lib-art .bt-lt { fill: var(--c); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .06em; text-anchor: middle; }

/* Web Security suite illustration */
.lib-art .su-ring { stroke: var(--line-2); stroke-dasharray: 3 6; }
.lib-art .su-link { stroke: var(--c); stroke-width: 1.6; stroke-dasharray: 4 4; }
.lib-art .su-sat { fill: #fff; stroke: var(--c); stroke-width: 1.4; }
.lib-art .su-core { fill: var(--c-bg); stroke: var(--navy); stroke-width: 1.6; }
.lib-art .su-n { fill: var(--text); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-anchor: middle; }
.lib-art .su-cn { fill: var(--navy); font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-anchor: middle; }
.lib-art .su-r { fill: var(--c); font-size: 11px; font-weight: 700; text-anchor: middle; }

/* ASM illustrations */
.lib-art .su-dot { fill: var(--line-2); }
.lib-art .su-dot-new { fill: var(--orange); }
.lib-art .pr-r { fill: #fff; stroke: var(--line-2); }
.lib-art .pr-m { fill: var(--c-bg); stroke: var(--c); stroke-opacity: .4; }
.lib-art .pr-h { fill: var(--c-bg); stroke: var(--c); }
.lib-art .pr-u { fill: #fdeee4; stroke: var(--orange); }
.lib-art .pr-k { fill: var(--orange); }
.lib-art .pr-t { fill: var(--text); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-anchor: middle; }
.lib-art .pr-k + .pr-t { fill: #fff; }

/* DefaceMonitor illustrations */
.lib-art .dl-1 { fill: #fff; stroke: var(--c); stroke-opacity: .45; }
.lib-art .dl-2 { fill: var(--c-bg); stroke: var(--c); stroke-opacity: .7; }
.lib-art .dl-3 { fill: var(--c-bg); stroke: var(--navy); stroke-width: 1.6; }
.lib-art .dl-k { fill: var(--c); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.lib-art .dl-j { fill: var(--text); font-size: 13px; font-weight: 800; }
.lib-art .dl-ok { fill: var(--faint); font-size: 10px; }
.lib-art .dl-ok2 { fill: var(--orange); font-size: 11px; font-weight: 700; }
.lib-art .dl-alert { fill: var(--orange); }
.lib-art .dl-at { fill: #fff; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-anchor: middle; }
.lib-art .dl-new { fill: #fdeee4; stroke: var(--orange); }

/* Threat Intelligence Hub illustrations */
.lib-art .ti-c { fill: var(--c); font-family: var(--mono); font-size: 11px; font-weight: 700; text-anchor: end; }
.lib-art .ti-c.off { fill: var(--faint); font-weight: 400; }
.lib-art .ti-th { stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 4 4; }
.lib-art .ti-tt { fill: var(--orange); font-size: 10px; font-weight: 700; }

/* CSPM illustrations */
.lib-art .cs-ring { stroke: var(--line-2); stroke-width: 8; }
.lib-art .cs-arc { stroke: var(--c); stroke-width: 8; stroke-linecap: round; }
.lib-art .cs-n { fill: var(--text); font-family: var(--en); font-size: 26px; font-weight: 800; text-anchor: middle; }

/* Console mock-ups */
.screen { margin: 40px 0 0; padding: 0; border-radius: 10px; box-shadow: 0 24px 60px rgba(13, 14, 46, .16), 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.screen-art { display: block; width: 100%; height: auto; }
.screen figcaption { font-size: 12px; color: var(--faint); padding: 10px 16px; border-top: 1px solid var(--line); background: var(--band); }
.screen-art text { font-family: var(--font); }
.screen-art .sc-bg { fill: #f8f9fb; }
.screen-art .sc-top { fill: #0f1b2a; }
.screen-art .sc-dot { fill: #3a4a5e; }
.screen-art .sc-tt { fill: #d1d5db; font-size: 11px; }
.screen-art .sc-h { fill: #0f1b2a; font-size: 15px; font-weight: 800; }
.screen-art .sc-name { fill: #0f1b2a; font-size: 11px; font-weight: 700; }
.screen-art .sc-sub { fill: #5f6b7a; font-size: 9.5px; }
.screen-art .sc-kind { fill: #5f6b7a; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; }
.screen-art .sc-row { fill: #fff; stroke: #e1e4e8; }
.screen-art .sc-row.sel { fill: #f0f7ff; stroke: #0972d3; stroke-width: 1.5; }
.screen-art .sc-sev.critical { fill: #d91515; } .screen-art .sc-sev.high { fill: #ec7211; }
.screen-art .sc-sev.medium { fill: #f2b706; } .screen-art .sc-sev.low { fill: #8c9bab; }
.screen-art .sc-sevt { fill: #fff; font-family: var(--mono); font-size: 8.5px; font-weight: 700; text-anchor: middle; }
.screen-art .sc-kpi { fill: #fff; stroke: #e1e4e8; }
.screen-art .sc-kv { fill: #0f1b2a; font-family: var(--en); font-size: 18px; font-weight: 800; }
.screen-art .sc-kv.crit { fill: #d91515; } .screen-art .sc-kv.warn { fill: #ec7211; }
.screen-art .sc-node { fill: #fff; stroke: #c6cdd6; }
.screen-art .sc-node.inet { fill: #f3f4f6; stroke: #8c9bab; stroke-dasharray: 3 3; }
.screen-art .sc-node.pub { stroke: #f59e0b; stroke-width: 1.5; }
.screen-art .sc-node.cve { stroke: #d91515; stroke-width: 1.5; }
.screen-art .sc-node.data { fill: #fff7ed; stroke: #ec7211; stroke-width: 1.5; }
.screen-art .sc-e { stroke-width: 1.8; fill: none; }
.screen-art .sc-e.pub { stroke: #f59e0b; } .screen-art .sc-e.cve { stroke: #d91515; } .screen-art .sc-e.rt { stroke: #8c9bab; }

.lib-art .ai-box { fill: var(--c-bg); stroke: var(--c); stroke-opacity: .5; }

/* Comparison table */
.cmp-wrap { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cmp { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 13px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6; }
.cmp thead th { background: var(--band); font-size: 13px; font-weight: 800; border-bottom: 2px solid var(--c); }
.cmp thead th:nth-child(2) { color: var(--c); }
.cmp tbody th { width: 18%; font-weight: 700; background: #fcfcfd; }
.cmp thead th:not(:first-child), .cmp td { width: 20.5%; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: none; }
.cmp td.yes { color: var(--text); }
.cmp td.part { color: var(--muted); }
.cmp td.no { color: var(--faint); }
.cmp tbody td:nth-child(2) { background: var(--c-bg); font-weight: 700; }

.lib-art .io-in { fill: var(--c-bg); stroke: var(--c); stroke-width: 1.6; }
.lib-art .io-out { fill: #fdeee4; stroke: var(--orange); stroke-width: 1.6; }
.lib-art .io-out-flow { stroke: var(--orange); stroke-width: 1.6; stroke-linecap: round; }
.lib-art .io-t { fill: var(--text); font-size: 12px; font-weight: 800; text-anchor: middle; }
.lib-art .io-h2 { fill: var(--orange); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
