/* ALWAH TECH — site styles. One light "drawing paper" world; products live on their own stages. */
@font-face { font-family: "Readex"; src: url(/fonts/readex-arabic.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Readex"; src: url(/fonts/readex-latin.woff2) format("woff2"); font-weight: 300 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+2122, U+2212; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-arabic-400-arabic.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-arabic-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-arabic-500-arabic.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-arabic-500-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-arabic-600-arabic.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex"; src: url(/fonts/plex-arabic-600-latin.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --paper: #f5f8fc;
  --paper-2: #e6edf6;
  --ink: #0a1628;
  --ink-2: #33425c;
  --muted: #5d6c86;
  --line: #d6dfeb;
  --signal: #0b9a70;
  --signal-glow: #3ee6b0;
  --cobalt: #1272e0;
  --brand: #1272e0;
  --brand-glow: #4aa3ff;
  --gold: #b07a26;
  --gold-ink: #5d3f0f;
  --cream: #f5ecdb;
  --stage: #0b1830;
  --stage-2: #12223f;
  --stage-line: #24385c;
  --stage-text: #dde6f4;
  --stage-muted: #93a4c0;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 30px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --display: "Readex", "Plex", system-ui, sans-serif;
  --text: "Plex", "Readex", system-ui, sans-serif;
  /* type scale, ratio 1.25 from 17px */
  --t-s: .875rem;
  --t-b: 1.0625rem;
  --t-m: 1.3rem;
  --t-l: 1.65rem;
  --t-xl: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem);
  --t-xxl: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-b)/1.85 var(--text); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.i { width: 1.2em; height: 1.2em; flex: none; display: inline-block; vertical-align: -.2em; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.25; margin: 0; letter-spacing: 0; }
p { margin: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

/* ---------- buttons */
.btn { --b: var(--brand); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: var(--f); font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn.ghost { --b: var(--ink); background: transparent; color: var(--b); }
.btn.ghost:hover { background: var(--b); color: var(--f); }
.btn.signal { --b: var(--signal); }
.btn.ghost.gold { --b: var(--gold); }
.btn.ghost.light { --b: #fff; --f: var(--stage); }
.btn.gold { --b: var(--gold); }
.btn.wa { --b: #128c4f; }
.btn.light { --b: #fff; --f: var(--stage); }
.btn.sm { min-height: 40px; font-size: .92rem; padding: 0 1.1em; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link { color: var(--cobalt); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link svg { width: 1.1em; height: 1.1em; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-inline-end: auto; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand b { font: 700 1.3rem/1 var(--display); display: block; }
.brand small { font: 500 .62rem/1 var(--display); letter-spacing: .18em; color: var(--muted); display: block; margin-top: 5px; direction: ltr; text-align: right; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn svg { margin: auto; width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--brand); }
  .menu-btn { display: grid; }
  .top .cta { display: none; }
}

/* ---------- home hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; position: relative; }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.hero h1 { font-size: var(--t-xxl); font-weight: 600; line-height: 1.15; max-width: 13ch; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }
.hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.kicker { font: 500 1rem/1.4 var(--display); color: var(--muted); margin-bottom: 18px; }
@media (max-width: 860px) { .hero-text { grid-template-columns: 1fr; } }

/* topology drawing: the one loud thing on the home page */
.topo { margin-inline: 0; margin-bottom: 0; margin-top: clamp(28px, 5vw, 56px); position: relative; }
.topo-frame { position: relative; border-radius: var(--r-l); background:
  linear-gradient(var(--paper-2) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, var(--paper-2) 1px, transparent 1px) 0 0 / 28px 28px, #fbfcfe; border: 1px solid var(--line); overflow: hidden; }
.topo svg { width: 100%; height: auto; }
.topo .wide { display: block; }
.topo .tall { display: none; }
@media (max-width: 700px) { .topo .wide { display: none; } .topo .tall { display: block; } }
.topo text { font-family: var(--display); fill: var(--ink); }
.topo .lbl { font-size: 19px; font-weight: 600; }
.topo .sub { font-size: 15px; fill: var(--muted); font-family: var(--text); }
.topo .wire { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.topo .tunnel { fill: none; stroke: var(--signal); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.topo .tunnel-glow { fill: none; stroke: var(--signal-glow); stroke-width: 14; opacity: .16; stroke-linecap: round; }
.topo .air { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; opacity: .55; }
.topo .ground { stroke: var(--line); stroke-width: 2; }
.topo .box { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.topo .solid { fill: var(--ink); }
.topo .soft { fill: var(--paper-2); }
.topo .led { fill: var(--signal-glow); }
.topo .led.b { animation: blink 1.6s steps(2) infinite; }
.topo .led.c { animation: blink 1.1s .3s steps(2) infinite; }
.topo .pkt { fill: var(--signal); }
.topo .pkt-2 { fill: var(--cobalt); }
.topo .ping { opacity: 0; }
.topo .ping rect, .topo .ping path { fill: var(--gold); }
.topo .on-dark { fill: #fff; font-size: 19px; font-weight: 600; direction: ltr; }
.topo .ping text { fill: #fff; font-size: 14px; font-family: var(--text); font-weight: 600; }
.topo .ping.show { animation: ping 3.2s ease-out forwards; }
.topo .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.topo.go .draw { animation: draw 1.6s cubic-bezier(.6, .1, .2, 1) forwards; }
.topo.go .d2 { animation-delay: .5s; }
.topo.go .d3 { animation-delay: 1s; }
.topo .fade { opacity: 0; }
.topo.go .fade { animation: fade .6s forwards; animation-delay: var(--dl, .2s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes ping { 0% { opacity: 0; transform: translateY(8px); } 12%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.topo-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 18px; }
.topo-legend > div { padding: 4px 18px 4px 0; border-inline-start: 1px solid var(--line); padding-inline-start: 18px; font-size: .95rem; color: var(--ink-2); }
.topo-legend > div:first-child { border: 0; padding-inline-start: 0; }
.topo-legend b { display: flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.topo-legend i { width: 22px; height: 0; border-top: 3px solid; display: inline-block; }
.topo-legend .k1 i { border-color: var(--signal); border-top-style: dotted; }
.topo-legend .k2 i { border-color: var(--cobalt); }
.topo-legend .k3 i { border: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--gold); }
@media (max-width: 700px) { .topo-legend { grid-template-columns: 1fr; gap: 12px; } .topo-legend > div { border: 0; padding: 0; } }

/* ---------- sections */
.sec { padding: clamp(64px, 10vw, 120px) 0; }
.sec-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-size: var(--t-xl); }
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0 auto; }

/* product rows on home */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: var(--r-l); overflow: hidden; min-height: 520px; }
.prod + .prod { margin-top: 28px; }
.prod .copy { padding: clamp(28px, 4.5vw, 60px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.prod .tag { font: 600 .95rem/1 var(--display); display: flex; align-items: center; gap: 10px; }
.prod .tag img { width: 34px; height: 34px; border-radius: 9px; }
.prod .tag .i { width: 34px; height: 34px; padding: 6px; border-radius: 9px; background: #fff; }
.prod h3 { font-size: var(--t-xl); line-height: 1.2; }
.prod p { max-width: 44ch; }
.prod .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.prod .pic { position: relative; overflow: hidden; }
.prod.vpn { background: var(--stage); color: var(--stage-text); }
.prod.vpn p { color: var(--stage-muted); }
.prod.vpn .tag { color: var(--signal-glow); }
.prod.vpn .pic { background: radial-gradient(120% 80% at 30% 100%, #12406a 0%, transparent 60%), var(--stage-2); }
.prod.vpn .pic .desk { position: absolute; inset-inline-start: 9%; top: 11%; width: 118%; max-width: none; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px var(--stage-line); }
.prod.vpn .pic .phone { position: absolute; inset-inline-start: 5%; top: 34%; width: 24%; padding: 5px; border-radius: 26px; }
.prod.vpn .pic .phone img { border-radius: 21px; }
@media (max-width: 900px) {
  .prod.vpn .pic .desk { top: 9%; inset-inline-start: 12%; width: 125%; }
  .prod.vpn .pic .phone { top: 18%; width: 34%; }
}
.prod.ish { background: var(--cream); color: var(--gold-ink); }
.prod.ish h3 { color: #2b1d07; }
.prod.ish p { color: #6b5532; }
.prod.ish .tag { color: var(--gold); }
.prod.ish .pic { background: radial-gradient(90% 70% at 50% 110%, #e9cf9f 0%, transparent 70%), #efe1c4; }
.prod.ish .fan { position: absolute; inset: 8% 0 -12%; }
.prod.ish .fan .phone { position: absolute; width: 33%; top: 6%; }
.prod.ish .fan .p1 { inset-inline-start: 50%; translate: 50% 0; z-index: 2; top: 2%; }
.prod.ish .fan .p2 { inset-inline-start: 12%; rotate: 7deg; top: 12%; }
.prod.ish .fan .p3 { inset-inline-end: 12%; rotate: -7deg; top: 12%; }
.phone { border-radius: 30px; padding: 7px; background: #0b0f14; box-shadow: 0 24px 60px rgba(10, 20, 30, .35); }
.phone img { border-radius: 24px; width: 100%; }
@media (max-width: 900px) {
  .prod { grid-template-columns: 1fr; min-height: 0; }
  .prod .pic { min-height: 360px; order: -1; }
}
@media (max-width: 520px) { .prod .pic { min-height: 300px; } }

/* what we do */
.do { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.do > div { padding: 28px 0 8px; padding-inline-end: 28px; }
.do > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.do svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 16px; }
.do h3 { font-size: var(--t-m); margin-bottom: 8px; }
.do p { color: var(--ink-2); }
@media (max-width: 820px) { .do { grid-template-columns: 1fr; } .do > div + div { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 0; } }

/* call to talk */
.talk { background: radial-gradient(90% 120% at 0% 100%, #123a6e 0%, transparent 60%), var(--ink); color: #e6edf6; border-radius: var(--r-l); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.talk h2 { font-size: var(--t-xl); white-space: pre-line; color: #fff; }
.talk p { color: #a7b6cc; margin-top: 14px; white-space: pre-line; max-width: 46ch; }
.talk .acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.talk .btn.ghost { --b: #e6edf6; --f: var(--ink); }
@media (max-width: 820px) { .talk { grid-template-columns: 1fr; } .talk .acts { justify-content: flex-start; } }

/* ---------- footer */
.foot { padding: 56px 0 40px; color: var(--muted); font-size: .95rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.foot h4 { font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .brand { margin-bottom: 14px; }
.foot .copy { grid-column: 1 / -1; font-size: .85rem; padding-top: 16px; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* ============ product pages ============ */
.p-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }
.p-hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.p-hero h1 { font-size: var(--t-xxl); line-height: 1.15; }
.p-hero .q { font: 500 var(--t-m)/1.6 var(--display); margin-top: 22px; }
.p-hero .lead { margin-top: 12px; max-width: 46ch; }
.p-hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.p-hero .meta { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 22px; font-size: .92rem; }
.p-hero .meta span { display: inline-flex; gap: 8px; align-items: center; }
.p-hero .meta svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .p-hero .grid { grid-template-columns: 1fr; } }

.vpn-page { --accent: var(--signal); }
.vpn-page .p-hero { background: var(--stage); color: var(--stage-text); }
.vpn-page .p-hero .lead, .vpn-page .p-hero .meta { color: var(--stage-muted); }
.vpn-page .p-hero .q { color: #fff; }
.vpn-page .p-hero .name { color: var(--signal-glow); font: 600 1.05rem/1 var(--display); display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.vpn-page .p-hero .name img { width: 34px; height: 34px; border-radius: 9px; }
.vpn-page .p-hero .btn.signal { --b: var(--signal-glow); --f: #062a1f; }
.vpn-page .p-hero .btn.ghost { --b: var(--stage-text); --f: var(--stage); }
.shot { position: relative; }
.shot .desk { border-radius: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px var(--stage-line); width: 100%; }
.shot .phone { position: absolute; width: 30%; inset-inline-start: -4%; bottom: -12%; }
@media (max-width: 900px) { .shot { margin-inline: 4% 0; } .shot .phone { inset-inline-start: -2%; } }

/* questions strip */
.asks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.asks.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ask h3 { font-size: var(--t-m); line-height: 1.45; margin-bottom: 10px; }
.ask p { color: var(--ink-2); }
.ask .mark { font: 700 3rem/1 var(--display); color: var(--accent, var(--signal)); display: block; height: 34px; }
@media (max-width: 860px) { .asks, .asks.four { grid-template-columns: 1fr; } }

/* features: a quiet two-column list, not cards */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.feat { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--accent, var(--signal)); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feat p { color: var(--ink-2); font-size: 1rem; }
.feat .note { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 820px) { .feats { grid-template-columns: 1fr; } }
.works-with { margin-top: 32px; padding: 18px 22px; border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; gap: 14px; align-items: center; }
.works-with svg { width: 26px; height: 26px; color: var(--signal); flex: none; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps li { counter-increment: s; padding-inline-end: 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent, var(--brand)); color: #fff; font: 600 1.15rem/1 var(--display); margin-bottom: 18px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 23px; inset-inline-start: 46px; inset-inline-end: 0; border-top: 2px dashed var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 1rem; }
.steps code { font-family: inherit; background: var(--paper-2); padding: 1px 7px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 26px; } .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 0; } .steps li::before { grid-row: span 2; margin: 0; } .steps li::after { top: 46px; bottom: -26px; inset-inline-start: 22px; inset-inline-end: auto; border-top: 0; border-inline-start: 2px dashed var(--line); } }
.trial-note { margin-top: 36px; display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-m); background: color-mix(in srgb, var(--accent, var(--signal)) 10%, #fff); color: var(--ink); }
.trial-note svg { width: 26px; height: 26px; color: var(--accent, var(--signal)); flex: none; margin-top: 3px; }
.trial-note b { font-family: var(--display); font-weight: 600; }

/* screens gallery */
.screens { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 26px; scrollbar-width: thin; }
.screens figure { margin: 0; flex: 0 0 min(250px, 68vw); scroll-snap-align: start; }
.screens figcaption { font-size: .92rem; color: var(--ink-2); margin-top: 12px; text-align: center; }
.band-dark { background: var(--stage); color: var(--stage-text); }
.band-dark .sec-head p, .band-dark figcaption { color: var(--stage-muted); }
.band-dark .phone { box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px var(--stage-line); }

/* pricing */
.seg { display: inline-flex; padding: 4px; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 30px; }
.seg button { border: 0; background: none; font: 600 .98rem/1 var(--text); color: var(--ink-2); padding: 11px 22px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--stage); color: #fff; }
.seg .save { color: var(--signal); font-size: .85rem; margin-inline-start: 6px; }
.seg button[aria-pressed="true"] .save { color: var(--signal-glow); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border-radius: var(--r-m); padding: 28px 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.star { background: var(--stage); color: var(--stage-text); box-shadow: 0 30px 60px -20px rgba(11, 24, 48, .5); }
.plan.star .desc, .plan.star li { color: var(--stage-muted); }
.plan.star li svg { color: var(--signal-glow); }
.plan .flag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--signal-glow); color: #062a1f; font: 600 .82rem/1 var(--display); padding: 7px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; }
.plan .desc { color: var(--ink-2); font-size: .97rem; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 700 2.6rem/1 var(--display); }
.price .per { color: var(--muted); }
.plan.star .price .per { color: var(--stage-muted); }
.price s { color: var(--muted); font-size: 1.05rem; }
.offer { font-size: .88rem; font-weight: 600; color: #b5440c; }
.plan.star .offer { color: #ffb37a; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .97rem; color: var(--ink-2); line-height: 1.6; }
.plan li svg { width: 20px; height: 20px; color: var(--signal); margin-top: 3px; }
.plan .btn { width: 100%; margin-top: 8px; --b: var(--stage); }
.plan.star .btn { --b: var(--signal-glow); --f: #062a1f; }
.plans-empty { padding: 26px; border-radius: var(--r-m); background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.gift { margin-top: 22px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; font-size: .97rem; }
.gift svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font: 600 1.1rem/1.5 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--muted); margin-top: 3px; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* download blocks (used on product pages and /download) */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.dl { border-radius: var(--r-m); padding: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.dl .head { display: flex; gap: 14px; align-items: center; }
.dl .head .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--ink); flex: none; }
.dl .head .ic svg { width: 26px; height: 26px; }
.dl .head img { width: 52px; height: 52px; border-radius: 14px; }
.dl h3 { font-size: 1.2rem; }
.dl .for { color: var(--muted); font-size: .92rem; }
.dl .facts { display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--ink-2); font-size: .92rem; min-height: 1.6em; }
.dl .facts span { display: inline-flex; gap: 6px; align-items: center; }
.dl .btn { width: 100%; }
.dl ol { margin: 4px 0 0; padding-inline-start: 1.3em; color: var(--ink-2); font-size: .95rem; display: grid; gap: 4px; }
.dl.vpn .head .ic { background: var(--stage); color: var(--signal-glow); }
.dl.ish .head .ic { background: var(--cream); color: var(--gold); }
.soon { color: var(--muted); font-size: .93rem; }
.dl-strip { background: var(--paper-2); }

/* ishaar page */
.ish-page { --accent: var(--gold); }
.ish-page .p-hero { background: var(--cream); color: #2b1d07; }
.ish-page .p-hero .lead { color: #6b5532; }
.ish-page .p-hero .q { color: var(--gold-ink); }
.ish-page .p-hero .name { color: var(--gold); font: 600 1.05rem/1 var(--display); margin-bottom: 18px; display: block; }
.ish-page .p-hero h1 { color: #2b1d07; }
.ish-page .fan-hero { position: relative; height: clamp(420px, 48vw, 600px); }
.ish-page .fan-hero .phone { position: absolute; width: 38%; top: 6%; }
.ish-page .fan-hero .p1 { inset-inline-start: 50%; translate: 50% 0; z-index: 2; top: 0; }
.ish-page .fan-hero .p2 { inset-inline-start: 4%; rotate: 8deg; }
.ish-page .fan-hero .p3 { inset-inline-end: 4%; rotate: -8deg; }
.ish-page .feat .ic { color: var(--gold); }
.ish-page .steps li::before { background: var(--gold); }
.owner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: #2b1d07; color: #f3e6cc; border-radius: var(--r-l); padding: clamp(28px, 5vw, 64px); }
.owner h2 { font-size: var(--t-xl); color: #fff; }
.owner p { color: #d4c19c; margin-top: 14px; }
.owner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.owner li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 1.05rem; }
.owner li svg { width: 24px; height: 24px; color: #e8b768; margin-top: 3px; }
@media (max-width: 860px) { .owner { grid-template-columns: 1fr; } }
.band-cream { background: var(--cream); }
.band-cream .sec-head p, .band-cream figcaption { color: #6b5532; }

/* download page */
.d-hero { padding: clamp(48px, 7vw, 90px) 0 30px; }
.d-hero h1 { font-size: var(--t-xxl); max-width: 14ch; }
.d-hero p { color: var(--ink-2); margin-top: 16px; max-width: 52ch; font-size: 1.1rem; }
.safe { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.safe > div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--ink-2); font-size: .97rem; }
.safe svg { width: 26px; height: 26px; color: var(--brand); }
.safe b { color: var(--ink); display: block; font-family: var(--display); font-weight: 600; }
@media (max-width: 820px) { .safe { grid-template-columns: 1fr; } }

.dl-page #files { padding-top: 24px; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf h1 { font-size: var(--t-xxl); }
.nf p { color: var(--ink-2); margin: 14px 0 26px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .topo .draw { stroke-dashoffset: 0; }
  .topo .fade { opacity: 1; }
}
@media (max-width: 900px) { .ish-page .fan-hero { height: min(96vw, 560px); } }

/* ============ dark header everywhere (the logo's navy) ============ */
.top { background: rgba(6, 15, 32, .97); border-bottom-color: rgba(255, 255, 255, .06); color: #e8eef8; }
.top.scrolled { border-bottom-color: rgba(255, 255, 255, .1); }
.top .brand small { color: #8fa3c4; }
.nav a { color: #b9c7dd; }
.nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.menu-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 920px) {
  .nav { background: #071226; border-bottom-color: rgba(255, 255, 255, .1); }
  .nav a { border-bottom-color: rgba(255, 255, 255, .08); }
  .nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--brand-glow); }
}

/* ============ home: a quiet product launch, scroll-driven ============ */
.home main { background: #050b17; }
.lx-hero { background: radial-gradient(70% 55% at 50% 100%, #0f2c57 0%, rgba(15, 44, 87, 0) 70%), #050b17; color: #e6edf6; padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.lx-head { text-align: center; }
.lx-k { font: 600 1rem/1 var(--display); color: var(--signal-glow); letter-spacing: .02em; direction: ltr; }
.lx-hero h1 { font-size: clamp(2.6rem, 1rem + 6.4vw, 6.2rem); line-height: 1.08; color: #fff; margin-top: 20px; font-weight: 600; }
.lx-sub { color: #9fb0c9; font-size: clamp(1.1rem, .9rem + .6vw, 1.35rem); margin: 22px auto 0; max-width: 40ch; }
.lx-acts { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.lx-hero .btn.signal, .lx-end .btn.signal { --b: var(--signal-glow); --f: #062a1f; min-height: 52px; padding: 0 1.8em; font-size: 1.05rem; }
.link.light { color: #8fc4ff; font-size: 1.05rem; }
.lx-dev { margin-top: clamp(40px, 5vw, 64px); perspective: 1600px; position: relative; }
.lx-dev::before { content: ""; position: absolute; inset: 10% 5% -10%; background: radial-gradient(closest-side, rgba(62, 230, 176, .1), transparent); pointer-events: none; }
.lx-dev .laptop { transform-origin: 50% 100%; transform: rotateX(var(--rx, 22deg)) scale(var(--sc, .9)) translateZ(0); will-change: transform; backface-visibility: hidden; }

/* devices */
.laptop { position: relative; width: 100%; max-width: 1060px; margin: 0 auto; }
.laptop .scr { position: relative; aspect-ratio: 16 / 10; border-radius: 18px 18px 6px 6px; padding: 1.4%; background: #0a0d14; box-shadow: 0 0 0 1px #2a3346, 0 40px 80px rgba(0, 0, 0, .5); overflow: hidden; }
.laptop .scr img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.laptop .base { height: 16px; margin: 0 -6%; border-radius: 0 0 22px 22px; background: linear-gradient(#3a4458, #1c2230 60%, #12161f); position: relative; }
.laptop .base::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 16%; height: 6px; border-radius: 0 0 10px 10px; background: #12161f; }
.handset { display: none; }

/* the tour: sticky stage, text and screens change as you scroll */
.tour { position: relative; height: calc(var(--n) * 100vh); background: #050b17; color: #e6edf6; }
.tour-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; align-items: center; overflow: hidden; }
.tour-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.tour-text { position: relative; min-height: 300px; }
.tt { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(18px); transition: opacity .45s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); pointer-events: none; will-change: opacity, transform; }
.tt .tn { font: 600 .95rem/1 var(--display); color: var(--signal-glow); direction: ltr; text-align: right; }
.tt h2 { font-size: clamp(1.9rem, 1rem + 2.4vw, 3.1rem); line-height: 1.18; color: #fff; margin-top: 14px; }
.tt p:last-child { color: #9fb0c9; font-size: 1.12rem; margin-top: 16px; max-width: 34ch; }
.tour[data-step="0"] .tt[data-i="0"], .tour[data-step="1"] .tt[data-i="1"], .tour[data-step="2"] .tt[data-i="2"], .tour[data-step="3"] .tt[data-i="3"] { opacity: 1; transform: none; pointer-events: auto; }
.tour-bar { position: absolute; top: 270px; right: 0; width: 120px; height: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; overflow: hidden; }
.tour-bar i { display: block; height: 100%; width: 100%; background: var(--signal-glow); transform: scaleX(var(--p, 0)); transform-origin: right; }
.tour-dev .scr { position: relative; }
.tour-dev .scr img { position: absolute; inset: 1.4%; width: 97.2%; height: 97.2%; opacity: 0; transform: scale(1.015); transition: opacity .55s cubic-bezier(.4, 0, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); will-change: opacity, transform; }
.tour-dev .handset .scr img { inset: 0; width: 100%; height: 100%; }
.tour[data-step="0"] img[data-i="0"], .tour[data-step="1"] img[data-i="1"], .tour[data-step="2"] img[data-i="2"], .tour[data-step="3"] img[data-i="3"] { opacity: 1; transform: none; }

.lx-end { background: radial-gradient(60% 80% at 50% 0%, #0f2c57 0%, rgba(15, 44, 87, 0) 70%), #050b17; color: #e6edf6; text-align: center; padding: clamp(80px, 12vw, 150px) 0; }
.lx-end h2 { font-size: clamp(2.2rem, 1rem + 4vw, 4.2rem); color: #fff; }
.lx-end p { color: #9fb0c9; font-size: 1.15rem; margin-top: 14px; }
.home #work { background: var(--paper); }

@media (max-width: 860px) {
  .tour-sticky { top: 64px; height: calc(100svh - 64px); align-items: stretch; }
  .tour-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 16px; padding-top: 28px; padding-bottom: 20px; }
  .tour-text { min-height: 190px; }
  .tt h2 { font-size: 1.75rem; }
  .tt p:last-child { font-size: 1rem; margin-top: 10px; }
  .tour-bar { top: auto; bottom: -6px; }
  .tour-dev { display: flex; justify-content: center; align-items: flex-start; min-height: 0; }
  .tour-dev .laptop { display: none; }
  .handset { display: block; width: min(66vw, calc((100svh - 330px) * 0.462)); aspect-ratio: 780 / 1688; border-radius: 34px; padding: 6px; background: #02060e; box-shadow: 0 0 0 1px #2a3a58, 0 30px 80px rgba(0, 0, 0, .6); }
  .handset .scr { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #0b1426; }
  .lx-dev .laptop .base { height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-dev .laptop { transform: none; }
  .tt, .tour-dev .scr img { transition: none; }
}
