/* CXIO. Brand: navy, gray and white, taken from the logo. System fonts only (no font requests). */

:root {
  --ink: #121a1f;
  --ink-2: #1c262d;
  --ink-3: #26333b;
  --gray: #75777b;
  --gray-panel: #6a6d71;
  --text-2: #4f555b;
  --soft: #f3f4f5;
  --panel-light: #e9ebed;
  --line: #dfe2e5;
  --line-strong: #cdd2d6;
  --white: #fff;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 24px 60px -30px rgba(18, 26, 31, 0.28);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.03em; line-height: 1.08; font-weight: 650; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--ink); color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.center { text-align: center; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none;
  border: 1.5px solid var(--ink); cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--ink-3); border-color: var(--ink-3); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--panel-light); border-color: var(--panel-light); }
.btn-small { padding: 11px 20px; font-size: .95rem; }
.ico-arrow { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.btn:hover .ico-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list > li > a, .menu-toggle {
  font: inherit; font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none;
  padding: 6px 0; border: 0; border-bottom: 1.5px solid transparent; background: none; cursor: pointer;
}
.nav-list > li > a:hover, .menu-toggle:hover, .has-menu.is-current .menu-toggle { border-bottom-color: var(--ink); }
.menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.has-menu { position: relative; }
.has-menu:hover .chev, .has-menu.open .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 16px); left: -28px; width: min(580px, 92vw);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 60px rgba(18, 26, 31, .16); padding: 12px; display: none; z-index: 60;
}
.mega::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.open .mega { display: block; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-list a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.mega-list a:hover, .mega-list a[aria-current="page"] { background: var(--soft); }
.mega-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.mi { width: 20px; height: 20px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mi circle { fill: var(--white); stroke: none; }
.mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-text strong { color: var(--ink); font-weight: 600; font-size: .98rem; line-height: 1.25; }
.mega-text small { font-size: .84rem; color: var(--text-2); line-height: 1.35; }
.mega-all { display: flex; align-items: center; gap: 8px; margin: 8px 4px 2px; padding: 12px 8px 4px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); text-decoration: none; font-size: .95rem; }
.mega-all:hover .ico-arrow { transform: translateX(3px); }
.menu-btn { display: none; }

@media (max-width: 920px) {
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 0 20px; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .menu-toggle { display: flex; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); width: 100%; }
  .menu-toggle { justify-content: space-between; cursor: default; }
  .menu-toggle .chev { display: none; }
  .mega { position: static; display: block; width: auto; border: 0; box-shadow: none; padding: 4px 0 8px; background: none; }
  .mega::before { display: none; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-list a { padding: 10px 0; }
  .mega-all { display: none; }
  .nav .btn { justify-content: center; }
  .js .menu-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1.5px solid var(--line); border-radius: 999px;
    padding: 9px 16px; font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer;
  }
  .menu-icon, .menu-icon::before { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
  .menu-icon::before { content: ""; position: absolute; top: 5px; left: 0; }
  .menu-icon { margin-bottom: 5px; }
  .menu-btn[aria-expanded="true"] .menu-icon { transform: translateY(2.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(-5px) rotate(-90deg); top: 5px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
}

/* ---------- Shared type bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-panel);
  margin-bottom: 28px;
}
.tri { width: 10px; height: 12px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-panel);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 9px; height: 11px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.kicker-icon { display: none; }
.kicker-light { color: #aab0b5; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section h2, .band h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-sub { margin-top: 18px; font-size: 1.15rem; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(8px, 2vw, 24px); text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(18, 26, 31, .16) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 34%, #000 18%, transparent 72%);
}
.hero-mark { position: absolute; right: -4%; top: 4%; width: min(44vw, 540px); height: auto; aspect-ratio: 441 / 537; fill: var(--ink); opacity: .045; pointer-events: none; }
.hero-inner { position: relative; }
.hero .eyebrow { margin-bottom: 30px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; max-width: 15ch; margin-inline: auto; }
.hero h1 .soft { color: var(--gray); }
.lede { max-width: 640px; margin: 28px auto 0; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.55; color: var(--text-2); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > *, .page-hero-copy > *, .page-figure { animation: rise .75s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > :nth-child(2), .page-hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-inner > :nth-child(3), .page-hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-inner > :nth-child(4), .page-hero-copy > :nth-child(4) { animation-delay: .18s; }
  .page-hero-copy > :nth-child(5) { animation-delay: .24s; }
  .page-figure { animation-delay: .15s; }
  .panel { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .panel:nth-child(1) { animation-delay: .25s; }
  .panel:nth-child(2) { animation-delay: .33s; }
  .panel:nth-child(3) { animation-delay: .41s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.panels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; margin-top: clamp(56px, 8vw, 96px); text-align: left; }
.panel { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.panel:nth-child(2) { min-height: 340px; }
.panel:nth-child(3) { min-height: 400px; }
.panel:hover { transform: translateY(-6px); }
.panel-index { font-family: var(--mono); font-size: .8rem; font-weight: 600; letter-spacing: .14em; position: relative; }
.panel-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 650; position: relative; color: inherit; }
.panel-title a { text-decoration: none; }
.panel-title a::after { content: ""; position: absolute; inset: -400px; }
.panel p { margin-top: 6px; font-size: 1.02rem; position: relative; }
.panel-arrow { position: absolute; right: 24px; bottom: 24px; width: 26px; height: 26px; transition: transform .25s; }
.panel:hover .panel-arrow { transform: translateX(5px); }
.panel-mark { position: absolute; right: -8%; top: 50%; width: 62%; height: auto; aspect-ratio: 441 / 537; transform: translateY(-58%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.panel:hover .panel-mark { transform: translateY(-58%) translateX(-8px); }
.panel-light { background: var(--panel-light); color: var(--ink); }
.panel-light .panel-mark { fill: var(--gray); opacity: .35; }
.panel-gray { background: var(--gray-panel); color: var(--white); }
.panel-gray .panel-mark { fill: var(--white); opacity: .22; }
.panel-ink { background: var(--ink); color: var(--white); }
.panel-ink .panel-mark { fill: var(--gray); opacity: .6; }

@media (max-width: 760px) {
  .panels { grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
  .panel, .panel:nth-child(2), .panel:nth-child(3) { min-height: 190px; }
  .panel-mark { width: 38%; }
}

/* ---------- Service cards (home) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.card { position: relative; border-top: 1px solid var(--line); padding-top: 28px; transition: border-color .2s; }
.card:hover, .card:focus-within { border-top-color: var(--ink); }
.card::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--ink); transition: width .3s; }
.card:hover::before, .card:focus-within::before { width: 100%; }
.card-icon { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.card-icon circle { fill: var(--ink); stroke: none; }
.card h3 { font-size: 1.7rem; font-weight: 600; margin-bottom: 14px; }
.card h3 a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible { outline-offset: 6px; }
.card:hover .ico-arrow, .card:focus-within .ico-arrow { transform: translateX(5px); }
.card p { font-size: 1rem; }
.card h4 { margin-top: 28px; margin-bottom: 10px; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.card li { position: relative; padding-left: 18px; font-size: .96rem; line-height: 1.9; }
.card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 7px; background: var(--gray); clip-path: polygon(0 0, 100% 50%, 0 100%); }

@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- AI Transformation (home) ---------- */
.ai { padding-top: 0; }
.ai-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: var(--soft); border-radius: 24px; padding: clamp(28px, 6vw, 80px); position: relative; overflow: hidden; }
.ai-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid var(--line-strong); box-shadow: 0 0 0 40px rgba(18, 26, 31, .02), 0 0 0 80px rgba(18, 26, 31, .015); pointer-events: none; }
.ai-copy, .ai-figure { position: relative; z-index: 1; min-width: 0; }
.ai h2 { max-width: 16ch; }
.ai-lede { margin-top: 20px; font-size: 1.12rem; max-width: 52ch; }
.ai-points { margin: 30px 0 34px; border-top: 1px solid var(--line-strong); }
.ai-points li { display: grid; grid-template-columns: 11.5rem 1fr; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.ai-points strong { color: var(--ink); font-weight: 600; }
.ai-points span { font-size: .98rem; }
.ai-figure { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 30px); box-shadow: var(--shadow); }

@media (max-width: 960px) { .ai-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ai-points li { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.client { position: relative; background: var(--white); padding: 28px 28px 24px; display: flex; flex-direction: column; min-height: 190px; transition: background .2s; }
.client:hover { background: var(--soft); }
.client-logo { flex: 1; display: flex; align-items: center; padding-bottom: 20px; min-width: 0; }
.client-logo img { height: 40px; width: auto; max-width: min(170px, 100%); object-fit: contain; object-position: left center; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.client:hover .client-logo img { filter: none; opacity: 1; }
.client-name { font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.client-name a { text-decoration: none; color: inherit; }
.client-name a::after { content: ""; position: absolute; inset: 0; }
.client-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.client:focus-within { outline: 3px solid var(--ink); outline-offset: -3px; }
.client-name a:focus-visible { outline: none; }
.client-country { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-panel); margin-top: 4px; }
.trademark { margin-top: 18px; font-size: .85rem; color: var(--text-2); }
@media (max-width: 860px) { .client-grid { grid-template-columns: repeat(2, 1fr); } .client:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 440px) { .client { padding: 20px 18px; min-height: 160px; } }

/* ---------- Dark band ---------- */
.band { position: relative; overflow: hidden; background: var(--ink); color: #c4c9cd; padding: clamp(72px, 10vw, 130px) 0; }
.band .wrap { position: relative; z-index: 1; }
.band-mark { position: absolute; right: -6%; bottom: -12%; width: min(46vw, 560px); height: auto; aspect-ratio: 441 / 537; fill: var(--white); opacity: .035; pointer-events: none; }
.band h2, .band h3 { color: var(--white); }
.band-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.band-sub { margin-top: 18px; font-size: 1.15rem; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.points li { border-left: 1px solid #36424a; padding-left: 22px; }
.num { display: block; font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--gray); margin-bottom: 18px; letter-spacing: .06em; }
.points h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.points p { font-size: .98rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid #36424a; }
.facts dt { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; color: var(--white); line-height: 1.1; }
.facts dd { margin-top: 6px; font-size: 1rem; }
@media (max-width: 1100px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .points { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-copy p { max-width: 56ch; }
.focus { margin-top: 36px; border-top: 1px solid var(--line); }
.focus > div { display: grid; grid-template-columns: 12rem 1fr; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.focus dt { font-weight: 600; color: var(--ink); }
.focus dd { font-size: 1rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .focus > div { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-wrap { padding-top: 0; }
.contact { background: var(--soft); border-radius: var(--radius); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { margin-bottom: 20px; }
.contact-copy { max-width: 44ch; font-size: 1.15rem; }
.contact-card { background: var(--white); border-radius: 12px; padding: clamp(24px, 3.5vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--gray-panel); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121a1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--gray); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { min-height: 1.5em; margin-top: 16px; font-size: .98rem; font-weight: 600; color: var(--ink); }
.form-status.error { color: #b3261e; }
.form-note { margin-top: 10px; font-size: .88rem; color: var(--text-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Practice pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 8vw, 104px); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(18, 26, 31, .14) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 78% 40%, #000 10%, transparent 70%);
}
.hero-mark-page { right: auto; left: -16%; top: auto; bottom: -34%; width: min(38vw, 440px); opacity: .028; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-hero-copy { min-width: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gray); }
.crumbs a { text-decoration: none; color: var(--text-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -0.042em; line-height: 1.04; max-width: 16ch; }
.page-hero .lede { margin: 24px 0 0; max-width: 54ch; }
.page-hero .actions { justify-content: flex-start; }
.page-figure { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow); min-width: 0; }
.page-figure figcaption { font-size: .9rem; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: 1fr; } .page-figure { max-width: 620px; } }

/* Diagrams */
.diagram { display: block; width: 100%; height: auto; max-width: 520px; margin-inline: auto; font-family: var(--font); }
.dg-box { fill: var(--soft); stroke: var(--line-strong); stroke-width: 1.2; }
.dg-core { fill: var(--ink); }
.dg-chip { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .24); stroke-width: 1; }
.dg-line { stroke: var(--gray); stroke-width: 1.6; fill: none; }
.dg-head { fill: var(--gray); }
.dg-t { fill: var(--ink); font-size: 15px; font-weight: 600; }
.dg-t-w { fill: var(--white); }
.dg-t-sm { font-size: 13px; font-weight: 500; }
.dg-t-lg { font-size: 18px; font-weight: 700; }
.dg-fade { opacity: .74; }
.dg-dashed { stroke-dasharray: 5 4; }
.dg-dashed-line { stroke-dasharray: 4 4; }
.dg-bracket { marker-end: none; }

/* Overview */
.overview-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.prose h2 { margin-bottom: 28px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.prose p { max-width: 62ch; }
.prose p + p { margin-top: 18px; }
.glance { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); position: sticky; top: 104px; }
.glance-title { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-panel); margin-bottom: 8px; }
.glance dl > div { padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.glance dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance dt { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 2px; }
.glance dd { font-size: .98rem; }
@media (max-width: 900px) { .overview-grid { grid-template-columns: 1fr; } .glance { position: static; } }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; }
.benefit h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; display: flex; gap: 12px; align-items: baseline; }
.benefit h3::before { content: ""; flex: none; width: 10px; height: 13px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(1px); }
.benefit p { font-size: 1rem; padding-left: 22px; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefit-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Offerings */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.offer { position: relative; border-top: 1px solid var(--line); padding: 28px 0 40px; transition: border-color .2s; }
.offer::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--ink); transition: width .3s; }
.offer:hover::before { width: 100%; }
.offer h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.offer p { font-size: 1rem; max-width: 40ch; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: #3a464e; }
.steps li { position: relative; }
.step-num { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); border: 1px solid #55626b; color: var(--white); font-family: var(--mono); font-weight: 600; margin-bottom: 22px; }
.steps h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.steps p { font-size: .98rem; max-width: 30ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .steps li { padding-left: 72px; min-height: 44px; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .steps p { max-width: none; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.7rem; font-weight: 400; line-height: 1; color: var(--gray-panel); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--ink-3); }
.faq-item p { padding: 0 48px 24px 0; max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { margin-bottom: 8px; } }

/* Related */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: border-color .2s, transform .25s, box-shadow .25s; }
.related-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 16px 36px -22px rgba(18, 26, 31, .35); }
.related-card .card-icon { width: 26px; height: 26px; margin-bottom: 18px; }
.related-card strong { color: var(--ink); font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; }
.related-card span { font-size: .92rem; line-height: 1.4; padding-right: 28px; }
.related-card .ico-arrow { position: absolute; right: 22px; bottom: 22px; color: var(--ink); }
.related-card:hover .ico-arrow { transform: translateX(4px); }
@media (max-width: 1000px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .related-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta { padding-top: 0; }
.cta-panel { position: relative; overflow: hidden; background: var(--ink); color: #c4c9cd; border-radius: 22px; padding: clamp(32px, 6vw, 72px); display: flex; gap: 28px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-mark { position: absolute; right: -4%; top: -30%; width: min(36vw, 340px); height: auto; aspect-ratio: 441 / 537; fill: var(--white); opacity: .05; pointer-events: none; }
.cta-copy { position: relative; max-width: 560px; }
.cta-copy h2 { color: var(--white); font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.cta-copy p { margin-top: 14px; font-size: 1.1rem; }
.cta-panel .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab0b5; padding: clamp(56px, 8vw, 96px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.foot-brand img { width: 170px; filter: invert(1); mix-blend-mode: screen; }
.foot-title { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8b9298; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; font-size: .98rem; }
.site-footer a { text-decoration: none; color: #e4e7e9; overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--white); }
.legal { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid #2a353c; font-size: .9rem; color: #8b9298; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
