/* Screvio site — one stylesheet for every page. Brand gradient: #25a5ff → #4a55f0 → #8b37f0. */
:root {
  --ink: #0e1330;
  --ink-2: #3b4163;
  --muted: #646a88;
  --line: #e6e8f2;
  --bg: #f7f8fc;
  --panel: #ffffff;
  --blue: #25a5ff;
  --indigo: #4a55f0;
  --violet: #8b37f0;
  --pink: #f0458b;
  --amber: #ffb547;
  --green: #22c58b;
  --night: #0b0f2a;
  --grad: linear-gradient(120deg, #25a5ff 0%, #4a55f0 50%, #8b37f0 100%);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 19, 48, .06), 0 12px 32px rgba(14, 19, 48, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--indigo); }
.wrap { max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 780px; }

/* --- header ------------------------------------------------------------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -.01em; }
.brand svg { flex: none; }
/* The official mark (the same image Studio uses) and the "Scre|vio" wordmark:
   "vio" is Studio's violet — darker on light backgrounds, lighter on dark. */
.brand img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.brand .vio { color: #7326cc; }
header.top.dark .brand .vio, footer .brand .vio { color: #a970ff; }
footer .brand img { width: 30px; height: 30px; }
nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; flex-wrap: wrap; }
nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--indigo); }
nav .btn { padding: 8px 16px; font-size: 14px; }

header.top.dark { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: none; }
header.top.dark .brand { color: #fff; }
header.top.dark nav a { color: rgba(255, 255, 255, .78); }
header.top.dark nav a:hover { color: #fff; }

/* --- buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 8px 24px rgba(74, 85, 240, .35); }
.btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.btn-light { background: #fff; color: var(--indigo) !important; }

/* --- hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 120px 0 96px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero::before { width: 520px; height: 520px; background: #3a4cff; top: -160px; left: -120px; }
.hero::after { width: 460px; height: 460px; background: #9b2cf5; bottom: -200px; right: -80px; }
.hero .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: #0fb6ff; filter: blur(90px); opacity: .35; top: 30%; left: 45%; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; color: #c9d0ff; letter-spacing: .02em; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 139, .25); }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.025em; margin: 20px 0 18px; font-weight: 800; }
.grad-text { background: linear-gradient(100deg, #5cc2ff, #8f98ff 45%, #d18bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: 19px; color: #b9bfdc; margin: 0 0 30px; max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; color: #9aa2c6; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--green); }

/* --- product mock-up --------------------------------------------------- */
.mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; color: var(--ink); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #eef0f7; border-bottom: 1px solid #e0e3ee; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 10px; flex: 1; background: #fff; border-radius: 7px; padding: 4px 10px; font-size: 12px; color: #6b7190; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec { margin-left: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #e5484d; }
.rec b { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: pulse 1.4s infinite; }
.mock-body { position: relative; padding: 20px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; min-height: 250px; }
.side div { height: 10px; border-radius: 5px; background: #eceef6; margin-bottom: 12px; }
.side div:first-child { background: #dfe3ff; width: 80%; }
.form h4 { margin: 0 0 12px; font-size: 15px; }
.field { margin-bottom: 11px; }
.field label { display: block; font-size: 11px; color: #7a809c; margin-bottom: 4px; }
.field span { display: block; height: 30px; border: 1px solid #e2e5ef; border-radius: 8px; background: #fafbff; font-size: 12px; line-height: 28px; padding-left: 10px; color: #3b4163; }
.save { position: relative; display: inline-block; margin-top: 6px; padding: 8px 18px; border-radius: 8px; background: var(--indigo); color: #fff; font-size: 13px; font-weight: 650; }
.save::after { content: ""; position: absolute; inset: -7px; border-radius: 12px; border: 3px solid var(--amber); animation: ring 1.8s infinite; }
.callout { position: absolute; right: 18px; bottom: 58px; width: 190px; background: var(--night); color: #fff; border-radius: 12px; padding: 11px 13px; font-size: 12px; line-height: 1.45; box-shadow: 0 12px 28px rgba(11, 15, 42, .35); }
.callout b { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #9fb0ff; margin-bottom: 3px; }
.timeline { border-top: 1px solid #eceef6; padding: 12px 18px 14px; background: #fbfbfe; }
.track { position: relative; height: 26px; border-radius: 7px; background: linear-gradient(90deg, #e9ecff, #f3e9ff); }
.track i { position: absolute; top: 5px; width: 16px; height: 16px; border-radius: 5px; }
.track .c { background: var(--blue); } .track .k { background: var(--violet); } .track .n { background: var(--green); } .track .z { background: var(--amber); }
.playhead { position: absolute; top: -5px; bottom: -5px; left: 62%; width: 2px; background: var(--pink); }
.playhead::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.legend { display: flex; gap: 14px; margin-top: 9px; font-size: 11px; color: #7a809c; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; background: var(--c); }

@keyframes pulse { 50% { opacity: .35; } }
@keyframes ring { 0% { opacity: 1; transform: scale(.96); } 70% { opacity: 0; transform: scale(1.18); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rec b, .save::after { animation: none; } .btn:hover { transform: none; } }

/* --- sections ----------------------------------------------------------- */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(14, 19, 48, .06), 0 20px 44px rgba(14, 19, 48, .12); }
.feature h3 { font-size: 18px; margin: 16px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.i-blue { background: linear-gradient(135deg, #25a5ff, #1d7dff); }
.i-indigo { background: linear-gradient(135deg, #6470ff, #4a55f0); }
.i-violet { background: linear-gradient(135deg, #a55bff, #8b37f0); }
.i-pink { background: linear-gradient(135deg, #ff6aa8, #f0458b); }
.i-amber { background: linear-gradient(135deg, #ffc76b, #ff9a3c); }
.i-green { background: linear-gradient(135deg, #3ee0a4, #16b07a); }

/* how it works */
.how { background: var(--panel); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step .num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 10px 26px rgba(74, 85, 240, .3); }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }
.steps::before { content: ""; position: absolute; top: 30px; left: 17%; right: 17%; height: 2px; background: linear-gradient(90deg, rgba(37, 165, 255, .4), rgba(139, 55, 240, .4)); }

/* products */
.product { position: relative; background: var(--panel); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.product::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--accent); }
.product .tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-soft); }
.product h3 { font-size: 22px; margin: 14px 0 8px; }
.product > p { color: var(--muted); margin: 0 0 16px; }
.product ul { list-style: none; padding: 0; margin: 0; }
.product li { position: relative; padding-left: 26px; margin: 9px 0; font-size: 15px; color: var(--ink-2); }
.product li::before { content: ""; position: absolute; left: 0; top: 5px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.9-4.2 4.3a.8.8 0 0 1-1.1 0L4.4 8.3a.8.8 0 1 1 1.1-1.1l1.3 1.3 3.7-3.7a.8.8 0 1 1 1.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.6 5.9-4.2 4.3a.8.8 0 0 1-1.1 0L4.4 8.3a.8.8 0 1 1 1.1-1.1l1.3 1.3 3.7-3.7a.8.8 0 1 1 1.1 1.1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.p-blue { --accent: linear-gradient(90deg, #25a5ff, #1d7dff); --accent-soft: #e3f3ff; --accent-ink: #0b6fd6; }
.p-indigo { --accent: linear-gradient(90deg, #6470ff, #4a55f0); --accent-soft: #e9ebff; --accent-ink: #3b45d6; }
.p-violet { --accent: linear-gradient(90deg, #a55bff, #8b37f0); --accent-soft: #f2e8ff; --accent-ink: #7427d6; }
.p-pink { --accent: linear-gradient(90deg, #ff6aa8, #f0458b); --accent-soft: #ffe8f1; --accent-ink: #c8246a; }
.p-amber { --accent: linear-gradient(90deg, #ffc76b, #ff9a3c); --accent-soft: #fff1e0; --accent-ink: #b85e00; }
/* Five products: three across, then two wider ones, so no card is squeezed. */
.grid-5 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.grid-5 > * { grid-column: span 2; }
.grid-5 > :nth-child(n+4) { grid-column: span 3; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product .more { display: inline-block; margin-top: 14px; font-weight: 650; font-size: 15px; color: var(--accent-ink); text-decoration: none; }
.spotlight, #features, #how { scroll-margin-top: 20px; }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .grid-5 > *, .grid-5 > :nth-child(n+4) { grid-column: auto; }
  .grid-5 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) { .grid-4, .grid-5 { grid-template-columns: 1fr; } }

/* spotlight */
.spotlight { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; border-radius: 50%; background: #5b3cff; filter: blur(110px); opacity: .45; }
.split { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight h2 { color: #fff; }
.spotlight p.lead { color: #b9bfdc; font-size: 18px; margin: 0 0 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #dfe3f7; }
.checks li svg { flex: none; margin-top: 2px; color: #6ee7b7; }
.checks b { color: #fff; }
.guide-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px; backdrop-filter: blur(6px); }
.err { display: flex; gap: 10px; align-items: center; background: rgba(240, 69, 139, .14); border: 1px solid rgba(240, 69, 139, .4); color: #ffc2da; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.offer { margin-top: 14px; background: #fff; color: var(--ink); border-radius: 14px; padding: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.offer small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); margin-bottom: 4px; }
.offer strong { display: block; font-size: 16px; margin-bottom: 10px; }
.bar { height: 7px; border-radius: 4px; background: #eceef6; overflow: hidden; }
.bar i { display: block; width: 40%; height: 100%; background: var(--grad); }
.offer .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.offer .go { padding: 7px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 650; font-size: 13px; }
.search { margin-top: 14px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 11px 14px; font-size: 14px; color: #c9d0ff; }

/* privacy band */
.privacy-band { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #eaf6ff, #efeaff); border: 1px solid #dfe0ff; border-radius: 24px; padding: 40px; }
.shield { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 34px rgba(74, 85, 240, .35); }
.privacy-band h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.privacy-band p { margin: 0 0 14px; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pills span { background: #fff; border: 1px solid #dfe0ff; border-radius: 999px; padding: 6px 13px; font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* call to action */
.cta { position: relative; overflow: hidden; background: var(--grad); border-radius: 28px; padding: 60px 40px; text-align: center; color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .25), transparent 45%), radial-gradient(circle at 90% 100%, rgba(255, 255, 255, .18), transparent 40%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; margin-top: 0; }
.cta p { font-size: 18px; color: rgba(255, 255, 255, .88); margin: 0 auto 26px; max-width: 560px; }

/* --- plain pages (privacy) --------------------------------------------- */
.page-hero { background: var(--night); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: #4a3cff; filter: blur(100px); opacity: .45; top: -240px; right: -120px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 8px; letter-spacing: -.02em; }
.page-hero p { margin: 0; color: #b9bfdc; }
main.doc { padding-block: 48px 72px; }
main.doc h2 { font-size: 22px; margin: 40px 0 10px; }
main.doc p, main.doc li { color: var(--ink-2); }
main.doc ul { padding-left: 22px; }
main.doc li { margin: 6px 0; }
main.doc .muted { color: var(--muted); }
.note { background: linear-gradient(135deg, #eaf6ff, #efeaff); border: 1px solid #dfe0ff; border-radius: 16px; padding: 18px 20px; margin: 24px 0; }
.note p { margin: 0; }

/* --- footer ------------------------------------------------------------- */
footer { background: var(--night); color: #9aa2c6; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
footer .brand { color: #fff; font-size: 17px; }
footer .links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: #c9d0ff; text-decoration: none; }
footer a:hover { color: #fff; }
footer .copy { width: 100%; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; margin-top: 6px; }

/* --- scroll reveal ------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* --- hero mock animation (one 8s loop) --------------------------------- */
.mock-body { overflow: hidden; }
.typing { display: inline-block; vertical-align: top; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--indigo); width: 0; animation: type 8s steps(21, end) infinite; }
.cursor { position: absolute; left: 80%; top: 92%; width: 22px; height: 22px; z-index: 3; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); animation: cursor 8s ease-in-out infinite; }
.save { animation: press 8s ease infinite; }
.callout { animation: callout 8s ease infinite; }
.playhead { animation: play 8s linear infinite; }
.launcher { position: absolute; right: 16px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 44px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(74, 85, 240, .4); animation: launcher 8s ease infinite; }
.launcher img { position: absolute; left: -14px; bottom: -2px; width: 54px; height: auto; }
:root { --cx: 210px; --cy: 176px; }
@keyframes type { 0%, 6% { width: 0; } 32%, 100% { width: 21ch; } }
@keyframes cursor {
  0%, 30% { left: 80%; top: 92%; opacity: 0; transform: scale(1); }
  36% { opacity: 1; }
  50% { left: var(--cx); top: var(--cy); transform: scale(1); }
  53% { left: var(--cx); top: var(--cy); transform: scale(.82); }
  56%, 88% { left: var(--cx); top: var(--cy); transform: scale(1); opacity: 1; }
  96%, 100% { left: var(--cx); top: var(--cy); opacity: 0; }
}
@keyframes press { 0%, 51% { transform: none; filter: none; } 53% { transform: scale(.95); filter: brightness(.9); } 56%, 100% { transform: none; filter: none; } }
@keyframes callout { 0%, 55% { opacity: 0; transform: translateY(10px) scale(.96); } 62%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(6px); } }
@keyframes play { from { left: 3%; } to { left: 96%; } }
@keyframes launcher { 0%, 8% { opacity: 0; transform: translateY(12px); } 16%, 100% { opacity: 1; transform: none; } }

/* --- mascot guide scene ------------------------------------------------- */
.scene { position: relative; }
.scene-app { background: #fff; color: var(--ink); border-radius: 20px; padding: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.scene-app .app-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.scene-app .app-top b { color: var(--ink); font-size: 15px; }
.scene-app .tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.scene-app .tabs span { font-size: 12px; padding: 6px 11px; border-radius: 8px; background: #f1f2f8; color: var(--ink-2); }
.scene-app .tabs span.hl { position: relative; background: #eef0ff; color: var(--indigo); font-weight: 700; }
.scene-app .tabs span.hl::after { content: ""; position: absolute; inset: -5px; border-radius: 11px; border: 3px solid var(--amber); animation: ring 1.8s infinite; }
.alert { display: flex; gap: 10px; align-items: center; background: #fff0f5; border: 1px solid #ffc7da; color: #b0184f; border-radius: 12px; padding: 11px 13px; font-size: 13px; font-weight: 600; transition: background .5s, color .5s, border-color .5s; }
.alert.fixed { background: #e8fbf3; border-color: #a7ecd0; color: #0d7a52; }
.alert .ok { display: none; } .alert.fixed .ok { display: block; } .alert.fixed .bad { display: none; }
.scene-app .offer { margin-top: 12px; box-shadow: none; border: 1px solid var(--line); }
.bar i { transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #d9dcec; cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 26px; border-radius: 6px; background: var(--indigo); }

/* The robot and his bubble live in the space under the card, never on top of
   it, so no step text is ever covered. */
.scene { padding-bottom: 176px; }
.bot-wrap { position: absolute; left: -8px; bottom: -6px; width: 180px; z-index: 2; pointer-events: none; }
.bot { position: relative; width: 180px; height: 180px; animation: float 3.6s ease-in-out infinite; }
.bot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.94); transition: opacity .35s ease, transform .35s ease; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.bot img.on { opacity: 1; transform: none; }
.bot-shadow { width: 110px; height: 16px; margin: -6px auto 0; border-radius: 50%; background: rgba(0, 0, 0, .35); filter: blur(6px); animation: shadow 3.6s ease-in-out infinite; }
.say { position: absolute; left: 172px; bottom: 84px; width: 280px; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 13px 15px; font-size: 14px; line-height: 1.45; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); z-index: 3; }
.say.pop { animation: pop .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.8); opacity: .5; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.92); } to { opacity: 1; transform: none; } }

/* --- guides in detail --------------------------------------------------- */
.detail-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.detail { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 20px; transition: background .2s, transform .2s; }
.detail:hover { background: rgba(255, 255, 255, .09); transform: translateY(-2px); }
.detail .mini { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.detail h3 { color: #fff; font-size: 16px; margin: 0 0 4px; }
.detail p { color: #aeb5d6; font-size: 14px; margin: 0; }

/* --- use cases ---------------------------------------------------------- */
.usecase { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.usecase .icon { flex: none; }
.usecase h3 { margin: 2px 0 4px; font-size: 17px; }
.usecase p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- modes strip -------------------------------------------------------- */
.modes { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.modes span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); box-shadow: var(--shadow); }
.modes svg { color: var(--indigo); }

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #eef0ff; color: var(--indigo); font-size: 18px; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* --- contact form ------------------------------------------------------- */
.contact { padding-top: 0; scroll-margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { margin-top: 10px; }
.contact-info > p { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card a { font-weight: 700; font-size: 17px; text-decoration: none; }
.contact-bot { display: block; width: 180px; margin: 28px 0 0 20px; animation: float 3.6s ease-in-out infinite; filter: drop-shadow(0 16px 20px rgba(14, 19, 48, .2)); }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 1px 2px rgba(14, 19, 48, .06), 0 24px 60px rgba(74, 85, 240, .14); position: relative; overflow: hidden; }
.contact-form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15px; color: var(--ink); background: #f9faff; border: 1px solid #dfe2ee; border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; background: #fff; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(74, 85, 240, .15); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.contact-form button { border: 0; cursor: pointer; font-family: inherit; }
.contact-form button:disabled { opacity: .65; cursor: progress; transform: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #0d7a52; }
.form-status.err { color: #c2263a; }
.form-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.contact-grid > * { min-width: 0; }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-bot { display: none; }
}
@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .contact-form button { width: 100%; justify-content: center; }
}

/* --- CTA mascot --------------------------------------------------------- */
.cta.with-bot { text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 48px 56px; }
.cta.with-bot p { margin-left: 0; }
.cta-bot { width: 200px; animation: float 3.6s ease-in-out infinite; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .3)); }

@media (prefers-reduced-motion: reduce) {
  .typing { animation: none; width: auto; border-right: 0; }
  .cursor { display: none; }
  .save, .callout, .playhead, .launcher, .bot, .bot-shadow, .cta-bot, .scene-app .tabs span.hl::after { animation: none; }
  .callout { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- responsive --------------------------------------------------------- */
@media (max-width: 1100px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  :root { --cx: 88px; --cy: 172px; }
  .launcher { display: none; }
  .scene { padding-bottom: 150px; }
  .bot-wrap { left: -6px; bottom: 0; width: 140px; }
  .bot { width: 140px; height: 140px; }
  .say { left: 124px; right: 0; width: auto; bottom: 64px; }
  .detail-grid { grid-template-columns: 1fr; }
  .cta.with-bot { grid-template-columns: 1fr; text-align: center; padding: 40px 22px; }
  .cta.with-bot p { margin-left: auto; }
  .cta-bot { width: 140px; margin: 0 auto; grid-row: 1; }
}
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .mock { transform: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .hero { padding: 104px 0 64px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  nav { gap: 14px; font-size: 14px; }
  nav .hide-sm { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .callout { position: static; width: auto; margin-top: 14px; }
  .privacy-band { grid-template-columns: 1fr; padding: 28px; }
  .cta { padding: 44px 22px; }
  footer .links { margin-left: 0; }
}
