:root {
  --bg: #09090b;
  --bg-2: #111114;
  --card: #141418;
  --line: #26262d;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #ff6b3d;
  --accent-2: #3d7bff;
  --radius: 18px;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--body); overflow-x: hidden; overflow-x: clip; overflow-wrap: anywhere; max-width: 100%;
}
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }

/* ------------------------------------------------------------ header -- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 12px;
  background: linear-gradient(to bottom, rgba(9, 9, 11, .92), rgba(9, 9, 11, .6) 70%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 18px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.logo img { width: auto; height: 32px; flex: none; }
.links { display: flex; gap: clamp(14px, 2vw, 30px); font-size: 15px; color: #d4d4d8; }
.links a { text-decoration: none; opacity: .85; transition: opacity .2s; white-space: nowrap; }
.links a:hover { opacity: 1; }
.actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* the header never breaks: the logo keeps its size, long (or browser-translated) labels end with "…" */
.logo { flex: none; }
.who { min-width: 0; max-width: 220px; gap: 7px; }
.who .ico { width: 18px; height: 18px; flex: none; }
.who .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang {
  display: inline-flex; align-items: center; gap: 6px; max-width: 160px;
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font: 500 14px var(--body); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 700 15px var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn.light { background: #fff; color: #0a0a0a; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.big { min-height: 54px; padding: 14px 28px; font-size: 17px; border-radius: 14px; }
.btn.glow {
  background: linear-gradient(180deg, #8d8d97, #4b4b55); color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* -------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(88px, 13vh, 140px); padding-bottom: 8px;
  background: radial-gradient(1200px 500px at 50% -10%, #23232b 0%, transparent 70%), var(--bg);
}
.hero-copy { position: relative; z-index: 3; width: 100%; max-width: 980px; padding: 0 20px; text-align: center; will-change: transform, opacity; }
.hero h1 {
  margin: 0 0 18px; font: 800 clamp(40px, 8.6vw, 104px)/1.02 var(--display); letter-spacing: -.035em;
  text-wrap: balance;
}
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.4s .35s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sub { margin: 0 auto 28px; max-width: 700px; color: var(--muted); font-size: clamp(16px, 2.1vw, 21px); text-wrap: pretty; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { margin: 22px 0 0; font: 600 clamp(20px, 2.6vw, 28px)/1.2 var(--hand); color: #e4e4e7; }
.note span { white-space: nowrap; }
.flash { margin: 0 auto 16px; max-width: 640px; padding: 10px 14px; border-radius: 10px; background: #2a1712; color: #ffb59c; }
.flash.ok { background: #12301d; color: #6fd28f; }

/* crowd: a layer pinned to the bottom of the window (people walk in landing.js) */
.crowd {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: 40vh; overflow: hidden; pointer-events: none;
}
.crowd-inner { position: relative; z-index: 1; width: 100%; height: 100%; }
/* dark backdrop behind the footer band, so text passing behind the people stays calm */
.crowd::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--crowd-band, 160px) * 1.5);
  background: linear-gradient(to bottom, rgba(9, 9, 11, 0), rgba(9, 9, 11, .9) 45%, #09090b);
  opacity: var(--compact, 0);
}
.crowd .person { position: absolute; left: 0; will-change: transform; }
.crowd .person-walk { width: 100%; height: 100%; will-change: transform; backface-visibility: hidden; }
.crowd .person img {
  display: block; width: 100%; height: 100%; transform-origin: 50% 100%;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
@media (max-width: 760px) { .crowd { height: 32vh; } }
.down {
  position: absolute; z-index: 45; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 1px solid var(--line); text-decoration: none; font-size: 18px;
  animation: nudge 2s ease-in-out infinite;
}
@keyframes nudge { 50% { transform: translate(-50%, 6px); } }

/* ---------------------------------------------------------- sections -- */
.section { position: relative; padding: clamp(44px, 7vw, 84px) clamp(16px, 5vw, 48px); }
.wrap { max-width: 1120px; margin: 0 auto; }
.kicker { font: 700 13px var(--body); letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin: 0 0 12px; }
.section h2 { margin: 0 0 14px; font: 800 clamp(30px, 5vw, 56px)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.lead { margin: 0 0 40px; color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); max-width: 720px; text-wrap: pretty; }
.center { text-align: center; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

[data-reveal] { opacity: 0; transform: translateY(34px) scale(.985); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
[data-reveal][data-d="4"] { transition-delay: .32s; }
[data-reveal][data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

.demo-frame {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(600px 300px at 30% 20%, #1b1d26, transparent), #0d0d10;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.demo-frame .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.demo-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
#net { width: 100%; height: clamp(260px, 42vw, 460px); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step, .case {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: border-color .25s, transform .25s;
}
.step:hover, .case:hover { border-color: #3f3f46; transform: translateY(-3px); }
.step .num { font: 800 34px/1 var(--display); color: transparent; -webkit-text-stroke: 1.2px #71717a; margin-bottom: 18px; }
.step h3, .case h3 { margin: 0 0 8px; font: 700 18px/1.25 var(--display); }
.step p, .case p { margin: 0; color: var(--muted); font-size: 15px; }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.case .tag { display: inline-block; margin-bottom: 14px; font: 700 11px var(--body); letter-spacing: .12em; color: var(--accent-2); }

.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.about p.big { font-size: clamp(18px, 2.2vw, 23px); color: #e4e4e7; margin: 0; text-wrap: pretty; }
.points h3 { margin: 0 0 10px; font: 700 18px var(--display); }
.points ul { list-style: none; margin: 0 0 26px; padding: 0; }
.points li { position: relative; padding-inline-start: 26px; margin-bottom: 10px; color: var(--muted); }
.points li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--accent); }
.points li a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.points-link { margin: -12px 0 0; font-weight: 600; }
.points-link a { color: var(--accent); text-decoration: none; }
.points-link a:hover { text-decoration: underline; }
.disclaimer { margin-top: 28px; font-size: 13px; color: #71717a; }

.price-card {
  max-width: 520px; margin: 0 auto; padding: clamp(26px, 4vw, 40px); text-align: center;
  background: linear-gradient(180deg, #17171c, #101013); border: 1px solid var(--line); border-radius: 24px;
}
.price-card .amount { font: 800 clamp(48px, 8vw, 72px)/1 var(--display); letter-spacing: -.04em; }
.price-card .per { color: var(--muted); margin-bottom: 24px; }
.price-card ul { list-style: none; padding: 0; margin: 8px 0 26px; text-align: start; }
.price-included { margin: 22px 0 0; text-align: start; font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓"; color: #22c55e; margin-inline-end: 10px; font-weight: 700; }

.final { text-align: center; }
.final p { font: 700 clamp(26px, 4.4vw, 48px)/1.15 var(--display); letter-spacing: -.02em; max-width: 900px; margin: 0 auto 28px; text-wrap: balance; }

footer { border-top: 1px solid var(--line); padding: 26px 16px calc(var(--crowd-band, 0px) + 26px); text-align: center; color: #71717a; font-size: 13px; }
/* the section right after the hero rises into the space the crowd frees while scrolling */
.after-hero { padding-top: clamp(28px, 5vw, 56px); }
footer a { color: #a1a1aa; }

/* ------------------------------------------------------------ mobile -- */
@media (max-width: 1040px) {
  .links { display: none; }
}
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .links { display: none; }
  .logo span { display: none; }
  .lang { padding: 8px; max-width: 120px; }
  .btn { padding: 10px 14px; }
  .steps, .cases { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 100%; }
  .hero { padding-top: 92px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .links { gap: 14px; font-size: 14px; }
}

/* right-to-left */
[dir="rtl"] .scribble svg { transform: scaleX(-1); }

/* legal footer */
footer .legal-op { margin: 0 0 6px; color: #8b8b93; }
footer .legal-links { margin: 0; }
footer .linkbtn { background: none; border: 0; padding: 0; color: #a1a1aa; font: inherit; text-decoration: underline; cursor: pointer; }
footer a { white-space: nowrap; }

footer .legal-logo { display: inline-block; margin-bottom: 10px; }
footer .legal-logo img { height: 48px; width: auto; display: block; }

.nw { white-space: nowrap; }

/* demo graph: title, legend and "stickers" that follow two agents */
.demo-frame .bar { align-items: center; }
.demo-frame .bar-title { margin-inline-start: 10px; font: 600 13px var(--body); color: #d4d4d8; }
.net-legend {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; max-width: min(420px, calc(100% - 28px));
  padding: 12px 14px; border-radius: 12px; background: rgba(18, 18, 21, .88); border: 1px solid var(--line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.net-legend-title { display: block; margin-bottom: 8px; font: 700 11px var(--body); letter-spacing: .12em; color: #f472b6; }
.net-legend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.net-legend li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #d4d4d8; white-space: nowrap; }
.net-legend li i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.net-tag {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: flex; flex-direction: column; gap: 2px;
  padding: 9px 12px; border-radius: 12px; background: #fff; color: #0a0a0a; font-size: 12px; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); white-space: nowrap; will-change: transform;
  border-inline-start: 4px solid var(--tag, #ff6b3d);
}
.net-tag[hidden] { display: none; }
.net-tag span:first-child { font-weight: 700; font-size: 13px; }
.net-tag span:not(:first-child) { color: #3f3f46; }
@media (max-width: 760px) {
  #net { height: 360px; }
  .net-legend { position: relative; left: auto; bottom: auto; max-width: none; margin: 0 8px 8px; padding: 10px 12px; }
  .net-legend li { font-size: 11px; }
  .net-tag { font-size: 11px; padding: 7px 9px; }
  .net-tag span:first-child { font-size: 12px; }
}
.net-legend-cta {
  display: inline-block; margin-top: 10px; padding: 7px 12px; border-radius: 999px;
  background: #fff; color: #0a0a0a; font: 600 12px/1.35 var(--body); text-decoration: none; max-width: 100%; box-sizing: border-box;
}
.net-legend-cta:hover { background: #e4e4e7; }
/* developer card under "About us" */
.dev-card {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 18px 20px; max-width: 580px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.dev-card img { width: 72px; height: 72px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.dev-body { min-width: 0; }
.dev-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.dev-head b { font: 700 18px var(--display); color: var(--text); }
.dev-role { font: 700 11px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #71717a; }
.dev-body p { margin: 6px 0 12px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.dev-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dev-links a { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--body); text-decoration: none; }
.dev-links a:hover { text-decoration: underline; }
.dev-links svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.dev-tg { color: #38bdf8; }
.dev-wa { color: #4ade80; }
.dev-site { color: #e4e4e7; }
@media (max-width: 760px) {
  .dev-card { padding: 14px; gap: 12px; }
  .dev-card img { width: 56px; height: 56px; }
}
/* FAQ */
.faq-list { max-width: 860px; margin: 28px auto 0; display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative;
  font: 700 17px/1.35 var(--display); color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%);
  font: 400 24px/1 var(--body); color: var(--muted); transition: transform .2s;
}
[dir=rtl] .faq-item summary { padding: 18px 0 18px 28px; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.research-points { list-style: none; margin: 22px 0 22px; padding: 0; }
.research-points li { position: relative; padding-inline-start: 26px; margin-bottom: 12px; color: var(--muted); line-height: 1.55; }
.research-points li::before { content: "—"; position: absolute; inset-inline-start: 0; color: var(--accent); }
.research-points a, .faq-item p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* demo story: benefits, step strip, caption, resident sticker and the chat (landing.js "network") */
.demo-benefits { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 22px; padding: 0; }
.demo-benefits li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: 14px; color: #e4e4e7; }
.demo-benefits li::before { content: "✓"; color: #22c55e; margin-inline-end: 7px; font-weight: 700; }
.demo-frame { position: relative; }
.net-steps { list-style: none; display: flex; gap: 6px; margin: 0 0 0 auto; padding: 0; }
.net-steps li { padding: 5px 10px; border-radius: 999px; font: 600 12px var(--body); color: #71717a; cursor: pointer; border: 1px solid transparent; transition: color .3s, border-color .3s, background .3s; white-space: nowrap; }
.net-steps li b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; margin-inline-end: 3px; }
.demo-frame[data-step="0"] .net-steps li[data-s="0"], .demo-frame[data-step="1"] .net-steps li[data-s="1"],
.demo-frame[data-step="2"] .net-steps li[data-s="2"], .demo-frame[data-step="3"] .net-steps li[data-s="3"] {
  color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07);
}
.demo-frame[data-step="2"] .net-steps li[data-s="2"] { border-color: rgba(244, 114, 182, .6); }
.net-caption { position: absolute; left: 18px; top: 58px; z-index: 2; pointer-events: none; width: min(620px, calc(100% - 36px)); height: 44px; }
.net-caption p { position: absolute; left: 0; top: 0; margin: 0; width: max-content; max-width: 100%; padding: 8px 14px; border-radius: 10px;
  background: rgba(9, 9, 11, .78); border: 1px solid var(--line); font: 600 17px/1.35 var(--body); color: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.demo-frame[data-step="0"] .net-caption p[data-s="0"], .demo-frame[data-step="1"] .net-caption p[data-s="1"],
.demo-frame[data-step="2"] .net-caption p[data-s="2"], .demo-frame[data-step="3"] .net-caption p[data-s="3"] { opacity: 1; transform: none; }
.net-chat { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: min(360px, calc(100% - 28px)); padding: 12px 14px;
  border-radius: 14px; background: rgba(18, 18, 21, .94); border: 1px solid rgba(142, 162, 255, .45); box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
.demo-frame[data-step="3"] .net-chat { opacity: 1; transform: none; }
.net-chat p { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: #e4e4e7; }
.net-chat b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #a1a1aa; margin-bottom: 2px; }
.net-chat .q { padding: 8px 10px; border-radius: 10px 10px 2px 10px; background: rgba(142, 162, 255, .16); margin-inline-start: 34px; }
.net-chat .a { padding: 8px 10px; border-radius: 10px 10px 10px 2px; background: rgba(61, 123, 255, .14); margin-inline-end: 22px; }
.net-chat .r { margin: 0; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 600; color: #fff; }
.net-tag[data-tag="resident"] { border-inline-start-color: #f472b6; }
@media (max-width: 760px) {
  .net-steps li { padding: 4px 7px; font-size: 11px; }
  .net-steps li:not([data-s]) { display: none; }
  .demo-frame .bar-title { display: none; }
  .net-caption { left: 10px; top: 46px; }
  .net-caption p { font-size: 13px; padding: 6px 10px; }
  .net-chat { position: relative; right: auto; bottom: auto; width: auto; margin: 0 8px 8px; opacity: 1; transform: none; }
  .demo-frame:not([data-step="3"]) .net-chat { opacity: .45; }
}
@media (max-width: 420px) { .net-steps li b { display: none; } }

/* scenario cards open their pages */
a.case-a { display: block; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
a.case-a:hover { border-color: #52525b; transform: translateY(-2px); }
.case-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: #8ea2ff; }
.cases-all { margin-top: 26px; }

/* ===================================================== phone: compact layer === */
.menu-btn { display: none; }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; border-radius: 2px; background: #e4e4e7; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .links.open { display: flex; position: absolute; left: 12px; right: 12px; top: calc(100% + 4px); flex-direction: column; gap: 0;
    padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18, 18, 21, .98); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
  .links.open a { padding: 12px 14px; border-radius: 10px; font-size: 16px; opacity: 1; }
  .links.open a:hover, .links.open a:active { background: rgba(255, 255, 255, .06); }
}
@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.55; }
  .nav { padding: max(10px, env(safe-area-inset-top)) 12px 10px; }
  .logo img { height: 28px; }
  .actions { gap: 6px; }
  .actions .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; border-radius: 10px; }
  .lang { padding: 7px 9px; font-size: 13px; max-width: 96px; }
  .actions .who { max-width: 38vw; padding: 8px 11px; }
  .btn { min-height: 44px; font-size: 15px; }
  .btn.big { min-height: 50px; padding: 12px 20px; font-size: 16px; border-radius: 12px; }
  .section { padding: 34px 16px; }
  .section h2 { font-size: 27px; line-height: 1.12; margin-bottom: 10px; }
  .lead { font-size: 15px; margin-bottom: 22px; }
  .kicker { font-size: 11px; }
  .case, .step { padding: 18px; border-radius: 14px; }
  .case h3, .step h3 { font-size: 17px; margin-bottom: 6px; }
  .case p, .step p { font-size: 14px; line-height: 1.5; }
  .case .tag { margin-bottom: 10px; font-size: 10px; }
  .case-more { margin-top: 8px; font-size: 13.5px; }
  .cases, .steps { gap: 10px; }
  .about p.big { font-size: 17px; }
  .points h3 { font-size: 16px; }
  .points li, .research-points li { font-size: 14px; margin-bottom: 9px; padding-inline-start: 22px; }
  .dev-card { padding: 14px; gap: 12px; }
  .price-card { padding: 22px 18px; border-radius: 18px; }
  .price-card h2 { font-size: 26px; }
  .price-card .amount { font-size: 52px; }
  .price-card li { padding: 8px 0; font-size: 14px; line-height: 1.45; }
  .faq-list { gap: 8px; }
  .faq-item { padding: 0 14px; border-radius: 12px; }
  .faq-item summary { padding: 14px 26px 14px 0; font-size: 15px; }
  .faq-item p { font-size: 14px; margin-bottom: 14px; }
  .final p { font-size: 24px; margin-bottom: 20px; }
  .demo-benefits { gap: 6px; margin-bottom: 16px; }
  .demo-benefits li { padding: 5px 10px; font-size: 12.5px; }
  .demo-frame { border-radius: 14px; }
  #net { height: 330px; }
  .net-chat p { font-size: 12.5px; }
  .net-legend li { font-size: 11px; }
  footer { font-size: 12.5px; }
  /* long translations (and the browser's own page translation) must wrap, never widen the page */
  .scribble, .note span, .net-legend li { white-space: normal; }
  .net-legend-cta { display: block; text-align: center; }
}
@media (max-width: 360px) {
  .actions .who .lbl { display: none; }  /* very narrow screens: icon only, the label stays in aria-label */
  .actions .who { padding: 8px 10px; }
}

/* PWA install button (pwa.js shows it only where installing is possible) */
[data-pwa-install][hidden] { display: none !important; }
.pwa-row { margin: 0 0 12px; text-align: center; }
.pwa-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(142, 162, 255, .5); background: rgba(142, 162, 255, .1); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.pwa-btn:hover { background: rgba(142, 162, 255, .2); }
.offline-card { text-align: center; }
.offline-card img { margin: 0 auto 12px; border-radius: 16px; }

.pwa-btn img, .pwa-menu img { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.pwa-btn { padding: 6px 16px 6px 6px; gap: 9px; }
.pwa-menu { display: inline-flex; align-items: center; gap: 8px; }
.pwa-menu img { width: 22px; height: 22px; border-radius: 6px; }
.final .final-pwa { margin: 28px 0 0; font: inherit; }
body:has(.final-pwa) footer .pwa-row { display: none; }
