:root {
  --navy: #0E2A47;
  --navy-deep: #071526;
  --teal: #12A8B8;
  --teal-bright: #2EE6C9;
  --ink: #0F1B2A;
  --muted: #5B6B7F;
  --line: #E3E9F0;
  --tint: #F3F7FA;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 42, 71, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 Inter, system-ui, sans-serif; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 92%); margin: 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: var(--navy-deep); font-weight: 600; border: 0;
  cursor: pointer; font-size: 1rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(18, 168, 184, .35); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: .6em; }
.eyebrow.light { color: var(--teal-bright); }

.topbar { background: var(--navy-deep); color: #C9D6E3; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; padding: .45em 0; }
.topbar-links { display: flex; gap: 1.5em; }
.topbar a:hover { color: #fff; }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 52px; width: auto; }
.menu { display: flex; align-items: center; gap: 1.6em; font-weight: 500; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--teal); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

.hero { position: relative; height: min(88vh, 720px); min-height: 520px; overflow: hidden; background: var(--navy-deep); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .9s ease; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,38,.92) 0%, rgba(7,21,38,.65) 45%, rgba(7,21,38,.15) 100%); }
.slide.is-active { opacity: 1; }
.slide-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; max-width: 1180px; }
.slide .eyebrow { color: var(--teal-bright); }
.lead { font-size: 1.15rem; max-width: 34em; color: #D5E1EC; }
.cta-row { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1em; }
.dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: .3s; }
.dots button[aria-selected="true"] { width: 30px; background: var(--teal-bright); }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: radial-gradient(circle at 85% 10%, #14406a 0, var(--navy) 35%, var(--navy-deep) 100%); color: #fff; }
.section-dark h2 { color: #fff; }
.head-center { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sub { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.center-y { align-items: center; }

.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -14px; bottom: 28px; background: var(--navy); color: #fff; padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow); }
.about-badge strong { display: block; font: 500 .8rem Inter; color: var(--teal-bright); }
.about-badge span { font: 700 1.3rem Poppins; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.ticks li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: .5em; }

.cards-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-i { background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); transition: .2s; }
.card-i:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-i .ico { font-size: 1.6rem; display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #E5F7F8; margin-bottom: 14px; }
.card-i p { color: var(--muted); margin: 0; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: .2s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product img { aspect-ratio: 1; object-fit: cover; }
.product div { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 1rem; }
.product p { color: var(--muted); font-size: .9rem; flex: 1; }
.price { font: 600 1.1rem Poppins; color: var(--navy); }
.price s { color: var(--muted); font: 400 .85rem Inter; margin-left: .4em; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why div { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.why strong { display: block; font: 600 1.05rem Poppins; margin-bottom: .3em; color: var(--teal-bright); }
.why span { color: #C9D6E3; font-size: .95rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.services article { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.services img { aspect-ratio: 650/345; object-fit: cover; }
.services article div { padding: 20px 22px; }
.services p { color: var(--muted); margin: 0; }

.steps { display: grid; gap: 14px; margin: 24px 0; }
.steps div { display: flex; gap: 14px; align-items: flex-start; }
.steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--teal-bright); font-family: Poppins; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { background: var(--navy-deep); color: #fff; padding: 10px 20px; border-radius: 12px; font: 600 1.05rem Poppins; line-height: 1.1; }
.store small { display: block; font: 400 .7rem Inter; opacity: .8; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 18px; }

.phone { display: grid; place-items: center; }
.phone-screen { width: 290px; border-radius: 40px; padding: 26px 18px; background: #FAFBFC; border: 10px solid var(--navy-deep); box-shadow: 0 30px 60px rgba(7,21,38,.25); display: grid; gap: 12px; }
.phone-logo { height: 40px; width: auto; margin-bottom: 6px; }
.ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph-card { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); }
.ph-card small { display: block; color: var(--muted); font-size: .75rem; }
.ph-card strong { font: 700 1.3rem Poppins; color: var(--navy); }
.ph-accent { background: #E5F7F8; }
.ph-btn { text-align: center; background: var(--navy); color: #fff; padding: 12px; border-radius: 999px; font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.stats strong { display: block; font: 700 2rem Poppins; color: var(--teal); }
.stats span { color: var(--muted); font-size: .9rem; }
.map { border-radius: var(--radius); }

.muted-light { color: #C9D6E3; }
.addr { margin-top: 28px; color: #C9D6E3; }
.addr h3 { color: #fff; }
.addr a:hover { color: var(--teal-bright); }
.form { background: #fff; color: var(--ink); padding: 32px; border-radius: 22px; display: grid; gap: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; outline: none; transition: border-color .15s; }
.form input:focus, .form textarea:focus { border-color: var(--teal); }
.form-msg { margin: 0; font-size: .9rem; min-height: 1.4em; }
.form-msg.ok { color: #0a8f6a; } .form-msg.err { color: #c0392b; }

.footer { background: var(--navy-deep); color: #9FB3C8; padding: 64px 0 24px; font-size: .92rem; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; }
.footer a { display: block; padding: 3px 0; }
.footer a:hover { color: var(--teal-bright); }
.footer img { height: 48px; width: auto; margin-bottom: 12px; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.copy .unit { color: #C9D6E3; letter-spacing: .2px; }
.copy .unit b { color: var(--teal-bright); font-weight: 600; }

.wa { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index: 60; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 16px 4%; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 12px; }
  .grid-2, .cards-6, .services { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .topbar-in > span { display: none; }
  .about-badge { right: 12px; }
}
@media (max-width: 480px) {
  .products, .why { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- benefit icons ---------- */
.card-i .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- how it works ---------- */
.how { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.how-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.modes { display: grid; gap: 10px; }
.mode { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; min-height: 64px; }
.mode:hover { border-color: var(--teal); }
.mode:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.mode[aria-selected="true"] { border-color: var(--teal); box-shadow: 0 10px 24px rgba(18,168,184,.15); transform: translateX(4px); }
.mode svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #E5F7F8; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mode[aria-selected="true"] svg { background: var(--navy); stroke: var(--teal-bright); }
.mode b { display: block; font: 600 1rem Poppins; color: var(--navy); }
.mode small { color: var(--muted); font-size: .85rem; line-height: 1.35; display: block; }
.flow-card { background: var(--navy-deep); border-radius: 24px; padding: 20px; color: #fff; box-shadow: 0 30px 60px rgba(7,21,38,.25); }
.flow { width: 100%; height: auto; display: block; }
.flow .node rect { fill: #10263f; stroke: #24476b; stroke-width: 1.5; }
.flow .node .ico, .flow .dev .ico { fill: none; stroke: #9FB3C8; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.flow .lbl { fill: #9FB3C8; font: 600 12px Inter, sans-serif; text-anchor: middle; }
.flow .src rect, .flow .module rect:first-child { stroke: var(--teal); }
.flow .src .ico { stroke: var(--teal-bright); display: none; }
.flow[data-mode="app"] .ico-app, .flow[data-mode="voice"] .ico-voice, .flow[data-mode="schedule"] .ico-schedule,
.flow[data-mode="sensor"] .ico-sensor, .flow[data-mode="offline"] .ico-offline { display: inline; }
.flow .module .chip { fill: #12304f; stroke: none; }
.flow .module .ico { stroke: var(--teal-bright); }
.flow .wire { fill: none; stroke: #24476b; stroke-width: 2.5; stroke-linecap: round; }
.flow.run .wire.live { stroke: url(#gT); stroke-dasharray: 8 10; animation: flow 0.9s linear infinite; }
.flow .p-cloud-node { transition: opacity .3s; }
.flow[data-path="local"] .p-cloud-node, .flow[data-path="local"] .p-cloud .wire { opacity: .25; }
.flow[data-path="cloud"] .p-local { opacity: .15; }
.flow .dev .disc { fill: #10263f; stroke: #24476b; stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.flow .dev .halo { fill: var(--teal-bright); opacity: 0; filter: url(#glow); transition: opacity .4s; }
.flow .dev.on .disc { fill: #0E5560; stroke: var(--teal-bright); }
.flow .dev.on .halo { opacity: .45; }
.flow .dev.on .ico { stroke: #fff; }
.flow .dev.on .spin { transform-box: fill-box; transform-origin: center; animation: spin 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
@keyframes spin { to { transform: rotate(360deg); } }
.flow-text { padding: 6px 8px 4px; }
.flow-text h3 { color: #fff; font-size: 1.25rem; }
.flow-text p { color: #C9D6E3; margin-bottom: 12px; }
.flow-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--teal-bright); font-size: .9rem; font-weight: 600; }

/* ---------- rooms ---------- */
.rooms { background: #fff; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; }
.room-tabs { display: flex; gap: 6px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.room-tabs button { flex: none; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 .95rem Inter; color: var(--muted); cursor: pointer; min-height: 44px; }
.room-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.room-tabs button:focus-visible { outline: 3px solid var(--teal-bright); }
.room-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 28px; align-items: center; }
.room-body img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.room-body .ticks { grid-template-columns: 1fr; }
.room-body .note { background: #E5F7F8; border-radius: 14px; padding: 12px 16px; color: var(--navy); font-weight: 500; margin: 0; }
.steps-head { margin-top: 70px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.three div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: relative; }
.three b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--teal-bright); font: 700 1.1rem Poppins; margin-bottom: 14px; }
.three p { color: var(--muted); margin: 0; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 600 1.05rem Poppins; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

@media (max-width: 1000px) {
  .how-grid { grid-template-columns: 1fr; }
  .modes { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .mode[aria-selected="true"] { transform: none; }
}
@media (max-width: 820px) {
  .room-body, .faq-wrap, .three { grid-template-columns: 1fr; }
  .room-body { padding: 18px; gap: 18px; }
}
@media (max-width: 480px) {
  .modes { grid-template-columns: 1fr; }
  .mode { min-height: 56px; padding: 10px 12px; }
  .flow-card { padding: 12px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow.run .wire.live, .flow .dev.on .spin { animation: none; }
}

@media (max-width: 600px) { .footer { padding-bottom: 96px; } }
.hero-h { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; color: #fff; line-height: 1.2; margin: 0 0 .5em; }
