/* Tron Systems · tronsystems.in */

:root {
  --white: #ffffff;
  --mist: #f2f6f7;
  --ink: #0d1b24;
  --ink-2: #34444f;
  --muted: #66757e;
  --rule: #dbe3e6;

  /* brand (from the logo) */
  --navy: #0b3d5c;
  --navy-deep: #072b41;
  --teal: #0e9c9a;
  --teal-bright: #19c2bc;
  --teal-ink: #08716f;
  --teal-tint: #dcf3f1;

  /* field work */
  --sun: #ffc23d;
  --sun-deep: #e89f00;
  --sun-ink: #7a4f00;
  --sun-tint: #fff4d8;

  /* products */
  --sales: #1e9e5e;
  --sales-deep: #0f6a3c;
  --sales-tint: #e2f5ea;
  --queue: #34c26b;
  --queue-bg: #0f1e33;
  --queue-card: #172a45;
  --route: #1f6fe0;
  --route-deep: #1250a8;
  --route-tint: #e3edfd;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 70px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Type ---------- */
.label, .kicker, .minor, .status, .foot-h, figcaption, .door-tag {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.label { color: var(--teal-ink); margin-bottom: 18px; font-weight: 500; }
.label-teal { color: var(--teal-ink); }
.label-amber { color: var(--sun-ink); }
.label-light { color: var(--sun); }
.kicker { margin-bottom: 22px; font-weight: 500; }
.minor { font-weight: 500; color: var(--muted); margin: 0 0 16px; }
.minor.sub { margin-top: clamp(56px, 7vw, 88px); }
.small { font-size: 15px; color: var(--muted); }

h1 { font-size: clamp(36px, 4.6vw, 62px); font-variation-settings: "wdth" 110; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(30px, 3.4vw, 46px); font-variation-settings: "wdth" 108; }
.lede { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15.5px/1 var(--sans);
  font-variation-settings: "wdth" 106;
  background: var(--navy); color: #fff;
  border: 0; border-radius: 999px;
  padding: 17px 26px;
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn::after { content: "→"; transition: transform .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); }
.btn:hover::after { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #ffcd5c; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-sales { background: var(--sales); }
.btn-queue { background: var(--queue); color: var(--queue-bg); }
.btn-route { background: var(--route); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }
.as-btn { background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled { border-color: var(--rule); box-shadow: 0 8px 24px -20px rgba(13,27,36,.5); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand span { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; font-variation-settings: "wdth" 118; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--teal-tint); }
.nav .nav-cta { margin-left: 10px; background: var(--sun); color: var(--ink); font-weight: 600; }
.nav .nav-cta:hover { background: #ffcd5c; }
.header-phone { font-family: var(--mono); font-size: 13.5px; text-decoration: none; padding-left: 20px; border-left: 1px solid var(--rule); white-space: nowrap; }
.header-phone:hover { color: var(--teal-ink); }
.menu-btn { display: none; }

.site-header.on-dark { background: var(--navy); color: #fff; }
.site-header.on-dark.scrolled { border-color: rgba(255,255,255,.08); }
.on-dark .nav a { color: #cfe0e8; }
.on-dark .nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.on-dark .nav a[aria-current="page"] { background: rgba(25,194,188,.18); color: #fff; }
.on-dark .nav .nav-cta { color: var(--ink); }
.on-dark .header-phone { border-color: rgba(255,255,255,.18); }
.on-dark .header-phone:hover { color: var(--sun); }

/* ---------- Home hero ---------- */
.home-hero { background: var(--navy); color: #fff; padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.home-hero .kicker { color: var(--teal-bright); }
.home-hero h1 { font-size: clamp(34px, 3.55vw, 54px); font-variation-settings: "wdth" 112; }
h1 .l { display: block; white-space: nowrap; }
h1 .soft { display: block; margin-top: .3em; font-size: .62em; line-height: 1.1; color: var(--sun); font-weight: 500; font-variation-settings: "wdth" 100; letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance; }
.home-hero .lede { margin-top: 26px; color: #cfe0e8; max-width: 46ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.home-hero .link-arrow { color: #fff; }

.hero-drawing { margin: 0; color: #e3eef3; }
.hero-drawing figcaption { color: #8fb0c2; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.14); text-transform: none; letter-spacing: .02em; }

.drawing { width: 100%; height: auto; --draw-bg: var(--navy); }
.drawing .gridline { fill: none; stroke: currentColor; stroke-opacity: .07; }
.drawing .s { fill: none; stroke: currentColor; stroke-width: 1.5; }
.drawing .thin { stroke-width: .9; }
.drawing .faint { stroke-opacity: .3; }
.drawing .dash { stroke-dasharray: 2 6; }
.drawing .f { fill: currentColor; }
.drawing .b { fill: var(--draw-bg); stroke: currentColor; stroke-width: 1.2; }
.drawing .t { fill: currentColor; font-family: var(--mono); font-size: 10.5px; }
.drawing .dim { fill-opacity: .6; }
.drawing .pv { fill: #2b7fc8; }
.drawing .sunfill { fill: var(--sun); }
.drawing .sunray { stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; }
.drawing .ray { stroke: var(--sun); stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.drawing .cone { fill: var(--teal-bright); fill-opacity: .26; }
.drawing .wire-cam { fill: none; stroke: var(--teal-bright); stroke-width: 1.3; stroke-dasharray: 4 4; }
.drawing .wire-sun { fill: none; stroke: var(--sun); stroke-width: 1.3; stroke-dasharray: 4 4; }

.cone { transform-box: fill-box; animation: sweep-a 7s ease-in-out infinite; }
.cone-a { transform-origin: 100% 0; }
.cone-b { transform-origin: 0 0; animation-name: sweep-b; animation-delay: -3.5s; }
@keyframes sweep-a { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-7deg); } }
@keyframes sweep-b { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(7deg); } }
.sun .sunray { transform-origin: 0 0; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cone, .sun .sunray { animation: none; } }

/* ---------- Home intro ---------- */
.home-intro { padding: clamp(60px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-big { font-size: clamp(22px, 2.3vw, 31px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: "wdth" 104; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: var(--mist); border-radius: var(--radius); padding: 16px 18px; }
.facts div:nth-child(1) { background: var(--teal-tint); }
.facts div:nth-child(3) { background: var(--sun-tint); }
.facts dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 4px 0 0; font-weight: 600; font-size: 16.5px; }

/* ---------- Doors ---------- */
.doors { padding: clamp(20px, 3vw, 40px) 0 clamp(60px, 8vw, 110px); }
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 22px; text-decoration: none; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.door:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(13,27,36,.6); }
.door-field { background: var(--sun); color: var(--ink); }
.door-soft { background: var(--teal); color: #fff; }
.door-tag { font-weight: 500; opacity: .75; margin-bottom: 14px; }
.door h2 { font-size: clamp(30px, 3.2vw, 44px); }
.door-text { margin-top: 14px; max-width: 40ch; font-size: 17px; opacity: .9; }
.door-list { margin: 30px 0 34px; display: grid; gap: 4px; }
.door-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 20%, transparent); }
.door-list svg { width: 40px; height: 40px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.door-list span:last-child { display: flex; flex-direction: column; font-size: 14.5px; opacity: .92; line-height: 1.4; }
.door-list b { font-size: 17.5px; font-weight: 600; opacity: 1; }
.door-go { margin-top: auto; align-self: flex-start; font-weight: 600; border-radius: 999px; padding: 14px 22px; display: inline-flex; gap: 10px; }
.door-go::after { content: "→"; transition: transform .15s; }
.door:hover .door-go::after { transform: translateX(4px); }
.door-field .door-go { background: var(--ink); color: #fff; }
.door-soft .door-go { background: #fff; color: var(--teal-ink); }
.door-soft .plogo-text { background: rgba(255,255,255,.18); color: #fff; }

/* product logo slots */
.plogo { display: inline-flex; flex: none; width: 40px; height: 40px; }
.plogo img { width: 100%; height: 100%; border-radius: 10px; }
.plogo:empty { display: none; }
.plogo-text { align-items: center; justify-content: center; border-radius: 10px; background: var(--sales); color: #fff; font: 600 13px/1 var(--mono); }
.plogo-lg { width: 52px; height: 52px; }
.plogo-lg img, .plogo-lg.plogo-text { border-radius: 13px; }

/* ---------- Why both ---------- */
.why { padding: clamp(64px, 8vw, 112px) 0; }
.why-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.why-head .label { grid-column: 1 / -1; }
.why-head h2 { max-width: 16ch; }
.why-head > p:last-child { color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.saw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.saw-card { border-radius: 22px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 300px; position: relative; overflow: hidden; }
.saw-card::before { content: "\201C"; position: absolute; right: 18px; top: -18px; font: 700 150px/1 var(--sans); opacity: .14; }
.saw-queue { background: var(--queue-bg); color: #fff; }
.saw-sales { background: var(--sales); color: #fff; }
.saw-route { background: var(--route); color: #fff; }
.saw-q { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; font-variation-settings: "wdth" 104; position: relative; }
.saw-q small, .saw-a small { display: block; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-bottom: 10px; }
.saw-a { display: flex; align-items: center; gap: 14px; text-decoration: none; background: rgba(255,255,255,.14); border-radius: 14px; padding: 12px 14px; transition: background .15s; }
.saw-a:hover { background: rgba(255,255,255,.24); }
.saw-a small { margin-bottom: 2px; }
.saw-a b { font-size: 17px; }
.saw-a::after { content: "→"; margin-left: auto; font-weight: 600; transition: transform .15s; }
.saw-a:hover::after { transform: translateX(3px); }
.saw-queue .saw-a b { color: var(--queue); }
.saw-sales .plogo-text { background: rgba(255,255,255,.22); }

.areas { background: var(--sun); padding: clamp(36px, 4vw, 52px) 0; }
.areas-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px 48px; align-items: center; }
.areas-h { font-size: clamp(24px, 2.4vw, 32px); max-width: 12ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink); font-weight: 500; }
.chips-sun { margin: 0; }
.chips-sun li { background: rgba(255,255,255,.65); color: var(--ink); }
.chips-sun .chip-more { background: var(--ink); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(52px, 6vw, 80px) 0; }
.cta-teal { background: var(--teal); }
.cta-navy { background: var(--navy-deep); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.cta-row h2 { max-width: 22ch; font-size: clamp(26px, 2.8vw, 38px); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-phone { font-family: var(--mono); font-size: 14px; text-decoration: none; opacity: .85; }
.cta-phone:hover { opacity: 1; text-decoration: underline; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); }
.hero-sun { background: var(--sun); color: var(--ink); }
.hero-teal { background: var(--teal); color: #fff; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.page-hero h1 { max-width: 16ch; }
.page-hero .kicker { opacity: .8; }
.page-hero .lede { opacity: .92; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 18px 11px 12px; transition: background .15s; }
.jump a span { font: 500 11.5px var(--mono); background: var(--sun); color: var(--ink); border-radius: 999px; padding: 3px 7px; }
.jump a:hover { background: var(--navy); }

/* ---------- Sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head h2 { max-width: 18ch; }
.sec-head > p:not(.label) { margin-top: 20px; color: var(--ink-2); max-width: 54ch; font-size: 18px; }
.sec-sun { background: var(--sun-tint); }
.sec-navy { background: var(--navy); color: #fff; }

/* CCTV plan */
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.plan-card { margin: 0; background: var(--mist); border-radius: 20px; padding: clamp(16px, 2.5vw, 28px); }
.plan { width: 100%; height: auto; }
.plan .cw { fill: none; stroke: #9aa9b1; stroke-width: 2; stroke-dasharray: 6 5; }
.plan .gate { stroke: var(--sun-deep); stroke-width: 5; stroke-linecap: round; }
.plan .pc { fill: var(--teal-bright); fill-opacity: .25; }
.plan .porch { fill: none; stroke: #b6c3c9; stroke-width: 1.2; stroke-dasharray: 4 4; }
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: square; }
.plan .pt { font: 500 10.5px var(--mono); fill: var(--muted); letter-spacing: .04em; }
.plan .pw { fill: #fff; }
.plan .nvr { fill: var(--navy); }
.plan .cable { fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-dasharray: 3 4; }
.plan .cam circle { fill: var(--teal); stroke: #fff; stroke-width: 3; }
.plan .ct text { font: 600 12px var(--mono); fill: var(--teal-ink); }
.plan-card figcaption { color: var(--muted); margin-top: 14px; text-transform: none; letter-spacing: .01em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.key { display: inline-block; width: 14px; height: 10px; border-radius: 2px; vertical-align: middle; }
.key-cone { background: rgba(25,194,188,.35); }
.key-cable { height: 0; border-top: 2px dashed var(--teal); border-radius: 0; }

.steps { counter-reset: s; margin-bottom: 32px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; color: var(--ink-2); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 13px var(--mono); background: var(--teal-tint); color: var(--teal-ink);
}
.steps li::after { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--teal-tint); }
.steps li:last-child::after { display: none; }
.steps b { color: var(--ink); font-weight: 600; }

.cam-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cam-types li { background: var(--mist); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.cam-types svg { width: 56px; height: 56px; padding: 8px; margin-bottom: 10px; border-radius: 12px; background: var(--teal); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cam-types li:nth-child(2) svg { background: var(--navy); }
.cam-types li:nth-child(3) svg { background: var(--sun); stroke: var(--ink); }
.cam-types li:nth-child(4) svg { background: var(--teal-ink); }
.cam-types b { font-size: 18px; }
.cam-types span { color: var(--ink-2); font-size: 15px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 88px); }

.checks li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-tint); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 19px; width: 8px; height: 4.5px; border-left: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(-45deg); }
.checks-amber li { border-color: #f1dfae; }
.checks-amber li::before { background: var(--sun); }
.checks-amber li::after { border-color: var(--ink); }

.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 36px 15px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 400 24px var(--sans); color: var(--teal-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 62ch; }
.faq-wide { margin-top: clamp(56px, 7vw, 88px); max-width: 860px; }
.sec-sun .faq details { border-color: #f1dfae; }
.sec-sun .faq summary::after { color: var(--sun-ink); }

/* Solar */
.solar-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.solar-grid .minor { margin-top: 40px; }
.calc { background: var(--white); border-radius: 22px; padding: clamp(24px, 3vw, 38px); box-shadow: 0 30px 60px -40px rgba(122,79,0,.55); border-top: 8px solid var(--sun); }
.calc-head h3 { font-size: 24px; font-variation-settings: "wdth" 106; }
.calc-head p { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.calc-input { display: block; margin-top: 24px; }
.calc-input > span:first-child { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.calc-field { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--ink); }
.calc-field input { flex: 1; min-width: 0; font: 700 46px/1.15 var(--sans); font-variation-settings: "wdth" 110; border: 0; background: transparent; color: var(--ink); padding: 0; letter-spacing: -0.02em; -moz-appearance: textfield; appearance: textfield; }
.calc-field input::-webkit-outer-spin-button, .calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-field input:focus { outline: none; }
.calc-field:focus-within { border-color: var(--sun-deep); }
.calc-field span { font-family: var(--mono); color: var(--muted); }
input[type=range] { width: 100%; margin: 18px 0 4px; accent-color: var(--sun-deep); height: 24px; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.calc-out div { padding: 14px 16px; border-radius: 12px; background: var(--mist); }
.calc-out div.hi { background: var(--sun); }
.calc-out dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.calc-out .hi dt { color: var(--sun-ink); }
.calc-out dd { margin: 2px 0 0; font-size: 16px; font-weight: 500; }
.calc-out output { font-size: 30px; font-weight: 700; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; }
.calc-note { color: var(--muted); margin: 18px 0 22px; font-size: 13.5px; line-height: 1.55; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: f; }
.flow li { counter-increment: f; background: var(--white); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.flow li::before { content: counter(f); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font: 600 13px var(--mono); margin-bottom: 10px; }
.flow li:last-child::before { background: var(--teal); color: #fff; }
.flow b { font-size: 17px; }
.flow span { font-size: 14.5px; color: var(--ink-2); }

/* Support */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sec-navy h2 { max-width: 17ch; }
.support-lede { margin-top: 22px; color: #cfe0e8; font-size: 18px; max-width: 50ch; }
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.s-card { background: var(--navy-deep); border-radius: 18px; padding: 26px; }
.s-card h3 { font-size: 21px; margin-bottom: 14px; color: var(--sun); }
.support-cards .btn { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }

.plain li { position: relative; padding: 8px 0 8px 22px; }
.plain li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; opacity: .55; }
.s-card .plain li { color: #d4e2e9; border-top: 1px solid rgba(255,255,255,.08); }
.s-card .plain li:first-child { border-top: 0; }

/* ---------- Software page ---------- */
.prod-jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.pj { display: flex; align-items: center; gap: 14px; text-decoration: none; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 18px; border-bottom: 5px solid var(--pc); transition: transform .15s, box-shadow .15s; }
.pj:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgba(0,0,0,.6); }
.pj > span:last-child { display: flex; flex-direction: column; }
.pj b { font-size: 17px; }
.pj small { display: inline-flex; align-items: center; gap: 7px; font: 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pj-sales { --pc: var(--sales); }
.pj-queue { --pc: var(--queue); }
.pj-route { --pc: var(--route); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-dev { background: var(--sun-deep); }
.dot-live { background: #2fcf7a; box-shadow: 0 0 0 4px rgba(47,207,122,.18); }

.prod { padding: clamp(72px, 9vw, 120px) 0; background: var(--tint); }
.prod-sales { --pc: var(--sales); --pc-deep: var(--sales-deep); --tint: var(--sales-tint); }
.prod-route { --pc: var(--route); --pc-deep: var(--route-deep); --tint: var(--route-tint); }
.prod-queue { --pc: var(--queue); --pc-deep: var(--queue); --tint: var(--queue-bg); color: #e8eef6; }

.prod-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--pc-deep); background: #fff; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; font-weight: 500; }
.prod-queue .status { background: var(--queue-card); color: #b9c7da; }
.prod h2 { display: flex; align-items: center; gap: 16px; font-size: clamp(32px, 3.6vw, 50px); }
.prod-lede { margin: 20px 0 26px; font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.5; max-width: 54ch; color: var(--ink-2); }
.prod-lede em { font-style: normal; color: var(--pc-deep); font-weight: 600; }
.prod-queue .prod-lede { color: #b9c7da; }
.chips-sales li { background: #fff; color: var(--sales-deep); }
.chips-route li { background: #fff; color: var(--route-deep); }
.chips-queue li { background: var(--queue-card); color: var(--queue); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: h; }
.how-4 { grid-template-columns: repeat(4, 1fr); }
.how li { counter-increment: h; background: #fff; border-radius: 18px; padding: 24px; color: var(--ink-2); font-size: 15.5px; }
.how li::before { content: counter(h); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pc); color: #fff; font: 600 14px var(--mono); margin-bottom: 16px; }
.how b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.prod-queue .how li { background: var(--queue-card); color: #b9c7da; }
.prod-queue .how li::before { color: var(--queue-bg); }
.prod-queue .how b { color: #fff; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.prod-sales .feat-grid { margin-top: 16px; }
.feat { background: rgba(255,255,255,.7); border-radius: 16px; padding: 22px; border-left: 4px solid var(--pc); }
.feat b { font-size: 17px; }
.feat p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

.prod-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1.5px solid color-mix(in srgb, var(--pc) 35%, transparent); }
.prod-foot p { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; max-width: 40ch; }

/* mocks */
.mock { border-radius: 18px; font-size: 14.5px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(13,27,36,.55); }
.mock-chat { max-width: 390px; width: 100%; justify-self: end; background: #0f1d25; color: #e8eef0; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--sales-deep); }
.chat-top b { display: block; font-size: 14.5px; }
.chat-top small { color: #a8e6c4; font-size: 12px; }
.chat-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f3c9a3; color: #4a2c12; font: 600 12px var(--mono); }
.chat-body { padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 8px; background: #ece5dc; color: var(--ink); }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 10px; line-height: 1.45; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #d5f7c4; align-self: flex-end; border-top-right-radius: 2px; }
.msg.sys { align-self: center; font: 11.5px var(--mono); color: var(--sales-deep); background: #fff9; box-shadow: none; padding: 4px 10px; border-radius: 999px; }

.mock-queue { display: grid; grid-template-columns: 1fr 1fr; max-width: 460px; width: 100%; justify-self: end; background: var(--queue-card); color: #e8eef6; }
.ticket { padding: 26px 22px; border-right: 1px dashed #33496b; display: flex; flex-direction: column; gap: 4px; background: var(--queue); color: var(--queue-bg); }
.ticket small, .owner small { font: 11.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.ticket strong { font-size: 58px; line-height: 1; font-variation-settings: "wdth" 118; letter-spacing: -0.03em; margin: 8px 0 6px; }
.ticket span { font-size: 14px; font-weight: 500; }
.ticket em { font-style: normal; margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(15,30,51,.25); font-size: 13px; }
.owner { padding: 26px 22px; display: flex; flex-direction: column; }
.owner-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #2a3f5e; font-size: 14px; color: #b9c7da; }
.owner-row b { color: #fff; }
.owner-row.loss b { color: #ff7a59; }
.owner-row:last-child { border-bottom: 0; }

.mock-route { max-width: 430px; width: 100%; justify-self: end; background: #10204a; padding: 20px 20px 0; color: #e8eefc; }
.route-map { width: 100%; height: auto; }
.route-card { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; margin: 8px -20px 0; padding: 16px 20px; background: #fff; color: var(--ink); }
.route-card small { font: 11.5px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.route-card b { font-size: 19px; margin: 2px 0; }
.route-card span { color: var(--ink-2); font-size: 13.5px; }
.route-card button { grid-column: 2; grid-row: 1 / span 3; border: 0; border-radius: 999px; background: #16884a; color: #fff; font: 600 14px var(--sans); padding: 12px 22px; }

/* ---------- Contact page ---------- */
.contact-page { background: var(--mist); padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 9vw, 120px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info .kicker { color: var(--teal-ink); }
.contact-info .lede { margin-top: 20px; color: var(--ink-2); max-width: 42ch; }
.reach-cards { display: grid; gap: 10px; margin-top: 36px; }
.reach-card { display: flex; flex-direction: column; text-decoration: none; padding: 18px 22px; border-radius: 16px; color: #fff; transition: transform .15s; }
.reach-card:hover { transform: translateX(4px); }
.reach-card small { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.reach-card b { font-size: 20px; font-variation-settings: "wdth" 106; }
.rc-call { background: var(--navy); }
.rc-wa { background: var(--sales); }
.rc-mail { background: var(--teal); }
.addr { margin-top: 26px; padding: 20px 22px; background: #fff; border-radius: 16px; line-height: 1.55; display: flex; flex-direction: column; gap: 2px; }
.addr small { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.addr .link-arrow { margin-top: 12px; align-self: flex-start; color: var(--teal-ink); }

.enquiry { background: #fff; border-radius: 22px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 20px; box-shadow: 0 30px 60px -44px rgba(13,27,36,.5); border-top: 8px solid var(--teal); }
.enquiry h2 { font-size: 26px; font-variation-settings: "wdth" 106; }
.enquiry label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.enquiry .opt { font-weight: 400; color: var(--muted); }
.enquiry input:not([type=radio]), .enquiry textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  background: var(--mist); border: 1.5px solid transparent; border-radius: 10px;
  padding: 12px 14px;
}
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.enquiry ::placeholder { color: #98a4ab; }
.need-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.need-pick legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.need-pick label { display: block; }
.need-pick input { position: absolute; opacity: 0; pointer-events: none; }
.need-pick span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--rule); font-weight: 500; font-size: 14.5px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.need-pick label:hover span { border-color: var(--teal); }
.need-pick input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.need-pick input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 4px; }
.form-status { font-size: 15px; }
.form-status.ok { color: var(--teal-ink); font-weight: 600; }
.form-status.err { color: #b23c17; }

.reach-group { margin-top: 36px; }
.reach-h { display: flex; align-items: center; gap: 10px; font-size: 19px; font-variation-settings: "wdth" 106; margin-bottom: 12px; }
.rh-dot { width: 12px; height: 12px; border-radius: 50%; }
.rh-sun { background: var(--sun); }
.rh-teal { background: var(--teal); }
.reach-group .reach-cards { margin-top: 0; }
.reach-group .addr { margin-top: 10px; }
.reach-note { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.hero-note { margin-top: 18px; font-size: 15.5px; opacity: .95; }
.hero-note a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.foot-h2 { margin-top: 18px; }

/* thanks page */
.thanks { min-height: 70vh; display: grid; align-content: center; gap: 22px; padding-block: 80px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b6c2c8; padding: 64px 0 28px; font-size: 15px; }
.site-footer .brand span { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-grid nav, .footer-grid > div:last-child { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--sun); }
.foot-h { color: var(--teal-bright); margin-bottom: 6px; }
.foot-note { margin-top: 16px; max-width: 28ch; }
.foot-base { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 22px; border-top: 1px solid #22313a; font: 12.5px var(--mono); color: #6f7f88; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-phone { display: none; }
  .cam-types, .how-4 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; background: none; border: 1.5px solid currentColor; border-radius: 999px; color: inherit; cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .2s, background .2s; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -6px; }
  .menu-lines::after { top: 6px; }
  .menu-open .menu-lines { background: transparent; }
  .menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: inherit; padding: 12px var(--gutter) 24px;
    background: var(--white); box-shadow: 0 20px 30px -20px rgba(0,0,0,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .15s, transform .15s, visibility .15s;
  }
  .on-dark .nav { background: var(--navy); }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-size: 19px; padding: 13px 16px; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }

  .hero-grid, .page-hero-grid, .intro-grid, .doors-grid, .why-head, .areas-row, .plan-grid, .spec-grid,
  .solar-grid, .support-grid, .prod-top, .contact-grid { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: min(calc((100vw - 2 * var(--gutter)) / 11.2), 56px); }
  .prod-jump, .how, .feat-grid, .saw { grid-template-columns: 1fr; }
  .saw-card { min-height: 0; }
  .mock-chat, .mock-queue, .mock-route { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .facts, .cam-types, .how-4, .support-cards, .row2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .mock-queue { grid-template-columns: 1fr; }
  .ticket { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; gap: 6px; }
}
