/* ProTech – landing page. Colours from the ProTech logo and app: navy, logo blue, sky blue. */
:root {
  --concrete: #E8EEF7;
  --paper: #F4F6FB;
  --asphalt: #0E1A3A;
  --asphalt-2: #1F3B8F;
  --steel: #56667F;
  --line: #D3DCEA;
  --blue: #4263A8;
  --blue-dark: #34528F;
  --sky: #2DA4F4;
  --grey: #929292;
  --green: #0E9F6E;
  --white: #fff;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--asphalt);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 800; font-stretch: 118%; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-stretch: 110%; letter-spacing: -0.005em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--steel); max-width: 56ch; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.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; z-index: 50; background: var(--asphalt); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--blue);
  background: var(--blue); color: #fff; font: inherit; font-weight: 700; font-stretch: 108%;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--asphalt); border-color: var(--asphalt); }
.btn-ghost:hover { background: var(--asphalt); border-color: var(--asphalt); color: #fff; }
.btn-light { background: #fff; color: var(--asphalt); border-color: #fff; }
.btn-light:hover { background: var(--concrete); border-color: var(--concrete); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--steel); }
.nav a:not(.btn):hover { color: var(--asphalt); }
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; color: var(--steel); padding: 5px 9px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--asphalt); color: #fff; }
.menu-btn { display: none; }

/* hero */
.hero { background: var(--concrete); padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--asphalt); font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 14px; height: 6px; border-radius: 2px; background: linear-gradient(90deg, var(--sky) 50%, var(--blue) 50%); }

/* hero scene: the real app screen next to the barrier */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene { position: relative; min-height: 630px; }
.house { position: absolute; top: 3%; right: -10%; width: 84%; overflow: visible; }
.arm { transform-box: view-box; transform-origin: 703px 478px; transform: rotate(0deg); transition: transform 1.1s cubic-bezier(.45, 0, .2, 1); }
.scene.is-open .arm { transform: rotate(78deg); }
.lamp { transition: fill .3s; }
.scene.is-open .lamp { fill: #0E9F6E; }
.cam-led, .alarm-led { animation: blink 2.4s steps(1) infinite; }
.alarm-led { animation-delay: 1.2s; }
@keyframes blink { 50% { opacity: .25; } }

/* phone frame: rendered at real iPhone width, scaled to fit (transform works the same in every browser) */
.device-fit { --s: .74; position: absolute; left: 0; bottom: 0; z-index: 1; width: calc(411px * var(--s)); height: calc(var(--h, 806px) * var(--s)); }
/* stylised iPhone Pro, blue titanium frame, 19.5:9 screen */
.device {
  position: absolute; left: 8px; top: 0; width: 395px; height: 790px; transform: scale(var(--s, .74)); transform-origin: 0 0;
  border-radius: 68px; padding: 8px;
  background: linear-gradient(150deg, #5F86C2 0%, #2B4C82 22%, #1D365F 50%, #2E5089 78%, #6A90CB 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), inset 0 0 0 3px #1A3156, 0 50px 90px -30px rgba(14, 26, 58, .6), 0 18px 30px -18px rgba(14, 26, 58, .5);
}
/* side buttons: action + volume (left), side button (right) */
.device::before, .device::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #284878, #4A6FA8); }
.device::before { left: -4px; top: 168px; height: 30px; }
.device::after { right: -4px; top: 230px; height: 96px; }
.device-vol { position: absolute; left: -4px; top: 230px; width: 4px; height: 56px; border-radius: 3px; background: #335A93; box-shadow: 0 70px 0 0 #335A93; }
/* app tokens (mobile/src/theme.ts, light) */
.ap {
  --a-bg: #F4F6FB; --a-card: #FFFFFF; --a-text: #0B1220; --a-muted: #64748B; --a-subtle: #94A3B8;
  --a-border: #E4E9F2; --a-primary: #2E5BFF; --a-primary-dark: #1B3FCC; --a-success: #0E9F6E; --a-info-bg: #EBF0FF;
  position: relative; overflow: hidden; height: 100%; display: flex; flex-direction: column;
  border-radius: 60px; border: 7px solid #05070D; background: var(--a-bg); color: var(--a-text);
  font-family: "Inter", system-ui, sans-serif; font-variation-settings: normal; line-height: 1.35; text-align: left;
}
.ap svg { fill: currentColor; }
.ap-status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 20px 34px 6px 40px; font-size: 15px; font-weight: 600; }
.ap-status::after { /* Dynamic Island */
  content: ""; position: absolute; left: 50%; top: 11px; width: 118px; height: 34px; border-radius: 20px; background: #05070D; transform: translateX(-50%);
}
.ap-sys { display: flex; align-items: flex-end; gap: 2px; }
.ap-sys .sig { display: block; width: 3px; background: var(--a-text); border-radius: 1px; }
.ap-sys .sig:nth-child(1) { height: 4px; } .ap-sys .sig:nth-child(2) { height: 6px; } .ap-sys .sig:nth-child(3) { height: 8px; } .ap-sys .sig:nth-child(4) { height: 10px; }
.ap-sys .bat { width: 22px; height: 11px; margin-left: 6px; border: 1.5px solid var(--a-text); border-radius: 3px; position: relative; }
.ap-sys .bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--a-text); border-radius: 1px; }
.ap-header { text-align: center; font-size: 17px; font-weight: 600; padding: 10px 0 6px; }
.ap-body { flex: 1; padding: 14px 16px 16px; display: flex; flex-direction: column; align-items: center; }
.ap-over { font-size: 12px; line-height: 16px; letter-spacing: .8px; text-transform: uppercase; font-weight: 600; color: var(--a-muted); margin-top: 8px; }
.ap-title { font-size: 26px; line-height: 32px; letter-spacing: -.5px; font-weight: 700; margin-top: 6px; }
.ap-pill {
  display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px;
  background: var(--a-card); border: .5px solid var(--a-border); font-size: 13px; line-height: 18px; font-weight: 500;
}
.ap-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--a-success); }
.ap-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--a-success); animation: live 1.6s linear infinite; }
@keyframes live { from { opacity: .5; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }

/* GateButton (mobile/src/components/GateButton.tsx): SIZE 236, CORE 178, STROKE 6 */
.gb { --c0: var(--a-primary); --c1: var(--a-primary-dark); position: relative; width: 236px; height: 236px; margin: 12px 0; display: grid; place-items: center; }
.gb[data-state="sending"] { --c0: var(--a-primary); --c1: var(--a-primary-dark); }
.gb[data-state="success"] { --c0: #14B87A; --c1: #0A8A5A; }
.gb-ripple {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c0);
  background: color-mix(in srgb, var(--c0) 8%, transparent); opacity: 0; animation: ripple 2.6s cubic-bezier(.33, 1, .68, 1) infinite;
}
.gb-ripple-2 { animation-delay: 1.3s; }
.gb[data-state="success"] .gb-ripple { animation-duration: 1.1s; }
.gb[data-state="success"] .gb-ripple-2 { animation-delay: .38s; }
.gb[data-state="sending"] .gb-ripple { display: none; }
@keyframes ripple { from { opacity: .28; transform: scale(.82); } to { opacity: 0; transform: scale(1.37); } }
.gb-ring { position: absolute; inset: 0; width: 236px; height: 236px; transform: rotate(-90deg); }
.gb-s0 { stop-color: var(--c0); } .gb-s1 { stop-color: var(--c1); }
.gb-arc { stroke-dasharray: 672.3; stroke-dashoffset: calc(672.3 * (1 - var(--p, 0))); }
.gb[data-state="sending"] .gb-ring { animation: spin .9s linear infinite; }
@keyframes spin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.gb-core {
  position: relative; width: 178px; height: 178px; border-radius: 50%; border: 0; padding: 0 18px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff;
  background: linear-gradient(150deg, var(--c0), var(--c1)); box-shadow: 0 12px 22px color-mix(in srgb, var(--c1) 35%, transparent);
  font: inherit; touch-action: none; -webkit-user-select: none; user-select: none; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.gb-core:active, .gb.is-holding .gb-core { transform: scale(.95); }
.gb[data-state="success"] .gb-core { animation: pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.gb-gloss { position: absolute; top: -62px; left: -18px; width: 214px; height: 125px; border-radius: 178px; background: rgba(255, 255, 255, .12); pointer-events: none; }
.gb-icon { width: 50px; height: 50px; position: relative; }
.gb[data-state="success"] .gb-icon { width: 58px; height: 58px; animation: zoom .35s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes zoom { from { transform: scale(.3); } }
.gb-caption { position: relative; font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: .2px; text-align: center; }
.gb-core:focus-visible { outline: 3px solid var(--a-primary); outline-offset: 6px; }

.ap-body .gb { margin-block: auto; } /* centre the button in the free space, card sits above the tab bar */
.ap-card {
  width: 100%; margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px;
  background: var(--a-card); box-shadow: 0 4px 14px rgba(11, 18, 32, .06);
}
.ap-tile { width: 42px; height: 42px; border-radius: 13px; background: var(--a-info-bg); color: var(--a-primary); display: grid; place-items: center; flex: none; }
.ap-tile svg { width: 22px; height: 22px; }
.ap-card-text { flex: 1; display: grid; min-width: 0; }
.ap-card-text b { font-size: 15px; font-weight: 600; }
.ap-card-text small { font-size: 13px; color: var(--a-muted); }
.ap-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--a-primary); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 12px; white-space: nowrap; }
.ap-btn svg { width: 16px; height: 16px; }
.ap-tabs { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--a-card); border-top: .5px solid var(--a-border); padding: 8px 4px 22px; }
.ap-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--a-subtle); white-space: nowrap; }
.ap-tabs svg { width: 23px; height: 23px; }
.ap-tabs .on { color: var(--a-primary); }

/* sections */
section { scroll-margin-top: 88px; }
section[tabindex="-1"]:focus { outline: none; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--steel); max-width: 52ch; }

/* services: rows, not cards */
.services { padding: clamp(64px, 9vw, 120px) 0; }
.srv-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--asphalt); }
.srv {
  display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 16px 32px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line);
}
.srv-icon { width: 44px; height: 44px; color: var(--blue); }
.srv h3 { font-size: 1.35rem; padding-top: 6px; }
.srv p { color: var(--steel); padding-top: 6px; }
.tags { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 10px;
  background: color-mix(in srgb, var(--sky) 10%, #fff); color: var(--blue-dark);
  font-size: .82rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sky) 18%, transparent);
}
.tags li::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* app */
.app { background: linear-gradient(160deg, var(--asphalt) 0%, var(--asphalt-2) 100%); color: #fff; padding: clamp(64px, 9vw, 120px) 0; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.app-copy { display: grid; gap: 22px; justify-items: start; }
.app .lead { color: #B4C2E2; }
.badge { display: inline-block; background: var(--sky); color: var(--asphalt); font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; margin: 8px 0 0; }
.features dt { font-weight: 700; font-stretch: 108%; margin-bottom: 4px; }
.features dd { margin: 0; color: #B4C2E2; font-size: .95rem; }
.features > div { border-top: 1px solid #2C4380; padding-top: 14px; }
.secure { color: #D5DDF0; font-size: .95rem; padding-left: 14px; border-left: 3px solid var(--green); }

.screens { position: relative; height: 640px; }
.shot {
  position: absolute; margin: 0; padding: 9px; border-radius: 46px; background: #0B1220;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), inset 0 0 0 2px #1F2937;
}
.shot::before { /* dynamic island */
  content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 22px; border-radius: 20px; background: #0B1220; transform: translateX(-50%); z-index: 1;
}
.shot img { display: block; width: 100%; height: auto; border-radius: 37px; }
.shot-main { width: 290px; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.shot-left, .shot-right { width: 236px; top: 70px; z-index: 1; opacity: .9; }
.shot-left { left: 0; transform: rotate(-5deg); }
.shot-right { right: 0; transform: rotate(5deg); }

/* audiences */
.who { padding: clamp(64px, 9vw, 112px) 0; background: var(--concrete); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.who-grid > div { display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--asphalt); }
.who-grid p { color: var(--steel); }

/* process: a real sequence */
.process { padding: clamp(64px, 9vw, 120px) 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 22px 0 0; display: grid; gap: 8px; align-content: start; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--asphalt); font-weight: 800; font-stretch: 115%; margin-bottom: 10px; position: relative; z-index: 1;
}
.steps li:first-child::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--asphalt) 0 10px, transparent 10px 18px); }
.steps p { color: var(--steel); font-size: .95rem; }

/* faq */
.faq { padding: clamp(64px, 9vw, 112px) 0; background: var(--concrete); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { border-top: 2px solid var(--asphalt); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-stretch: 106%; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--asphalt); border-bottom: 2.5px solid var(--asphalt); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--steel); max-width: 62ch; }

/* contact */
.contact { padding: clamp(64px, 9vw, 120px) 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy { display: grid; gap: 18px; }

/* contact: real sending, WhatsApp */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25D366;
  box-shadow: 0 14px 30px -10px rgba(11, 61, 33, .55); transition: transform .2s;
}
.wa-float[hidden] { display: none; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:not([hidden]) ~ .to-top { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 68px); right: calc(max(16px, env(safe-area-inset-right)) + 4px); }

/* back to top */
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30;
  width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: linear-gradient(150deg, var(--sky), var(--blue));
  box-shadow: 0 14px 30px -10px rgba(14, 26, 58, .55), inset 0 0 0 1px rgba(255, 255, 255, .18);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s;
}
.to-top[hidden] { display: grid; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 18px 36px -10px rgba(14, 26, 58, .65), inset 0 0 0 1px rgba(255, 255, 255, .25); transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; }
.to-top:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

.contact-grid { align-items: center; }
.contact-area { color: var(--asphalt); font-weight: 600; padding-left: 14px; border-left: 3px solid var(--sky); }
.contact-options { display: grid; gap: 14px; }
.c-opt {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-lg); text-decoration: none;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(14, 26, 58, .35);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.c-opt[hidden] { display: none; }
.c-opt:hover { transform: translateY(-2px); border-color: var(--sky); box-shadow: 0 18px 40px -20px rgba(14, 26, 58, .45); }
.c-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(150deg, var(--sky), var(--blue)); }
.c-ico svg { width: 28px; height: 28px; }
.c-wa .c-ico { background: #25D366; }
.c-txt { display: grid; gap: 2px; min-width: 0; }
.c-txt b { font-size: 1.12rem; font-stretch: 106%; }
.c-txt small { color: var(--steel); font-size: .98rem; overflow-wrap: anywhere; }

/* footer */
.site-footer { background: var(--asphalt); color: #B4C2E2; padding: 28px 0; font-size: .9rem; }
.footer-logo { background: #fff; border-radius: 10px; padding: 6px 10px; height: 48px; width: auto; }
.footer-row { align-items: center; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .scene { max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 1020px) {
  .srv { grid-template-columns: 48px 1fr; }
  .srv p, .srv .tags { grid-column: 2; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-grid > h2 { grid-column: 1 / -1; }
  .app-grid { grid-template-columns: 1fr; }
  .screens { height: 640px; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 880px) {
  .menu-btn {
    display: grid; align-content: center; gap: 6px; width: 46px; height: 46px; border: 1.5px solid var(--line);
    border-radius: 12px; background: #fff; cursor: pointer; padding: 0 12px;
  }
  .menu-btn span:not(.sr) { height: 2px; background: var(--asphalt); border-radius: 2px; transition: transform .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .header-row { gap: 12px; }
  .lang { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--asphalt); }
  .nav .btn { margin-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .scene { max-width: 560px; width: 100%; margin-inline: auto; }
  .section-head, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li { grid-template-columns: 46px 1fr; column-gap: 18px; padding: 0; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; }
  .steps li:not(:last-child)::after { top: 50px; bottom: -22px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--asphalt) 0 8px, transparent 8px 14px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 34px; }
  .features { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
    .scene { min-height: 0; display: grid; justify-items: center; }
  .house { position: relative; right: auto; width: 100%; }
  .device-fit { position: relative; margin-top: -4%; }
  .screens { height: 450px; }
  .shot { padding: 6px; border-radius: 32px; }
  .shot img { border-radius: 26px; }
  .shot::before { top: 12px; height: 15px; }
  .shot-main { width: 200px; }
  .shot-left, .shot-right { width: 150px; top: 56px; }
  .hero-actions .btn { width: 100%; }
}
/* phones: compact rows, comfortable tap targets */
@media (max-width: 560px) {
  /* hero: phone in front on the left, house behind on the right – the barrier opens right next to the button */
  .scene { display: block; position: relative; min-height: 0; max-width: none; justify-items: start; }
  .scene .device-fit { position: relative; margin: 0; z-index: 1; }
  .scene .house { position: absolute; top: 2%; right: -4%; width: 96%; z-index: 0; }
  .header-row { min-height: 68px; gap: 10px; }
  .lang button { min-height: 40px; min-width: 40px; padding: 0 8px; }
  .menu-btn { width: 44px; height: 44px; }
  .hero { padding-top: 32px; }
  .hero-copy { gap: 20px; }
  .hero-points { flex-direction: column; gap: 8px; }
  .srv { grid-template-columns: 36px 1fr; gap: 10px 14px; padding: 22px 0; align-items: center; }
  .srv-icon { width: 34px; height: 34px; }
  .srv h3 { padding-top: 0; font-size: 1.2rem; }
  .srv p, .srv .tags { grid-column: 1 / -1; padding-top: 0; }
  .section-head { margin-bottom: 28px; }
  .features > div { padding-top: 12px; }
  .steps { gap: 20px; }
  .faq summary { font-size: 1rem; padding: 18px 40px 18px 0; }
      .footer-row { flex-direction: column; align-items: flex-start; }
  .to-top { width: 48px; height: 48px; }
  }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arm, .lamp, .gb-core, .faq summary::after { transition: none; }
  .to-top { transition: opacity .2s; }
  .cam-led, .alarm-led, .gb-ripple, .ap-dot::after, .gb[data-state] .gb-ring, .gb-core, .gb-icon { animation: none !important; }
}
