/* Singularity Broadband — commercial homepage styles
   Palette: navy engineering canvas, cyan accents, WCAG AA+ contrast.
   Fill in brand tokens here if an official logo or color system is supplied. */

:root {
  --navy-950: #09111f;
  --navy-900: #0f172a;
  --navy-800: #162033;
  --navy-700: #1e2a3f;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #475569;
  --faint: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --canvas: #f8fafc;
  --white: #ffffff;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-bright: #38bdf8;
  --accent-soft: #e0f2fe;
  --accent-ink: #075985;
  --danger: #be123c;
  --danger-soft: #fff1f2;
  --ok: #047857;
  --ok-soft: #ecfdf5;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --header-h: 76px;
  --wrap: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04);
  --focus: 0 0 0 3px #ffffff, 0 0 0 6px #0284c7;
  --focus-on-dark: 0 0 0 3px #09111f, 0 0 0 6px #38bdf8;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 16px;
  box-shadow: var(--focus);
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}

@media (min-width: 720px) {
  .wrap {
    padding-inline: 32px;
  }
}

/* ---------- Eyebrows, type, buttons ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow--light {
  color: var(--accent-bright);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.038em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.lede {
  margin: 16px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40rem;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 40px;
}

.section-head .lede {
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(226, 232, 240, 0.28);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.08);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-950);
  color: var(--white);
}

header :focus-visible,
.hero :focus-visible,
.platform :focus-visible,
footer :focus-visible,
.btn-ghost:focus-visible,
.btn-dark:focus-visible,
.btn-primary:focus-visible {
  box-shadow: var(--focus-on-dark);
}

.hero .btn-primary:focus-visible,
header .btn-primary:focus-visible,
footer .btn-primary:focus-visible,
.platform .btn-primary:focus-visible {
  box-shadow: var(--focus-on-dark);
}

/* Light-surface primary buttons keep the light focus ring */
.contact .btn-primary:focus-visible,
.form-actions .btn-primary:focus-visible {
  box-shadow: var(--focus);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(9, 17, 31, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.2;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.desktop-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}

.desktop-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.header-cta {
  display: none;
  margin-left: 8px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.menu-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  background: transparent;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #09111f;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 45;
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.mobile-drawer a:hover {
  color: var(--accent-bright);
}

.mobile-drawer .btn {
  margin-top: 20px;
  width: 100%;
  border-bottom: 0;
}

@media (min-width: 960px) {
  .desktop-nav,
  .header-cta {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none;
  }
}

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

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(2, 132, 199, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(56, 189, 248, 0.08), transparent 55%),
    var(--navy-950);
  color: #e2e8f0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
  padding-block: 48px 64px;
  align-items: center;
}

.hero h1 {
  color: #f8fafc;
  max-width: 16ch;
}

.hero .lede {
  color: #cbd5e1;
  font-size: 1.08rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  gap: 14px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent-bright);
}

.diagram-panel {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(9, 17, 31, 0.4));
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px 12px 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.diagram-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 8px 10px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.diagram-caption span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15);
}

.topology {
  width: 100%;
  height: auto;
}

.topology .link {
  fill: none;
  stroke: #64748b;
  stroke-width: 1.6;
}

.topology .link-active {
  stroke: #38bdf8;
  stroke-width: 1.8;
  stroke-dasharray: 7 9;
  animation: flow 7s linear infinite;
}

.topology .node-shell {
  fill: #0f172a;
  stroke: #334155;
  stroke-width: 1.2;
}

.topology .node-core {
  fill: #0b1728;
  stroke: #0284c7;
  stroke-width: 1.4;
}

.topology .node-label {
  fill: #f8fafc;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.topology .node-sub {
  fill: #94a3b8;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.topology .pulse {
  fill: #38bdf8;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -84;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    r: 3;
  }
  50% {
    opacity: 1;
    r: 4.2;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    padding-block: 72px 88px;
  }
}

/* ---------- Shared sections ---------- */

.section {
  padding: 72px 0;
}

@media (min-width: 960px) {
  .section {
    padding: 96px 0;
  }
}

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

.services {
  background: var(--white);
}

.card-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
  min-width: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: #bae6fd;
  transform: translateY(-2px);
}

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon-tile svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.98rem;
}

.cap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cap-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cap-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 1.5px;
  background: var(--accent);
}

/* ---------- Platform / additional services ---------- */

.platform {
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(2, 132, 199, 0.16), transparent 60%),
    var(--navy-900);
  color: #cbd5e1;
}

.platform h2,
.platform h3 {
  color: #f8fafc;
}

.platform .lede {
  color: #94a3b8;
}

.platform-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .platform-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .platform-card:nth-child(1),
  .platform-card:nth-child(2),
  .platform-card:nth-child(3) {
    grid-column: span 2;
  }

  .platform-card:nth-child(4),
  .platform-card:nth-child(5) {
    grid-column: span 3;
  }
}

.platform-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(226, 232, 240, 0.1);
  border-radius: var(--radius);
  padding: 22px 20px;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.platform-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.85);
}

.platform-card .icon-tile {
  background: rgba(2, 132, 199, 0.16);
  color: var(--accent-bright);
}

.platform-card p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.platform-card h3 {
  margin-bottom: 8px;
}


/* ---------- Local technicians ---------- */

.local {
  background: var(--white);
}

.local-grid {
  display: grid;
  gap: 36px;
}

@media (min-width: 960px) {
  .local-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: center;
  }
}

.local-copy h2 {
  max-width: 16ch;
}

.local-copy .lede {
  margin-top: 18px;
  max-width: 40rem;
}

.nowrap {
  white-space: nowrap;
}

.local-points {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  box-shadow: var(--shadow);
  min-width: 0;
  overflow: hidden;
}

.local-point {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px 20px;
  border-top: 1px solid var(--line);
}

.local-point:first-child {
  border-top: 0;
}

.local-point .icon-tile {
  margin: 0;
}

.local-point h3 {
  margin-bottom: 6px;
}

.local-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Process ---------- */


.process {
  background: var(--canvas);
}

.process-steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.process-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  min-width: 0;
}

@media (min-width: 900px) {
  .process-step {
    border-radius: 0;
    border-left-width: 0;
  }

  .process-step:first-child {
    border-left-width: 1px;
    border-radius: var(--radius) 0 0 var(--radius);
  }

  .process-step:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    right: -1px;
    width: 18px;
    height: 1px;
    background: var(--accent);
    z-index: 1;
  }
}

.step-index {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-index svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Environments ---------- */

.environments {
  background: var(--white);
}

.env-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .env-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .env-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.env-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--canvas);
  min-width: 0;
}

.env-card h3 {
  margin-bottom: 6px;
}

.env-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.env-card .icon-tile {
  margin: 0;
  width: 44px;
  height: 44px;
}

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

.contact {
  background: var(--canvas);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 48px;
    align-items: start;
  }
}

.direct-contact {
  margin: 28px 0 0;
  padding: 20px 22px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.direct-contact h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.direct-contact-list {
  margin: 8px 0 0;
  padding: 0;
}

.direct-contact-list > div {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: 12px 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.direct-contact-list dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.direct-contact-list dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.direct-contact-list dd.is-placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.direct-contact-list a {
  color: var(--ink);
  text-decoration: none;
}

.direct-contact-list a:hover {
  color: var(--accent);
}

@media (max-width: 419px) {
  .direct-contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
}

.inquiry-form,
.form-success {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .inquiry-form,
  .form-success {
    padding: 28px 28px 26px;
  }
}

.form-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field-span,
  .check-group,
  .form-actions,
  .form-status {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label,
.check-group legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  padding: 11px 12px;
  min-height: 46px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #94a3b8;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid,
.check-group.is-invalid {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.8rem;
  min-height: 1em;
}

.check-group {
  margin: 4px 0 0;
  padding: 14px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.check-group legend {
  padding: 0 6px;
}

.check-grid {
  display: grid;
  gap: 8px 16px;
  margin-top: 6px;
}

@media (min-width: 640px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check-grid label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.check-grid input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.82rem;
}

.form-success {
  display: none;
}

.form-success.is-visible,
.inquiry-form.is-hidden {
  /* toggled via JS classes */
}

.inquiry-form.is-hidden {
  display: none;
}

.form-success.is-visible {
  display: block;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  margin-bottom: 8px;
}

.form-success p {
  margin: 0 0 12px;
  color: var(--muted);
}

.form-success .btn {
  margin-top: 8px;
}

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

.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 48px 0 32px;
  border-top: 1px solid rgba(226, 232, 240, 0.06);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.site-footer .brand-name {
  color: #f8fafc;
}

.site-footer p {
  margin: 12px 0 0;
  font-size: 0.92rem;
  max-width: 32rem;
}

.site-footer h4 {
  color: #e2e8f0;
  font-size: 0.78rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a,
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Reduced motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .topology .link-active,
  .topology .pulse,
  .live-dot,
  .btn,
  .card,
  .mobile-drawer,
  .menu-toggle span {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .menu-toggle,
  .mobile-drawer,
  .hero-actions,
  .form-actions,
  .inquiry-form {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
