/* ==========================================================================
   Cross Sound Machine, Inc. — site styles
   Palette: midnight navy, anodized black, brushed aluminum, cool silver,
   electric violet, restrained signal-blue accent.
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/poppins-Medium.woff") format("woff");
}
@font-face {
  font-family: "Poppins";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/poppins-Bold.woff") format("woff");
}

:root {
  --midnight: #0a0e1f;
  --midnight-2: #0f1530;
  --anodized: #0c0e14;
  --panel: #121936;
  --panel-2: #171f42;
  --al-1: #eef0f4;
  --al-2: #c9cfda;
  --al-3: #8d97ab;
  --silver: #d5dae3;
  --violet: #7c4dff;
  --violet-2: #a78bfa;
  --blue: #38bdf8;
  --text: #e6e9f2;
  --muted: #a6b0c8;
  --line: rgba(190, 200, 235, 0.14);
  --line-strong: rgba(190, 200, 235, 0.28);
  --radius: 10px;
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --brushed: linear-gradient(90deg, #b9c0cc 0%, #eceff4 28%, #a9b1bf 55%, #dde1e8 80%, #b4bbc8 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #7dd3fc; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  color: #fff;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
h4 { font-size: 1rem; font-weight: 500; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
strong { color: #fff; font-weight: 600; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 31, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { width: auto; height: 44px; }
@media (max-width: 400px) { .brand img { height: 37px; } }
.brand-text strong { display: block; font: 700 15px/1.1 var(--font-head); letter-spacing: 0.09em; color: #fff; }
.brand-text span {
  display: block; margin-top: 5px; font: 400 10px/1.2 var(--font-mono);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet-2);
}
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a.nav-link {
  display: block; position: relative; padding: 10px 11px; border-radius: 6px;
  color: #c6cee2; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.site-nav a.nav-link:hover, .site-nav a.nav-link[aria-current="page"] { color: #fff; }
.site-nav a.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
}
.site-nav .nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1160px) {
  .js .nav-toggle { display: inline-flex; }
  .site-header .container { position: relative; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #0c1128; border: 1px solid var(--line); border-top: 0;
    padding: 12px 24px 22px; box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding: 12px 0; }
  html:not(.js) .site-nav { position: static; width: 100%; background: transparent; border: 0; padding: 0; box-shadow: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a.nav-link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; border-radius: 0; }
  .site-nav a.nav-link[aria-current="page"]::after { left: 4px; right: auto; width: 36px; bottom: 8px; }
  .site-nav .nav-cta { margin: 16px 0 0; }
  .site-nav .nav-cta .btn { width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font: 500 15px/1.2 var(--font-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #8b5cf6 0%, #6a3df0 100%);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 30px rgba(124, 77, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-secondary { color: #fff; background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); }
.btn-secondary:hover { color: #fff; border-color: var(--silver); background: rgba(255, 255, 255, 0.09); }
.btn-ghost { color: var(--silver); padding-left: 6px; padding-right: 6px; }
.btn-ghost:hover { color: #fff; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--anodized { background: var(--anodized); }
.section--panel { background: linear-gradient(180deg, var(--midnight-2), var(--midnight)); }
.section--perf::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/images/perf-tile.svg") 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  opacity: 0.8;
}
.section > .container { position: relative; }
.section--metal {
  background: var(--brushed); color: #141a30;
}
.section--metal h2, .section--metal h3, .section--metal strong { color: #0b1024; }
.section--metal p { color: #2a3350; }
.section--metal a:not(.btn) { color: #4a22c8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.section--metal .eyebrow { color: #4a22c8; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #c3cce2; max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--muted); }

.wave-band {
  height: 64px; background: url("../assets/images/waveform-band.svg") center / auto 100% repeat-x;
  opacity: 0.35; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  animation: drift 90s linear infinite;
}
@keyframes drift { to { background-position-x: -1600px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 40px;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(124, 77, 255, 0.28), transparent 62%),
    radial-gradient(700px 480px at 0% 100%, rgba(56, 189, 248, 0.1), transparent 60%),
    var(--midnight);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(143, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 span { background: linear-gradient(90deg, #c4b5fd, #38bdf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 32px; }
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(6, 8, 20, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03);
}
figcaption { margin-top: 12px; font: 400 12px/1.5 var(--font-mono); letter-spacing: 0.04em; color: #7d89a8; }
.hero .wave-band { margin-top: 56px; }
.page-hero { position: relative; padding: 72px 0 64px; overflow: hidden;
  background: radial-gradient(760px 380px at 90% 0%, rgba(124, 77, 255, 0.24), transparent 65%), var(--midnight); border-bottom: 1px solid var(--line); }
.page-hero::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%; pointer-events: none;
  background: url("../assets/images/perf-tile.svg") 0 0 / 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); opacity: .7;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font: 400 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #7d89a8; margin-bottom: 22px; }
.breadcrumb a { color: #9aa6c4; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Fact strip ---------- */
.fact-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--anodized); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 500 13px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 8px; }
.fact span { color: #cbd3e8; font-size: 15px; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  transition: border-color .2s, transform .2s;
}
.card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 24px; height: 24px;
  background: linear-gradient(225deg, transparent 50%, #aab2c1 50%);
  opacity: .85;
}
.card:hover { border-color: rgba(167, 139, 250, 0.55); transform: translateY(-3px); }
.card-media { aspect-ratio: 10 / 7; background: #0b1024; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 15px; }
.card-body h3 { margin-bottom: 10px; }
.card-link { margin-top: auto; font-weight: 500; font-size: 14.5px; text-decoration: none; display: inline-flex; gap: 6px; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(124, 77, 255, 0.12); color: var(--violet-2);
}
.card-icon svg { width: 24px; height: 24px; }
.card--flat .card-body { padding: 28px 24px; }

/* Feature rows (capabilities) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature-media { margin: 0; }
.feature-media img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(4, 6, 16, .55); }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-num { font: 500 13px/1 var(--font-mono); letter-spacing: .2em; color: var(--blue); margin-bottom: 14px; display: block; }
.feature h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.feature p { color: #bcc6de; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding: 7px 0 7px 26px; color: #ccd4e8; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 15px; width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet)); transform: rotate(45deg) scale(.85);
}
.section--metal .check-list li { color: #2a3350; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: #d3daec; background: rgba(255, 255, 255, .03); }

/* Notes */
.note {
  border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 8px;
  padding: 18px 22px; background: rgba(56, 189, 248, .06); color: #cbd6ee; font-size: 15px;
}
.note strong { color: #fff; }
.note p:last-child { margin-bottom: 0; }

/* Process steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 18px 0 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%;
  border: 1px solid var(--violet-2); background: var(--midnight); color: var(--violet-2);
  font: 500 14px/1 var(--font-mono); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 1px; background: linear-gradient(90deg, var(--violet-2), rgba(167, 139, 250, .1)); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.02rem; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Company details */
.detail-list { display: grid; grid-template-columns: 170px 1fr; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-list dt, .detail-list dd { margin: 0; padding: 16px 20px; border-top: 1px solid var(--line); }
.detail-list dt:first-of-type, .detail-list dt:first-of-type + dd { border-top: 0; }
.detail-list dt { font: 500 12px/1.5 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); background: rgba(255, 255, 255, .025); }
.detail-list dd { color: #dbe1f0; }

/* CTA band */
.cta-band { padding: 72px 0; }
.cta-band .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .btn-row { justify-content: flex-end; }
.section--metal .btn-secondary { color: #0b1024; border-color: rgba(11, 16, 36, .35); background: rgba(255, 255, 255, .35); }
.section--metal .btn-secondary:hover { background: #fff; border-color: #0b1024; color: #0b1024; }
.section--metal .btn-ghost { color: #0b1024; }

/* ---------- Contact + forms ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-card { padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.contact-card + .contact-card { margin-top: 24px; }
.contact-card address { font-style: normal; font-size: 1.05rem; line-height: 1.7; color: #dbe1f0; }
.contact-card address strong { display: block; font-family: var(--font-head); letter-spacing: .04em; margin-bottom: 4px; }
.contact-lines { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-lines li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-lines span { font: 500 12px/1.9 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.contact-lines a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); word-break: break-word; }
.contact-lines a:hover { color: var(--blue); }

.form-card { padding: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.form-card + .form-card { margin-top: 32px; }
.form-card h2, .form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 500; color: #dbe1f0; }
.field .req { color: var(--violet-2); }
.field .hint { font-size: 13px; color: #8390ad; margin-top: -2px; }
.field input:not([type="file"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 16px/1.4 var(--font-body); color: #fff;
  background: #080c1c; border: 1px solid rgba(190, 200, 235, .24); border-radius: 8px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a6b0c8 50%), linear-gradient(135deg, #a6b0c8 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #6b7797; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(124, 77, 255, .28); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #f87171; }
.file-drop {
  display: block; padding: 22px; border: 1.5px dashed rgba(190, 200, 235, .35); border-radius: 8px;
  background: rgba(255, 255, 255, .02); cursor: pointer; transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--violet-2); background: rgba(124, 77, 255, .08); }
.file-drop input[type="file"] { width: 100%; color: #cbd3e8; font-size: 14px; cursor: pointer; }
.file-drop input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 6px;
  background: rgba(255, 255, 255, .07); color: #fff; font: 500 14px var(--font-body); cursor: pointer;
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #b7c1da; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: 8px; font-size: 15px; border: 1px solid; }
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .1); color: #c9f5e2; }
.form-status.is-error { border-color: rgba(248, 113, 113, .55); background: rgba(248, 113, 113, .1); color: #fecaca; }
.form-status.is-info { border-color: rgba(56, 189, 248, .5); background: rgba(56, 189, 248, .09); color: #cdeefc; }
.form-status a { color: inherit; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 1.6em; color: var(--silver); }
.prose p, .prose li { color: #c3cce2; }
.prose li { margin-bottom: .45em; }
.updated { display: inline-block; font: 500 13px/1 var(--font-mono); letter-spacing: .12em; color: var(--violet-2); border: 1px solid var(--line-strong); padding: 9px 14px; border-radius: 6px; margin-top: 24px; text-transform: none; }
.toc { padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); margin-bottom: 44px; }
.toc h2 { font-size: 1rem; border: 0; padding: 0; margin: 0 0 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-mono); color: var(--violet-2); }
.toc ol { columns: 2; column-gap: 32px; margin: 0; }
.toc li { margin-bottom: 6px; }
.toc a { color: #cbd3e8; text-decoration: none; }
.toc a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--anodized); border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--blue), var(--violet), transparent); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.3fr .8fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand img { width: auto; height: 48px; max-width: 100%; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 34ch; }
.site-footer h2 { font: 500 12px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--violet-2); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer a { color: #d3daec; text-decoration: none; }
.site-footer a:hover { color: var(--blue); text-decoration: underline; }
.site-footer address { font-style: normal; font-size: 14.5px; line-height: 1.75; color: #cbd3e8; }
.site-footer address strong { display: block; color: #fff; letter-spacing: .03em; }
.footer-contact { margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; color: #8390ad; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-bottom a { color: #a6b0c8; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps li:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 48px; }
  .hero-grid, .feature, .contact-grid, .cta-band .inner { grid-template-columns: 1fr; gap: 36px; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band .btn-row { justify-content: flex-start; }
  .page-hero::after { opacity: .35; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 66px; min-height: 60px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-list dt { border-top: 1px solid var(--line); padding-bottom: 4px; }
  .detail-list dd { border-top: 0; padding-top: 4px; }
  .detail-list dt:first-of-type { border-top: 0; }
  .contact-lines li { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .toc ol { columns: 1; }
  .btn-row .btn { flex: 1 1 100%; }
  .brand-text span { display: none; }
  .fact { padding: 20px 14px; }
  .fact:first-child, .fact:nth-child(3) { padding-left: 0; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .section--perf::before { opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave-band { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
@media print {
  .site-header, .site-footer .footer-grid, .wave-band, .cta-band { display: none; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
  h1, h2, h3 { color: #000; }
}

a[href^="tel:"] { white-space: nowrap; }
