/* neocoding.ai – site styles. Mobile first; no external resources. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2?v=f11d729bb0") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-var.woff2?v=cf3eb50fb2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --surface: #ffffff;
  --text: #1c2536;
  --heading: #0b1324;
  --muted: #56627a;
  --line: #e2e7ef;
  --brand: #2451e6;
  --brand-strong: #1a3dbd;
  --brand-soft: #e9eefe;
  --accent: #0ea5a0;
  --accent-text: #0a7c78;
  --warn-soft: #fff3e6;
  --warn: #c2580c;
  --ink: #0b1324;
  --ink-2: #111c33;
  --on-ink: #e8edf6;
  --on-ink-muted: #a7b3c8;
  --shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 8px 24px rgba(11, 19, 36, .06);
  --shadow-lg: 0 2px 4px rgba(11, 19, 36, .06), 0 20px 48px rgba(11, 19, 36, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --gutter: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1020;
    --bg-alt: #0e1628;
    --surface: #121b30;
    --text: #d5dceb;
    --heading: #f1f4fa;
    --muted: #9aa6bd;
    --line: #223050;
    --brand: #7b98ff;
    --brand-strong: #a3b7ff;
    --brand-soft: #1a2750;
    --accent-text: #3fd3cd;
    --warn-soft: #2f2113;
    --warn: #f5a25a;
    --ink: #060b17;
    --ink-2: #0c1428;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 20px 48px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--heading); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); font-weight: 750; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 720; }
h3 { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-strong); }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--heading); font-weight: 650; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 400px) { :root { --gutter: 16px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 620; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .15s; }
.btn:hover .icon:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55em 1.1em; font-size: .9375rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1.0625rem; }
.btn-primary { background: #2451e6; color: #fff; box-shadow: 0 6px 18px rgba(36, 81, 230, .28); }
.btn-primary:hover { background: #1a3dbd; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--heading); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .1); }
.btn-light { background: #fff; color: #0b1324; }
.btn-light:hover { background: #eef2ff; color: #0b1324; }

/* ---------- language hint ---------- */
.lang-hint { background: var(--ink); color: var(--on-ink); font-size: .9375rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.lang-hint[hidden] { display: none; }
.lang-hint-inner { display: flex; align-items: center; gap: 12px; padding-block: 8px; flex-wrap: wrap; }
.lang-hint-inner > span { flex: 1 1 200px; }
.lang-hint-btn { color: #fff; font-weight: 600; background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: 999px; text-decoration: none; }
.lang-hint-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.lang-hint-close { background: none; border: 0; color: var(--on-ink-muted); cursor: pointer; padding: 6px; border-radius: 6px; display: inline-flex; }
.lang-hint-close:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block of the fixed mobile menu panel. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.menu-open .site-header::before { background: var(--bg); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 19, 36, .05); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--heading); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.brand-tld { color: var(--accent-text); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 26px; }
.primary-nav ul a { color: var(--text); text-decoration: none; font-weight: 540; font-size: .96875rem; padding: 6px 0; position: relative; }
.primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform .2s; }
.primary-nav ul a:hover { color: var(--heading); }
.primary-nav ul a:hover::after, .primary-nav ul a[aria-current]::after { transform: scaleX(1); }
.primary-nav ul a[aria-current] { color: var(--heading); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8125rem; font-weight: 650; letter-spacing: .04em; }
.lang-switch > * { padding: 4px 10px; border-radius: 999px; line-height: 1.2; }
.lang-current { background: var(--heading); color: var(--bg); }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--heading); background: var(--bg-alt); }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
    background: var(--surface); color: var(--heading); cursor: pointer;
  }
  .menu-toggle .icon { width: 22px; height: 22px; }
  .menu-toggle .icon-close, .menu-open .menu-toggle .icon-open { display: none; }
  .menu-open .menu-toggle .icon-close { display: block; }
  .header-tools { margin-left: auto; }
  .primary-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 12px var(--gutter) 32px; margin: 0;
    overflow-y: auto; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .menu-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 16px 4px; font-size: 1.125rem; font-weight: 600; border-bottom: 1px solid var(--line); }
  .primary-nav ul a::after { display: none; }
  .nav-cta { margin-top: 24px; padding: 1em; font-size: 1.0625rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero, .section-dark, .page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 500px at 85% -10%, #1b2f6b 0%, transparent 60%), linear-gradient(180deg, #0b1324 0%, #0d1830 100%);
  color: var(--on-ink);
}
.hero h1, .section-dark h2, .section-dark h3, .page-hero h1 { color: #fff; }
.hero strong, .section-dark strong { color: #fff; }
.hero-glow {
  position: absolute; z-index: -1; inset: auto -10% -40% auto; width: 60vw; max-width: 760px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(14, 165, 160, .28), transparent 70%);
  pointer-events: none;
}
.hero-glow-soft { opacity: .6; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; gap: 48px; padding-block: clamp(56px, 9vw, 112px) clamp(64px, 9vw, 120px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: #bcd0ff;
  background: rgba(123, 152, 255, .12); border: 1px solid rgba(123, 152, 255, .25); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3fd3cd; box-shadow: 0 0 0 4px rgba(63, 211, 205, .18); }
.hl { background: linear-gradient(90deg, #8fb0ff, #3fd3cd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--on-ink-muted); max-width: 62ch; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9375rem; color: #cdd6e6; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: #3fd3cd; width: 18px; height: 18px; }
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
}

/* hero visual */
.hero-visual { display: grid; gap: 14px; justify-items: center; max-width: 520px; width: 100%; margin-inline: auto; }
.code-card, .result-card {
  width: 100%; border-radius: var(--radius); background: rgba(9, 15, 30, .75);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.code-card-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8125rem; color: #8d9ab3; }
.code-card-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #34405a; }
.code-card-bar em { font-style: normal; margin-left: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { margin-left: auto; font-size: .75rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.tag-old { background: rgba(245, 162, 90, .15); color: #f5b27a; }
.tag-new { background: rgba(63, 211, 205, .15); color: #5de0da; }
.code { margin: 0; padding: 16px 18px 18px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(.72rem, .66rem + .3vw, .84rem); line-height: 1.7; color: #c9d3e6; overflow-x: auto; }
.c-k { color: #8fb0ff; }
.c-c { color: #f5b27a; font-style: italic; }
.c-n { color: #3fd3cd; }
.flow-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2451e6, #0ea5a0); color: #fff; box-shadow: 0 8px 24px rgba(36, 81, 230, .4); }
.flow-arrow .icon { transform: rotate(90deg); }
.result-card { padding: 14px 18px 18px; background: linear-gradient(180deg, rgba(20, 34, 68, .9), rgba(12, 22, 44, .9)); }
.result-card-head { display: flex; margin-bottom: 8px; }
.result-card ul { display: grid; gap: 8px; }
.result-card li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: #e1e7f3; }
.result-card .icon { width: 18px; height: 18px; color: #0b1324; background: #3fd3cd; border-radius: 50%; padding: 3px; stroke-width: 3; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.kicker { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 12px; }
.section-dark .kicker { color: #8fb0ff; }
.kicker-light { color: #c7d6ff; }
.section-intro { font-size: clamp(1.0625rem, 1rem + .2vw, 1.1875rem); color: var(--muted); }
.section-dark .section-intro { color: var(--on-ink-muted); }

.grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.5vw, 30px); box-shadow: var(--shadow); }
.card h3 { margin-top: 16px; }
.card p { color: var(--muted); margin: 0; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.card-icon .icon { width: 23px; height: 23px; }
.card-icon-lg { width: 56px; height: 56px; border-radius: 14px; }
.card-icon-lg .icon { width: 28px; height: 28px; }
.card-icon-sm { width: 34px; height: 34px; border-radius: 9px; }
.card-icon-sm .icon { width: 18px; height: 18px; }
.card-icon-warn { background: var(--warn-soft); color: var(--warn); }
.card-icon-dark { background: rgba(123, 152, 255, .14); color: #a9bfff; border: 1px solid rgba(123, 152, 255, .2); }

.callout { margin-top: 32px; padding: 20px 24px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); color: var(--text); font-size: 1.0625rem; }
.callout-brand { display: flex; gap: 14px; align-items: flex-start; }
.callout-brand > .icon { color: var(--brand); width: 24px; height: 24px; margin-top: 2px; }

/* services */
.grid-services { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-services { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1000px) {
  .grid-services { grid-template-columns: repeat(3, 1fr); }
}
.service-card { position: relative; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.service-card h3 a { color: var(--heading); text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card h3 a:focus-visible { outline: none; }
.service-card:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.service-card p { flex: 1; }
.service-num { position: absolute; top: 24px; right: 26px; font-size: .875rem; font-weight: 700; color: var(--line); font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .service-num { color: #2c3b5f; } }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 620; color: var(--brand); font-size: .9375rem; }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .card-link .icon { transform: translateX(3px); }

/* options table */
.table-wrap { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.options-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.options-table th, .options-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.options-table thead th { background: var(--bg-alt); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.options-table tbody tr:last-child > * { border-bottom: 0; }
.options-table tbody th { color: var(--heading); font-weight: 650; width: 24%; }
.options-table td { color: var(--muted); }
.options-table td:nth-child(3), .options-table td:nth-child(4) { white-space: nowrap; width: 13%; }
.meter { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 550; }
.meter-dots { display: inline-flex; gap: 4px; }
.meter-dots i { width: 10px; height: 10px; border-radius: 3px; background: var(--line); }
.meter-1 .on { background: #16a34a; }
.meter-2 .on { background: #eab308; }
.meter-3 .on { background: #ea580c; }
@media (max-width: 760px) {
  .options-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .options-table, .options-table tbody, .options-table tr, .options-table th, .options-table td { display: block; width: auto !important; }
  .options-table tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .options-table tbody tr:last-child { border-bottom: 0; }
  .options-table th, .options-table td { padding: 0; border: 0; white-space: normal !important; }
  .options-table tbody th { font-size: 1.0625rem; margin-bottom: 6px; }
  .options-table td { margin-bottom: 8px; }
  .options-table td:nth-child(3), .options-table td:nth-child(4) { display: inline-flex; gap: 8px; margin: 4px 20px 0 0; }
  .options-table td:nth-child(3)::before, .options-table td:nth-child(4)::before { content: attr(data-label) ":"; color: var(--muted); font-size: .9375rem; }
}

/* steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step h3 { margin: 16px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.step-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #2451e6, #0ea5a0); color: #fff; }
.step-icon .icon { width: 22px; height: 22px; }
.step-num { position: absolute; top: 22px; right: 24px; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--line); }
@media (prefers-color-scheme: dark) { .step-num { color: #2c3b5f; } }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step::after { content: ""; position: absolute; top: 46px; right: -15px; width: 16px; height: 2px; background: color-mix(in srgb, var(--brand) 50%, transparent); }
  .step:last-child::after { display: none; }
}

/* AI section */
.ai-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .ai-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; } .ai-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; } }
.ai-list { display: grid; gap: 16px; }
.ai-list li { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.ai-list h3 { margin: 4px 0 6px; }
.ai-list p { margin: 0; color: var(--on-ink-muted); }

/* audiences */
.audience-card h3 { font-size: 1.3rem; margin-top: 20px; }
.audience-card > p { margin-bottom: 20px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-text); stroke-width: 2.4; }
.checklist-dot .icon { color: var(--brand); }
.checklist-light .icon { color: #5de0da; }

/* tech */
.tech-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .tech-grid { grid-template-columns: 1fr auto 1fr; } }
.tech-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.tech-col h3 { margin-bottom: 18px; }
.tech-arrow { display: grid; place-items: center; color: var(--brand); }
.tech-arrow .icon { width: 32px; height: 32px; }
@media (max-width: 899px) { .tech-arrow .icon { transform: rotate(90deg); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 8px; font-size: .9375rem; font-weight: 520; border: 1px solid var(--line); background: var(--bg-alt); }
.chips-legacy li { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .84rem; }
.chips-modern li { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, transparent); color: var(--heading); }
.tech-note { margin-top: 24px; color: var(--muted); text-align: center; }

/* why */
.why-list { gap: 32px 40px; }
.why-item { display: flex; gap: 16px; }
.why-item h3 { margin: 6px 0 6px; }
.why-item p { color: var(--muted); margin: 0; }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; } .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.0625rem; font-weight: 620; }
.faq-toggle { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg-alt); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brand); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

/* contact */
.contact-panel {
  display: grid; gap: 40px; padding: clamp(28px, 5vw, 64px); border-radius: 24px; color: #e4ebf7;
  background: radial-gradient(800px 400px at 100% 0%, rgba(14, 165, 160, .35), transparent 60%), linear-gradient(135deg, #1a3dbd 0%, #0b1324 100%);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .contact-panel { grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; } }
.contact-panel h2 { color: #fff; }
.contact-intro { font-size: 1.125rem; color: #c9d5ea; max-width: 52ch; margin-bottom: 28px; }
.contact-side-title { font-weight: 650; color: #fff; margin-bottom: 14px; }
.contact-main .checklist { margin-bottom: 28px; gap: 8px; font-size: 1rem; color: #dbe3f1; }
.contact-main address { color: #c9d5ea; }

/* contact form */
.form-card { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9375rem; color: var(--heading); margin-bottom: 6px; }
.field .req { color: #c2410c; margin-left: 2px; }
.field .opt { font-weight: 450; color: var(--muted); font-size: .875rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(220, 38, 38, .18); }
.field-hint { font-size: .875rem; color: var(--muted); margin: 6px 0 0; }
/* hint under a two-column row (e.g. the email hint): spans both columns, sits close to the fields */
.field-row-hint { grid-column: 1 / -1; margin-top: -12px; }
.field-error { font-size: .875rem; font-weight: 550; color: #b91c1c; margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { .field-error { color: #fca5a5; } .field [aria-invalid="true"] { border-color: #f87171; } .field .req { color: #fb923c; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .875rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .btn[disabled] { opacity: .7; cursor: progress; }
.form-required { font-size: .8125rem; color: var(--muted); margin: 0; }
@media (max-width: 520px) { .form-actions .btn { width: 100%; } }
.form-status { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; font-size: .9375rem; font-weight: 550; }
@media (prefers-color-scheme: dark) { .form-status { background: #3b1414; color: #fecaca; border-color: #7f1d1d; } }
.form-success { text-align: center; padding: 32px 8px; }
.form-success:focus { outline: none; }
.form-success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #2451e6, #0ea5a0); color: #fff; margin-bottom: 16px; }
.form-success-icon .icon { width: 32px; height: 32px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); max-width: 40ch; margin-inline: auto; }
/* email addresses and phone number drawn as glyph outlines; sizes come from tools/make_text_svg.py */
.glyph-img { white-space: nowrap; }
.glyph-text { display: inline-block; height: 1.21em; width: auto; vertical-align: -0.2412em; }
.form-status-email { display: inline-block; }
.form-status-email[hidden] { display: none; }
.status-page .btn { margin-top: 12px; text-decoration: none; }

/* ---------- sub pages ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.page-hero-sm { padding-block: clamp(40px, 6vw, 64px); }
.page-hero-sm h1 { margin: 0; }
.page-hero-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.page-hero-head h1 { margin: 0; }
@media (max-width: 560px) { .page-hero-head { flex-direction: column; align-items: flex-start; } }
.breadcrumb { font-size: .875rem; margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { color: var(--on-ink-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: #bcd0ff; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

.svc-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .svc-layout { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; } .svc-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.svc-block + .svc-block { margin-top: 48px; }
.svc-block h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); margin-bottom: 20px; }
.svc-block .checklist { gap: 14px; font-size: 1.0625rem; }
.svc-result { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.svc-main .callout { margin-top: 40px; }
.svc-aside { display: grid; gap: 24px; }
.cta-box { padding: 28px; border-radius: var(--radius); color: #d7e0f0; background: radial-gradient(500px 260px at 100% 0%, rgba(14, 165, 160, .35), transparent 60%), linear-gradient(135deg, #1a3dbd, #0b1324); box-shadow: var(--shadow-lg); }
.cta-box h2 { color: #fff; font-size: 1.35rem; }
.cta-box p { color: #c9d5ea; font-size: 1rem; }
.cta-box .btn { margin-top: 8px; width: 100%; }
.other-services { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.other-services h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.other-services ul { display: grid; gap: 4px; }
.other-services a { display: flex; align-items: center; gap: 12px; padding: 8px; margin-inline: -8px; border-radius: 10px; color: var(--heading); text-decoration: none; font-weight: 560; }
.other-services a:hover { background: var(--bg-alt); color: var(--brand); }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.muted { color: var(--muted); }

/* 404 */
.notfound { min-height: 100vh; display: grid; align-items: center; padding-block: 48px; }
.notfound-code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin: 32px 0; background: linear-gradient(90deg, #2451e6, #0ea5a0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 2rem; }
.notfound h2 { font-size: 1.6rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-top: 64px; font-size: .9375rem; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: 16px; max-width: 42ch; }
.footer-company { font-size: .875rem; }
.footer-title { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links a, .footer-mail { display: inline-flex; align-items: center; gap: 8px; }
.footer-links .icon, .footer-mail .icon { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.footer-note { margin-top: 6px !important; opacity: .8; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .lang-hint, .hero-visual, .svc-aside, .site-footer { display: none !important; }
  .hero, .section-dark, .page-hero { background: none; color: #000; }
  .hero h1, .section-dark h2, .page-hero h1 { color: #000; }
}

/* ---------- people & about page ---------- */
.avatar {
  display: inline-grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #2451e6, #0ea5a0); color: #fff; font-weight: 700; font-size: 1.5rem; letter-spacing: .02em;
}
.avatar-sm { width: 56px; height: 56px; font-size: 1.05rem; }
.avatar-photo { overflow: hidden; background: var(--bg-alt); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
.avatar-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.contact-person-light .avatar-photo, .cta-box .avatar-photo { box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.team-grid { align-items: stretch; }
.person-card { display: flex; flex-direction: column; gap: 16px; }
.person-card > p { margin: 0; }
.person-card-primary { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-lg); }
.person-head { display: flex; align-items: center; gap: 18px; }
.person-head h3 { margin: 0 0 2px; font-size: 1.3rem; }
.person-role { margin: 0; color: var(--muted); font-weight: 550; }
.person-badge { display: inline-block; margin-top: 8px; font-size: .8125rem; font-weight: 650; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.person-phone, .contact-person-phone, .cta-phone, .footer-phone { display: flex; align-items: center; gap: 8px; }
.person-phone { font-size: 1.125rem; color: var(--heading); font-weight: 600; }
.person-phone .icon, .contact-person-phone .icon { color: var(--brand); width: 18px; height: 18px; }
.person-card .card-link { margin-top: 0; }

.contact-person { display: flex; gap: 14px; align-items: center; margin-bottom: 28px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.contact-person p { margin: 0; }
.contact-person-label { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.contact-person-name { font-weight: 650; color: var(--heading); }
.contact-person-role { font-size: .9375rem; color: var(--muted); }
.contact-person-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.contact-person-light .contact-person-label { color: #c7d6ff; }
.contact-person-light .contact-person-name { color: #fff; }
.contact-person-light .contact-person-role, .contact-person-light .contact-person-phone { color: #dbe3f1; }
.contact-person-light .contact-person-phone .icon { color: #5de0da; }

.cta-phone { flex-wrap: wrap; font-size: 1.0625rem; color: #fff !important; font-weight: 600; margin: 18px 0 0; }
.cta-phone .icon { color: #5de0da; width: 18px; height: 18px; }
.cta-box .cta-phone + .btn, .about-bottom .cta-box .btn { margin-top: 20px; }
.svc-aside .cta-phone { display: block; line-height: 1.7; }
.svc-aside .cta-phone .icon { display: inline-block; vertical-align: -3px; margin-right: 8px; }
.svc-aside .cta-phone br + .icon { margin-left: 0; }
.footer-phone { color: var(--on-ink-muted); }
.footer-phone .icon { width: 16px; height: 16px; }

.about-bottom { display: grid; gap: 40px; }
@media (min-width: 1000px) { .about-bottom { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.about-bottom h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(140px, 32%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 650; color: var(--heading); }
.facts dd { margin: 0; color: var(--text); }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- know-how (USP) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.knowhow-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) { .knowhow-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.knowhow-card { display: flex; flex-direction: column; }
.knowhow-card > p:last-child { margin-top: 12px; }
.knowhow-card-stat {
  color: #d7e0f0; border-color: transparent;
  background: radial-gradient(420px 220px at 100% 0%, rgba(14, 165, 160, .35), transparent 60%), linear-gradient(135deg, #1a3dbd, #0b1324);
}
.knowhow-card-stat p { color: #c9d5ea; }
.knowhow-stat { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.knowhow-num { font-size: clamp(3.5rem, 2.5rem + 3vw, 4.75rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(90deg, #8fb0ff, #3fd3cd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.knowhow-unit { font-size: 1.2rem; font-weight: 650; color: #fff; line-height: 1.3; max-width: 24ch; }

/* databases block in the tech section */
.tech-col-data { margin-top: 24px; }
.tech-col-data h3 { display: flex; align-items: center; gap: 10px; }
.tech-col-data h3 .icon { color: var(--brand); width: 22px; height: 22px; }
.chips-data li { background: color-mix(in srgb, var(--accent-text) 10%, var(--bg-alt)); border-color: color-mix(in srgb, var(--accent-text) 25%, transparent); color: var(--heading); }

/* "Why neocoding.ai?" box on service pages */
.why-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.why-box h2 { font-size: 1.15rem; margin-bottom: 14px; }
.why-box .checklist { gap: 10px; font-size: .96875rem; }
.why-box .card-link { margin-top: 16px; }

/* word mark at the top of the home hero (image made by tools/make_logo.py) */
.hero-logo {
  display: block; width: min(100%, 460px); height: auto; margin: 0 0 32px;
  border-radius: 3.5% / 12.2%; /* matches the SVG's rounded corners */
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06);
}
@media (max-width: 760px) and (orientation: portrait) {
  .hero-logo { width: 100%; margin-bottom: 28px; }
}
.hero-logo-wrap { display: block; }
@media (prefers-color-scheme: dark) {
  /* dark logo on the dark hero: a light hairline keeps it a distinct block */
  .hero-logo { box-shadow: 0 18px 48px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .16); }
}

/* ---------- example Legacy-Check page ---------- */
.example-badge { display: inline-block; margin: 0 0 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fdba74; background: rgba(245, 162, 90, .12); border: 1px solid rgba(245, 162, 90, .35); padding: 4px 12px; border-radius: 999px; }
.example-intro { display: grid; gap: 40px; }
@media (min-width: 1000px) { .example-intro { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; } }
.example-intro h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.example-intro .checklist { margin: 18px 0 0; }
.example-facts h3 { margin-top: 0; }
.example-facts dl { margin: 0; display: grid; }
.example-facts dl > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.example-facts dt { font-weight: 650; color: var(--heading); font-size: .9375rem; }
.example-facts dd { margin: 2px 0 0; color: var(--muted); font-size: .9375rem; }
.example-note { font-size: .875rem; color: var(--muted); margin-top: 16px; }
.example-verdict { max-width: 820px; font-size: 1.0625rem; margin: -12px 0 32px; }
.example-h3 { font-size: 1.25rem; margin: 36px 0 16px; }
.example-h2 { margin-top: 64px; }
.ratings { display: grid; gap: 10px; }
.rating { display: grid; grid-template-columns: 110px minmax(160px, 240px) 1fr; gap: 6px 20px; align-items: baseline; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lv); border-radius: var(--radius-sm); }
.rating-level { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--heading); }
.rating .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lv); flex: none; }
.rating-area { font-weight: 650; color: var(--heading); }
.rating-why { color: var(--muted); font-size: .9375rem; }
.lv-red { --lv: #dc2626; } .lv-amber { --lv: #eab308; } .lv-green { --lv: #16a34a; }
@media (max-width: 760px) { .rating { grid-template-columns: 1fr; } }
.ex-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.ex-table th, .ex-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ex-table thead th { background: var(--bg-alt); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.ex-table tbody tr:last-child > * { border-bottom: 0; }
.ex-table tbody th { color: var(--heading); font-weight: 650; }
.ex-table td { color: var(--text); }
.risk-id { font-weight: 700; color: var(--brand); white-space: nowrap; }
.risk-impact { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; margin-top: 4px; }
.sev { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; padding: 3px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.sev-critical { background: #b91c1c; } .sev-high { background: #c2410c; } .sev-medium { background: #a16207; } .sev-low { background: #4d7c0f; }
.ex-options td:nth-child(2), .ex-options td:nth-child(3), .ex-options td:nth-child(4) { white-space: nowrap; }
.saving { display: inline-block; font-weight: 700; color: #166534; background: #dcfce7; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .saving { color: #bbf7d0; background: #14532d; } }
.opt-key { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-right: 10px; }
.opt-rec { background: color-mix(in srgb, #16a34a 8%, var(--surface)); }
.opt-rec th { box-shadow: inset 4px 0 #16a34a; }
.opt-tag { display: inline-block; margin-left: 10px; font-size: .75rem; font-weight: 700; color: #166534; background: #dcfce7; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
@media (max-width: 760px) {
  .ex-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ex-table, .ex-table tbody, .ex-table tr, .ex-table th, .ex-table td { display: block; width: auto; }
  .ex-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .ex-table th, .ex-table td { padding: 0; border: 0; white-space: normal !important; }
  .ex-table td { margin-top: 8px; }
  .ex-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; font-size: .875rem; }
  .risk-id { display: inline-block; margin-bottom: 4px; }
}
.phases { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.phase-no { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.phase h3 { margin: 6px 0 4px; font-size: 1.125rem; }
.phase-when { color: var(--muted); font-size: .9375rem; margin-bottom: 8px; }
.phase p:last-child { color: var(--text); font-size: .9375rem; }
.reports { display: grid; gap: 28px; }
.report-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.report-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 20px; }
.report-head h3 { margin: 0; font-size: 1.25rem; }
.report-meta { margin: 0; color: var(--muted); font-size: .9375rem; flex: 1; }
.report-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.report-thumbs a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(11, 19, 36, .1); transition: transform .15s, box-shadow .15s; }
.report-thumbs a:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(11, 19, 36, .18); }
.report-thumbs img { width: 100%; height: auto; }
.example-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 4vw, 44px); }
.example-cta h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.example-cta p { margin: 0; max-width: 60ch; }
.example-cta .btn { width: auto; margin: 0; }
/* lightbox for report pages */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(6, 10, 20, .88); }
dialog.lightbox img { display: block; max-width: 92vw; max-height: 90vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }
.lightbox button { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: 600 1.6rem/1 Inter, sans-serif; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: .9375rem; }
@media (max-width: 600px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 10px; transform: none; } }
.example-scope p { margin: 0 0 8px; }
.example-scope ul { list-style: disc; padding-left: 1.2em; font-size: .9375rem; color: var(--text); }
.example-scope li { margin-bottom: 4px; }
@media (max-width: 760px) { .opt-rec th { box-shadow: none; } .ex-table tr.opt-rec { box-shadow: inset 4px 0 #16a34a; } }
/* migration paths (home) */
.paths-table { font-size: .9375rem; }
@media (min-width: 761px) { .paths-table th, .paths-table td { padding: 16px 18px; } }
.paths-table tbody th { width: 19%; }
.paths-table td:nth-child(2) { width: 23%; }
.paths-table td:nth-child(5) { color: var(--text); }
.path-example { display: flex; width: fit-content; margin-top: 4px; align-items: center; gap: 4px; font-weight: 620; font-size: .875rem; white-space: nowrap; }
.path-example .icon { width: 14px; height: 14px; }
.paths-scale { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 760px) {
  .paths-table td:nth-child(2)::before, .paths-table td:nth-child(5)::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; font-size: .875rem; }
  .paths-table td:nth-child(5) { margin-top: 12px; }
}
/* example pages: four-phase roadmaps, links to the other examples */
@media (min-width: 900px) { .phases-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .phases-4 { grid-template-columns: repeat(4, 1fr); } }
.example-cards { margin-bottom: 56px; }
.example-card-tech { margin: 0 0 8px; font-size: .875rem; font-weight: 650; color: var(--brand); }
.example-card h3 { margin: 0 0 8px; font-size: 1.1875rem; }
/* webinar page + home teaser */
.agenda-time { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--brand); }
.agenda-table td:nth-child(3) { white-space: normal; width: auto; }
@media (min-width: 761px) { .agenda-table th, .agenda-table td { padding: 16px 18px; } .agenda-table .agenda-time { width: 14%; } .agenda-table tbody th { width: 28%; } }
@media (max-width: 760px) {
  .agenda-table td:nth-child(3) { display: block; margin: 6px 0 0; }
  .agenda-table td:nth-child(3)::before { content: none; }
  .agenda-table .agenda-time { margin: 0 0 4px; }
}
.webinar-hero { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .webinar-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; } }
.webinar-hero .hero-actions { margin-bottom: 16px; }
@media (min-width: 1000px) { .webinar-hero h1 { font-size: clamp(2.25rem, 3.6vw, 3rem); } }
.webinar-next { display: flex; align-items: center; gap: 8px; margin: 0 0 22px; font-size: .9375rem; color: #cdd6e6; }
.webinar-next[hidden] { display: none; }
.webinar-next .icon { flex: none; width: 18px; height: 18px; color: #3fd3cd; }
.webinar-next strong { color: #fff; font-weight: 650; }
.webinar-visual { margin: 0; }
.webinar-visual img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .04); }
.webinar-visual figcaption { margin-top: 12px; font-size: .8125rem; color: var(--on-ink-muted); text-align: center; }
.host-card { display: grid; gap: 20px 28px; align-items: center; margin-top: 40px; }
@media (min-width: 640px) { .host-card { grid-template-columns: auto 1fr; } }
.host-card .kicker { margin-bottom: 6px; }
.host-card h3 { margin: 0; font-size: 1.375rem; }
.host-card .person-role { margin: 2px 0 12px; }
.host-card p:not(.kicker):not(.person-role) { margin: 0 0 14px; max-width: 70ch; }
.host-card .card-link { margin-top: 0; }
.avatar-lg { width: 120px; height: 120px; font-size: 2.25rem; }
.webinar-info { margin-top: 40px; }
.webinar-info h3 { margin: 0 0 10px; }
.webinar-info p + h3, .webinar-info p + .checklist { margin-top: 20px; }
.webinar-info .checklist + h3 { margin-top: 24px; }
.ai-webinar { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(63, 211, 205, .35); color: var(--on-ink-muted); text-decoration: none; font-size: .9375rem; transition: border-color .2s, background .2s; }
.ai-webinar:hover { border-color: #3fd3cd; background: rgba(255, 255, 255, .08); }
.ai-webinar .card-icon { flex: none; background: rgba(63, 211, 205, .15); color: #3fd3cd; }
.ai-webinar strong, .ai-webinar > span > span { display: block; }
.ai-webinar strong { margin-bottom: 2px; font-size: 1rem; }
.ai-webinar em { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-style: normal; font-weight: 650; color: #3fd3cd; }
.ai-webinar em .icon { width: 16px; height: 16px; }
.learn-box { display: grid; gap: 18px 22px; margin-bottom: 48px; padding: clamp(22px, 3.5vw, 32px); border-radius: var(--radius); color: #c9d5ea; background: radial-gradient(520px 280px at 100% 0%, rgba(63, 211, 205, .28), transparent 60%), linear-gradient(135deg, #0a7c78, #0b1324 85%); box-shadow: var(--shadow-lg); }
.learn-box .card-icon { background: rgba(63, 211, 205, .16); color: #7fe6e1; border-color: rgba(63, 211, 205, .3); }
.learn-box .kicker { color: #9ff0ec; }
@media (min-width: 640px) { .learn-box { grid-template-columns: auto 1fr; } }
.learn-box h2 { margin: 4px 0 10px; color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.learn-box p { margin: 0 0 16px; color: #c9d5ea; }
.learn-box .kicker.kicker-light { margin: 0; color: #9ff0ec; }
.learn-box .hero-badges { margin-bottom: 22px; }
/* service pages: contact person in the CTA box */
.cta-person { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.cta-person p { margin: 0; }
.cta-person-label { font-size: .875rem; color: #c9d5ea; }
.cta-person-name { font-weight: 650; color: #fff; }
.cta-box .cta-person .cta-phone { display: flex; margin: 2px 0 0; line-height: 1.4; color: #fff; }
