/* SmartHomeSync-CT — site styles. Plain CSS, no build step.
   Look: dark navy + electric blue/cyan "tech" theme, matching the original smarthomesyncct.com. */
:root {
  --ink: #050B16;          /* footer, deepest */
  --night: #07111F;        /* header */
  --navy-900: #0B1C32;     /* hero, dark bands */
  --navy: #0F2A4A;         /* headings on light backgrounds */
  --blue: #1556CF;         /* primary accent on light backgrounds (6:1 on white) */
  --blue-dark: #0F43A6;
  --cyan: #80DAFF;         /* primary accent on dark backgrounds */
  --cyan-soft: #B5E9FF;
  --tint: #EAF2FD;
  --bg: #F3F6FB;
  --card: #FFFFFF;
  --text: #1C2738;
  --muted: #475569;
  --on-dark: #D2DFEF;
  --on-dark-muted: #A7B8CE;
  --line: #D8E1EC;
  --line-dark: rgba(128, 218, 255, .18);
  --new: #B42318;
  --focus: #C2410C;
  --focus-dark: #FFD48A;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11,28,50,.06), 0 8px 24px rgba(11,28,50,.08);
  --wrap: 72rem;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --grid: linear-gradient(rgba(128,218,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(128,218,255,.07) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;           /* 18px base for easy reading */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; font-family: var(--sans); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 4vw, 2.3rem); }
h3 { font-size: 1.3rem; font-weight: 750; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
strong { color: inherit; }

/* Accessibility helpers */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cyan); color: var(--navy-900); padding: .75rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--navy-900); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.section { padding: 3.75rem 0; }
.section--tint { background: var(--tint); }
.section--white { background: #fff; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  font: 600 .85rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.lead { font-size: 1.25rem; color: var(--muted); }
.small { font-size: 1rem; color: var(--muted); }

/* ---------- Shared dark surfaces (header, hero, page heads, bands, footer) ---------- */
.announce, .site-header, .hero, .brands, .section--dark, .page-head, .cta-band, .site-footer { --focus: var(--focus-dark); }

/* Announcement bar */
.announce { background: linear-gradient(90deg, var(--navy-900), #10305A 50%, var(--navy-900)); color: var(--on-dark); text-align: center; font-size: 1rem; padding: .55rem 1rem; border-bottom: 1px solid var(--line-dark); }
.announce a { color: var(--cyan); font-weight: 650; }
.announce a:hover { color: #fff; }

/* Header */
.site-header { background: var(--night); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 10px rgba(56,140,255,.55)); }
.brand:hover { color: #fff; }
.brand-ct { color: var(--cyan); }
.main-nav { order: 3; width: 100%; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .4rem; text-decoration: none; color: var(--on-dark);
  font-weight: 600; font-size: 1.05rem; border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: #fff; border-bottom-color: var(--cyan); }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--cyan); box-shadow: 0 6px 12px -8px var(--cyan); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.btn.header-fb { display: none; white-space: nowrap; }
@media (max-width: 51.99rem) {
  .announce { display: none; }
  .header-inner { flex-wrap: wrap; padding: .7rem 0 .2rem; }
  .brand { font-size: 1.12rem; gap: .5rem; }
  .brand img { width: 34px; height: 34px; }
  .header-actions .btn--small { font-size: .98rem; padding: .45rem .9rem; min-height: 44px; }
  .main-nav a { font-size: 1rem; padding: .55rem .25rem; }
}
@media (max-width: 26rem) {
  .header-inner { column-gap: .5rem; }
  .brand { font-size: 1.02rem; gap: .4rem; }
  .brand img { width: 30px; height: 30px; }
  .header-actions .btn--small { padding: .45rem .75rem; font-size: .95rem; }
}
@media (min-width: 52rem) {
  .main-nav { order: 0; width: auto; margin-left: auto; }
  .main-nav ul { gap: 1.25rem; }
  .btn.header-fb { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 10px;
  font: 650 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--blue); background: var(--blue); color: #fff;
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--small { min-height: 42px; padding: .5rem 1rem; font-size: 1rem; }
/* Buttons on dark surfaces: cyan primary, light outline secondary */
.site-header .btn, .hero .btn, .page-head .btn, .section--dark .btn, .cta-band .btn {
  background: var(--cyan); border-color: var(--cyan); color: #06223A;
  box-shadow: 0 0 0 0 rgba(128,218,255,0), 0 8px 24px -10px rgba(128,218,255,.7);
}
.site-header .btn:hover, .hero .btn:hover, .page-head .btn:hover, .section--dark .btn:hover, .cta-band .btn:hover {
  background: var(--cyan-soft); border-color: var(--cyan-soft); color: #06223A; box-shadow: 0 0 22px rgba(128,218,255,.45);
}
.site-header .btn--ghost, .hero .btn--ghost, .page-head .btn--ghost, .section--dark .btn--ghost {
  background: transparent; color: #fff; border-color: rgba(167,184,206,.6); box-shadow: none;
}
.site-header .btn--ghost:hover, .hero .btn--ghost:hover, .page-head .btn--ghost:hover, .section--dark .btn--ghost:hover {
  background: rgba(128,218,255,.12); border-color: var(--cyan); color: #fff;
}
/* Facebook / Messenger button */
.btn--fb svg { width: 22px; height: 22px; }
.btn--outline-light { background: transparent !important; color: #fff !important; border-color: rgba(167,184,206,.6) !important; box-shadow: none !important; }
.btn--outline-light:hover { background: rgba(128,218,255,.12) !important; border-color: var(--cyan) !important; }
.break { overflow-wrap: anywhere; }
.contact-list .btn { margin-top: .5rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.text-link { font-weight: 650; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 3rem 0 3.25rem; color: var(--on-dark);
  background: radial-gradient(70rem 40rem at 100% 0%, #12305A 0%, transparent 60%), var(--navy-900);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; width: 38rem; height: 38rem; right: -8rem; top: -6rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.22), rgba(21,86,207,.12) 45%, transparent 70%); filter: blur(10px);
}
.hero-grid { display: grid; gap: 2.25rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; font-size: clamp(2.4rem, 8.5vw, 4.1rem); line-height: 1.06; }
.glow-text {
  color: var(--cyan);
  background: linear-gradient(90deg, #80DAFF 0%, #5BB4FF 55%, #8FA8FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(128,218,255,.25);
}
@media (forced-colors: active) { .glow-text { -webkit-text-fill-color: currentColor; background: none; } }
.hero .eyebrow { color: var(--cyan); }
.hero .eyebrow { flex-wrap: nowrap; align-items: baseline; }
.pulse { position: relative; top: -.05em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(128,218,255,.6); animation: pulse 2.4s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(128,218,255,.6); } 70%, 100% { box-shadow: 0 0 0 .6rem rgba(128,218,255,0); } }
.hero .lead { max-width: 34rem; color: var(--on-dark); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: 1rem; color: var(--on-dark); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust svg { width: 20px; height: 20px; color: var(--cyan); flex: none; }

/* ---------- Hero scene: "smart-home system coming online" ----------
   Timeline (starts when hero.js adds .is-live): 0-0.6s HUD corners lock on; 0.4-3.2s scan beam sweeps
   left to right, revealing the glowing layer; sensor nodes ping as the beam passes; 2-3.2s links draw to
   the hub; 3.5-6.6s status chips pop in, ending on "All set"; afterwards a slow idle pulse.
   Base styles = the finished state, so no-JS and reduced-motion visitors see it statically. */
.hero-scene { margin: 0; min-width: 0; }
.scene-tilt {
  position: relative; border-radius: 18px;
  transform: perspective(1100px) rotateY(calc(var(--tx, 0) * 3.5deg)) rotateX(calc(var(--ty, 0) * -3deg));
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.scene-tilt::before { /* soft outer glow, pulses gently when idle */
  content: ""; position: absolute; inset: 0; border-radius: 18px; z-index: -1; pointer-events: none;
  box-shadow: 0 0 46px 2px rgba(56,189,248,.35), 0 0 120px -10px rgba(21,86,207,.55); opacity: .6;
}
.scene-frame {
  position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #13263C;
  border: 1px solid rgba(128,218,255,.35);
  box-shadow: 0 0 0 1px rgba(5,11,22,.6), 0 30px 80px -24px rgba(56,189,248,.45);
}
.scene-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-dim { position: absolute; inset: 0; background: rgba(4,10,20,.5); opacity: 0; pointer-events: none; }
.scene-scan {
  position: absolute; inset: -48px 0 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(128,218,255,.06) 0 1px, transparent 1px 4px);
}
.scene-net, .scene-status { transform: translate3d(calc(var(--tx, 0) * -7px), calc(var(--ty, 0) * -5px), 0); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.scene-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.scene-net * { transform-box: view-box; transform-origin: 0 0; }
.link, .flow { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.link { stroke: rgba(128,218,255,.7); stroke-width: 1.25px; stroke-dasharray: 1; stroke-dashoffset: 0; }
.flow { stroke: #DFF7FF; stroke-width: 2px; stroke-dasharray: .012 .088; opacity: 0; }
.halo { fill: url(#node-glow); }
.core { fill: #E6FBFF; }
.ring { fill: none; stroke: #80DAFF; stroke-width: 1.5px; vector-effect: non-scaling-stroke; opacity: 0; }
.wifi { fill: none; stroke: #80DAFF; stroke-width: 1.6px; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.scene-beam { position: absolute; inset: 0; pointer-events: none; opacity: 0; transform: translateX(-100%); }
.scene-beam::before { /* trailing scan band */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 24%;
  background: linear-gradient(90deg, rgba(128,218,255,0), rgba(128,218,255,.08) 55%, rgba(128,218,255,.32));
}
.scene-beam::after { /* the laser edge */
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: #EAFBFF;
  box-shadow: 0 0 10px 2px rgba(128,218,255,.95), 0 0 36px 8px rgba(56,189,248,.55);
}
.hud { position: absolute; width: 22px; height: 22px; border: 2px solid var(--cyan); opacity: .85; filter: drop-shadow(0 0 4px rgba(128,218,255,.8)); }
.hud--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; transform-origin: 0 0; }
.hud--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; transform-origin: 100% 0; }
.hud--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.hud--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.scene-status {
  position: absolute; top: 16px; right: 18px; bottom: 16px; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
}
.scene-status li {
  display: inline-flex; align-items: center; gap: .4rem; padding: .36rem .6rem; border-radius: 8px;
  font: 600 .74rem/1.2 var(--mono); letter-spacing: .02em; color: #DCF6FF; white-space: nowrap;
  background: rgba(6,14,27,.86); border: 1px solid rgba(128,218,255,.38);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.6);
}
.scene-status b { color: var(--cyan); font-weight: 700; }
.scene-status .sep { color: rgba(167,184,206,.8); }
.scene-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #6EF2C0; box-shadow: 0 0 6px #6EF2C0; flex: none; }
.scene-status .is-final {
  color: #fff; border-color: rgba(181,233,255,.85); margin-top: auto; padding: .45rem .75rem; font-size: .8rem; /* sits bottom-right, on the lawn */
  background: linear-gradient(90deg, rgba(21,86,207,.95), rgba(14,140,210,.95));
  box-shadow: 0 0 0 1px rgba(128,218,255,.25), 0 0 26px rgba(128,218,255,.5);
}
.scene-status .is-final b { color: #fff; }
.scene-status .is-final .sep { color: rgba(234,251,255,.75); }
.scene-status .is-final svg { width: 15px; height: 15px; flex: none; color: #fff; }
.scene-chip {
  position: absolute; left: 18px; bottom: 16px; margin: 0; max-width: calc(100% - 36px);
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem;
  font: 600 .8rem/1.3 var(--mono); letter-spacing: .04em; color: #DCF6FF;
  background: rgba(7,17,31,.86); border: 1px solid rgba(128,218,255,.45); border-radius: 999px;
}
.scene-chip svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.hero-scene figcaption { font-size: .85rem; color: var(--on-dark-muted); padding: .7rem .25rem 0; line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  /* start state while waiting for the image (only when JS is there to start the show) */
  .js .hero-scene:not(.is-live) .scene-layer { clip-path: inset(0 100% 0 0); }
  .js .hero-scene:not(.is-live) .scene-dim { opacity: 1; }
  .js .hero-scene:not(.is-live) :is(.node, .link, .scene-status li, .hud) { opacity: 0; }

  .is-live .hud { animation: hud-lock .6s cubic-bezier(.2,.9,.3,1) .05s backwards, hud-breathe 3.6s ease-in-out 7s infinite; }
  .is-live .scene-dim { animation: dim-wipe 2.8s linear .4s backwards; }
  .is-live .scene-layer { animation: reveal 2.8s linear .4s backwards, breathe 7s ease-in-out 7.4s infinite; }
  .is-live .scene-beam { animation: beam 2.8s linear .4s, beam-idle 11s ease-in-out 9s infinite; }
  .is-live .scene-scan { animation: scan-drift 7s linear infinite; }
  .is-live .core { animation: pop .5s cubic-bezier(.2,1.6,.4,1) var(--d) backwards; }
  .is-live .halo { animation: halo-in .7s ease-out var(--d) backwards, halo-idle 4.8s ease-in-out calc(var(--d) + 5s) infinite; }
  .is-live .ring { animation: ping 1.1s cubic-bezier(.1,.6,.3,1) var(--d), ping 1.6s cubic-bezier(.1,.6,.3,1) calc(var(--d) + 6s) infinite; }
  .is-live .ring--2 { animation: ping 1.3s cubic-bezier(.1,.6,.3,1) calc(var(--d) + .18s); }
  .is-live .node--hub .ring { animation: ping 1.2s cubic-bezier(.1,.6,.3,1) var(--d), ping 2.2s cubic-bezier(.1,.6,.3,1) 7.2s infinite; }
  .is-live .wifi { animation: fade-in .6s ease-out calc(var(--d) + .2s) backwards; }
  .is-live .link { animation: draw .7s cubic-bezier(.5,0,.3,1) var(--d) backwards; }
  .is-live .flow { animation: fade-to .8s ease-out var(--d) forwards, flow 2.8s linear var(--d) infinite; }
  .is-live .scene-status li { animation: chip-in .55s cubic-bezier(.2,1.3,.35,1) var(--d) backwards; }
  .is-live .scene-status .is-final { animation: chip-in .6s cubic-bezier(.2,1.3,.35,1) var(--d) backwards, final-glow 3.6s ease-in-out calc(var(--d) + 1s) infinite; }
  .is-live .scene-status .dot { animation: dot-blink 2.4s ease-in-out calc(var(--d) + 1.5s) infinite; }
  .is-live .scene-tilt::before { animation: frame-glow 4.2s ease-in-out 6.8s infinite; }
}
@keyframes hud-lock { from { opacity: 0; transform: scale(2.2); } 60% { opacity: 1; } to { opacity: .85; transform: none; } }
@keyframes hud-breathe { 0%, 100% { opacity: .85; } 50% { opacity: .45; } }
@keyframes dim-wipe { from { opacity: 1; clip-path: inset(0 0 0 0); } to { opacity: 1; clip-path: inset(0 0 0 100%); } }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .84; } }
@keyframes beam { 0% { opacity: 0; transform: translateX(-100%); } 4%, 94% { opacity: 1; } 100% { opacity: 0; transform: translateX(0); } }
@keyframes beam-idle { 0% { opacity: 0; transform: translateX(-100%); } 4% { opacity: .3; } 30% { opacity: .3; transform: translateX(0); } 32%, 100% { opacity: 0; transform: translateX(0); } }
@keyframes scan-drift { from { transform: translateY(0); } to { transform: translateY(48px); } }
@keyframes pop { from { transform: scale(0); } to { transform: none; } }
@keyframes halo-in { from { opacity: 0; transform: scale(.2); } 50% { opacity: 1; transform: scale(1.35); } to { opacity: 1; transform: none; } }
@keyframes halo-idle { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes ping { from { opacity: .95; transform: scale(.35); } to { opacity: 0; transform: scale(2.4); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-to { from { opacity: 0; } to { opacity: .85; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.1; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(-8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes final-glow { 0%, 100% { box-shadow: 0 0 0 1px rgba(128,218,255,.25), 0 0 26px rgba(128,218,255,.5); } 50% { box-shadow: 0 0 0 1px rgba(128,218,255,.35), 0 0 14px rgba(128,218,255,.28); } }
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes frame-glow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-scene *, .hero-scene *::before, .hero-scene *::after { animation: none !important; transition: none !important; }
  .scene-tilt, .scene-net, .scene-status { transform: none !important; }
}

@media (max-width: 30rem) {
  .hero .btn-row .btn { width: 100%; }
  .scene-chip { left: 10px; bottom: 10px; font-size: .66rem; padding: .32rem .6rem; gap: .35rem; }
  .scene-chip svg { width: 14px; height: 14px; }
  .hud { width: 16px; height: 16px; }
  .scene-status { top: 10px; right: 10px; gap: 4px; }
  .scene-status li { font-size: .6rem; padding: .26rem .45rem; gap: .3rem; border-radius: 6px; }
  .scene-status .is-final { padding: .3rem .5rem; margin-top: 2px; font-size: .62rem; }
  .scene-status .is-final svg { width: 12px; height: 12px; }
  .scene-status .opt { display: none; }
  .node { transform: scale(1.6); }
}
@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 3rem; }
  .hero { padding: 4.75rem 0 4.5rem; }
}

/* Brand strip (dark, continues the hero) */
.brands { text-align: center; padding: 2.25rem 0 2rem; background: var(--night); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.brands h2 { font-size: 1.2rem; margin-bottom: 1rem; color: #fff; font-weight: 700; }
.brand-list { list-style: none; padding: 0; margin: 0 0 .9rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.brand-list li { padding: .4rem 1.05rem; border: 1px solid rgba(128,218,255,.3); border-radius: 999px; font-weight: 650; color: #fff; background: rgba(128,218,255,.06); letter-spacing: .01em; }
.brands .small { color: var(--on-dark-muted); font-size: .95rem; margin: 0; }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 46rem) and (max-width: 59.99rem) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue), #38BDF8 60%, transparent);
}
.card h3 { margin-bottom: .35em; }
.card .tagline { font-weight: 650; color: var(--text); }
.card .price { font-size: 1.15rem; color: var(--navy); margin: .25rem 0 .75rem; }
.card .price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--blue); }
.card .fine { font-size: .95rem; color: var(--muted); }
.card .card-cta { margin-top: auto; padding-top: .75rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-900), #17396A); color: var(--cyan); margin-bottom: 1rem; flex: none;
  box-shadow: 0 0 0 1px rgba(128,218,255,.25), 0 8px 18px -8px rgba(21,86,207,.75);
}
.icon svg { width: 28px; height: 28px; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { position: relative; padding-left: 1.75rem; margin-bottom: .4rem; }
.checks li::before {
  content: ""; position: absolute; left: .2rem; top: .55em; width: .8rem; height: .45rem;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg);
}
.badge {
  display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue), #1F6FE0); color: #fff; padding: .38rem .6rem; border-radius: 6px; vertical-align: middle;
  margin-bottom: .6rem;
}
h2 .badge, h3 .badge { margin: 0 0 0 .5rem; position: relative; top: -.15em; }
.eyebrow .badge { margin: 0; letter-spacing: .08em; }

/* Dark band section (home "how it works") */
.section--dark {
  position: relative; isolation: isolate; color: var(--on-dark);
  background: radial-gradient(50rem 26rem at 0% 0%, rgba(21,86,207,.28), transparent 60%), var(--navy-900);
}
.section--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-head p, .section--dark p { color: var(--on-dark); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 12px;
  background: var(--navy-900); color: var(--cyan); font: 700 1.05rem/1 var(--mono); margin-bottom: .9rem;
  border: 1px solid rgba(128,218,255,.45); box-shadow: 0 0 18px -4px rgba(128,218,255,.5);
}
.steps h3 { font-size: 1.22rem; }
.section--dark .steps li { background: rgba(255,255,255,.04); border-color: var(--line-dark); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Why us */
.why { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60rem) { .why { grid-template-columns: repeat(4, 1fr); } }
.why div { display: flex; flex-direction: column; }
.why h3 { font-size: 1.15rem; margin-bottom: .3em; }
.why p { color: var(--muted); font-size: 1.05rem; }

/* CTA band */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding: 3.75rem 0;
  background: radial-gradient(40rem 20rem at 50% 0%, rgba(56,189,248,.22), transparent 70%), var(--navy-900);
  border-top: 1px solid var(--line-dark);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); }
.cta-band a:not(.btn) { color: var(--cyan); }
.cta-band a:not(.btn):hover { color: #fff; }
.cta-band .btn-row { justify-content: center; }
.contact-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; font-size: 1.05rem; }
.contact-inline a { display: inline-flex; align-items: center; gap: .4rem; overflow-wrap: anywhere; }
.contact-inline svg { width: 20px; height: 20px; flex: none; }

/* Page header (inner pages): matching dark band */
.page-head {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); padding: 3rem 0 2.6rem;
  background: radial-gradient(50rem 24rem at 100% 0%, #12305A 0%, transparent 65%), var(--navy-900);
  border-bottom: 1px solid var(--line-dark);
}
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grid); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 15%, transparent 75%); }
.page-head h1 { color: #fff; }
.page-head .eyebrow { color: var(--cyan); }
.page-head .lead { max-width: 46rem; margin-bottom: 0; color: var(--on-dark); }
.page-head a:not(.btn) { color: var(--cyan); }
.page-head a:not(.btn):hover { color: #fff; }

/* Notes / callouts */
.note {
  background: #fff; border-left: 5px solid var(--blue); border-radius: 12px;
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow); margin-bottom: 2rem;
}
.note h2 { font-size: 1.35rem; }
.note ul { margin: 0; padding-left: 1.2rem; }
.note li { margin-bottom: .4rem; }

/* Accordions (native <details>) */
.accordion { display: grid; gap: .75rem; }
details.acc { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
details.acc > summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font: 750 1.15rem/1.3 var(--sans); color: var(--navy); border-radius: 12px; letter-spacing: -.01em;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after {
  content: ""; flex: none; width: .7rem; height: .7rem; margin-right: .3rem;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: rotate(45deg); transition: transform .2s;
}
details.acc[open] > summary::after { transform: rotate(-135deg); }
details.acc > summary:hover { background: var(--tint); }
details.acc[open] > summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.acc-body { padding: 1rem 1.25rem 1.25rem; }
.acc-body > :last-child { margin-bottom: 0; }
.summary-meta { font: 500 1rem var(--sans); color: var(--muted); margin-left: auto; }
details.faq > summary { font: 650 1.1rem/1.4 var(--sans); color: var(--text); letter-spacing: 0; }

/* Price tables */
.price-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.price-table th, .price-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { font: 600 .8rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 750; color: var(--blue); }
.price-table th:last-child { color: var(--muted); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table .desc { display: block; font-size: .95rem; color: var(--muted); font-weight: 400; }

/* Packages */
.pkg { scroll-margin-top: 1rem; }
.pkg + .pkg { border-top: 1px solid var(--line); }
.tier .price strong { font-size: 1.75rem; }
.tier .price span { font-size: 1rem; color: var(--muted); }
.jump, .toc { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.jump a, .toc a { padding: .5rem 1rem; border-radius: 999px; background: rgba(128,218,255,.08); border: 1px solid rgba(128,218,255,.35); text-decoration: none; font-weight: 600; }
.page-head .jump a, .page-head .toc a { color: #fff; }
.jump a:hover, .toc a:hover { background: rgba(128,218,255,.2); border-color: var(--cyan); }
.toc { margin-top: 1.25rem; }
.toc a { padding: .45rem .95rem; }

/* About */
.portrait {
  border-radius: var(--radius); background: var(--tint); aspect-ratio: 4 / 5; display: grid; place-items: center;
  border: 2px dashed #8DB4EA; color: var(--navy); text-align: center; padding: 1.5rem; font-size: 1rem;
}
.portrait svg { width: 96px; height: 96px; margin-bottom: .5rem; color: var(--blue); }
@media (min-width: 52rem) { .about-grid { grid-template-columns: 2fr 1fr; align-items: start; } }

/* Form */
.book-grid { display: grid; gap: 2rem; }
@media (min-width: 60rem) { .book-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.form::before { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue), #38BDF8 60%, transparent); }
.field { margin-bottom: 1.25rem; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: .35rem; }
.field .hint { display: block; font-size: .95rem; color: var(--muted); font-weight: 400; margin-top: -.15rem; margin-bottom: .4rem; }
.req { color: var(--new); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 1.1rem; color: var(--text); background: #fff;
  border: 2px solid #8593A6; border-radius: 10px; padding: .7rem .8rem; min-height: 50px;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--blue); }
fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.choice input, .consent input { width: 1.3rem; height: 1.3rem; accent-color: var(--blue); flex: none; }
/* "What do you need help with?" multi-select chips */
.svc-field legend { margin-bottom: .2rem; }
.svc-group { margin-top: .9rem; }
.svc-group-title { font: 600 .78rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.svc-grid { display: grid; gap: .5rem; }
@media (min-width: 36rem) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc {
  position: relative; display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .6rem .8rem;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s, color .15s;
}
.field .svc { display: flex; margin: 0; font-weight: 400; } /* beat the generic ".field label" rule */
.svc:hover { border-color: #8DB4EA; background: var(--tint); }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.svc-box {
  flex: none; width: 1.35rem; height: 1.35rem; border-radius: 6px; border: 2px solid #8593A6; background: #fff;
  display: grid; place-items: center; transition: background-color .15s, border-color .15s;
}
.svc-box::after {
  content: ""; width: .38rem; height: .7rem; margin-top: -.15rem; border: solid #06223A; border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0); transition: transform .15s;
}
.svc-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.svc-name { font-weight: 600; font-size: 1rem; color: var(--text); }
.svc-price { font-size: .88rem; color: var(--muted); }
/* checked: dark navy chip with cyan accents (matches the site's dark theme) */
.svc:has(input:checked) {
  background: linear-gradient(135deg, var(--navy-900), #12305A); border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(128,218,255,.35), 0 8px 20px -10px rgba(21,86,207,.8);
}
.svc:has(input:checked) .svc-name { color: #fff; }
.svc:has(input:checked) .svc-price { color: var(--cyan); }
.svc:has(input:checked) .svc-box { background: var(--cyan); border-color: var(--cyan); }
.svc:has(input:checked) .svc-box::after { transform: rotate(45deg) scale(1); }
.svc:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc-field.is-invalid .svc:not(:has(input:checked)) { border-color: #D9A39C; }
.field-error { margin: .5rem 0 0; padding: .55rem .8rem; border-left: 4px solid var(--new); background: #FDECEA; border-radius: 8px; color: #7A1A12; font-weight: 600; font-size: 1rem; }
.field-error[hidden] { display: none; }
.other-wrap { display: none; margin-top: .75rem; }
.other-wrap label { display: block; font-weight: 600; margin-bottom: .35rem; }
.svc-field:has(#svc-other:checked) .other-wrap { display: block; }
@media (forced-colors: active) { .svc:has(input:checked) { border-width: 4px; } .svc-box::after { border-color: CanvasText; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400 !important; }
.consent input { margin-top: .25rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: var(--tint); border-left: 5px solid var(--blue); padding: 1rem 1.25rem; border-radius: 10px; }
.form-status.err { background: #FDECEA; border-left: 5px solid var(--new); padding: 1rem 1.25rem; border-radius: 10px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: .2rem; }
.contact-list .btn svg { margin-top: 0; color: currentColor; }

/* Policies */
.policy h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.policy-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-top: 1rem; scroll-margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 3rem 0 2rem; font-size: 1rem; border-top: 1px solid var(--line-dark); box-shadow: inset 0 1px 0 rgba(128,218,255,.08); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: var(--cyan); font: 600 .85rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: .5rem; }
.footer-brand img { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(56,140,255,.5)); }
.disclaimer { border-top: 1px solid rgba(128,218,255,.15); margin-top: 2rem; padding-top: 1.25rem; font-size: .95rem; color: var(--on-dark-muted); }

/* 404 */
.notfound { text-align: center; padding: 5rem 0; }
.notfound svg { width: 120px; height: 120px; margin-bottom: 1rem; }

/* Light focus ring on dark backgrounds */
.skip-link:focus-visible { outline-color: var(--focus-dark); }
.section--tint .icon { box-shadow: 0 0 0 1px rgba(128,218,255,.25); }

/* "Equipment not included" line on priced cards */
.equip { display: flex; gap: .55rem; align-items: flex-start; background: var(--tint); border: 1px solid #D3E3FA; border-radius: 10px; padding: .65rem .8rem; font-size: .98rem; line-height: 1.45; color: var(--text); margin: .25rem 0 1rem; }
.equip svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: .1rem; }
.section--tint .equip { background: #fff; }
