:root {
  --red: #cf0000;
  --red-dark: #8e0000;
  --ink: #111a22;
  --ink-2: #17232d;
  --muted: #61707c;
  --paper: #f6f4f1;
  --white: #ffffff;
  --line: rgba(17, 26, 34, .14);
  --shadow: 0 28px 70px rgba(0,0,0,.22);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -80px; background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 250px; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 750; font-size: .91rem; letter-spacing: .02em; }
.site-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { background: var(--ink); color: var(--white); padding: 11px 19px; border-radius: 999px; }
.nav-cta:hover { background: var(--red); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 27px; height: 2px; background: var(--ink); margin: 5px; }

.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 35%, rgba(207,0,0,.18), transparent 24%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 36px 36px, 36px 36px, auto;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; right: -170px; top: -230px; box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.015); }
.hero-grid { min-height: 730px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding-top: 58px; padding-bottom: 80px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 900; color: var(--red); }
.hero h1, .section-heading h2, .product-copy h2, .use-heading h2, .contact-copy h2, .safety-inner h2 {
  font-family: "Arial Black", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.045em;
  line-height: .98;
  margin: 0;
}
.hero h1 { font-size: clamp(3.7rem, 7vw, 7rem); max-width: 760px; }
.hero h1 span, h2 span { color: var(--red); }
.hero-lead { max-width: 680px; color: #c9d0d5; font-size: 1.16rem; margin: 28px 0 34px; }
.hero-actions, .product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; transition: .2s ease; }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 12px 30px rgba(207,0,0,.24); }
.button-primary:hover { transform: translateY(-2px); background: #ee0000; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.09); }
.quick-specs { list-style: none; padding: 0; margin: 48px 0 0; display: flex; gap: 36px; }
.quick-specs li { display: grid; border-left: 2px solid var(--red); padding-left: 14px; }
.quick-specs strong { font-size: 1.35rem; line-height: 1; }
.quick-specs span { color: #98a6b1; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 7px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.red-glow { position: absolute; width: 410px; height: 410px; background: radial-gradient(circle, rgba(207,0,0,.42), transparent 67%); filter: blur(14px); }
.controller-card { width: min(100%, 490px); background: linear-gradient(145deg, #273641, #0c1218 62%); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 25px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.1); transform: perspective(900px) rotateY(-7deg) rotateX(4deg); position: relative; z-index: 2; }
.controller-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 13px; pointer-events: none; }
.controller-topline, .controller-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 2; }
.controller-mark { font-family: "Arial Black", Impact, sans-serif; color: var(--red); font-size: 2.3rem; letter-spacing: -.05em; }
.status-pill { font: 800 .61rem/1 system-ui; letter-spacing: .13em; color: #bfccd4; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 11px; }
.status-pill i { display: inline-block; width: 7px; height: 7px; background: #35e777; border-radius: 50%; margin-right: 6px; box-shadow: 0 0 10px #35e777; }
.controller-body { display: grid; grid-template-columns: 1fr .9fr 1fr; gap: 17px; margin: 28px 0 26px; align-items: stretch; }
.terminal-block, .relay-bank, .board-centre { background: rgba(0,0,0,.27); border: 1px solid rgba(255,255,255,.09); border-radius: 10px; padding: 13px; min-height: 220px; }
.terminal-block > span, .relay-bank > span { color: #7e8e99; font-size: .62rem; font-weight: 900; letter-spacing: .13em; }
.terminals, .relays { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.terminals b { display: grid; place-items: center; height: 66px; border: 2px solid #586875; border-radius: 5px; color: #d9e1e5; background: #141d24; box-shadow: inset 0 -6px 0 rgba(0,0,0,.2); }
.relays b { position: relative; display: grid; place-items: end center; height: 66px; padding-bottom: 8px; border-radius: 4px; font-size: .62rem; color: #aab8c1; background: linear-gradient(#303d47, #1a242c); border: 1px solid #50606b; }
.relays i { position: absolute; width: 15px; height: 15px; border-radius: 50%; background: #330000; border: 2px solid #851010; top: 11px; box-shadow: 0 0 12px rgba(207,0,0,.15); }
.relays b:nth-child(1) i, .relays b:nth-child(3) i { background: var(--red); box-shadow: 0 0 13px var(--red); }
.board-centre { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.board-centre small { font-size: .54rem; letter-spacing: .11em; color: #9babb5; margin-top: 13px; }
.wifi-icon { width: 78px; height: 58px; position: relative; overflow: hidden; }
.wifi-icon i { position: absolute; left: 50%; transform: translateX(-50%); border: 3px solid var(--red); border-color: var(--red) transparent transparent transparent; border-radius: 50%; }
.wifi-icon i:nth-child(1) { width: 75px; height: 75px; top: 9px; }
.wifi-icon i:nth-child(2) { width: 51px; height: 51px; top: 22px; }
.wifi-icon i:nth-child(3) { width: 28px; height: 28px; top: 34px; }
.wifi-icon b { position: absolute; width: 8px; height: 8px; background: var(--red); border-radius: 50%; bottom: 0; left: 50%; transform: translateX(-50%); }
.signal-lines { width: 75%; display: flex; gap: 4px; margin-top: 20px; }
.signal-lines span { height: 3px; flex: 1; background: #4a5963; }
.signal-lines span:first-child { background: var(--red); }
.controller-footer { font-size: .52rem; letter-spacing: .16em; color: #8898a3; }
.danger-stripe { width: 110px; height: 10px; background: repeating-linear-gradient(135deg, var(--red) 0 10px, #121a21 10px 20px); }
.visual-note { position: absolute; z-index: 3; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .72rem; font-weight: 850; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.note-one { top: 55px; right: -5px; }
.note-two { bottom: 28px; left: -15px; }
.circuit-divider { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: min(500px, 70%); }
.circuit-divider span { height: 1px; background: rgba(255,255,255,.16); flex: 1; }
.circuit-divider i { width: 9px; height: 9px; border: 2px solid var(--red); border-radius: 50%; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 30px 24px; border-right: 1px solid var(--line); }
.trust-grid div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.trust-grid span { font-size: .78rem; color: var(--muted); margin-top: 3px; }

.product-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: start; }
.product-copy h2, .section-heading h2, .use-heading h2, .contact-copy h2 { font-size: clamp(2.9rem, 5vw, 5rem); }
.large-copy { font-size: 1.28rem; color: var(--ink); max-width: 750px; }
.product-copy > p:not(.eyebrow) { color: #4f5e69; max-width: 760px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0; }
.feature-tags span { padding: 9px 12px; border: 1px solid var(--line); background: var(--white); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.text-button { border: 0; background: transparent; font-weight: 900; color: var(--ink); padding: 12px 4px; }
.text-button span { color: var(--red); font-size: 1.1rem; }
.product-panel { background: var(--ink); color: var(--white); padding: 36px; box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.13); padding-bottom: 24px; }
.panel-head span { font-family: "Arial Black", Impact, sans-serif; font-size: 3.3rem; color: var(--red); }
.panel-head em { color: #91a0aa; font-size: .74rem; text-transform: uppercase; font-style: normal; letter-spacing: .09em; text-align: right; }
.product-panel dl { margin: 18px 0; }
.product-panel dl div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.product-panel dt { color: #8d9da7; }
.product-panel dd { margin: 0; font-weight: 800; }
.spec-note { color: #91a0aa; font-size: .78rem; margin: 20px 0 0; }

.features-section { background: var(--white); }
.section-heading { max-width: 780px; margin-bottom: 54px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 640px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.feature-card { min-height: 350px; padding: 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; background: #fff; }
.feature-card:nth-child(2n) { border-right: 0; }
.feature-card:nth-child(n+3) { border-bottom: 0; }
.card-number { position: absolute; top: 23px; right: 25px; color: #d9dee1; font: 900 3rem/1 "Arial Black", Impact, sans-serif; }
.feature-card h3, .process-list h3, .use-item h3 { font-size: 1.3rem; margin: 25px 0 10px; text-transform: uppercase; letter-spacing: -.02em; }
.feature-card p, .process-list p, .use-item p { color: var(--muted); margin: 0; }
.feature-icon { height: 72px; width: 92px; position: relative; }
.relay-icon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: center; }
.relay-icon i { height: 48px; background: var(--ink); border-top: 8px solid var(--red); }
.input-icon { display: flex; align-items: center; gap: 12px; }
.input-icon i { width: 17px; height: 17px; border: 4px solid var(--ink); border-radius: 50%; position: relative; }
.input-icon i::after { content: ""; position: absolute; width: 13px; height: 3px; background: var(--red); left: 13px; top: 3px; }
.wifi-feature i { position: absolute; left: 10px; bottom: 0; border: 4px solid var(--red); border-color: var(--red) transparent transparent transparent; border-radius: 50%; }
.wifi-feature i:nth-child(1) { width: 82px; height: 82px; }
.wifi-feature i:nth-child(2) { width: 56px; height: 56px; left: 23px; }
.wifi-feature b { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--red); left: 47px; bottom: 5px; }
.cloudless-icon { border: 4px solid var(--ink); border-radius: 30px; height: 47px; margin-top: 15px; }
.cloudless-icon::before, .cloudless-icon::after { content: ""; position: absolute; background: var(--white); border: 4px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0; }
.cloudless-icon::before { width: 30px; height: 23px; left: 13px; top: -15px; }
.cloudless-icon::after { width: 23px; height: 18px; right: 12px; top: -9px; }
.cloudless-icon span { position: absolute; z-index: 2; color: var(--red); font: 900 4rem/1 sans-serif; left: 30px; top: -16px; transform: rotate(12deg); }

.process-section { background: var(--ink); color: var(--white); }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; padding: 32px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.process-list > li > span { font: 900 2.4rem/1 "Arial Black", Impact, sans-serif; color: var(--red); }
.process-list h3 { margin-top: 0; color: var(--white); }
.process-list p { color: #9babb5; max-width: 800px; }

.use-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.use-heading { position: sticky; top: 140px; align-self: start; }
.use-list { border-top: 1px solid var(--line); }
.use-item { display: grid; grid-template-columns: 68px 220px 1fr; gap: 20px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.use-item > span { color: var(--red); font-weight: 900; }
.use-item h3 { margin: 0; }

.safety-callout { background: var(--red); color: var(--white); padding: 62px 0; }
.safety-inner { display: grid; grid-template-columns: 110px 1fr; gap: 35px; align-items: center; }
.warning-mark { width: 90px; height: 90px; display: grid; place-items: center; border: 4px solid var(--white); transform: rotate(45deg); font: 900 3.7rem/1 sans-serif; }
.warning-mark::first-letter { transform: rotate(-45deg); }
.safety-inner .eyebrow { color: #fff; opacity: .75; }
.safety-inner h2 { font-size: clamp(2rem, 4vw, 4rem); }
.safety-inner p:last-child { color: rgba(255,255,255,.82); max-width: 900px; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; }
.accordions details { border-top: 1px solid var(--line); }
.accordions details:last-child { border-bottom: 1px solid var(--line); }
.accordions summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-weight: 900; text-transform: uppercase; position: relative; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; position: absolute; right: 4px; top: 17px; color: var(--red); font-size: 2rem; }
.accordions details[open] summary::after { content: "−"; }
.accordions p { color: var(--muted); margin: -4px 0 25px; max-width: 750px; }

.contact-section { color: var(--white); background: linear-gradient(135deg, #121a22, #1a2731); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-copy > p:not(.eyebrow) { color: #a5b1b9; max-width: 520px; }
.contact-copy code { color: #fff; }
.contact-points { display: grid; gap: 10px; margin-top: 32px; }
.contact-points span::before { content: "◉"; color: var(--red); margin-right: 12px; }
.contact-form { background: var(--white); color: var(--ink); padding: 38px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 17px; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.contact-form input, .contact-form textarea { border: 1px solid #cbd1d5; background: #f9fafb; padding: 13px 14px; border-radius: 0; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 500; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--red); border-color: transparent; }
.contact-form .check { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.contact-form .check input { margin-top: 5px; }
.form-status { min-height: 24px; margin-bottom: 0; font-size: .8rem; color: var(--red); font-weight: 800; }

.site-footer { background: #fff; padding: 55px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 270px 1fr auto; gap: 50px; align-items: center; }
.footer-logo { display: block; }
.footer-grid p { margin: 3px 0 0; color: var(--muted); }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 24px; }
.footer-grid nav a { text-decoration: none; font-weight: 800; font-size: .82rem; }
.footer-grid nav a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 27px; margin-top: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }

dialog { max-width: 720px; width: calc(100% - 32px); border: 0; padding: 42px; box-shadow: var(--shadow); color: var(--ink); }
dialog::backdrop { background: rgba(5,8,11,.78); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 15px; right: 18px; border: 0; background: transparent; font-size: 2rem; }
dialog h2 { font-family: "Arial Black", Impact, sans-serif; text-transform: uppercase; font-size: 2.8rem; margin: 0 0 25px; }
.dialog-specs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 25px; }
.dialog-specs div { padding: 18px; border-right: 1px solid var(--line); }
.dialog-specs div:last-child { border-right: 0; }
.dialog-specs strong, .dialog-specs span { display: block; }
.dialog-specs strong { color: var(--red); font-size: 1.35rem; }
.dialog-specs span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-nav { position: absolute; inset: 88px 0 auto 0; background: #fff; padding: 25px 20px 30px; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .site-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .menu-toggle { display: block; }
  .hero-grid, .product-grid, .use-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; padding-top: 90px; }
  .hero-visual { min-height: 500px; }
  .product-grid, .use-grid, .faq-grid, .contact-grid { gap: 55px; }
  .use-heading { position: static; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .use-item { grid-template-columns: 55px 190px 1fr; }
  .footer-grid { grid-template-columns: 230px 1fr; }
  .footer-grid nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .section-pad { padding: 78px 0; }
  .header-inner { min-height: 75px; }
  .brand { width: 205px; }
  .site-nav { top: 75px; }
  .hero-grid { min-height: auto; padding-top: 65px; padding-bottom: 85px; }
  .hero h1 { font-size: 3.2rem; }
  .hero-lead { font-size: 1rem; }
  .quick-specs { gap: 16px; justify-content: space-between; }
  .quick-specs strong { font-size: 1.05rem; }
  .controller-card { transform: none; padding: 19px; }
  .controller-body { grid-template-columns: 1fr 1fr; }
  .board-centre { grid-column: 1 / -1; grid-row: 1; min-height: 120px; }
  .terminal-block, .relay-bank { min-height: 190px; }
  .visual-note { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:first-child { border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(2n), .feature-card:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px; }
  .feature-card:last-child { border-bottom: 0; }
  .process-list li { grid-template-columns: 65px 1fr; }
  .use-item { grid-template-columns: 45px 1fr; }
  .use-item p { grid-column: 2; }
  .safety-inner { grid-template-columns: 1fr; }
  .warning-mark { width: 68px; height: 68px; font-size: 2.8rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { width: 250px; }
  .footer-grid nav { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .dialog-specs { grid-template-columns: repeat(2, 1fr); }
  .dialog-specs div:nth-child(2) { border-right: 0; }
  .dialog-specs div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

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