/* Flovoice SRL - site styles. Tokens on :root; light + dark (prefers-color-scheme, data-theme override).
   Motion: transform/opacity (plus small SVG dash flows); all disabled under prefers-reduced-motion. */
:root {
  --bg: #f6f7fb;
  --bg-2: #eef0f7;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --glass: rgba(255, 255, 255, 0.72);
  --ink: #0d1324;
  --ink-2: #333c52;
  --muted: #5a6479;
  --line: #e0e4ee;
  --line-strong: #c3cad8;
  --brand: #2f5bea;
  --brand-2: #7c3aed;
  --brand-ink: #ffffff;
  --ok: #0f7a45;
  --ok-soft: #dff4e8;
  --warn: #8a5200;
  --warn-soft: #fcefd6;
  --code-bg: #0b1020;
  --code-ink: #dbe3f4;
  --code-dim: #8794b0;
  --code-ok: #5fe0a0;
  --code-hi: #ffb86b;
  --code-bad: #ff7b8a;
  --shadow: 0 1px 2px rgba(13, 19, 36, .06), 0 8px 24px rgba(13, 19, 36, .06);
  --shadow-lg: 0 2px 6px rgba(13, 19, 36, .06), 0 24px 48px -12px rgba(13, 19, 36, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 16px;
  --max: 1160px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --pc: var(--brand);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070a14; --bg-2: #0c1122; --surface: #0f1528; --surface-2: #151d35; --glass: rgba(16, 22, 42, .66);
    --ink: #eef2fb; --ink-2: #c6cee0; --muted: #98a3bb; --line: #222c48; --line-strong: #34406a;
    --brand: #7c9bff; --brand-2: #b18cff; --brand-ink: #070a14; --ok: #5fdc9b; --ok-soft: #0f2c1f;
    --warn: #f5c46b; --warn-soft: #2f240c; --code-bg: #060912;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 24px 48px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070a14; --bg-2: #0c1122; --surface: #0f1528; --surface-2: #151d35; --glass: rgba(16, 22, 42, .66);
  --ink: #eef2fb; --ink-2: #c6cee0; --muted: #98a3bb; --line: #222c48; --line-strong: #34406a;
  --brand: #7c9bff; --brand-2: #b18cff; --brand-ink: #070a14; --ok: #5fdc9b; --ok-soft: #0f2c1f;
  --warn: #f5c46b; --warn-soft: #2f240c; --code-bg: #060912; color-scheme: dark;
}

/* Product identities: --pc = accent, --pc-2 = second gradient stop */
.p-sms-florin { --pc: #059669; --pc-2: #0ea5e9; }
.p-sms-send { --pc: #7c3aed; --pc-2: #db2777; }
.p-cdr-guard { --pc: #c2410c; --pc-2: #d97706; }
.p-receivemail { --pc: #0369a1; --pc-2: #06b6d4; }
.p-agent-identity-mcp { --pc: #a21caf; --pc-2: #6366f1; }
.p-otp-watch { --pc: #e11d48; --pc-2: #f97316; }
.p-mcp-security { --pc: #4338ca; --pc-2: #0ea5e9; }
.p-acp-sandbox { --pc: #0f766e; --pc-2: #84cc16; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .p-sms-florin { --pc: #34d399; --pc-2: #38bdf8; }
  :root:not([data-theme="light"]) .p-sms-send { --pc: #a78bfa; --pc-2: #f472b6; }
  :root:not([data-theme="light"]) .p-cdr-guard { --pc: #fb923c; --pc-2: #fbbf24; }
  :root:not([data-theme="light"]) .p-receivemail { --pc: #38bdf8; --pc-2: #22d3ee; }
  :root:not([data-theme="light"]) .p-agent-identity-mcp { --pc: #e879f9; --pc-2: #818cf8; }
  :root:not([data-theme="light"]) .p-otp-watch { --pc: #fb7185; --pc-2: #fdba74; }
  :root:not([data-theme="light"]) .p-mcp-security { --pc: #a5b4fc; --pc-2: #7dd3fc; }
  :root:not([data-theme="light"]) .p-acp-sandbox { --pc: #2dd4bf; --pc-2: #bef264; }
}
[class*="p-"] { --pc-soft: color-mix(in srgb, var(--pc) 13%, transparent); --pc-line: color-mix(in srgb, var(--pc) 38%, transparent); }
:root { --pc-soft: color-mix(in srgb, var(--brand) 13%, transparent); --pc-line: color-mix(in srgb, var(--brand) 38%, transparent); --pc-2: var(--brand-2); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.65 var(--font); overflow-x: hidden; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 14px; }
h1 { font-size: clamp(2.1rem, 6.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 1.25rem; }
li { margin: 4px 0; }
code, pre { font-family: var(--mono); font-size: .9em; }
code { background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.grad-text { background: linear-gradient(100deg, var(--pc), var(--pc-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip-link { position: absolute; left: 8px; top: -80px; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* Sticky translucent header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.35); }
@media (max-width: 599px) { .site-header { position: relative; } .nav a { padding: 6px 10px; } }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand svg { width: 30px; height: 30px; }
.brand small { font-weight: 600; color: var(--muted); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.nav li { margin: 0; }
.nav a { display: block; padding: 7px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 550; transition: background .15s, color .15s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

main { display: block; }
.section { padding: 56px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-tint { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { max-width: 46rem; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pc); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--pc), var(--pc-2)); }
.lead { font-size: clamp(1.08rem, 2.3vw, 1.3rem); color: var(--ink-2); max-width: 42rem; line-height: 1.55; }
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .98rem; transition: transform .18s, box-shadow .18s, background .18s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: linear-gradient(100deg, var(--pc), color-mix(in srgb, var(--pc-2) 75%, var(--pc))); box-shadow: 0 10px 24px -10px var(--pc); }
:root[data-theme="dark"] .btn-primary { color: #070a14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #070a14; } }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--pc); }
.btn-ghost { color: var(--ink); background: var(--glass); border: 1px solid var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--pc); }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.badge-live { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ping 2s infinite; }
.badge-demo { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 64px; isolation: isolate; }
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } }
.blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(60px); opacity: .32; will-change: transform; }
.blob.b1 { background: radial-gradient(circle, var(--pc), transparent 65%); top: -22vmax; left: -12vmax; animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { background: radial-gradient(circle, var(--pc-2), transparent 65%); top: -10vmax; right: -18vmax; animation: drift2 22s ease-in-out infinite alternate; }
.blob.b3 { background: radial-gradient(circle, var(--brand-2), transparent 65%); bottom: -30vmax; left: 30%; opacity: .18; animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-5vmax, 6vmax, 0) scale(.94); } }
.grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%); opacity: .55; }
.hero-grid { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; } }
.hero-visual { position: relative; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-visual .glass { padding: 14px; }

/* Stats / counters */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 36rem; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { padding: 12px 14px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }

/* Network SVG (hero) */
.net .wire { fill: none; stroke: var(--line-strong); stroke-width: 1.6; }
.net .pkt { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 2 26; animation: flow 1.6s linear infinite; }
.net .pkt.v { stroke: var(--brand); }
.net .pkt.s { stroke: #10b981; animation-duration: 1.2s; }
.net .pkt.a { stroke: var(--brand-2); animation-duration: 2s; }
.net .pkt.r { animation-direction: reverse; }
.net .node { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.net .hub { fill: url(#hubg); }
.net .ring { fill: none; stroke: var(--brand); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; opacity: 0; }
.net .ring.r2 { animation-delay: 1.5s; }
.net .lbl { fill: var(--ink); font: 700 14px var(--font); }
.net .sub { fill: var(--muted); font: 12px var(--font); }
.net .ico { fill: none; stroke: var(--ink-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) { .net .sub { display: none; } .net .lbl { font-size: 19px; } .net .hubt { font-size: 17px; } }
.net .hubt { fill: #fff; font: 800 15px var(--font); }
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

/* Constellation (how products connect) */
.lanes { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 980px) { .lanes { grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr) 56px minmax(0,1fr); align-items: stretch; } }
.lane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.lane h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.chip { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); margin-top: 10px; transition: transform .18s, border-color .18s, box-shadow .18s; }
.chip:first-of-type { margin-top: 0; }
.chip:hover { transform: translateY(-2px); border-color: var(--pc); box-shadow: 0 10px 24px -14px var(--pc); }
.chip .ic { flex: none; }
.chip strong { display: block; font-size: .98rem; }
.chip span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.link-flow { position: relative; display: grid; place-items: center; min-height: 52px; }
.link-flow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); border-radius: 3px; background: repeating-linear-gradient(180deg, var(--brand) 0 8px, transparent 8px 18px); background-size: 3px 18px; opacity: .9; animation: dashv 1s linear infinite; }
.link-flow em { position: relative; font-style: normal; font-size: .76rem; font-weight: 700; color: var(--ink-2); background: var(--bg); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
@media (min-width: 980px) {
  .link-flow::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 3px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 18px); background-size: 18px 3px; animation-name: dashh; }
  .link-flow em { writing-mode: vertical-rl; transform: rotate(180deg); padding: 8px 2px; }
}
@keyframes dashv { to { background-position: 0 18px; } }
@keyframes dashh { to { background-position: 18px 0; } }
.lane-carrier { margin-top: 16px; }
.carrier-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .carrier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carrier-grid .chip { margin-top: 0; }

/* Icon tiles */
.ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--pc); background: var(--pc-soft); border: 1px solid var(--pc-line); }
.ic svg { width: 22px; height: 22px; }

/* Product cards */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; min-width: 0; }
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s; }
.pcard:hover, .pcard:focus-within { transform: translateY(-6px); box-shadow: 0 26px 50px -22px var(--pc); border-color: var(--pc-line); }
.pcard .art { position: relative; aspect-ratio: 16 / 7; background: radial-gradient(120% 140% at 0% 0%, var(--pc-soft), transparent 60%), radial-gradient(120% 140% at 100% 100%, color-mix(in srgb, var(--pc-2) 14%, transparent), transparent 60%), var(--surface-2); border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard .art svg { width: 100%; height: 100%; }
.pcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .kind { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pc); }
.pcard h3 { margin: 0; font-size: 1.25rem; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard h3 a:focus-visible { outline: none; }
.pcard:focus-within { outline: 3px solid var(--pc); outline-offset: 3px; }
.pcard p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.pcard .foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcard .more { font-weight: 700; font-size: .9rem; color: var(--pc); display: inline-flex; gap: 4px; align-items: center; }
.pcard .more svg { width: 16px; height: 16px; transition: transform .2s; }
.pcard:hover .more svg { transform: translateX(4px); }

/* Mini art (shared SVG vocabulary) */
.mini .bg { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.mini .ln { fill: var(--line-strong); }
.mini .acc { fill: var(--pc); }
.mini .accs { stroke: var(--pc); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mini .soft { fill: var(--pc-soft); stroke: var(--pc-line); stroke-width: 1.5; }
.mini .tx { fill: var(--ink); font: 700 13px var(--mono); }
.mini .tx2 { fill: var(--muted); font: 600 11px var(--font); }
.mini .wt { fill: #fff; font: 800 11px var(--font); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mini .wt { fill: #070a14; } }
:root[data-theme="dark"] .mini .wt { fill: #070a14; }
.mini .wire { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 4 5; }
.mini * { transform-box: fill-box; transform-origin: center; }
.a-pop { animation: pop 3.2s cubic-bezier(.2,.8,.2,1) infinite; }
.a-pop.d2 { animation-delay: .4s; }
@keyframes pop { 0%, 12% { opacity: 0; transform: translateY(10px) scale(.92); } 22%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
.a-slide { animation: slide 2.4s cubic-bezier(.5,0,.5,1) infinite; }
.a-slide.d1 { animation-delay: .8s; } .a-slide.d2 { animation-delay: 1.6s; }
@keyframes slide { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(var(--dx, 160px)); opacity: 0; } }
.a-drop { animation: drop 3s cubic-bezier(.3,.7,.3,1) infinite; }
@keyframes drop { 0% { transform: translateY(-46px); opacity: 0; } 25% { opacity: 1; } 55% { transform: translateY(0); opacity: 1; } 75%, 100% { transform: translateY(0); opacity: 0; } }
.a-badge { animation: badge 3s ease-out infinite; }
@keyframes badge { 0%, 54% { transform: scale(0); opacity: 0; } 62% { transform: scale(1.25); opacity: 1; } 70%, 92% { transform: scale(1); opacity: 1; } 100% { opacity: 0; } }
.a-flag { animation: flag 4s ease-in-out infinite; }
@keyframes flag { 0%, 25% { opacity: 0; } 35%, 85% { opacity: 1; } 100% { opacity: 0; } }
.a-flag2 { animation: flag2 4s ease-in-out infinite; }
@keyframes flag2 { 0%, 45% { opacity: 0; transform: translateX(-8px); } 55%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.a-scan { animation: scan 3.4s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(64px); } }
.a-draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 3.2s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 400; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.a-fade { animation: fade 3.2s ease-in-out infinite; }
@keyframes fade { 0%, 55% { opacity: 0; } 65%, 88% { opacity: 1; } 100% { opacity: 0; } }
.a-seq { animation: seq 3.6s ease-in-out infinite; opacity: .3; }
.a-seq.s2 { animation-delay: 1.2s; } .a-seq.s3 { animation-delay: 2.4s; }
@keyframes seq { 0%, 30% { opacity: 1; transform: scale(1.08); } 40%, 100% { opacity: .3; transform: scale(1); } }
.a-pulse { animation: pulse 2.4s ease-in-out infinite; }
.a-pulse.d2 { animation-delay: 1.2s; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.1); opacity: 1; } }
.a-dash { stroke-dasharray: 3 8; animation: flow 1s linear infinite; }

/* Product hero */
.p-hero .hero-grid { align-items: center; }
.p-hero .art-panel { aspect-ratio: 16 / 8; padding: 0; overflow: hidden; }
.p-hero .art-panel svg { width: 100%; height: 100%; }

/* Benefits grid */
.benefits { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.benefit:hover { transform: translateY(-3px); border-color: var(--pc-line); }
.benefit p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.benefit p strong { color: var(--ink); display: block; margin-bottom: 2px; }

/* Steps strip */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { position: relative; margin: 0; padding: 22px 20px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); counter-increment: s; overflow: hidden; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pc), var(--pc-2)); margin-bottom: 12px; box-shadow: 0 8px 18px -8px var(--pc); }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pc), var(--pc-2)); transform-origin: left; transform: scaleX(.15); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.steps li.in::after, .no-js .steps li::after { transform: scaleX(1); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* Mechanism + terminal */
.mech { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .mech { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--surface-2); }
.tagx { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: var(--pc); background: var(--pc-soft); border: 1px solid var(--pc-line); }
.panel .diagram { padding: 18px 14px; }
.panel .diagram svg { max-width: 400px; margin: 0 auto; }
.panel figcaption { padding: 0 16px 16px; font-size: .88rem; color: var(--muted); }
figure { margin: 0; }

.dg .node { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .35s, stroke .35s; }
.dg .node.core { fill: var(--pc-soft); stroke: var(--pc); stroke-width: 2; }
.dg .node.out { fill: var(--ok-soft); stroke: var(--ok); }
.dg .node.human { fill: var(--surface); stroke: var(--ink-2); stroke-dasharray: 5 4; }
.dg .t { fill: var(--ink); font: 700 14px var(--font); }
.dg .s { fill: var(--muted); font: 12px var(--font); }
.dg .edge { stroke: var(--line-strong); stroke-width: 1.8; fill: none; }
.dg .pk { stroke: var(--pc); stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-dasharray: 2 14; animation: flow2 .9s linear infinite; }
@keyframes flow2 { to { stroke-dashoffset: -16; } }
.dg .head { fill: var(--muted); }
.dg .lbl { fill: var(--ink-2); font: italic 600 11.5px var(--font); }
.dg .step.on .node { stroke: var(--pc); stroke-width: 3; fill: var(--pc-soft); }
.dg .step.on .t { fill: var(--pc); }
.js .dg .step { transition: opacity .35s; }
.js .dg.seq .step:not(.on) { opacity: .62; }

.term { margin: 0; background: var(--code-bg); color: var(--code-ink); padding: 16px 18px 18px; font: 13px/1.65 var(--mono); overflow-x: auto; min-height: 100%; }
.term .ln { display: block; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 1.65em; }
.term .c { color: var(--code-dim); }
.term .p { color: var(--code-ink); }
.term .p::before { content: "$ "; color: var(--code-ok); }
.term .o { color: #a9b6d3; }
.term .ok { color: var(--code-ok); }
.term .hi { color: var(--code-hi); }
.term .bad { color: var(--code-bad); }
.js .term.typing .ln { visibility: hidden; }
.js .term.typing .ln.shown { visibility: visible; }
.term .caret::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: var(--code-ok); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term-dots { display: inline-flex; gap: 6px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.term-dots i:nth-child(1) { background: #ff5f57; } .term-dots i:nth-child(2) { background: #febc2e; } .term-dots i:nth-child(3) { background: #28c840; }

/* Result highlight */
.result { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 16px; }
.result .stat { background: var(--surface); box-shadow: var(--shadow); }
.result .stat b { color: var(--pc); font-size: 2.2rem; }

/* Browser frames */
.shots { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-lg); transition: transform .3s; }
.browser:hover { transform: translateY(-4px); }
.browser .bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser .url { flex: 1; min-width: 0; font: 12px var(--mono); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img, .browser video { width: 100%; display: block; background: #fff; }
.shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.video-wrap { max-width: 900px; margin: 0 auto; }

/* Facts */
.facts { display: grid; grid-template-columns: 1fr; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.facts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 13px 18px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
@media (min-width: 560px) { .facts div { grid-template-columns: 10rem minmax(0, 1fr); gap: 16px; } }
.facts dt { font-weight: 700; color: var(--muted); font-size: .88rem; }
.facts dd { margin: 0; }
.two-col { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
details.more-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; box-shadow: var(--shadow); }
details.more-list summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin: 9px 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 11px; height: 6px; border-left: 2.5px solid var(--pc); border-bottom: 2.5px solid var(--pc); transform: rotate(-45deg); }
.limits li::before { border: 0; width: 11px; height: 2.5px; background: var(--muted); transform: none; top: .78em; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 22px; padding: 36px 24px; color: #fff; background: linear-gradient(120deg, var(--pc), var(--pc-2)); box-shadow: var(--shadow-lg); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.22), transparent 40%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.cta h2, .cta p { color: #fff; }
.cta p { opacity: .92; max-width: 40rem; }
.cta .btn { background: #fff; color: #0d1324; }
.cta .btn:hover { transform: translateY(-2px); }
@media (min-width: 760px) { .cta { padding: 48px 48px; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--surface-2); font-size: .82rem; color: var(--ink-2); }
td a { font-weight: 700; }
.links-list { list-style: none; padding: 0; }
.links-list li { margin: 8px 0; }

/* Article */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 36px; font-size: 1.5rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--pc); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .92rem; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 40px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 5px 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Scroll reveal (only hides when JS is running and motion is allowed) */
.js:not(.rm) .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.js:not(.rm) .reveal.in { opacity: 1; transform: none; }

/* Pause animations that are off-screen */
.paused, .paused * { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .a-pop, .a-drop, .a-badge, .a-flag, .a-flag2, .a-fade, .a-seq, .net .ring { opacity: 1 !important; transform: none !important; }
  .a-draw { stroke-dashoffset: 0 !important; }
  .a-slide { opacity: 1 !important; transform: translateX(calc(var(--dx, 160px) * .5)) !important; }
  .net .ring { opacity: 0 !important; }
  .steps li::after { transform: scaleX(1); }
}

/* ===== Imagery v3: photo slots, illustrations, screenshot strip, showcase, gallery ===== */
/* Photo slot: decorative. Works with no photo (gradient + illustration); an approved stock photo is added as <img alt=""> */
.photo-slot { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.85); }
.ps-fallback { position: absolute; inset: 0; background: radial-gradient(80% 120% at 85% 10%, color-mix(in srgb, var(--pc-2) 16%, transparent), transparent 60%), radial-gradient(70% 100% at 0% 100%, color-mix(in srgb, var(--pc) 14%, transparent), transparent 60%); }
.globe-bg { position: absolute; right: -8%; top: 6%; width: min(760px, 90vw); opacity: .5; }
@media (max-width: 959px) { .globe-bg { right: -30%; top: auto; bottom: -10%; opacity: .32; } }

/* Illustration vocabulary */
.ill { width: 100%; height: auto; overflow: visible; }
.ig-sphere { fill: color-mix(in srgb, var(--pc) 6%, transparent); stroke: var(--line-strong); stroke-width: 1.2; }
.ig-grid { fill: none; stroke: var(--line-strong); stroke-width: .8; opacity: .7; }
.ig-arc { fill: none; stroke: var(--line-strong); stroke-width: 1.2; opacity: .8; }
.ig-pk { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 3 30; animation: flowL 2.4s linear infinite; }
.ig-c0 { stroke: var(--pc); fill: var(--pc); } .ig-c1 { stroke: var(--pc-2); fill: var(--pc-2); } .ig-c2 { stroke: #10b981; fill: #10b981; }
.ig-arc.ig-c0, .ig-arc.ig-c1 { fill: none; }
.ig-pk.ig-c0, .ig-pk.ig-c1, .ig-pk.ig-c2 { fill: none; }
.ig-node { stroke: var(--surface); stroke-width: 2; }
.ig-ring { fill: none; stroke: var(--pc); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; opacity: 0; }
.ig-dot { fill: var(--line-strong); opacity: .55; }
@keyframes flowL { to { stroke-dashoffset: -33; } }
.ig-steel { fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ig-steel2 { fill: var(--line-strong); stroke: var(--line-strong); stroke-width: 1.2; }
.ig-panel { fill: var(--surface-2); stroke: var(--ink-2); stroke-width: 1.5; }
.ig-acc { fill: var(--pc); }
.ig-acc-s { fill: var(--pc-soft); stroke: var(--pc); stroke-width: 2; }
.ig-wave { fill: none; stroke: var(--pc); stroke-width: 3; stroke-linecap: round; animation: wave 2.4s ease-out infinite; opacity: .2; }
@keyframes wave { 0% { opacity: 0; } 30% { opacity: .9; } 100% { opacity: 0; } }
.ig-front { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.ig-side { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; }
.ig-top { fill: color-mix(in srgb, var(--pc) 10%, var(--surface)); stroke: var(--line-strong); stroke-width: 1.5; }
.ig-unit { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.ig-led { fill: var(--pc); animation: led 1.6s steps(2) infinite; }
@keyframes led { 50% { opacity: .2; } }
.ig-screen { fill: var(--bg-2); stroke: var(--line); }
.ig-bubble { animation: pop 4s cubic-bezier(.2,.8,.2,1) infinite; transform-box: fill-box; transform-origin: center; }
.ig-bt { fill: #fff; font: 800 10px var(--font); letter-spacing: .06em; }
.ig-bt2 { fill: #fff; font: 700 11.5px var(--mono); }
.ig-envl { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.ig-drop { animation: drop 3s cubic-bezier(.3,.7,.3,1) infinite; transform-box: fill-box; }
.ig-eye { fill: var(--pc); }
.ig-check { fill: none; stroke: var(--pc); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.ig-beam { fill: var(--pc); opacity: .55; animation: scanB 3s ease-in-out infinite alternate; transform-box: fill-box; }
@keyframes scanB { to { transform: translateY(130px); } }
.ig-line { fill: var(--line-strong); }
.ig-hl { fill: var(--pc); opacity: .75; animation: flag 4s ease-in-out infinite; }
.ig-ecg { fill: none; stroke: var(--pc); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; animation: draw 3.2s ease-in-out infinite; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ig-bt, :root:not([data-theme="light"]) .ig-bt2 { fill: #070a14; } :root:not([data-theme="light"]) .ig-envl { stroke: #070a14; } }
:root[data-theme="dark"] .ig-bt, :root[data-theme="dark"] .ig-bt2 { fill: #070a14; }

/* Product hero: scene illustration with the looping mini-animation floating on top */
.scene-wrap { position: relative; }
.scene-wrap .ill-scene { width: 100%; filter: drop-shadow(0 24px 40px rgba(13, 19, 36, .12)); }
.art-float { position: absolute; right: -2%; bottom: -6%; width: 58%; aspect-ratio: 16 / 7; overflow: hidden; animation: floaty 6s ease-in-out infinite; }
.art-float svg { width: 100%; height: 100%; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 559px) { .art-float { width: 70%; right: 0; bottom: -10%; } }

/* Map banner between hero and content */
.banner { position: relative; height: clamp(120px, 22vw, 240px); overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--bg-2), var(--bg)); }
.banner .photo-slot { z-index: 0; }
.banner .ill-map { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Wave divider */
.divider { height: 48px; margin-bottom: -1px; color: var(--bg-2); }
.divider svg { width: 100%; height: 100%; display: block; }
.divider .dv1 { fill: var(--bg-2); }
.divider .dv2 { fill: none; stroke: var(--pc); stroke-width: 2; opacity: .35; stroke-dasharray: 6 10; animation: flowL 3s linear infinite; }

/* Home: screenshot strip under the hero */
.strip { padding: 8px 0 56px; }
.strip-title { font-size: 1rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0; margin-bottom: 16px; }
.strip-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) { .strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .strip-item:nth-child(odd) { transform: translateY(14px); } .js:not(.rm) .strip-item.reveal:nth-child(odd):not(.in) { transform: translateY(36px); } }
.strip-item { display: block; text-decoration: none; color: var(--ink); }
.strip-item .browser { transition: transform .3s, box-shadow .3s; }
.strip-item:hover .browser { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 60px -24px var(--pc); }
.strip-item .bar { padding: 6px 8px; } .strip-item .url { font-size: 10px; padding: 2px 8px; }
.strip-item .term-dots i { width: 7px; height: 7px; }
.strip-cap { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 700; font-size: .9rem; color: var(--pc); }
.strip-cap svg { width: 14px; height: 14px; }

/* Home: showcase band */
.showcase { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0; background: linear-gradient(160deg, #0b1124, #121a36 55%, #1a1240); color: #eef2fb; }
.showcase .photo-slot { z-index: -1; }
.showcase .ill-map { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.showcase .ig-dot { fill: #3a4a7a; } .showcase .ig-arc { stroke: #3a4a7a; }
.showcase h2, .showcase .lead { color: #eef2fb; } .showcase .lead { color: #c6cee0; }
.showcase .eyebrow { color: #9db4ff; }
.showcase-grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .showcase-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.device-stage { position: relative; padding-bottom: 40px; }
.stage-browser { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); border-color: #34406a; }
.phone-frame { position: absolute; right: 2%; bottom: 0; width: 28%; min-width: 110px; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #05070d; padding: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 2px #2a3352; overflow: hidden; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 17% 0; border-radius: 18px; background: #fff; }
.phone-frame .notch { position: absolute; top: 13px; left: 50%; width: 34%; height: 9px; transform: translateX(-50%); background: #05070d; border-radius: 9px; z-index: 1; }

/* Product gallery: first screen large */
.gallery { grid-template-columns: 1fr; }
@media (min-width: 820px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery > .shot:first-child { grid-column: 1 / -1; } .gallery > .shot:first-child .browser { max-width: 980px; margin: 0 auto; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot-link { display: block; }

@media (prefers-reduced-motion: reduce) {
  .ig-ring { opacity: 0 !important; } .ig-wave { opacity: .6 !important; } .ig-ecg { stroke-dashoffset: 0 !important; }
  .ig-hl { opacity: .75 !important; } .ig-drop, .ig-bubble { opacity: 1 !important; transform: none !important; }
  .stage-browser { transform: none; }
}
.scene-wrap.glass { padding: 18px 14px; }
@media (max-width: 759px) { .showcase .ill-map { opacity: .18; } }
.scene-mini { margin-top: 10px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 6; background: radial-gradient(120% 140% at 0% 0%, var(--pc-soft), transparent 60%), var(--surface-2); }
.scene-mini svg { width: 100%; height: 100%; }

/* ===== Photos v4: real photo under a theme veil; gradient + illustration stay on top ===== */
.photo-slot picture { position: absolute; inset: 0; }
.photo-slot picture img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.9); }
.ps-veil { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 84%, transparent), color-mix(in srgb, var(--bg) 78%, transparent) 55%, var(--bg)); }
.hero .photo-slot.has-photo .ps-veil { background: linear-gradient(100deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 45%, color-mix(in srgb, var(--bg) 62%, transparent) 100%), linear-gradient(180deg, transparent 70%, var(--bg)); }
.showcase .photo-slot.has-photo .ps-veil { background: linear-gradient(100deg, rgba(8, 11, 26, .93), rgba(12, 16, 38, .82) 50%, rgba(20, 14, 52, .72)); }
.credits { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.credits h2 { font-size: 1rem; margin-bottom: 6px; }
.credits ul { padding-left: 1.1rem; color: var(--muted); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .hero .photo-slot.has-photo .ps-veil { background: linear-gradient(100deg, color-mix(in srgb, var(--bg) 95%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 50%, color-mix(in srgb, var(--bg) 72%, transparent) 100%), linear-gradient(180deg, transparent 70%, var(--bg)); } }

/* ===== Feedback form ===== */
.fb-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .fb-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.fb-form { padding: 22px; display: grid; gap: 16px; position: relative; overflow: hidden; }
.fb-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pc), var(--pc-2)); transform-origin: left; transform: scaleX(.2); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fb-form:focus-within::before, .fb-form.sent::before { transform: scaleX(1); }
.fb-field { display: grid; gap: 6px; }
.fb-field label { font-weight: 700; font-size: .95rem; }
.fb-form select, .fb-form textarea, .fb-form input[type=email] { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; }
.fb-form textarea { resize: vertical; min-height: 130px; }
.fb-form select:focus-visible, .fb-form textarea:focus-visible, .fb-form input:focus-visible { outline: none; border-color: var(--pc); box-shadow: 0 0 0 4px var(--pc-soft); }
.fb-count.bad { color: var(--warn); }
.fb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.fb-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.fb-actions .btn:disabled { opacity: .65; cursor: progress; transform: none; }
.fb-privacy { margin: 0; }
.fb-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.fb-status.ok { color: var(--ok); }
.fb-status.err { color: var(--warn); }
.fb-status.pending { color: var(--muted); }
.fb-form.sending .btn svg { animation: fbsend .8s ease-in-out infinite alternate; }
@keyframes fbsend { to { transform: translateX(4px); } }
.fb-form.sent .fb-status.ok::before { content: ""; display: inline-block; width: 10px; height: 6px; margin-right: 8px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .fb-form::before { transform: scaleX(1); } }
/* Dark theme: the CTA band gradient uses the light accent tints, so use dark text on it */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta h2, :root:not([data-theme="light"]) .cta p { color: #070a14; } }
:root[data-theme="dark"] .cta h2, :root[data-theme="dark"] .cta p { color: #070a14; }
