/* Scaled-IT site styles */

@font-face {
  font-family: "Martian Mono";
  src: url("/assets/fonts/martian-mono-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #15161a;
  --bg-2: #111215;
  --bg-3: #0f1013;
  --surface: #1a1b1f;
  --surface-2: #22242a;
  --line: #2a2c31;
  --line-2: #34363b;
  --line-3: #4a4d54;
  --text: #e6e6e8;
  --text-2: #c9cbd0;
  --text-3: #b9bcc3;
  --muted: #a3a6ad;
  --faint: #8e929a;
  --accent: #58a6ff;
  --accent-hi: #9fd0ff;
  --accent-glow: rgba(88, 166, 255, 0.45);
  --amber: #ffb547;
  --ink: #08121f;
  --font-display: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 136px);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hi); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.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-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: var(--accent); color: var(--ink);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type */
.display, h1, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
}
h1 { margin: 0; font-size: clamp(38px, 6.4vw, 94px); line-height: 1.02; letter-spacing: -0.055em; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.05; max-width: 18ch; }
.h2 { margin: 0; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.04em; line-height: 1.15; }
.lede { margin: 0; color: var(--text-2); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; max-width: 34em; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-code); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 12px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 0 36px var(--accent-glow); }
.btn-primary:hover { color: var(--ink); background: #79b8ff; box-shadow: 0 0 48px rgba(88,166,255,.6); }
.btn-ghost { border-color: var(--line-3); background: rgba(21,22,26,.7); color: var(--text); font-weight: 500; }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.btn-amber { background: var(--amber); color: #1a1204; min-height: 48px; padding: 0 20px; border-radius: 10px; }
.btn-amber:hover { background: #ffc46e; }
.btn-sm { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: relative; z-index: 5;
  background: rgba(13,14,17,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-top: 18px; padding-bottom: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: var(--font-code); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.main-nav { display: flex; align-items: center; gap: 8px 28px; font-size: 16px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 28px; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 0; }
.main-nav a:not(.btn):hover { color: var(--accent-hi); }
.main-nav a[aria-current="page"] { color: var(--accent-hi); }
@media (max-width: 720px) {
  .main-nav { width: 100%; justify-content: space-between; }
  .main-nav ul { gap: 20px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.matrix { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .scrim-left { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,22,26,.72) 0%, rgba(21,22,26,.25) 55%, rgba(21,22,26,0) 100%); }
.hero .scrim-bottom { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,22,26,.15) 0%, rgba(21,22,26,.55) 55%, rgba(21,22,26,.97) 100%); }
.hero-inner {
  position: relative; z-index: 1;
  padding-top: clamp(56px, 8vw, 112px); padding-bottom: 80px;
  display: flex; flex-direction: column; gap: 56px;
}
.hero h1 { max-width: 15ch; }
.caret {
  display: inline-block; width: .5em; height: .82em; margin-left: .08em; vertical-align: -.06em;
  background: var(--accent); box-shadow: 0 0 18px rgba(88,166,255,.7);
  animation: caret 1s steps(1) infinite;
}
.hero-row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.hero-copy { flex: 1 1 380px; max-width: 540px; display: flex; flex-direction: column; gap: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Availability */
.availability { border: 1px solid #3a3c42; border-radius: 16px; background: rgba(13,14,17,.92); overflow: hidden; }
.availability-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-bottom: 1px solid var(--line); background: rgba(255,181,71,.07);
  font-family: var(--font-code); font-size: 14px; font-weight: 700; color: var(--amber);
}
.availability-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; }
.availability-body p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.availability-body strong { color: #fff; font-weight: 600; }
.availability .fine { font-size: 13px; color: var(--faint); }
.availability .fine a { color: var(--muted); }
.availability-open { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 16px; color: var(--text-2); }
.availability-open strong { color: #fff; font-weight: 600; }
.sig-dot { flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.sig-dot.blink { animation: blink 1.8s ease-in-out infinite; }
.sig-dot.blue { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form input[type="email"] { flex: 1 1 220px; min-width: 0; }
.form-status { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.form-status[hidden] { display: none; }
.form-status.error { color: #ff9b85; }
.turnstile-slot:empty { display: none; }

/* Pipeline figure */
.pipeline {
  flex: 1 1 440px; max-width: 560px; margin: 0; padding: 18px 18px 10px;
  border: 1px solid var(--line-2); border-radius: 20px; background: rgba(17,18,21,.9);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.pipeline figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 0 4px 8px; font-size: 14px; color: var(--muted); }
.pipeline .live { display: inline-flex; align-items: center; gap: 6px; color: var(--amber); }
.pipeline .live span { width: 7px; height: 7px; border-radius: 2px; background: var(--amber); animation: blink 1.2s infinite; }
.pipeline svg { display: block; width: 100%; height: auto; }
.svg-label { font-family: var(--font-body); font-size: 14px; fill: var(--text-2); }
.svg-node { fill: #1b1c20; stroke: #3a3c42; }
.svg-line { stroke: var(--line-2); stroke-width: 1.5; fill: none; }
.svg-hub { fill: #0e0f12; stroke: var(--accent); stroke-width: 1.5; filter: drop-shadow(0 0 14px rgba(88,166,255,.55)); }
.pkt-amber { fill: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
.pkt-blue { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }

/* Signal mark */
.sig-off { fill: #3a3c42; }
.sig-on { fill: var(--accent); }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.marquee-track {
  display: flex; width: max-content; animation: marquee 42s linear infinite;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em; white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-track .ol { color: transparent; -webkit-text-stroke: 1px #6e727a; }
.marquee-track i { width: 14px; height: 14px; border-radius: 3px; background: var(--accent); }
.marquee-track i.am { background: var(--amber); }

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-bg {
  background-color: var(--bg);
  background-image: linear-gradient(#1d1f23 1px, transparent 1px), linear-gradient(90deg, #1d1f23 1px, transparent 1px);
  background-size: 42px 42px;
}
.section-head { margin-bottom: 56px; max-width: 20ch; }

/* Service tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 40px; }
.tablist { flex: 1 1 320px; max-width: 420px; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.tab {
  display: flex; align-items: center; gap: 20px; width: 100%; min-height: 104px; padding: 18px 8px;
  border: 0; border-bottom: 1px solid var(--line-2); background: none; color: #6e727a;
  font: inherit; text-align: left; cursor: pointer; transition: color .2s, background .2s;
}
.tab:hover { color: var(--text-2); }
.tab[aria-selected="true"] { color: #fff; background: linear-gradient(90deg, rgba(88,166,255,.10), rgba(88,166,255,0)); }
.tab .cell { flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--line-2); transition: background .2s, box-shadow .2s; }
.tab[aria-selected="true"] .cell { background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.tab .verb { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.05em; }
.tab .name { display: block; font-size: 16px; color: var(--muted); margin-top: 4px; }
.panels { flex: 999 1 520px; min-width: 0; }
.panel { border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.panel + .panel { margin-top: 24px; }
.js .panel + .panel { margin-top: 0; }
.panel[hidden] { display: none; }
.panel-body { padding: 32px 36px 36px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.panel-body > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 10px; }
.panel-body h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.panel-body p { margin: 0; color: var(--text-3); max-width: 34em; }
.btn-outline { min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--accent); color: var(--text); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.btn-outline:hover { color: #fff; box-shadow: 0 0 24px rgba(88,166,255,.25); }

/* Visuals */
.visual {
  position: relative; height: 320px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, rgba(88,166,255,.10), rgba(17,18,21,0) 60%);
}
.page-hero .visual { border: 1px solid var(--line-2); border-radius: 24px; background-color: var(--bg-2); }
.v-build { position: absolute; inset: 32px 40px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 34px 76px 1fr 56px; gap: 10px; }
.v-build div { border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); animation: blink 3.2s ease-in-out infinite; }
.v-build .b1 { grid-column: 1 / -1; }
.v-build .b2 { grid-column: 1 / 2; grid-row: 2 / 5; animation-delay: .3s; }
.v-build .b3 { grid-column: 2 / 4; background: rgba(88,166,255,.18); border-color: var(--accent); animation-delay: .6s; }
.v-build .b4 { grid-column: 4 / 6; animation-delay: .9s; }
.v-build .b5 { grid-column: 6 / 7; background: rgba(255,181,71,.16); border-color: var(--amber); animation-delay: 1.2s; }
.v-build .b6 {
  grid-column: 2 / 7; animation-delay: 1.5s; background-color: #1c1d22;
  background-image: linear-gradient(90deg, transparent 0 8%, rgba(88,166,255,.5) 8% 14%, transparent 14% 22%, rgba(88,166,255,.35) 22% 28%, transparent 28% 36%, rgba(88,166,255,.6) 36% 42%, transparent 42% 50%, rgba(88,166,255,.45) 50% 56%, transparent 56% 64%, rgba(88,166,255,.7) 64% 70%, transparent 70% 78%, rgba(88,166,255,.55) 78% 84%, transparent 84%);
  background-size: 100% 60%; background-repeat: no-repeat; background-position: bottom;
}
.v-build .b7 { grid-column: 2 / 7; animation-delay: 1.8s; }
.v-connect { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-connect .flow { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 6; fill: none; animation: dash .8s linear infinite; }
.v-connect .svg-label { font-size: 15px; fill: var(--text); }
.v-log { position: absolute; inset: 0 40px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.v-log ul { list-style: none; margin: 0; padding: 20px 0 0; display: flex; flex-direction: column; gap: 14px; animation: scroll 14s linear infinite; font-family: var(--font-code); font-size: 15px; }
.v-log li { display: flex; gap: 18px; white-space: nowrap; color: #d3d5da; }
.v-log b { width: 84px; flex: none; font-weight: 400; }
.k-trigger { color: var(--amber); } .k-action { color: var(--accent); } .k-check { color: var(--muted); } .k-alert { color: #ff8a65; }
.v-ai { position: absolute; inset: 26px 40px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.v-ai > * { animation: seq 9s ease-out infinite; }
.v-ai .q { align-self: flex-end; max-width: 72%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #26282d; }
.v-ai .call { display: flex; gap: 12px; align-items: center; font-family: var(--font-code); font-size: 13px; color: var(--amber); animation-delay: 1s; }
.v-ai .call + .call { animation-delay: 1.8s; }
.v-ai .call i { width: 8px; height: 8px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 8px var(--amber); flex: none; }
.v-ai .a { align-self: flex-start; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; border: 1px solid var(--accent); background: rgba(88,166,255,.08); box-shadow: 0 0 24px rgba(88,166,255,.15); animation-delay: 2.8s; }
.v-ai .foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--faint); animation: none; }
.v-ai .foot svg { width: 16px; height: 16px; }

/* Process */
.track { position: relative; height: 18px; margin: 0 9px 28px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: #2e3035; }
.track span { position: absolute; top: 3px; width: 60px; height: 12px; margin-left: -30px; border-radius: 6px; background: linear-gradient(90deg, rgba(88,166,255,0), var(--accent)); box-shadow: 0 0 18px rgba(88,166,255,.8); animation: travel 5s linear infinite; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps .n { font-family: var(--font-display); font-size: 15px; color: var(--amber); }
.steps p { margin: 0; color: var(--text-3); font-size: 17px; }

/* Work */
.work-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.work-item { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 56px; padding: 40px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.work-item .meta { font-size: 15px; color: var(--amber); }
.work-item p { margin: 0; color: var(--text-3); }
.work-item img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line-2); }

/* CTA */
.cta-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
  padding: clamp(36px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); text-decoration: none; transition: border-color .3s, box-shadow .3s;
}
.cta-card:hover, .cta-card:focus-visible { color: var(--text); border-color: var(--accent); box-shadow: 0 0 60px rgba(88,166,255,.18); }
.cta-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.cta-copy .display { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.055em; }
.cta-copy .sub { color: var(--text-3); font-size: 19px; max-width: 30em; }
.cta-copy .btn { align-self: flex-start; }
.cta-grid { display: grid; grid-template-columns: repeat(5, clamp(30px, 3.4vw, 44px)); grid-auto-rows: clamp(30px, 3.4vw, 44px); gap: 10px; }
.cta-grid i { border-radius: 9px; background: var(--surface-2); transition: background .25s, box-shadow .25s; }
.cta-grid i.lit { background: rgba(88,166,255,.28); }
.cta-card:hover .cta-grid i.lit, .cta-card:focus-visible .cta-grid i.lit { background: var(--accent); box-shadow: 0 0 22px rgba(88,166,255,.75); }
.cta-grid .d1 { transition-delay: 0ms; } .cta-grid .d2 { transition-delay: 45ms; } .cta-grid .d3 { transition-delay: 90ms; }
.cta-grid .d4 { transition-delay: 135ms; } .cta-grid .d5 { transition-delay: 180ms; } .cta-grid .d6 { transition-delay: 225ms; }
.cta-grid .d7 { transition-delay: 270ms; } .cta-grid .d8 { transition-delay: 315ms; } .cta-grid .d9 { transition-delay: 360ms; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-3); }
.giant {
  padding-top: 40px; overflow: hidden; white-space: nowrap; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 13.4vw; line-height: .9;
  letter-spacing: -0.07em; color: #1b1c21; user-select: none;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 32px; padding-top: 40px; padding-bottom: 48px; font-size: 15px; color: var(--muted); }
.footer-row p { margin: 0; max-width: 36em; }
.footer-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-row a { color: var(--text-2); text-decoration: none; }
.footer-row a:hover { color: var(--accent-hi); }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #1a1b1f; }
.page-hero .matrix { opacity: .7; }
.page-hero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,22,26,.94) 0%, rgba(21,22,26,.8) 50%, rgba(21,22,26,.55) 100%); }
.page-hero-inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 28px; }
.page-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px 64px; align-items: center; }
.page-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--text); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px 64px; align-items: start; }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.rule-list li { padding: 18px 0; border-bottom: 1px solid var(--line-2); color: #d3d5da; display: flex; gap: 16px; }
.rule-list li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 10px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px rgba(88,166,255,.6); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 40px; }
.feature { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature h3 { margin: 0; font-size: 21px; font-weight: 600; }
.feature p { margin: 0; color: var(--text-3); font-size: 16px; }
.note { margin: 32px 0 0; color: var(--muted); font-size: 16px; max-width: 46em; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; line-height: 1; color: var(--accent-hi); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 22px; color: var(--text-3); font-size: 17px; max-width: 38em; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.related a { display: flex; flex-direction: column; gap: 8px; padding: 28px 32px; border: 1px solid #3a3c42; border-radius: 20px; text-decoration: none; color: var(--text); transition: border-color .2s; }
.related a:hover { border-color: var(--accent); color: var(--text); }
.related b { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: -0.04em; }
.related span { color: var(--text-3); font-size: 16px; }
.service-index { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.service-index a { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px 48px; padding: 36px 0; border-bottom: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.service-index a:hover .h3 { color: var(--accent-hi); }
.service-index p { margin: 0; color: var(--text-3); }

/* Forms */
.contact-layout { display: flex; flex-wrap: wrap; gap: 56px 72px; }
.contact-aside { flex: 1 1 340px; display: flex; flex-direction: column; gap: 28px; }
.contact-main { flex: 1.3 1 440px; min-width: 0; }
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.numbered li { display: flex; gap: 16px; align-items: baseline; color: #d3d5da; }
.numbered b { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line-3); color: var(--text-2); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.numbered li:first-child b { border-color: var(--accent); color: var(--accent-hi); }
.card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-3); border-radius: 28px; background: var(--bg-2); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
input[type="text"], input[type="email"], textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-3); background: var(--surface); color: var(--text); font: inherit; font-size: 16px;
}
textarea { padding: 12px 14px; resize: vertical; min-height: 150px; }
input::placeholder, textarea::placeholder { color: #7c8088; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff8a65; }
.field-error { font-size: 14px; color: #ff9b85; margin: 0; }
.field-error:empty { display: none; }
fieldset { margin: 0; padding: 0; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--line-3); color: var(--text-2); font-size: 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.chip input:checked + span { border-color: var(--accent); background: rgba(88,166,255,.14); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.success { border-color: var(--accent); }
.success h2 { margin: 0 0 10px; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.success p { margin: 0; color: var(--text-2); }
.notice-amber { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255,181,71,.4); background: rgba(255,181,71,.07); font-size: 16px; color: var(--text-2); }
.notice-amber .sig-dot { margin-top: 7px; }

/* Prose (legal) */
.prose { max-width: 46em; }
.prose h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; font-size: 26px; line-height: 1.2; margin: 48px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line-2); }
.prose th { color: var(--text); }
.table-wrap { overflow-x: auto; }

/* Motion */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes blink { 0%, 100% { opacity: .28; } 50% { opacity: 1; } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes travel { from { left: 0%; } to { left: 100%; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes seq { 0%, 4% { opacity: 0; transform: translateY(8px); } 10%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .v-ai > * { opacity: 1; }
}

/* Utilities */
.pb-section { padding-bottom: var(--section); }
.pt-section { padding-top: var(--section); }
.mb-40 { margin-bottom: 40px; }
.mb-64 { margin-bottom: 64px; }
.inline-form .cf-turnstile { flex-basis: 100%; }
.cta-section { padding-top: clamp(48px, 6vw, 88px); padding-bottom: var(--section); }
@media (max-width: 720px) {
  .hero .scrim-left { background: rgba(21,22,26,.66); }
}
[hidden] { display: none !important; }
