/* SophiTech — all styling (dark theme). Colours, fonts and sizes live in :root. */

/* Sora and Inter (SIL Open Font License), self-hosted: latin subset only. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #070b14;            /* page background (near-black navy) */
  --bg-deep: #04070d;       /* footer */
  --panel: rgba(13, 20, 35, .8);    /* cards: slightly see-through so the network shows */
  --panel-solid: #0d1423;
  --panel-2: #121b2e;       /* inputs, hover */
  --band: rgba(34, 211, 238, .025); /* alternate section tint */
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --ink: #f1f6fd;           /* headings */
  --text: #b3bfd3;          /* body copy */
  --muted: #7d8aa3;
  --accent: #22d3ee;        /* SophiTech cyan */
  --accent-dark: #06b6d4;
  --accent-soft: rgba(34, 211, 238, .12);
  --on-accent: #02161b;
  --violet: #a78bfa;
  --violet-soft: rgba(167, 139, 250, .14);
  --link: #67e8f9;
  --wa: #1fa855;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, .14);
  --err: #fb7185;
  --rec: #f43f5e;
  /* Network effect colours (read by site.js) */
  --fx-node: rgba(125, 211, 252, .2);
  --fx-line: rgba(125, 211, 252, .055);
  --fx-glow: rgba(34, 211, 238, .45);
  --fx-core: #e6fbff;
  --fx-threat: #fb7185;
  --fx-safe: #34d399;
  /* Illustrations */
  --il-line: rgba(203, 225, 255, .55);
  --il-fill: rgba(13, 20, 35, .9);
  --il-grid: rgba(125, 211, 252, .07);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  --wrap: 1180px;
  --gutter: 20px;
  --head-h: 74px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); letter-spacing: 0; }
.grad { background: linear-gradient(90deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Page-wide network canvas ---------- */
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.site-head, main, .cta-band, .site-foot { position: relative; z-index: 1; }
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 85% 0%, rgba(34, 211, 238, .14), transparent 60%),
              radial-gradient(700px 420px at 0% 100%, rgba(167, 139, 250, .1), transparent 60%); }

.eyebrow { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow .mono { color: var(--violet); font-weight: 500; letter-spacing: .04em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft), 0 0 14px var(--ok); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .45; } }
.lead { font-size: 1.12rem; color: var(--text); max-width: 60ch; }
.note { margin: 28px 0 0; max-width: 70ch; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 12px; border: 1.5px solid transparent; font: 600 .98rem/1 var(--font-body); text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 24px rgba(34, 211, 238, .28); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 8px 30px rgba(34, 211, 238, .42); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924a; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-top: 8px; }
.textlink svg { transition: transform .15s; }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Brand ---------- */
.brand { flex: none; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 34px; height: 34px; overflow: visible; }
.mk-hex { fill: rgba(34, 211, 238, .08); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.mk-link { fill: none; stroke: var(--il-line); stroke-width: 1.4; stroke-linejoin: round; }
.mk-node { fill: var(--ink); }
.mk-hot { fill: var(--accent); }
.brand-word { font: 700 1.3rem/1 var(--font-head); color: var(--ink); letter-spacing: -0.02em; }
.brand-word span { color: var(--accent); }
.brand:hover .mk-hot { fill: var(--violet); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 20, .72); backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(7, 11, 20, .9); }
.head-in { display: flex; align-items: center; gap: 20px; height: var(--head-h); }
#site-nav { margin-left: auto; }
.menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s, background-color .15s; }
.menu a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.menu a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.menu-cta { display: none; }
.head-cta { min-height: 42px; padding: 10px 18px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.open .menu-icon { background: transparent; }
.open .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.open .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .menu a { padding: 8px 9px; font-size: .92rem; } }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .head-cta { display: none; }
  #site-nav { position: fixed; inset: var(--head-h) 0 auto 0; background: var(--panel-solid); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 12px var(--gutter) 20px; display: none; max-height: calc(100dvh - var(--head-h)); overflow-y: auto; }
  .open #site-nav { display: block; }
  .menu { flex-direction: column; gap: 2px; }
  .menu a { padding: 13px 12px; font-size: 1.05rem; color: var(--ink); }
  .menu-cta { display: block; margin-top: 10px; }
  .menu-cta .btn { display: flex; width: 100%; color: var(--on-accent); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 17ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--text); text-decoration: none; font-size: .86rem; transition: border-color .15s, color .15s; }
.hero-tags a:hover { border-color: var(--accent); color: var(--ink); }
.hero-tags svg { color: var(--accent); }
.fx-hint { position: absolute; right: var(--gutter); bottom: 14px; margin: 0; font-size: .72rem; color: var(--muted); opacity: .7; }
@media (hover: none), (prefers-reduced-motion: reduce) { .fx-hint { display: none; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 520px; } }

/* Status console (decorative) */
.console { position: relative; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(9, 14, 26, .88);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(34, 211, 238, .06), 0 0 80px rgba(34, 211, 238, .1); overflow: hidden;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.con-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.con-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.con-bar span:first-child { background: var(--rec); opacity: .8; }
.con-bar b { margin-left: 10px; font-weight: 500; font-size: .78rem; color: var(--muted); }
.con-body { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 22px; }
.radar { position: relative; width: 150px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .35); overflow: hidden;
  background: radial-gradient(circle, transparent 0 22%, rgba(34, 211, 238, .18) 22.5% 23%, transparent 23.5% 46%, rgba(34, 211, 238, .18) 46.5% 47%, transparent 47.5%),
              linear-gradient(transparent calc(50% - .5px), rgba(34, 211, 238, .18) 50%, transparent calc(50% + .5px)),
              linear-gradient(90deg, transparent calc(50% - .5px), rgba(34, 211, 238, .18) 50%, transparent calc(50% + .5px)),
              rgba(34, 211, 238, .03); }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 211, 238, .5), rgba(34, 211, 238, 0) 70deg, transparent); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); opacity: 0; animation: blip 4s linear infinite; }
.b1 { left: 64%; top: 26%; animation-delay: .35s; } .b2 { left: 28%; top: 62%; animation-delay: 2.5s; background: var(--ok); box-shadow: 0 0 10px var(--ok); } .b3 { left: 70%; top: 70%; animation-delay: 1.6s; }
@keyframes blip { 0% { opacity: 1; transform: scale(1.4); } 40% { opacity: .15; transform: scale(1); } 100% { opacity: 0; } }
.con-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.con-rows li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: .9rem; color: var(--ink); }
.con-rows svg { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.con-rows em { font: 500 .74rem var(--font-mono); font-style: normal; }
.con-rows .ok { color: var(--ok); padding: 3px 8px; border-radius: 999px; background: var(--ok-soft); }
.con-rows .rec { color: var(--rec); display: inline-flex; align-items: center; gap: 6px; }
.con-rows .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
.bars { display: inline-flex; align-items: end; gap: 3px; height: 16px; }
.bars i { width: 4px; border-radius: 1px; background: var(--accent); animation: bar 2.4s ease-in-out infinite; }
.bars i:nth-child(1) { height: 25%; } .bars i:nth-child(2) { height: 50%; animation-delay: .15s; }
.bars i:nth-child(3) { height: 75%; animation-delay: .3s; } .bars i:nth-child(4) { height: 100%; animation-delay: .45s; }
@keyframes bar { 50% { opacity: .35; } }
.prog { display: block; width: 70px; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--violet)); animation: prog 3s ease-in-out infinite; }
@keyframes prog { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.con-log { margin: 0; padding: 12px 18px 16px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.con-log > span:first-child { color: var(--ok); }
.typed { display: inline-block; vertical-align: bottom; overflow: hidden; max-width: 0; animation: type 7s steps(52) infinite; border-right: 2px solid var(--accent); padding-right: 2px; }
@keyframes type { 0% { max-width: 0; } 45%, 85% { max-width: 52ch; } 100% { max-width: 0; } }
@media (max-width: 520px) {
  .con-body { grid-template-columns: 1fr; justify-items: center; }
  .con-rows { width: 100%; }
  .radar { width: 120px; }
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7, 11, 20, .6); padding: 24px 0; }
.trust-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-points li { display: flex; gap: 12px; align-items: center; font-size: .88rem; line-height: 1.35; color: var(--muted); }
.trust-points svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.trust-points strong { display: block; font-size: .95rem; }
@media (max-width: 960px) { .trust-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-points { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section.tight { padding-top: 0; }
.section.alt { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 700px; margin-bottom: 40px; }
.sec-head p:last-child { margin-bottom: 0; }

/* Service cards with illustrations */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { position: relative; display: grid; grid-template-columns: 220px 1fr; border-radius: var(--radius); background: var(--panel);
  border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; overflow: hidden; }
.svc::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--violet));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px rgba(34, 211, 238, .2), 0 0 40px rgba(34, 211, 238, .08); border-color: var(--line-2); }
.svc:hover::after { transform: scaleX(1); }
.svc-art { display: grid; place-items: center; padding: 14px; background: rgba(34, 211, 238, .035); border-right: 1px solid var(--line); }
.svc-art .il { width: 100%; height: auto; }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.svc-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.svc-icon svg { width: 19px; height: 19px; }
.svc-name { display: flex; align-items: center; gap: 12px; font: 600 1.15rem/1.3 var(--font-head); color: var(--ink); }
.svc-line { font-size: .95rem; }
.svc-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--link); }
@media (max-width: 1060px) { .svc { grid-template-columns: 1fr; } .svc-art { border-right: 0; border-bottom: 1px solid var(--line); } .svc-art .il { max-width: 280px; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* Split + ticks */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-list { align-items: start; grid-template-columns: 1.1fr .9fr; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split, .split-list { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li > svg { margin-top: 3px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.chips-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.chips-list li { position: relative; padding: 14px 16px 14px 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); font-size: .96rem; color: var(--ink); }
.chips-list li::before { content: ""; position: absolute; left: 17px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 2px; transform: rotate(45deg);
  border: 1.5px solid var(--accent); }

/* Tech stack panel */
.stack { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-2); background: rgba(9, 14, 26, .85); box-shadow: var(--shadow); }
.stack-h { margin: 0 0 16px; font-size: .8rem; color: var(--muted); }
.stack-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-list li { padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(34, 211, 238, .22); background: var(--accent-soft); color: var(--ink);
  font: 500 .82rem var(--font-mono); }
.stack-list li:nth-child(3n) { border-color: rgba(167, 139, 250, .28); background: var(--violet-soft); }

/* Feature cards */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.feat:hover { border-color: rgba(34, 211, 238, .3); }
.feat p { margin: 0; font-size: .96rem; }
.feat h3 { font-size: 1.08rem; }
.feat-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; border: 1px solid rgba(34, 211, 238, .25); }
.feat-icon svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.mission { padding: 30px; border-radius: var(--radius); border: 1px solid rgba(34, 211, 238, .25); background: linear-gradient(160deg, rgba(34, 211, 238, .1), rgba(167, 139, 250, .07)); }
.mission p { margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -19px; width: 20px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.steps p { margin: 0; font-size: .96rem; }
.step-n { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 8px; font-size: .85rem; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(34, 211, 238, .25); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 1.05rem/1.4 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--font-body); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; margin: 0; }

/* Page heads */
.page-head { padding: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-bottom: 0; }
.page-head .hero-actions { margin-bottom: 0; }
.ph-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.ph-art { padding: 18px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(9, 14, 26, .85); box-shadow: var(--shadow-lg), 0 0 80px rgba(34, 211, 238, .08); }
.ph-art .il { width: 100%; height: auto; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: 1fr; } .ph-art { max-width: 460px; } }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { text-decoration: none; }

.related { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.rel { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.rel .svc-icon { border-radius: 50%; }
.rel > svg { color: var(--accent); }
.rel:hover { border-color: var(--accent); box-shadow: 0 0 24px rgba(34, 211, 238, .15); }

/* ---------- Illustrations (inline SVG) ---------- */
.il { overflow: visible; }
.il path, .il rect, .il circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.il-grid path { stroke: var(--il-grid); stroke-width: 1; }
.il-line { stroke: var(--il-line); stroke-width: 2; }
.il .il-fill { fill: var(--il-fill); }
.il-acc { stroke: var(--accent); stroke-width: 2.4; }
.il-cable { stroke: rgba(167, 139, 250, .55); stroke-width: 2; stroke-dasharray: 4 5; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.il .il-pkt { fill: var(--accent); stroke: none; }
.il .il-pkt.p2 { fill: var(--violet); }
.il .il-led { fill: var(--ok); stroke: none; animation: blink 1.1s steps(2) infinite; }
.il .l2 { animation-delay: .3s; } .il .l3 { animation-delay: .7s; fill: var(--accent); }
.il-wave { stroke: var(--accent); stroke-width: 3; opacity: .2; animation: wave 2.4s ease-in-out infinite; }
.w2 { animation-delay: .25s; } .w3 { animation-delay: .5s; }
@keyframes wave { 0%, 100% { opacity: .15; } 30% { opacity: 1; } }
.il-type { stroke: var(--il-line); stroke-width: 3; stroke-dasharray: 80; stroke-dashoffset: 80; animation: typeline 5s ease infinite; }
.il-type.t1 { stroke: var(--accent); } .t2 { animation-delay: .5s; } .t3 { animation-delay: 1s; } .t4 { animation-delay: 1.5s; stroke: var(--ok); }
@keyframes typeline { 0% { stroke-dashoffset: 80; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 80; } }
.il-gear { transform-origin: 168px 96px; transform-box: view-box; animation: spin 8s linear infinite; }
.il-ok circle { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2; }
.il-ok path { stroke: var(--ok); stroke-width: 2.6; }
.il-ok { animation: pop 5s ease infinite; transform-origin: 196px 44px; transform-box: view-box; }
@keyframes pop { 0%, 40% { opacity: 0; transform: scale(.6); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.il-cam { transform-origin: 40px 50px; transform-box: view-box; animation: pan 7s ease-in-out infinite; }
@keyframes pan { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(9deg); } }
.il .il-cone { fill: rgba(34, 211, 238, .1); stroke: rgba(34, 211, 238, .3); stroke-width: 1; }
.il .il-lens { fill: var(--accent); stroke: none; }
.il .il-rec { fill: var(--rec); stroke: none; animation: blink 1.2s steps(2) infinite; }
.il-target { stroke: var(--ok); stroke-width: 1.6; stroke-dasharray: 6 4; animation: blink 2s ease-in-out infinite; }
.il .il-tile { fill: rgba(34, 211, 238, .06); stroke: rgba(34, 211, 238, .3); stroke-width: 1.2; }
.il .il-tile.k2 { animation: speak 4s ease infinite; } .il .il-tile.k3 { animation: speak 4s ease 2s infinite; }
@keyframes speak { 0%, 40%, 100% { stroke: rgba(34, 211, 238, .3); } 10%, 30% { stroke: var(--ok); } }
.il .il-head { fill: rgba(203, 225, 255, .25); stroke: none; }
.il-eq { stroke: var(--accent); stroke-width: 3; animation: eq 1s ease-in-out infinite; }
.e2 { animation-delay: .2s; } .e3 { animation-delay: .4s; } .e4 { animation-delay: .1s; }
@keyframes eq { 0%, 100% { transform: scaleY(1); } 50% { transform: translateY(-2px); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card, .c-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.contact-side { display: grid; gap: 18px; }
.c-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; margin: 0; }
.c-row:first-of-type { border-top: 0; }
.c-row svg { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.c-row strong { display: block; font-size: 1rem; word-break: break-word; }
a.c-row:hover strong { color: var(--accent); }
.mini-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: .95rem; }

.quote { display: grid; gap: 16px; }
.quote label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.quote em { font-weight: 400; font-style: normal; color: var(--muted); }
.quote input, .quote select, .quote textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font: 400 1rem var(--font-body); color: var(--ink); background: var(--panel-2); transition: border-color .15s, box-shadow .15s; }
.quote textarea { resize: vertical; }
.quote ::placeholder { color: var(--muted); }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.quote [aria-invalid="true"] { border-color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-status a { color: inherit; }

.prose { max-width: 760px; }
.prose h2 { margin-top: .2em; }
.section .wrap.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* CTA band */
.cta-band { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.cta-band::before { background: radial-gradient(700px 380px at 15% 50%, rgba(34, 211, 238, .12), transparent 65%),
                                radial-gradient(700px 380px at 90% 50%, rgba(167, 139, 250, .14), transparent 65%); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { max-width: 24ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Footer (solid, so it grounds the page) */
.site-foot { background: var(--bg-deep); color: var(--muted); padding: 64px 0 0; font-size: .95rem; border-top: 1px solid var(--line); }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .brand:hover { text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand { margin-bottom: 16px; }
.foot-h { font: 600 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-contact a, .foot-contact span { display: inline-flex; gap: 10px; align-items: center; word-break: break-word; }
.foot-contact svg { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding: 22px var(--gutter); border-top: 1px solid var(--line); font-size: .85rem; }
.foot-base .mono { font-size: .78rem; }

/* Mobile action bar */
.actionbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .actionbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(7, 11, 20, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-2);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); gap: 6px; }
  .actionbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .78rem; font-weight: 600; }
  .actionbar svg { width: 22px; height: 22px; color: var(--accent); }
  .actionbar .wa svg { color: var(--wa); }
  .actionbar .quote { background: var(--accent); color: var(--on-accent); }
  .actionbar .quote svg { color: var(--on-accent); }
}

@media (max-width: 600px) {
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* Scroll reveal (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .06s; } .js .reveal.d2 { transition-delay: .12s; } .js .reveal.d3 { transition-delay: .18s; }
.js .reveal.d4 { transition-delay: .24s; } .js .reveal.d5 { transition-delay: .3s; }

/* Reduced motion: everything stays still */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .typed { max-width: none; border-right: 0; }
  .il-type { stroke-dashoffset: 0; }
  .il .il-pkt, .blip { display: none; }
  .il-ok { opacity: 1; }
  .il-wave { opacity: .7; }
}
