/* I NET COMPUTERS: shared design system
   Square geometry, hairline grids, one typeface (Geist, with Geist Mono for data).
   Spacing: 2 4 8 12 16 24 32 40 48 64 80 96. Type sizes follow the Tailwind scale. */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --hover: #f5f5f4;
  --ink: #111111;
  --ink-2: #525252;
  --ink-3: #6b6b6b;
  --line: #e5e5e3;
  --field: #d4d4d4;
  --accent: #1e6f5c;
  --accent-soft: #e8f1ee;
  --dark: #181818;
  --dark-line: #313131;
  --dark-ink-2: #a3a3a3;
  --danger: #b42318;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }

[id] { scroll-margin-top: 96px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.mono { font-family: var(--mono); }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: 24px; }

.section { padding-block: 96px; }
.section.tight { padding-block: 64px; }
.section.white { background: var(--surface); border-block: 1px solid var(--line); }

/* Hairline grid: every cell gets a full, even border. */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.grid > * { background: var(--surface); min-width: 0; }

.c1 { grid-template-columns: minmax(0, 1fr); }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.c3, .c3x { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.c8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }

.pt-0 { padding-top: 0; }

.h2 { font-size: 2.25rem; line-height: 2.5rem; margin-top: 16px; }
.intro { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }

.lede { font-size: 1.125rem; line-height: 1.75rem; color: var(--ink-2); max-width: 680px; }

.grad {
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-block: 8px;
}

.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; line-height: 1.25rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.text-link i { transition: transform 0.6s var(--ease); }
.text-link:hover i { transform: translateX(4px); }
.text-link:hover span { text-decoration: underline; text-underline-offset: 4px; }

.mail-link { text-decoration: underline; text-decoration-color: var(--field); text-underline-offset: 4px; transition: text-decoration-color 0.5s var(--ease), color 0.5s var(--ease); overflow-wrap: anywhere; }
.mail-link:hover { text-decoration-color: currentColor; color: var(--accent); }

.br-d { display: inline; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: stretch;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.btn > span { display: flex; align-items: center; padding: 8px 12px; }
.btn > .btn-ic {
  justify-content: center;
  width: 46px;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  transition: border-color 0.5s var(--ease);
}
.btn > .btn-ic i { font-size: 1.125rem; transition: transform 0.6s var(--ease); }
.btn:hover { background: #2b2b2b; border-color: #2b2b2b; }
.btn:hover > .btn-ic i { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost > .btn-ic { border-left-color: var(--line); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.btn-ghost:hover > .btn-ic { border-left-color: rgba(255, 255, 255, 0.24); }

.btn-light { background: #ffffff; border-color: #ffffff; color: var(--ink); }
.btn-light > .btn-ic { border-left-color: rgba(17, 17, 17, 0.14); }
.btn-light:hover { background: #e7e7e5; border-color: #e7e7e5; }

.btn-sm { min-height: 36px; font-size: 0.875rem; line-height: 1.25rem; }
.btn-sm > span { padding: 8px 12px; }

.btn-block { width: 100%; justify-content: space-between; }
.btn-block > span:first-child { flex: 1; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Skip link & top bar ---------- */

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  padding: 8px 12px; background: var(--ink); color: #ffffff;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: top 0.4s var(--ease);
}
.skip:focus { top: 16px; }

.topbar { background: var(--dark); color: #d4d4d4; font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar-in > div { display: flex; gap: 24px; align-items: center; }
.topbar a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; transition: color 0.4s var(--ease); }
.topbar a:hover { color: #ffffff; }
.topbar i { font-size: 0.875rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 249, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.06em; flex: none; }
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--accent); color: #ffffff;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; font-weight: 500; letter-spacing: 0;
}

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.nav a:hover { color: var(--ink); border-color: var(--line); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--ink); background: var(--surface); }

.auth { display: flex; align-items: center; gap: 8px; }
.user-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; color: var(--accent); }
.user-tag i { font-size: 1.25rem; }

.burger { display: none; position: relative; width: 40px; height: 40px; border: 1px solid var(--ink); margin-left: auto; }
.burger span {
  position: absolute; left: 11px; width: 16px; height: 2px; background: var(--ink);
  transition: transform 0.7s var(--ease), top 0.7s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 22px; }
.menu-open .burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 90;
  padding: 120px 24px 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
  overflow-y: auto;
}
.menu-open .mmenu { opacity: 1; visibility: visible; }
.mmenu nav { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.mmenu nav a,
.mmenu-foot > * {
  transform: translateY(48px); opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
  transition-delay: calc(100ms + var(--i, 0) * 50ms);
}
.mmenu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; background: var(--surface);
  font-size: 1.5rem; line-height: 2rem; font-weight: 500; letter-spacing: -0.02em;
  text-decoration: none;
}
.mmenu nav a[aria-current="page"] { background: var(--ink); color: #ffffff; }
.mmenu-foot { display: grid; gap: 16px; }
.mmenu-foot .auth { flex-wrap: wrap; }
.menu-open .mmenu nav a,
.menu-open .mmenu-foot > * { transform: translateY(0); opacity: 1; }

/* ---------- Hero ---------- */

.hero { padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.hero h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.04em; margin-top: 16px; max-width: 680px; }
.hero .lede { margin-top: 16px; }
.hero .actions { margin-top: 40px; }
.proof { margin-top: 24px; display: flex; align-items: center; gap: 8px; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }
.proof i { color: var(--accent); font-size: 1rem; }

.board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board > div {
  aspect-ratio: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
}
.board i { font-size: 1.5rem; }
.board span { font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.board b { font-family: var(--mono); font-size: 1.875rem; line-height: 2.25rem; font-weight: 500; letter-spacing: -0.04em; }
.board .t-dark { background: var(--dark); color: #ffffff; }
.board .t-dark span { color: var(--dark-ink-2); }
.board .t-acc { background: var(--accent); color: #ffffff; }
.board .t-acc span { color: rgba(255, 255, 255, 0.78); }
.board .t-mark { font-size: 2.25rem; line-height: 2.5rem; }

.stats-band { margin-top: 80px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; aspect-ratio: 3 / 2; }
.stat.square { aspect-ratio: 1; }
.stat b { font-family: var(--mono); font-size: 3rem; line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
.stat span { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }

/* ---------- Section heads ---------- */

.sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.sh h2 { font-size: 2.25rem; line-height: 2.5rem; margin-top: 16px; }
.sh p { color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; max-width: 560px; }
.sh.solo { grid-template-columns: minmax(0, 1fr); }

/* ---------- Cells ---------- */

.cell {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  transition: background-color 0.6s var(--ease);
}
.cell h3 { font-size: 1.25rem; line-height: 1.75rem; }
.cell p { color: var(--ink-2); }
.cell-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
a.cell { color: inherit; text-decoration: none; }
a.cell:hover { background: var(--hover); }
a.cell:hover .ico { background: var(--ink); border-color: var(--ink); color: #ffffff; }
a.cell:hover .more i { transform: translateX(4px); }

.ico {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  font-size: 1.5rem;
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.ico.sm { width: 40px; height: 40px; font-size: 1.25rem; }
.ico.acc { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }

.num { font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-3); }

.more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.more i { transition: transform 0.6s var(--ease); }

.step b { font-family: var(--mono); font-size: 2.25rem; line-height: 2.5rem; font-weight: 500; letter-spacing: -0.04em; color: var(--accent); }
.step .out { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.tile { aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px; transition: background-color 0.6s var(--ease); }
.tile i { font-size: 1.75rem; color: var(--accent); }
.tile span { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.tile:hover { background: var(--hover); }

.tech { display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 24px; font-family: var(--mono); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.tech::before { content: ""; width: 8px; height: 8px; background: var(--ink); flex: none; }

.quote-cell { gap: 24px; }
.quote-cell > i { font-size: 2rem; color: var(--accent); }
.quote-cell blockquote { font-size: 1.125rem; line-height: 1.75rem; color: var(--ink); }
.person { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.mono-av {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500;
}
.person b { display: block; font-weight: 600; }
.person > div > span { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }

.leader .mono-av { width: 64px; height: 64px; font-size: 1.125rem; line-height: 1.75rem; background: var(--dark); border-color: var(--dark); color: #ffffff; }
.leader .role { font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }

/* ---------- Split blocks ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.split .copy h2 { font-size: 2.25rem; line-height: 2.5rem; margin-top: 16px; }
.split .copy p { margin-top: 24px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.split .copy .text-link { margin-top: 32px; }
.sticky-col { position: sticky; top: 112px; }

/* ---------- Tagline reveal ---------- */

.tagline { padding-block: 96px; }
.tagline-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.tagline-text { font-size: 3rem; line-height: 1; font-weight: 500; letter-spacing: -0.035em; max-width: 880px; text-wrap: balance; }
.tagline-text .w { color: rgba(17, 17, 17, 0.28); transition: color 0.7s var(--ease); }
.tagline-text .w.on { color: var(--ink); }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 32px;
  cursor: pointer;
  font-size: 1.125rem; line-height: 1.75rem; font-weight: 500;
  transition: background-color 0.5s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--hover); }
.faq .pm {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 1rem;
  transition: background-color 0.7s var(--ease), color 0.7s var(--ease), border-color 0.7s var(--ease);
}
.faq .pm i { transition: transform 0.7s var(--ease); }
.faq[open] .pm { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.faq[open] .pm i { transform: rotate(45deg); }
.faq .a { padding: 0 32px 24px; color: var(--ink-2); max-width: 720px; }
.faq .a a { color: var(--ink); }

.help-box { margin-top: 32px; padding: 24px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; }
.help-box b { font-weight: 600; }

/* ---------- CTA band ---------- */

.cta { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: var(--dark-line); border-color: var(--dark-line); }
.cta > div { background: var(--dark); color: #ffffff; padding: 64px; }
.cta h2 { font-size: 2.25rem; line-height: 2.5rem; margin-top: 16px; }
.cta p { margin-top: 16px; color: var(--dark-ink-2); font-size: 1.125rem; line-height: 1.75rem; max-width: 560px; }
.cta .eyebrow { color: var(--dark-ink-2); }
.cta-side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.cta-side .small { margin-top: 8px; font-size: 0.875rem; line-height: 1.25rem; color: var(--dark-ink-2); }
.cta-side a.mail-link { display: inline-block; margin-top: 4px; color: #ffffff; text-decoration-color: #525252; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.cta-side a.mail-link:hover { color: #9fd9c8; }

/* ---------- Page head (inner pages) ---------- */

.page-head { padding-block: 80px 64px; border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.page-head h1 { font-size: 3.75rem; line-height: 1; letter-spacing: -0.04em; margin-top: 24px; max-width: 880px; }
.page-head .lede { margin-top: 16px; }
.page-meta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--line); background: var(--surface); font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; color: var(--ink-2); }

/* ---------- Services ---------- */

.jump a { display: flex; flex-direction: column; gap: 8px; padding: 16px; text-decoration: none; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; transition: background-color 0.5s var(--ease); }
.jump a:hover { background: var(--hover); }

.svc-list { display: grid; gap: 24px; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc > div { background: var(--surface); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.svc h3 { font-size: 1.875rem; line-height: 2.25rem; }
.svc .desc { color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.svc .actions { margin-top: auto; padding-top: 16px; }
.label { font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 4px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.deliv { margin-top: auto; padding: 16px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 4px; }
.deliv p { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }

.model .label { color: var(--accent); }
.model .fit { margin-top: auto; padding-top: 8px; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }
.model .fit b { color: var(--ink); font-weight: 600; }

/* ---------- About ---------- */

.facts dl { display: grid; gap: 1px; background: var(--line); }
.facts dl > div { background: var(--surface); display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; padding: 16px 24px; }
.facts dt { font-family: var(--mono); font-size: 0.75rem; line-height: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; overflow-wrap: anywhere; }
.facts dd a { text-decoration: none; }
.facts dd a:hover { text-decoration: underline; text-underline-offset: 4px; }
.facts-head { padding: 24px; background: var(--dark); color: #ffffff; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.facts-head .label { color: var(--dark-ink-2); }

.addr { font-family: var(--mono); font-size: 0.75rem; line-height: 1.25rem; letter-spacing: 0.02em; text-transform: uppercase; }

/* ---------- Contact ---------- */

.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.info-list { display: grid; gap: 1px; background: var(--line); align-content: start; }
.info-row { background: var(--surface); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 24px 32px; }
.info-row h3 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.info-row p, .info-row a { font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }
.info-row .text-link { margin-top: 8px; color: var(--ink); }
.form-box { padding: 40px; }
.form-box h2 { font-size: 1.875rem; line-height: 2.25rem; }
.form-box > p { margin-top: 8px; color: var(--ink-2); }

/* ---------- Forms ---------- */

.form { display: grid; gap: 24px; margin-top: 32px; }
.form.compact { gap: 16px; margin-top: 24px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.field label .opt { color: var(--ink-3); font-weight: 400; }
.input {
  width: 100%; min-height: 48px; padding: 12px;
  border: 1px solid var(--field); border-radius: 0; background: #ffffff;
  font-size: 1rem; line-height: 1.5rem;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.input::placeholder { color: #a3a3a3; }
.input:hover { border-color: #a3a3a3; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30, 111, 92, 0.18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
}
textarea.input { min-height: 128px; resize: vertical; }

.err { display: flex; align-items: flex-start; gap: 4px; font-size: 0.875rem; line-height: 1.25rem; color: var(--danger); }
.err i { font-size: 1rem; margin-top: 2px; }

.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); font-weight: 400; }
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0;
  border: 1px solid #a3a3a3; background: #ffffff; cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.check input:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E") center / 16px no-repeat;
  border-color: var(--ink);
}
.check input[aria-invalid="true"] { border-color: var(--danger); }
.check a { color: var(--ink); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid; font-size: 0.875rem; line-height: 1.25rem; }
.alert i { font-size: 1.25rem; flex: none; }
.alert-ok { border-color: #b7d7cd; background: #eef6f3; color: #14503f; }
.alert-err { border-color: #f1c0bb; background: #fdf1f0; color: #8a1c12; }

.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-3); }
.form-note i { margin-top: 2px; }
.form-note a { color: var(--ink); }

/* ---------- Dialogs ---------- */

dialog.modal {
  margin: auto; padding: 0;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--surface); color: var(--ink);
  box-shadow: 16px 16px 0 rgba(17, 17, 17, 0.1);
  overflow: auto;
}
dialog.modal::backdrop { background: rgba(17, 17, 17, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
dialog.modal[open] { animation: dialog-in 0.7s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } }
.modal-in { position: relative; }
.modal-head { padding: 32px 32px 0; padding-right: 80px; }
.modal-head h2 { font-size: 1.5rem; line-height: 2rem; margin-top: 12px; }
.modal-head p { margin-top: 4px; color: var(--ink-2); }
.modal-body { padding: 24px 32px 32px; }
.modal-foot { padding: 16px 32px; border-top: 1px solid var(--line); background: var(--bg); font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }
.modal-foot a, .modal-foot button { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); font-size: 1.25rem;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.modal-close:hover { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.done { padding: 48px 32px 32px; display: grid; gap: 16px; justify-items: start; }
.done .ico { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.done h2 { font-size: 1.5rem; line-height: 2rem; }
.done p { color: var(--ink-2); }

/* ---------- Legal pages ---------- */

.legal { grid-template-columns: 280px minmax(0, 1fr); }
.toc-col { padding: 24px; }
.toc-box { position: sticky; top: 96px; }
.toc-box summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 16px; cursor: pointer; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary i { transition: transform 0.6s var(--ease); }
.toc-box[open] summary i { transform: rotate(180deg); }
.toc { display: grid; gap: 2px; }
.toc a {
  display: flex; gap: 12px; padding: 8px 12px;
  font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.toc a .num { flex: none; width: 24px; }
.toc a:hover { color: var(--ink); background: var(--hover); }
.toc a.active { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.toc-note { margin-top: 24px; padding: 16px; border: 1px solid var(--line); background: var(--bg); font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); display: grid; gap: 4px; }
.toc-note b { color: var(--ink); font-weight: 600; }

.legal-body { display: grid; gap: 1px; background: var(--line); align-content: start; }
.lsec { background: var(--surface); padding: 40px 48px; }
.lsec h2 { display: flex; gap: 16px; align-items: baseline; font-size: 1.5rem; line-height: 2rem; }
.lsec h2 .num { font-size: 0.875rem; line-height: 1.25rem; }
.lsec p { margin-top: 16px; color: var(--ink-2); max-width: 720px; }
.lsec p a, .lsec li a { color: var(--ink); }
.lsec ul { margin-top: 16px; display: grid; gap: 12px; max-width: 720px; }
.lsec li { position: relative; padding-left: 24px; color: var(--ink-2); }
.lsec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--ink); }
.lsec li.no::before { background: var(--danger); }
.lsec li strong { color: var(--ink); font-weight: 600; }
.lsec .caps { font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.01em; }
.note { margin-top: 24px; max-width: 720px; padding: 16px 24px; border: 1px solid var(--line); background: var(--bg); display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink-2); }
.note i { font-size: 1.25rem; color: var(--accent); flex: none; }
.note.warn { border-color: #efd9a7; background: #fdf8ec; }
.note.warn i { color: #9a6700; }
.note strong { color: var(--ink); font-weight: 600; }

.tbl-wrap { margin-top: 24px; overflow-x: auto; max-width: 720px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.25rem; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.tbl th { background: var(--bg); font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.tbl td { color: var(--ink-2); }

.contact-card { margin-top: 24px; max-width: 720px; }
.contact-card > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 16px 24px; align-items: start; }
.contact-card .label { display: block; }
.contact-card p { margin-top: 4px; font-size: 0.875rem; line-height: 1.25rem; color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: #e5e5e5; padding-block: 80px 32px; }
.f-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-bottom: 64px; }
.f-top .eyebrow { color: var(--dark-ink-2); }
.big-mail {
  display: block; width: fit-content; max-width: 100%; margin-top: 16px;
  font-size: 3rem; line-height: 1; font-weight: 500; letter-spacing: -0.035em;
  color: #ffffff; text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 8px;
  transition: background-size 0.8s var(--ease), color 0.6s var(--ease);
}
.big-mail:hover { background-size: 100% 1px; color: #9fd9c8; }

.f-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.4fr); background: var(--dark-line); border-color: var(--dark-line); }
.f-grid > div { background: var(--dark); padding: 32px; }
.f-grid h2 { font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-ink-2); margin-bottom: 24px; }
.f-grid p { color: var(--dark-ink-2); font-size: 0.875rem; line-height: 1.25rem; }
.f-brand .brand { margin-bottom: 16px; }
.f-links { display: grid; gap: 12px; }
.f-links a { font-size: 0.875rem; line-height: 1.25rem; color: #e5e5e5; text-decoration: none; transition: color 0.4s var(--ease); }
.f-links a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.f-contact { display: grid; gap: 16px; }
.f-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.875rem; line-height: 1.25rem; }
.f-contact i { font-size: 1.125rem; color: var(--dark-ink-2); margin-top: 2px; }
.f-contact a { color: #e5e5e5; text-decoration: none; overflow-wrap: anywhere; }
.f-contact a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.f-contact .addr { color: #d4d4d4; }

.newsletter { margin-top: 24px; }
.newsletter .nl-row { display: flex; border: 1px solid var(--dark-line); }
.newsletter input {
  flex: 1; min-width: 0; min-height: 48px; padding: 12px;
  background: transparent; border: 0; color: #ffffff;
  font-size: 0.875rem; line-height: 1.25rem;
}
.newsletter input::placeholder { color: #8a8a8a; }
.newsletter input:focus { outline: none; }
.newsletter .nl-row:focus-within { border-color: #9fd9c8; }
.newsletter button { width: 48px; flex: none; display: grid; place-items: center; background: #ffffff; color: var(--ink); font-size: 1.125rem; transition: background-color 0.5s var(--ease); }
.newsletter button:hover { background: #d4d4d4; }
.nl-status { margin-top: 8px; font-size: 0.75rem; line-height: 1rem; color: var(--dark-ink-2); }
.nl-status.is-err { color: #f5a097; }
.nl-status.is-ok { color: #9fd9c8; }

.f-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; font-size: 0.875rem; line-height: 1.25rem; color: var(--dark-ink-2); }
.f-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.f-bottom a { color: var(--dark-ink-2); text-decoration: none; transition: color 0.4s var(--ease); }
.f-bottom a:hover { color: #ffffff; }

/* ---------- Floating UI ---------- */

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: #ffffff; border: 1px solid var(--ink); font-size: 1.25rem;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #2b2b2b; }
.to-top:active { transform: translateY(1px); }

.toast {
  position: fixed; left: 24px; bottom: 24px; z-index: 300;
  max-width: calc(100% - 48px);
  display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; background: var(--ink); color: #ffffff;
  font-size: 0.875rem; line-height: 1.25rem;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast i { color: #9fd9c8; font-size: 1.125rem; }

/* ---------- 404 ---------- */

.nf { padding-block: 96px; }
.nf .code { font-family: var(--mono); font-size: 8rem; line-height: 1; font-weight: 500; letter-spacing: -0.06em; color: var(--accent); }
.nf h1 { font-size: 3rem; line-height: 1; margin-top: 24px; }
.nf .lede { margin-top: 16px; }
.nf .actions { margin-top: 40px; }

/* ---------- Scroll reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav, .site-header .auth { display: none; }
  .burger { display: block; }
  .c8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .board { max-width: 520px; }
  .c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh { grid-template-columns: minmax(0, 1fr); }
  .split, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sticky-col { position: static; }
  .tagline-in { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: 240px minmax(0, 1fr); }
  .lsec { padding: 32px; }
  .cta > div { padding: 48px; }
}

@media (max-width: 860px) {
  .c2, .c3x, .cta, .contact-grid, .svc, .legal { grid-template-columns: minmax(0, 1fr); }
  .toc-box { position: static; }
  .section { padding-block: 64px; }
  .tagline { padding-block: 64px; }
  .hero { padding-top: 64px; }
  .page-head { padding-block: 64px 48px; }
  .hero h1, .page-head h1 { font-size: 3rem; line-height: 1; }
  .tagline-text { font-size: 2.25rem; line-height: 2.5rem; }
  .big-mail { font-size: 1.875rem; line-height: 2.25rem; }
  .f-top { grid-template-columns: minmax(0, 1fr); }
  .stats-band { margin-top: 64px; }
}

@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .topbar-left { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-in > div { gap: 16px; }
  .topbar .tb-phone { display: none; }
  .brand-text { font-size: 0.75rem; line-height: 1rem; }
  .hero h1, .page-head h1 { font-size: 2.25rem; line-height: 2.5rem; letter-spacing: -0.03em; }
  .br-d { display: none; }
  .sh h2, .split .copy h2, .cta h2, .h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .c3, .m1 { grid-template-columns: minmax(0, 1fr); }
  .c6, .c8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell, .svc > div, .form-box { padding: 24px; }
  .info-row { padding: 24px; }
  .lsec { padding: 24px; }
  .cta > div { padding: 32px 24px; }
  .stat { aspect-ratio: 1; padding: 16px; }
  .stat b { font-size: 2.25rem; line-height: 2.5rem; }
  .checks, .row2 { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding: 16px 24px; font-size: 1rem; line-height: 1.5rem; }
  .faq .a { padding: 0 24px 24px; }
  .facts dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .f-grid > div { padding: 24px; }
  .big-mail { font-size: 1.25rem; line-height: 1.75rem; }
  .tagline-text { font-size: 1.875rem; line-height: 2.25rem; }
  .modal-head { padding: 24px 72px 0 24px; }
  .modal-body { padding: 24px; }
  .modal-foot { padding: 16px 24px; }
  .to-top { right: 16px; bottom: 16px; }
  .toast { left: 16px; bottom: 16px; max-width: calc(100% - 96px); }
  .nf .code { font-size: 6rem; }
  .nf h1 { font-size: 2.25rem; line-height: 2.5rem; }
  .actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .actions .btn > span:first-child { flex: 1; }
}
