/* DNprofil – site styles. Tokens in :root (DESIGN.md). Motion lives in motion.css (exactly five movements). */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-var.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('/fonts/plexmono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
:root {
  --night: #0B1117; --night-2: #121B24; --paper: #F4F6F8; --white: #FFFFFF; --ink: #0E1620; --muted: #4A5866; --mist: #A9B6C3;
  --line: #D5DCE3; --line-d: #24313D; --accent: #009FE3; --accent-hover: #33B5EA; --accent-ink: #0070A8;
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1240px; --g: clamp(16px, 4vw, 40px); --r: 6px; --hdr: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 18px/1.6 var(--f); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: 0.04em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--night); padding: 12px 16px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 500 14px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; }
.eyebrow::before { align-self: center; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); flex: none; }
.dark .eyebrow { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 4px; font: 600 16px/1 var(--f); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-p { background: var(--accent); color: var(--night); }
.btn-p:hover { background: var(--accent-hover); color: var(--night); }
.btn-g { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-g:hover { background: var(--ink); color: var(--white); }
.dark .btn-g { color: var(--white); border-color: rgb(255 255 255 / .55); }
.dark .btn-g:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-s { min-height: 44px; padding: 0 16px; font-size: 15px; }
.link { font-weight: 600; color: var(--accent-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.link:hover { color: var(--ink); text-decoration: underline; }
.dark .link { color: var(--accent); }
.dark .link:hover { color: var(--white); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); background: rgb(11 17 23 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d); }
.hdr .wrap { display: flex; align-items: center; height: 100%; gap: 24px; }
.logo { display: block; flex: none; }
.logo img { width: 152px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: #DCE4EB; text-decoration: none; font-weight: 500; font-size: 16px; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 4px; }
.nav a:hover { color: var(--white); background: rgb(255 255 255 / .06); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.hdr .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-d); border-radius: 4px; background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.mnav { display: none; }
@media (max-width: 980px) {
  .nav, .hdr .btn-p { display: none; }
  .burger { display: inline-flex; }
  .mnav { position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: var(--night); padding: 16px var(--g) 32px; overflow-y: auto; }
  .mnav.open { display: block; }
  .mnav a:not(.btn) { display: flex; align-items: center; justify-content: space-between; min-height: 56px; color: var(--white); text-decoration: none; font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line-d); }
  .mnav .btn { margin-top: 24px; width: 100%; }
  .mnav .m-meta { margin-top: 24px; color: var(--mist); font-size: 16px; }
  .mnav .m-meta a { color: var(--white); }
}

/* ---------- hero ---------- */
.dark { background: var(--night); color: var(--white); }
.dark p { color: #C9D3DC; }
.hero { position: relative; padding: calc(var(--hdr) + 64px) 0 0; min-height: 720px; display: flex; flex-direction: column; overflow: hidden; }
.mosaic { position: absolute; inset: var(--hdr) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: var(--hdr) 0 0; background: linear-gradient(90deg, rgb(11 17 23 / 1) 0%, rgb(11 17 23 / 1) 42%, rgb(11 17 23 / .55) 58%, rgb(11 17 23 / .1) 100%), linear-gradient(0deg, rgb(11 17 23 / .95) 0%, rgb(11 17 23 / 0) 40%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-in { max-width: 680px; padding-bottom: 64px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { font-size: 20px; line-height: 1.55; color: #D6DEE6; margin-bottom: 32px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.specs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); margin-top: auto; }
.specs > div { padding: 24px 24px 28px 0; border-right: 1px solid var(--line-d); }
.specs > div + div { padding-left: 24px; }
.specs > div:last-child { border-right: 0; }
.specs b { display: block; font: 500 clamp(28px, 3vw, 40px)/1 var(--mono); color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px; }
.specs b small { font-size: .55em; color: var(--accent); margin-left: 4px; }
.specs > div > span { font-size: 15px; color: var(--mist); line-height: 1.45; display: block; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: calc(var(--hdr) + 40px); }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic img:not(:first-child) { display: none; }
  .hero::after { background: linear-gradient(180deg, rgb(11 17 23 / .55) 0%, rgb(11 17 23 / .82) 45%, rgb(11 17 23 / .97) 75%); }
  .hero .lead { font-size: 18px; }
  .hero-in { padding-bottom: 40px; }
  .ctas .btn { flex: 1 1 100%; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div { padding: 20px 12px 20px 0; border-bottom: 1px solid var(--line-d); }
  .specs > div + div { padding-left: 0; }
  .specs > div:nth-child(2n) { padding-left: 16px; border-right: 0; }
  .specs > div:nth-child(n+3) { border-bottom: 0; }
}

/* ---------- page head (sub pages) ---------- */
.phead { padding: calc(var(--hdr) + 64px) 0 56px; position: relative; overflow: hidden; }
.phead .wrap { position: relative; z-index: 1; }
.phead h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 20px; max-width: 18ch; }
.phead p { font-size: 20px; }
.phead .strip { position: absolute; inset: var(--hdr) 0 0 auto; width: 46%; display: grid; grid-template-columns: 1fr 1fr; }
.phead .strip img { width: 100%; height: 100%; object-fit: cover; }
.phead .strip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgb(11 17 23 / .55) 40%, rgb(11 17 23 / .2) 100%); }
@media (max-width: 860px) { .phead .strip { display: none; } .phead { padding-bottom: 40px; } }
.crumbs { font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mist); margin-bottom: 24px; display: flex; gap: 8px; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-h p { color: var(--muted); margin-top: 16px; }
.dark .sec-h p { color: #C9D3DC; }
.white { background: var(--white); }
.grid-bg { background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }

/* how it works */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; }
.how figure.is-dn { background: var(--night); border-color: var(--night); color: var(--white); }
.how figcaption { margin-top: 24px; }
.how figcaption b { display: block; font-size: 20px; margin-bottom: 8px; }
.how figcaption span { color: var(--muted); font-size: 16px; }
.how .is-dn figcaption span { color: var(--mist); }
.how .conv, .how .dn-sec { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.how .conv svg { width: auto; height: 300px; }
.how .dn-sec svg { width: auto; max-width: 100%; height: auto; max-height: 300px; }
@media (max-width: 760px) { .how .conv, .how .dn-sec { min-height: 220px; } .how .conv svg { height: 220px; } }
.how .tag { font: 500 13px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.how .is-dn .tag { color: var(--accent); }
.how-note { margin-top: 32px; display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.how-note b { font: 500 48px/1 var(--mono); color: var(--accent-ink); letter-spacing: -0.03em; }
.how-note p { color: var(--muted); }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } .how figure { padding: 24px; } }

/* features (2 x 2) */
.feats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); }
.feat { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feat .n { display: block; font: 500 14px/1 var(--mono); color: var(--accent-ink); margin-bottom: 12px; }
.feat h3 { font-size: 24px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 17px; }
.feat .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); }
.feat .ph img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1080px) { .feats { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; } }

/* profile cards */
.profs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prof { background: var(--night); color: var(--white); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; text-decoration: none; }
.prof:hover { color: var(--white); }
.prof .draw { height: 260px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-d); margin-bottom: 20px; }
.prof .draw svg { max-height: 240px; width: auto; }
.prof .code { font: 500 14px/1 var(--mono); color: var(--accent); letter-spacing: .06em; margin-bottom: 8px; }
.prof h3 { margin-bottom: 8px; }
.prof p { color: var(--mist); font-size: 16px; margin-bottom: 20px; }
.prof .link { margin-top: auto; color: var(--accent); }
@media (max-width: 960px) { .profs { grid-template-columns: 1fr; } .prof .draw { height: 220px; } }

/* svg drawing styles */
.sect, .iso { overflow: visible; }
.metal path { fill: none; stroke: #E8EEF3; stroke-width: 5.2; stroke-linecap: round; stroke-linejoin: round; }
.on-light .metal path, .opt .metal path { stroke: var(--ink); }
.dim path { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.dim text { font: 500 13px var(--mono); fill: var(--accent); }
.iso .metal path { stroke-width: 3.4; }
.iso .metal.back path { stroke: #5D7183; stroke-width: 2.2; }
.iso .edge { fill: none; stroke: #3E5163; stroke-width: 1; }
.iso .face { fill: rgb(0 159 227 / .07); stroke: none; }
.iso .hole { fill: var(--night); stroke: var(--accent); stroke-width: 1.4; }
.iso .hole.special { stroke-dasharray: 2 2; }

/* configurator teaser band */
.band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.band p { margin: 16px 0 32px; }
.demo { background: var(--night-2); border: 1px solid var(--line-d); border-radius: var(--r); padding: 28px; }
.demo .row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip-b { font: 500 14px/1 var(--mono); padding: 10px 12px; border: 1px solid var(--line-d); border-radius: 4px; color: var(--mist); }
.chip-b.on { border-color: var(--accent); color: var(--white); background: rgb(0 159 227 / .12); }
.demo .big { font: 500 clamp(30px, 4vw, 44px)/1 var(--mono); color: var(--white); letter-spacing: .02em; margin-top: 8px; }
.demo .big i { font-style: normal; color: var(--accent); }
.demo small { display: block; margin-top: 12px; color: var(--mist); font-size: 14px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; gap: 32px; } }

/* cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.case:hover { color: var(--ink); }
.case .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
.case .ph img { width: 100%; height: 100%; object-fit: cover; }
.case .b { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case .b span.mono { font-size: 13px; color: var(--accent-ink); margin-bottom: 8px; }
.case h3 { margin-bottom: 8px; }
.case p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.case .link { margin-top: auto; }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }

/* cta */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 48px; border-radius: var(--r); background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 32px 32px; }
.cta > * { position: relative; }
.cta p { color: #C9D3DC; margin-top: 12px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; } .cta .btn { width: 100%; } }

/* benefits page */
.ben { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.ben:last-child { border-bottom: 0; }
.ben.flip .ph { order: 2; }
.ben .ph { border-radius: var(--r); overflow: hidden; background: var(--night); aspect-ratio: 4 / 3; }
.ben .ph img { width: 100%; height: 100%; object-fit: cover; }
.ben h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 16px; }
.ben p { color: var(--muted); }
.ben p + p { margin-top: 16px; }
.ben ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ben li { display: flex; gap: 12px; color: var(--ink); font-size: 17px; }
.ben li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .ben { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; } .ben.flip .ph { order: 0; } }
.gal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 24px; }
.gal button { padding: 0; border: 0; background: var(--night); border-radius: 4px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .gal { grid-template-columns: repeat(3, 1fr); } }

/* products page */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl a { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); min-height: 88px; }
.dl a:hover { border-color: var(--accent); color: var(--ink); }
.dl svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--accent-ink); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.dl b { display: block; font-size: 17px; }
.dl span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } }
.pblock { display: grid; grid-template-columns: 360px 1fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.pblock .draw { background: var(--night); border-radius: var(--r); padding: 32px 24px; display: flex; align-items: center; justify-content: center; min-height: 320px; align-self: start; }
.pblock .draw svg { width: auto; max-width: 100%; height: auto; max-height: 360px; }
.pblock .draw img { width: 70%; }
.dl a::after { content: '→'; margin-left: auto; color: var(--accent-ink); font-weight: 600; }
.pblock h2 { font-size: clamp(28px, 3vw, 40px); margin: 4px 0 12px; }
.pblock .lead { color: var(--muted); margin-bottom: 24px; }
.pblock .code { font: 500 14px/1 var(--mono); color: var(--accent-ink); letter-spacing: .06em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.facts span { font: 500 14px/1 var(--mono); padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 600 13px/1.2 var(--f); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.tbl td:first-child { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.pact { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.note { font-size: 15px; color: var(--muted); margin-top: 12px; }
@media (max-width: 960px) { .pblock { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; } .pblock .draw { min-height: 0; } }
@media (max-width: 520px) { .tbl th, .tbl td { padding: 12px 10px; font-size: 15px; } .tbl td:first-child { white-space: normal; word-break: break-word; } }
.acc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.acc > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; gap: 16px; align-items: center; }
.acc img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; flex: none; }
.acc b { display: block; font: 500 14px/1.2 var(--mono); color: var(--accent-ink); margin-bottom: 4px; }
.acc span { font-size: 16px; line-height: 1.4; display: block; }
@media (max-width: 860px) { .acc { grid-template-columns: 1fr; } }

/* examples page */
.ex { padding: 56px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.ex h2 { font-size: clamp(28px, 3vw, 40px); margin: 8px 0 16px; }
.ex p { color: var(--muted); }
.ex .gal { grid-template-columns: repeat(2, 1fr); margin-top: 0; gap: 12px; }
@media (max-width: 860px) { .ex { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; } }
.nen { display: flex; gap: 24px; align-items: center; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-top: 24px; }
.nen b { font: 500 22px/1 var(--mono); color: var(--accent-ink); flex: none; }
@media (max-width: 760px) { .nen { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgb(6 10 14 / .94); display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(92vw, 900px); max-height: 82vh; width: auto; border-radius: 4px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 4px; border: 1px solid rgb(255 255 255 / .3); background: rgb(11 17 23 / .7); color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lb button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lb .lb-x { top: 16px; right: 16px; } .lb .lb-p { left: 16px; top: 50%; } .lb .lb-n { right: 16px; top: 50%; }
.lb p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--mist); font-size: 15px; max-width: none; padding: 0 16px; }

/* contact page */
.ct { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; }
.ct-card { background: var(--night); color: var(--white); border-radius: var(--r); padding: 32px; align-self: start; }
.ct-card h2 { font-size: 28px; margin-bottom: 8px; }
.ct-card p { color: var(--mist); font-size: 16px; }
.ct-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 4px; }
.ct-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-d); flex-wrap: wrap; }
.ct-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ct-list .k { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); display: block; margin-bottom: 6px; }
.ct-list a, .ct-list .v { color: var(--white); font-weight: 600; text-decoration: none; font-size: 17px; }
.ct-list a:hover { text-decoration: underline; }
.ct-list .grow { flex: 1; min-width: 0; }
.copy { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-d); border-radius: 4px; background: transparent; color: var(--white); font: 600 14px var(--f); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.copy:hover { border-color: var(--accent); }
.copy svg { width: 16px; height: 16px; stroke: currentColor; }
.about { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.about h3 { font-size: 18px; margin-bottom: 8px; }
.about blockquote { margin: 16px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); color: #DCE4EB; font-size: 16px; }
.about cite { display: block; margin-top: 8px; font-style: normal; color: var(--mist); font-size: 14px; }
@media (max-width: 960px) { .ct { grid-template-columns: 1fr; gap: 32px; } .ct-card { padding: 24px; } }

/* forms */
.tabs { display: inline-flex; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; margin-bottom: 24px; gap: 4px; flex-wrap: wrap; }
.tabs button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 4px; background: transparent; font: 600 15px var(--f); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--night); color: var(--white); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.form h2 { font-size: 28px; margin-bottom: 8px; }
.form > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg .full { grid-column: 1 / -1; }
.f label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.f label small { font-weight: 400; color: var(--muted); }
.f input, .f textarea, .f select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #B7C2CC; border-radius: 4px; font: 400 17px/1.4 var(--f); color: var(--ink); background: var(--white); }
.f textarea { min-height: 120px; resize: vertical; }
.f input:hover, .f textarea:hover, .f select:hover { border-color: var(--muted); }
.f input:focus, .f textarea:focus, .f select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.f input[aria-invalid="true"], .f textarea[aria-invalid="true"] { border-color: #C2341B; }
.f .err { color: #B42318; font-size: 14px; margin-top: 6px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.form-foot small { color: var(--muted); font-size: 14px; flex: 1; min-width: 200px; }
.status { margin-top: 16px; padding: 16px; border-radius: 4px; font-size: 16px; }
.status[hidden] { display: none; }
.status.ok { background: #E7F6EE; color: #0F5132; border: 1px solid #A7D9BE; }
.status.bad { background: #FDECEA; color: #8A1C12; border: 1px solid #F3B8B0; }
@media (max-width: 600px) { .fg { grid-template-columns: 1fr; } .form { padding: 24px 20px; } .form-foot .btn { width: 100%; } }

/* footer */
.ftr { background: var(--night); color: var(--mist); padding: 64px 0 32px; font-size: 16px; }
.ftr .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.ftr img { width: 152px; margin-bottom: 20px; }
.ftr h3 { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ftr a { color: #DCE4EB; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr p { color: var(--mist); }
.ftr .bot { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; font-size: 14px; }
.ftr .bot a { min-height: 0; }
@media (max-width: 860px) { .ftr .top { grid-template-columns: 1fr; gap: 32px; } }

/* 404 */
.nf { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--hdr) + 48px) 0 64px; }
.nf .sect { width: 160px; margin-bottom: 32px; }
.nf h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 16px; }
.nf p { margin-bottom: 32px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 4px; font-size: 15px; box-shadow: 0 10px 30px rgb(0 0 0 / .3); }
.toast[hidden] { display: none; }

/* round-1 fixes */
.fixpt path { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.fixpt circle { fill: var(--accent); }
.mosaic { gap: 4px; background: var(--night); }
.hdr .btn-hdr { color: var(--white); border-color: rgb(255 255 255 / .45); }
.hdr .btn-hdr:hover { background: var(--white); color: var(--night); }
@media (max-width: 980px) { .hdr .btn-hdr { display: none; } }
.gal-h { font-size: 15px; color: var(--muted); margin-top: 8px; }
.ben { grid-template-columns: minmax(0, 420px) 1fr; justify-content: start; }
.ben.flip { grid-template-columns: 1fr minmax(0, 420px); }
.ben .ph { max-width: 420px; }
@media (max-width: 860px) { .ben, .ben.flip { grid-template-columns: 1fr; } .ben .ph { max-width: 100%; } }
.ex > div:first-child { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; }
.ex .link { margin-top: 16px; }
@media (max-width: 860px) { .ex > div:first-child { position: static; } }
.draw-doc a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--white); text-decoration: none; text-align: center; padding: 24px; }
.draw-doc a svg { width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.draw-doc a span { color: var(--mist); font-size: 15px; }
.draw-doc a:hover b { text-decoration: underline; }
.ct-list .v { white-space: nowrap; }
.cta .ctas { flex-wrap: wrap; }
@media (max-width: 520px) { .tbl td:first-child { white-space: nowrap; word-break: normal; font-size: 14px; } .tbl td { font-size: 14px; } }
.facts span { background: transparent; border-style: dashed; }

/* round-2 fixes */
.cta .btn-g { color: var(--white); border-color: rgb(255 255 255 / .55); }
.cta .btn-g:hover { background: var(--white); color: var(--night); }
.mosaic { grid-template-columns: 1fr; left: 42%; }
.mosaic img { object-position: 50% 40%; }
@media (max-width: 760px) { .mosaic { left: 0; } }
.phead .strip { grid-template-columns: 1fr; width: 40%; }
.ben .ph { max-width: 340px; }
.ben { grid-template-columns: minmax(0, 340px) 1fr; column-gap: 64px; }
.ben.flip { grid-template-columns: 1fr minmax(0, 340px); }
.ben .ph.wide { max-width: 450px; }
.dl b { color: var(--ink); }
.draw-doc { flex-direction: column; text-align: center; }
.draw-doc .big-id { display: block; font: 500 56px/1 var(--mono); color: var(--white); letter-spacing: -.02em; margin-bottom: 16px; }
.draw-doc .sub-id { display: block; color: var(--mist); font-size: 15px; }
.facts span { border-style: solid; border-color: transparent; background: rgb(14 22 32 / .05); }
.nen { justify-content: flex-start; }
