/* Sotnia site styles, version 3: black, liquid glass, one accent colour, a genie in the hero. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* Theme "mono": black and white with one blue accent. */
:root {
  --bg: #000;
  --text: #f5f5f7;
  --muted: #9a9aa2;
  --dim: #6e6e76;
  --line: rgba(255, 255, 255, 0.11);
  --glass-top: rgba(255, 255, 255, 0.085);
  --glass-bottom: rgba(255, 255, 255, 0.03);
  --well: rgba(0, 0, 0, 0.42);
  --accent: #2997ff;
  --accent-soft: rgba(41, 151, 255, 0.16);
  --accent-grad: linear-gradient(120deg, #ffffff 0%, #b9c2cc 45%, #7d8794 100%);
  --btn-bg: #f5f5f7;
  --btn-text: #000;
  --btn-hover: #ffffff;
  --bubble-out: rgba(255, 255, 255, 0.16);
  --glow: rgba(255, 255, 255, 0.16);
  --blob-a: rgba(255, 255, 255, 0.10);
  --blob-b: rgba(160, 170, 185, 0.10);
  --blob-c: rgba(41, 151, 255, 0.10);
  --radius: 24px;
  --radius-sm: 14px;
  --max: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.45em; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; line-height: 1.25; font-weight: 700; }
.grad { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { position: relative; padding: 104px 0; }
section[id] { scroll-margin-top: 72px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/*
  Ambient light behind the glass. The spots scroll with the page and do not move.
  A fixed or moving layer behind 30 glass panels makes the scroll slow.
*/
body { position: relative; }
.ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient i { position: absolute; border-radius: 50%; }
.ambient i:nth-child(1) { width: 70vw; height: 70vw; left: -24vw; top: -10vw; background: radial-gradient(closest-side, var(--blob-a), transparent); }
.ambient i:nth-child(2) { width: 60vw; height: 60vw; right: -21vw; top: 32%; background: radial-gradient(closest-side, var(--blob-b), transparent); }
.ambient i:nth-child(3) { width: 60vw; height: 60vw; left: 10vw; top: 68%; background: radial-gradient(closest-side, var(--blob-c), transparent); }

/*
  Liquid glass panel. The ambient light behind it is already soft,
  so the panel has no backdrop-filter and no outer shadow.
  With 30 panels on a page, these effects make the scroll slow on weak phones.
*/
.glass {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--glass-top), var(--glass-bottom));
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 0% 0%, rgba(255, 255, 255, 0.13), transparent 52%);
  pointer-events: none;
}
.glass > * { position: relative; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--main { background: var(--btn-bg); color: var(--btn-text); box-shadow: 0 10px 30px var(--glow); }
.btn--main:hover { background: var(--btn-hover); }
.btn--glass { color: var(--text); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); }
.btn--small { padding: 9px 18px; font-size: 0.92rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo svg { width: 26px; height: 26px; }
.logo__word { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.04em; }
.orb-a { stop-color: #ffffff; }
.orb-b { stop-color: #9aa3ad; }
.orb-c { stop-color: #2b2f36; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav a.btn--main, .nav a.btn--main:hover { color: var(--btn-text); }
.nav__toggle { display: none; background: rgba(255, 255, 255, 0.06); border: 0; box-shadow: inset 0 0 0 1px var(--line); color: var(--text); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 0.92rem; }

/* Hero */
.hero { position: relative; padding: 40px 0 96px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; min-height: calc(100vh - 64px - 136px); }
.hero__sub { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/*
  Genie. The picture has 2 layers on the same square: the body and the lamp.
  All body wrappers turn about the lamp spout, so the tail stays in the lamp.
  The animation uses transform and opacity only, so it does not slow the scroll.
*/
.genie-stage { --spout: 48.8% 81.2%; position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; }
.genie-halo { position: absolute; inset: 0; pointer-events: none; }
.genie-halo::before {
  content: "";
  position: absolute;
  inset: 4% 10% 16% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.30), rgba(217, 70, 239, 0.12) 55%, transparent 78%);
}
.genie, .genie__rise, .genie__look, .genie__sway, .genie__breath { position: absolute; inset: 0; }
.genie__rise, .genie__look, .genie__sway, .genie__breath { transform-origin: var(--spout); }
.genie__body, .genie__lamp { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The orb covers the orb of the picture and adds light and sparks. */
.genie__orb { position: absolute; left: 21.7%; top: 28.3%; width: 7.2%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); }
.genie__orb::before {
  content: "";
  position: absolute;
  inset: -160%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 205, 255, 0.7), rgba(139, 92, 246, 0.32) 45%, transparent 72%);
}
.genie__orb b {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle closest-side at 45% 42%, #fff 0, #fff 24%, #dff1ff 44%, #93d1ff 64%, rgba(80, 170, 255, 0.9) 78%, rgba(41, 151, 255, 0) 100%);
}
.genie__orb i { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1 / 1; margin: -11% 0 0 -11%; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(190, 160, 255, 0.8) 50%, transparent); opacity: 0; }

.ripples { position: absolute; left: 48.3%; bottom: 7.5%; width: 46%; aspect-ratio: 4 / 1; transform: translateX(-50%); pointer-events: none; }
.ripples i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(160, 130, 255, 0.5); opacity: 0; }

/* Icons */
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--text); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.2); margin-bottom: 16px; }
.ico svg { width: 22px; height: 22px; }

/* Pains */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.pain { padding: 26px; }
.pain p { margin: 0; color: var(--muted); }
.pain strong { color: var(--text); }

/* Agents */
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.agent { display: flex; flex-direction: column; padding: 26px; }
.agent__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.agent__role { color: var(--muted); margin-bottom: 18px; }
.agent__list { padding: 0; margin: 20px 0; list-style: none; }
.agent__list li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 0.95rem; color: #d9d9de; }
.agent__list li::before { content: ""; position: absolute; left: 3px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.agent__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.agent__price { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }

/* Scenes inside agent cards */
.scene { min-height: 186px; padding: 14px; border-radius: 18px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.88rem; }
.bubble { width: fit-content; max-width: 92%; padding: 8px 13px; border-radius: 18px; margin-bottom: 8px; line-height: 1.4; }
.bubble--in { background: rgba(255, 255, 255, 0.09); color: #e8e8ec; border-bottom-left-radius: 6px; }
.bubble--out { background: var(--bubble-out); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.voice { display: flex; align-items: center; gap: 9px; }
.voice__wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.voice__wave i { display: block; width: 3px; height: 14px; border-radius: 2px; background: var(--accent); transform-origin: center; }
.voice__wave i:nth-child(1) { transform: scaleY(0.4); } .voice__wave i:nth-child(2) { transform: scaleY(0.8); } .voice__wave i:nth-child(3) { transform: scaleY(0.55); }
.voice__wave i:nth-child(4) { transform: scaleY(1); } .voice__wave i:nth-child(5) { transform: scaleY(0.5); } .voice__wave i:nth-child(6) { transform: scaleY(0.75); } .voice__wave i:nth-child(7) { transform: scaleY(0.35); }
.typing { display: flex; width: max-content; gap: 4px; padding: 11px 13px; overflow: hidden; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: 0.6; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: #fff; font-weight: 600; font-size: 0.82rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.todo__q { color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: #e8e8ec; }
.todo li:last-child { border-bottom: 0; }
.box { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); position: relative; }
.box::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; transform: scale(1); }
.box--open::after { display: none; }
.todo__done { color: var(--dim); text-decoration: line-through; }
.scene--todo .bubble { margin-top: 10px; margin-bottom: 0; }
.frames { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 4px 0 14px; }
.frames i { aspect-ratio: 3 / 4; border-radius: 6px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 0 0 1px var(--line); }
.frames i:nth-child(2n) { background: linear-gradient(160deg, var(--accent-soft), rgba(255, 255, 255, 0.04)); }
.progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.09); overflow: hidden; margin-bottom: 12px; }
.progress span { display: block; height: 100%; width: 100%; border-radius: 6px; background: var(--accent); }
.progress__row { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.82rem; margin-bottom: 8px; }
.progress__row b { color: var(--text); font-variant-numeric: tabular-nums; }

.team-note { margin-top: 28px; padding: 22px 26px; }

/* Ad test */
.adtest { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.steps { counter-reset: s; padding: 0; margin: 0 0 28px; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -3px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.steps strong { display: block; }
.steps span { color: var(--muted); }
.report { padding: 28px; }
.report__title { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.report__row { display: grid; grid-template-columns: 90px 1fr 40px; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 0.92rem; color: var(--muted); padding: 9px 10px; border-radius: 12px; }
.report__row b { color: var(--text); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.report__track { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.report__fill { height: 100%; width: var(--w); border-radius: 8px; background: rgba(255, 255, 255, 0.45); }
.report__row--best { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10); }
.report__row--best .report__fill { background: var(--accent); }
.report__quote { margin-top: 14px; padding: 13px 15px; border-radius: 14px; background: var(--well); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.92rem; color: #e8e8ec; }
.report__note { margin-top: 14px; font-size: 0.78rem; color: var(--dim); }
.disclaimer { font-size: 0.92rem; color: var(--muted); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 18px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }

/* Reliability */
.monitor { margin-top: 40px; padding: 26px 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: center; }
.monitor__label { font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; }
.monitor__label b { color: var(--text); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.monitor__label b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.pulse { width: 100%; height: 70px; }
.pulse path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px var(--accent)); }
.backups { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 10px; }
.backups i { height: 28px; border-radius: 9px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10)); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.monitor__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; font-size: 0.74rem; color: var(--dim); text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.feature { padding: 26px; }
.feature p { margin: 0; color: var(--muted); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 42px; position: relative; }
.stage-card { position: relative; padding: 24px; overflow: visible; }
.stage-card__n { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
.stage-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.stage-card__time { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--text); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line); }
.link { position: absolute; top: 50%; right: -34px; width: 34px; height: 2px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.link span { display: block; height: 100%; width: 100%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Built */
.built { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.build { display: flex; gap: 18px; padding: 26px; }
.build .ico { flex: 0 0 auto; margin: 0; }
.build p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* About */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 42px; align-items: center; padding: 34px; }
.about__pic { width: 200px; height: 200px; border-radius: 28px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line); }
.about__pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.about p { color: #d9d9de; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.price { display: flex; flex-direction: column; padding: 26px; }
.price--hl { box-shadow: inset 0 0 0 1.5px var(--accent), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 60px var(--glow); }
.price__name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.price--hl .price__name { color: var(--accent); }
.price__sum { font-weight: 800; font-size: 2rem; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 4px; }
.price__per { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.price ul { padding: 0; margin: 0 0 22px; list-style: none; color: #d9d9de; font-size: 0.93rem; }
.price li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.price li::before { content: ""; position: absolute; left: 1px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.price .btn { margin-top: auto; }
.price-note { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 840px; margin: 40px auto 0; }
.faq details { border-radius: 18px; padding: 0 22px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; padding: 19px 34px 19px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.form { padding: 30px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.field select option { background: #111; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.field input[type="file"] { padding: 10px; color: var(--muted); }
.field input[type="file"]::file-selector-button { font: inherit; font-size: 0.9rem; font-weight: 600; margin-right: 12px; padding: 7px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: var(--text); cursor: pointer; }
.field textarea { min-height: 96px; resize: vertical; }
.field small { color: var(--dim); font-size: 0.82rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin: 4px 0 20px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__status { margin-top: 16px; font-weight: 600; min-height: 1.4em; }
.form__status--ok { color: #30d158; }
.form__status--err { color: #ff6961; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-list li { margin-bottom: 10px; color: var(--muted); }
.contact-list a { color: var(--text); }

/* Footer */
.footer { border-top: 1px solid var(--line); color: var(--dim); padding: 30px 0; font-size: 0.9rem; }
.footer__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Legal page */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 22px 80px; }
.legal h1 { font-size: 2.6rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal p { color: #d9d9de; }

[hidden] { display: none !important; }

/*
  Motion. The final state above is the default, so the page is complete
  without JS and with reduced motion. The start states below apply only
  when JS runs and the user allows motion.
*/
@media (prefers-reduced-motion: no-preference) {
  /* Genie at rest: it sways like smoke over the lamp and breathes. The periods differ, so the motion does not repeat exactly. */
  .genie__sway { animation: genie-sway 7.4s ease-in-out infinite; }
  .genie__breath { animation: genie-breath 4.8s ease-in-out infinite; }
  .genie-halo::before { animation: genie-halo 6.2s ease-in-out infinite; }
  .genie__orb { animation: orb-float 3.4s ease-in-out infinite; }
  .genie__orb::before { animation: orb-glow 2.6s ease-in-out infinite; }
  .genie__orb b { animation: orb-pulse 2.6s ease-in-out infinite; }
  .genie__orb i { animation: spark 3s ease-out infinite; }
  .genie__orb i:nth-child(2) { --x: -120%; animation-delay: 0s; }
  .genie__orb i:nth-child(3) { --x: 90%; animation-delay: 0.6s; }
  .genie__orb i:nth-child(4) { --x: -40%; animation-delay: 1.2s; }
  .genie__orb i:nth-child(5) { --x: 150%; animation-delay: 1.8s; }
  .genie__orb i:nth-child(6) { --x: 20%; animation-delay: 2.4s; }
  .ripples i { animation: ripple 4.2s cubic-bezier(.25, .6, .3, 1) infinite; }
  .ripples i:nth-child(2) { animation-delay: 1.4s; }
  .ripples i:nth-child(3) { animation-delay: 2.8s; }
  /* When the hero is not on the screen, the genie stops to save the battery. */
  .genie-stage.is-paused *, .genie-stage.is-paused *::before { animation-play-state: paused; }

  /* Entrance: the lamp appears, then the genie comes out of the spout like smoke, then the orb lights up. */
  .js .genie-stage { opacity: 0; transition: opacity 0.8s ease; }
  .js .genie-stage.is-in { opacity: 1; }
  .js .genie__rise { opacity: 0; transform: scale(0.16, 0.05); transition: opacity 0.9s ease 0.35s, transform 1.8s cubic-bezier(.2, .9, .25, 1.06) 0.35s; }
  .js .genie-stage.is-in .genie__rise { opacity: 1; transform: none; }
  .js .genie__orb b { opacity: 0; transition: opacity 0.6s ease 1.9s; }
  .js .genie-stage.is-in .genie__orb b { opacity: 1; }

  .js .hero-copy > * { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity 0.9s ease, transform 0.9s var(--ease), filter 0.9s ease; }
  .js .hero-copy.is-in > * { opacity: 1; transform: none; filter: none; }
  .js .hero-copy.is-in > :nth-child(2) { transition-delay: 0.12s; }
  .js .hero-copy.is-in > :nth-child(3) { transition-delay: 0.24s; }
  .js .hero-copy.is-in > :nth-child(4) { transition-delay: 0.36s; }
  .js .hero-copy.is-in > :nth-child(5) { transition-delay: 0.48s; }

  /* Blocks below the hero appear without blur: many blurred blocks at a time make the scroll slow. */
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .agent { opacity: 0; transform: translateY(40px) scale(0.97); transition: opacity 1s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
  .js .agent.is-in { opacity: 1; transform: none; }

  .js .scene--chat > * { opacity: 0; }
  .js .is-in .scene--chat .s1 { animation: pop 0.5s var(--ease) 1.2s forwards; }
  .js .is-in .scene--chat .s2 { animation: typing 1.4s steps(1) 1.8s forwards; }
  .js .is-in .scene--chat .s3 { animation: pop 0.5s var(--ease) 3.2s forwards; }
  .js .is-in .scene--chat .s4 { animation: pop 0.5s var(--ease) 3.9s forwards; }
  .js .is-in .scene--chat .s5 { animation: pop 0.5s var(--ease) 4.6s forwards; }
  .js .is-in .voice__wave i { animation: wave 0.7s ease-in-out 1.3s 4; }
  .js .is-in .voice__wave i:nth-child(2n) { animation-delay: 1.45s; }
  .js .is-in .typing i { animation: dots 0.6s ease-in-out 1.8s infinite; }
  .js .is-in .typing i:nth-child(2) { animation-delay: 2s; }
  .js .is-in .typing i:nth-child(3) { animation-delay: 2.2s; }

  .js .scene--todo .todo li { opacity: 0; transform: translateX(-10px); }
  .js .is-in .scene--todo .todo li { animation: slide 0.5s var(--ease) var(--d) forwards; }
  .js .scene--todo .box::after { transform: scale(0); }
  .js .is-in .scene--todo .box::after { animation: tick 0.35s var(--ease) var(--t) forwards; }
  .js .scene--todo .todo__done { color: #e8e8ec; text-decoration: none; }
  .js .is-in .scene--todo .todo__done { animation: done 0.35s ease var(--t) forwards; }
  .js .scene--todo .s-late { opacity: 0; }
  .js .is-in .scene--todo .s-late { animation: pop 0.5s var(--ease) 4.1s forwards; }

  .js .scene--video .frames i { opacity: 0; transform: translateY(14px); }
  .js .is-in .scene--video .frames i { animation: drop 0.5s var(--ease) var(--d) forwards; }
  .js .scene--video .progress span { width: 0; }
  .js .is-in .scene--video .progress span { animation: fill 2.2s cubic-bezier(.4, 0, .2, 1) 1.8s forwards; }
  .js .scene--video .chip { opacity: 0; }
  .js .is-in .scene--video .chip { animation: pop 0.5s var(--ease) 4.1s forwards; }

  .js .report .report__fill { width: 0; transition: width 1.4s cubic-bezier(.4, 0, .2, 1) var(--d); }
  .js .report.is-in .report__fill { width: var(--w); }
  .js .report .report__row--best { background: transparent; box-shadow: none; }
  .js .report.is-in .report__row--best { animation: best 0.7s ease 1.8s forwards; }

  .js .monitor .pulse path { stroke-dashoffset: 900; transition: stroke-dashoffset 2.6s cubic-bezier(.4, 0, .2, 1) 0.3s; }
  .js .monitor.is-in .pulse path { stroke-dashoffset: 0; }
  .js .monitor .backups i { opacity: 0.15; transform: scale(0.85); transition: opacity 0.4s ease var(--d), transform 0.5s var(--ease) var(--d); }
  .js .monitor.is-in .backups i { opacity: 1; transform: none; }

  .js .process .link span { transform: scaleX(0); transform-origin: left; transition: transform 0.7s cubic-bezier(.4, 0, .2, 1) var(--d); }
  .js .process.is-in .link span { transform: scaleX(1); }

  @keyframes genie-sway { 0%, 100% { transform: rotate(-1.8deg) skewX(0.7deg); } 50% { transform: rotate(1.8deg) skewX(-0.7deg); } }
  @keyframes genie-breath { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.024); } }
  @keyframes genie-halo { 0%, 100% { opacity: 0.7; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1.05); } }
  @keyframes orb-float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -64%); } }
  @keyframes orb-pulse { 0%, 100% { transform: scale(0.95); } 50% { transform: scale(1.07); } }
  @keyframes orb-glow { 0%, 100% { opacity: 0.6; transform: scale(0.88); } 50% { opacity: 1; transform: scale(1.1); } }
  @keyframes spark {
    0% { opacity: 0; transform: translate(0, 0) scale(1); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: translate(var(--x, 0), -520%) scale(0.35); }
  }
  @keyframes ripple { 0% { opacity: 0; transform: scale(0.35); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: scale(1.6); } }
  @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
  @keyframes typing { 0% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: 0; } }
  @keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
  @keyframes dots { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
  @keyframes slide { to { opacity: 1; transform: none; } }
  @keyframes tick { to { transform: scale(1); } }
  @keyframes done { to { color: var(--dim); text-decoration: line-through; } }
  @keyframes drop { to { opacity: 1; transform: none; } }
  @keyframes fill { to { width: 100%; } }
  @keyframes best { to { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10); } }
}

/* Without motion the typing dots are not needed: the answer is already there. */
@media (prefers-reduced-motion: reduce) {
  .scene--chat .s2, .ripples { display: none; }
  html { scroll-behavior: auto; }
}
html:not(.js) .scene--chat .s2 { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero__grid, .adtest, .form-grid, .monitor { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; gap: 10px; }
  .genie-stage { max-width: 420px; order: -1; }
  .pains, .prices { grid-template-columns: repeat(2, 1fr); }
  .agents, .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .link { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 10px; }
  .genie-stage { max-width: 320px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(0, 0, 0, 0.92); border-bottom: 1px solid var(--line); padding: 8px 22px 18px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav a.btn { margin-top: 8px; }
  .nav__toggle { display: block; }
  .pains, .prices, .built, .form__row, .process { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; padding: 24px; }
  .about__pic { width: 140px; height: 140px; }
  .report__row { grid-template-columns: 76px 1fr 34px; }
}
