/* Nadide Health — site styles */
:root {
  --ink: #0f1e33;
  --text: #2a394d;
  --muted: #5a6a7e;
  --line: #dce2e9;
  --line-strong: #c5ced9;
  --soft: #f1f4f7;
  --navy: #0d2340;
  --navy-2: #173a63;
  --navy-line: rgba(255, 255, 255, 0.14);
  --on-navy: #c7d3e2;
  --accent: #c4533a;
  --accent-ink: #a8432d;
  --accent-light: #f0906f;
  --accent-tint: #fbefea;
  --radius: 8px;
  --wrap: 1240px;
  --header-h: 76px;
  --font: "Schibsted Grotesk", ui-sans-serif, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent-tint); color: var(--ink); }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.i { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(13, 35, 64, 0.55); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.015em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; transition: transform 0.6s var(--ease); }
.brand:hover { color: var(--ink); }
.brand:hover svg { transform: rotate(-35deg); }

.nav-panel { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center;
  padding: 10px 14px; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500;
  transition: background 0.2s;
}
.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--accent); border-radius: 2px; }
.has-menu { position: relative; display: flex; align-items: center; }
.has-menu .nav-link { padding-right: 4px; }
.menu-toggle { display: inline-grid; place-items: center; width: 28px; height: 36px; margin-right: 4px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 6px; }
.menu-toggle:hover { background: var(--soft); }
.menu-toggle .i { transition: transform 0.25s var(--ease); }
.has-menu.is-open .menu-toggle .i { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 330px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(13, 35, 64, 0.45);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.is-open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) { .has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; } }
.menu a { display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); transition: background 0.2s; }
.menu a::before { content: ""; grid-row: 1 / 3; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; border: 1.5px solid var(--accent); transition: background 0.2s; }
.menu a:hover { background: var(--soft); }
.menu a:hover::before { background: var(--accent); }
.menu strong { font-weight: 600; font-size: 15px; }
.menu span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.nav-aside { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.lang a:hover { color: var(--ink); background: var(--soft); }
.lang [aria-current] { background: var(--ink); color: #fff; }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; color: var(--ink); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.burger i:first-of-type { top: 16px; }
.burger i:last-of-type { top: 25px; }
.burger[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .burger { display: block; }
  .nav-panel {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px;
    background: #fff; padding: 16px clamp(20px, 4vw, 40px) 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  }
  .nav-open .nav-panel { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > a, .has-menu { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 18px 0; font-size: 20px; font-weight: 600; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"]::after { left: 0; right: auto; width: 24px; bottom: 10px; }
  .has-menu { flex-wrap: wrap; }
  .has-menu .nav-link { flex: 1; }
  .menu-toggle { display: none; }
  .menu, .has-menu:focus-within .menu { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; }
  .menu::before { display: none; }
  .menu a { padding: 10px 0; }
  .menu a:hover { background: none; }
  .nav-aside { justify-content: space-between; }
  .nav-aside .btn { flex: 1; justify-content: center; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 6px;
  font-weight: 600; font-size: 15.5px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform 0.25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-accent:hover { background: #8f3624; color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-tint); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.06); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; transition: gap 0.25s var(--ease), color 0.2s; }
.link-arrow:hover { gap: 12px; color: var(--accent-ink); }
.on-dark .link-arrow, .link-arrow.light { color: #fff; border-color: var(--accent-light); }
.on-dark .link-arrow:hover, .link-arrow.light:hover { color: var(--accent-light); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-dark h2, .section-dark h3 { color: #fff; }
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14.5px; font-weight: 600; color: var(--accent-ink); }
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .label, .hero .label { color: var(--accent-light); }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); text-wrap: balance; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { font-size: 18px; color: var(--muted); max-width: 52ch; }
.section-dark .section-head p { color: var(--on-navy); }
.section-head.stack { grid-template-columns: 1fr; gap: 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; margin-top: 18px; }
.prose p { font-size: 18px; line-height: 1.65; }
.prose p + p { margin-top: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.small-print { margin-top: 32px; font-size: 13.5px; color: var(--muted); }
.section-dark .small-print { color: #8fa1b8; }

/* ---------- Contour lines (hero art) ---------- */
.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lines .drift { animation: drift 26s ease-in-out infinite alternate; transform-origin: 50% 50%; }
.lines .drift-2 { animation-duration: 34s; animation-direction: alternate-reverse; }
.lines .trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 3.2s 0.4s var(--ease) forwards; }
@keyframes drift { from { transform: translate3d(-1.5%, 0, 0); } to { transform: translate3d(1.5%, -2%, 0); } }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 0% 100%, rgba(13, 35, 64, 0.95), rgba(13, 35, 64, 0) 70%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; padding-top: clamp(72px, 10vw, 136px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.032em; text-wrap: balance; }
.hero-lede { margin-top: 28px; font-size: clamp(18px, 1.6vw, 20px); max-width: 56ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero .label { animation: rise 0.8s var(--ease) both; }
.hero h1 { animation: rise 0.9s 0.08s var(--ease) both; }
.hero-lede { animation: rise 0.9s 0.18s var(--ease) both; }
.hero-actions { animation: rise 0.9s 0.28s var(--ease) both; }
.audience { animation: rise 1s 0.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.audience { background: #fff; color: var(--text); border-radius: 14px; padding: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.audience-q { font-size: 14.5px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--soft); border-radius: 10px; }
.seg [role="tab"] { appearance: none; border: 0; background: none; padding: 11px 12px; border-radius: 7px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.seg [role="tab"]:hover { color: var(--ink); }
.seg [aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(13, 35, 64, 0.12), 0 4px 12px -6px rgba(13, 35, 64, 0.25); }
.audience [role="tabpanel"] { padding-top: 22px; animation: fadeUp 0.45s var(--ease); }
.audience [role="tabpanel"] > p { font-size: 17px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.checks .i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Figures ---------- */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.figure { padding: 32px 28px 8px 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); }
.figure .num { display: block; font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure .num .unit { color: var(--accent); }
.figure p { margin-top: 16px; font-size: 15.5px; color: var(--muted); max-width: 30ch; }

/* ---------- Service rows (home) ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 52px; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
  color: inherit; text-decoration: none;
}
.row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.row:hover { color: inherit; }
.row:hover::after { transform: scaleX(1); }
.row .for { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.row h3 { font-size: clamp(1.45rem, 2.3vw, 2rem); transition: transform 0.4s var(--ease); }
.row:hover h3 { transform: translateX(6px); }
.row p { color: var(--muted); }
.row .meta { display: block; margin-top: 10px; font-size: 14px; color: var(--ink); font-weight: 500; }
.go { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.row:hover .go { background: var(--navy); border-color: var(--navy); color: #fff; transform: rotate(-45deg); }
.rows-foot { margin-top: 36px; }

/* ---------- Statement band ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.statement blockquote { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.7rem); line-height: 1.18; font-weight: 500; letter-spacing: -0.025em; color: #fff; text-wrap: balance; }
.statement blockquote em { font-style: normal; color: var(--accent-light); }
.commit { list-style: none; margin: 0; padding: 0; }
.commit li { padding: 22px 0; border-top: 1px solid var(--navy-line); }
.commit li:last-child { border-bottom: 1px solid var(--navy-line); }
.commit h3 { font-size: 18px; letter-spacing: -0.01em; }
.commit p { margin-top: 6px; font-size: 15.5px; }
.statement .link-arrow { margin-top: 28px; }

/* ---------- Timeline (home snapshot) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.timeline li { position: relative; padding-top: 40px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; right: calc(-1 * clamp(24px, 3vw, 48px)); height: 1px; background: var(--line-strong); }
.timeline li:last-child::before { right: 0; }
.timeline li::after { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); transition: background 0.3s; }
.timeline li:hover::after { background: var(--accent); }
.timeline .step-n { font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.timeline h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.015em; }
.timeline p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.cta h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); text-wrap: balance; }
.cta p { margin-top: 16px; font-size: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero .lines { left: 35%; width: 65%; }
.page-hero-inner { position: relative; z-index: 1; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 20ch; text-wrap: balance; animation: rise 0.8s var(--ease) both; }
.page-hero .lede { margin-top: 22px; font-size: clamp(18px, 1.5vw, 20px); max-width: 60ch; color: var(--text); animation: rise 0.8s 0.1s var(--ease) both; }

/* ---------- Tabs (services) ---------- */
.tabbar-wrap { position: sticky; top: var(--header-h); z-index: 10; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.tabbar { display: flex; gap: clamp(20px, 4vw, 44px); overflow-x: auto; scrollbar-width: none; }
.tabbar::-webkit-scrollbar { display: none; }
.tab { position: relative; appearance: none; display: inline-flex; align-items: center; gap: 10px; padding: 22px 0 20px; border: 0; background: none; font-weight: 600; font-size: 16.5px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color 0.2s; }
.tab:hover { color: var(--ink); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab .count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--soft); font-size: 13px; color: var(--muted); }
.tab[aria-selected="true"] .count { background: var(--accent-tint); color: var(--accent-ink); }
.tabpanel { animation: fadeUp 0.5s var(--ease); }

.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding: clamp(56px, 7vw, 96px) 0; }
.service + .service { border-top: 1px solid var(--line); }
.service-head { align-self: start; position: sticky; top: calc(var(--header-h) + 96px); }
.service .kicker { font-size: 14.5px; font-weight: 600; color: var(--accent-ink); }
.service h2 { margin-top: 10px; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.service .summary { margin-top: 16px; font-size: 18px; }
.facts { margin: 28px 0 0; border-top: 1px solid var(--line-strong); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }
.service-head .link-arrow { margin-top: 28px; }
.service-body { display: grid; gap: 40px; }
.service-body h3 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--ink); }
.ticks .i { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding-bottom: 18px; font-size: 16.5px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); position: relative; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 32px; bottom: 0; width: 1px; background: var(--line); }
.steps li > span { padding-top: 4px; }
.note { margin-top: 8px; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--accent-tint); font-size: 15.5px; color: var(--ink); border-radius: 0 6px 6px 0; }

/* ---------- Intelligence layers ---------- */
.layers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rings { width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; }
.rings circle { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; transition: stroke 0.4s, stroke-width 0.4s; }
.rings circle.on { stroke: var(--accent-light); stroke-width: 3; }
.rings .core { fill: var(--accent); stroke: none; }
.rings text { fill: #8fa1b8; font-size: 11px; font-family: var(--font); font-weight: 600; letter-spacing: 0.04em; transition: fill 0.3s; }
.rings text.on { fill: #fff; }
.layer-list { list-style: none; margin: 0; padding: 0; }
.layer-list button { width: 100%; display: grid; grid-template-columns: 1fr 24px; gap: 4px 16px; text-align: left; padding: 20px 0; border: 0; border-top: 1px solid var(--navy-line); background: none; color: var(--on-navy); cursor: pointer; }
.layer-list li:last-child button { border-bottom: 1px solid var(--navy-line); }
.layer-list strong { font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.layer-list span { grid-column: 1; font-size: 15.5px; opacity: 0.75; transition: opacity 0.3s; }
.layer-list .i { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--accent-light); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.layer-list button[aria-pressed="true"] span { opacity: 1; }
.layer-list button[aria-pressed="true"] .i { opacity: 1; transform: none; }

/* ---------- Stepper (approach) ---------- */
.stepper { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.step-list { position: relative; display: flex; flex-direction: column; padding-left: 28px; }
.step-list::before, .step-list::after { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--line); }
.step-list::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--progress, 0.333)); transition: transform 0.6s var(--ease); }
.step-btn { position: relative; appearance: none; text-align: left; padding: 18px 20px; margin-bottom: 8px; border: 1px solid transparent; border-radius: 10px; background: none; cursor: pointer; color: var(--muted); transition: background 0.25s, border-color 0.25s, color 0.25s; }
.step-btn::before { content: ""; position: absolute; left: -28px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); z-index: 1; transition: border-color 0.3s, background 0.3s; }
.step-btn.done::before, .step-btn[aria-selected="true"]::before { border-color: var(--accent); }
.step-btn[aria-selected="true"]::before { background: var(--accent); }
.step-btn:hover { color: var(--ink); }
.step-btn[aria-selected="true"] { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: 0 20px 40px -30px rgba(13, 35, 64, 0.5); }
.step-btn small { display: block; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.step-btn strong { display: block; margin-top: 4px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.step-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(28px, 4vw, 48px); animation: fadeUp 0.45s var(--ease); }
.step-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.step-panel > p { margin-top: 14px; font-size: 18px; }
.step-panel .ticks { margin-top: 28px; }
.step-out { display: flex; gap: 14px; align-items: baseline; margin-top: 24px; padding: 16px 18px; background: var(--soft); border-radius: 8px; font-size: 15.5px; }
.step-out b { flex: none; color: var(--accent-ink); font-weight: 600; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.step-nav button[disabled] { opacity: 0.35; cursor: default; }
.step-nav .btn-outline .i:first-child { transform: rotate(180deg); }
.step-nav .btn-outline:hover .i:first-child { transform: rotate(180deg) translateX(3px); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line-strong); }
.principle .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--soft); color: var(--navy); transition: background 0.3s, color 0.3s, transform 0.4s var(--ease); }
.principle:hover .ico { background: var(--navy); color: #fff; transform: rotate(-6deg); }
.principle .ico svg { width: 24px; height: 24px; }
.principle h3 { font-size: 20px; letter-spacing: -0.012em; }
.principle p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- About ---------- */
.name-block { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(40px, 5vw, 64px); border-radius: 16px; background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.name-block .word { font-size: clamp(3.4rem, 9vw, 7.5rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; color: #fff; }
.name-block .word span { color: var(--accent-light); }
.name-block dl { margin: 0; display: grid; gap: 14px; }
.name-block dt { font-size: 13.5px; color: #8fa1b8; font-weight: 600; }
.name-block dd { margin: 2px 0 0; font-size: 20px; color: #fff; }
.isnt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.isnt h3 { font-size: 22px; margin-bottom: 18px; }
.ticks.cross .i { color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.person { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.person:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(13, 35, 64, 0.5); }
.person.pending { border-style: dashed; background: transparent; }
.person.pending:hover { transform: none; box-shadow: none; }
.mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: 21px; letter-spacing: 0.02em; }
.person.pending .mono { background: var(--soft); color: var(--muted); }
.person h3 { margin-top: 22px; font-size: 21px; }
.person .role { margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.person p:not(.role) { margin-top: 12px; font-size: 15.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { position: relative; flex: 1 1 240px; max-width: 320px; }
.search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 35, 64, 0.12); }
.search .i { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
.faq-count { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.qa { border-top: 1px solid var(--line-strong); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center; padding: 24px 0; list-style: none; cursor: pointer; font-size: clamp(18px, 1.6vw, 20px); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .tag { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--accent-ink); letter-spacing: 0; }
.qa .plus { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.qa .plus::before, .qa .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: background 0.25s; }
.qa .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa details[open] .plus { background: var(--navy); border-color: var(--navy); transform: rotate(45deg); }
.qa details[open] .plus::before, .qa details[open] .plus::after { background: #fff; }
.qa summary:hover .plus { border-color: var(--ink); }
.qa .answer { padding: 0 48px 26px 0; font-size: 17px; max-width: 68ch; animation: fadeUp 0.35s var(--ease); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.empty button { margin-top: 14px; }
mark { background: var(--accent-tint); color: inherit; border-radius: 2px; padding: 0 1px; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: 14px; background: var(--soft); }
.aside-card h2 { font-size: 22px; letter-spacing: -0.015em; }
.aside-card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.aside-card .btn { margin-top: 20px; width: 100%; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 40px 80px -60px rgba(13, 35, 64, 0.5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%230f1e33' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 35, 64, 0.12); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15); }
.field .err { display: none; font-size: 14px; color: #b42318; }
.field.has-error .err { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.field .role-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 46px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.role-card:hover { border-color: var(--ink); }
.role-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-card::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; transition: border 0.2s; }
.role-card:has(input:checked) { border-color: var(--navy); background: #f6f8fb; box-shadow: inset 0 0 0 1px var(--navy); }
.role-card:has(input:checked)::before { border: 5px solid var(--navy); }
.role-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.field .role-card strong { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.role-card span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot p { font-size: 14px; color: var(--muted); max-width: 40ch; }
.btn .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn.is-loading .spin { display: inline-block; }
.btn.is-loading .i { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 8px; background: #fef3f2; color: #912018; font-size: 15px; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; }
.success { text-align: left; animation: fadeUp 0.5s var(--ease); }
.success .tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-ink); }
.success .tick svg { width: 28px; height: 28px; }
.success .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { margin-top: 22px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.success p { margin-top: 12px; font-size: 17px; max-width: 52ch; }
.success .btn { margin-top: 24px; }
.contact-aside { display: grid; gap: 20px; }
.mail-card { padding: 24px; border-radius: 14px; background: var(--navy); color: var(--on-navy); }
.mail-card small { display: block; font-size: 13.5px; color: #8fa1b8; font-weight: 600; }
.mail-card a { display: block; margin-top: 6px; font-size: 20px; font-weight: 600; color: #fff; text-decoration: none; word-break: break-all; }
.mail-card a:hover { color: var(--accent-light); }
.copy { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 6px; background: none; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.copy:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.next-card { padding: 24px; border-radius: 14px; background: var(--soft); }
.next-card h2 { font-size: 19px; letter-spacing: -0.01em; margin-bottom: 18px; }
.next-card .steps li { font-size: 15.5px; }
.next-card .steps li::before { background: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-top: clamp(56px, 6vw, 80px); padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; color: var(--muted); max-width: 34ch; }
.footer-h { margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--ink); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent-ink); text-decoration: underline; }
.site-footer li span { color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; }
.nf .code { font-size: clamp(5rem, 14vw, 10rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: var(--ink); }
.nf .code span { color: var(--accent); }
.nf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; max-width: 900px; }
.nf-cols h1, .nf-cols h2 { font-size: 26px; }
.nf-cols p { margin-top: 10px; color: var(--muted); }
.nf-cols .btn { margin-top: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .section-head, .split, .statement, .cta-inner, .layers, .stepper, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { align-items: start; }
  .audience { max-width: 560px; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .service { grid-template-columns: 1fr; }
  .service-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .people { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
  .step-list { flex-direction: row; padding-left: 0; overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .step-list::-webkit-scrollbar { display: none; }
  .step-list::before, .step-list::after { display: none; }
  .step-btn { flex: 1 0 200px; margin: 0; border-color: var(--line); }
  .step-btn::before { display: none; }
  .rings { max-width: 340px; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .go { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 28px; }
  .timeline li::before { display: none; }
  .principles, .isnt, .people, .nf-cols { grid-template-columns: 1fr; }
  .name-block { grid-template-columns: 1fr; }
  .form-grid, .roles { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 100px 1fr; }
  .search { max-width: none; }
  .qa .answer { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .figure { padding-right: 12px; }
  .figure + .figure { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .lines .trace { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
.section-dark + .cta { border-top: 1px solid var(--navy-line); }
@media (max-width: 1024px) {
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; border-color: var(--line); }
}
.burger i { display: block; font-style: normal; }
