:root {
  --ink: #0a0a0c;
  --panel: #131318;
  --panel-2: #1a1a21;
  --line: #2a2a33;
  --text: #f4f2ee;
  --mute: #a19fab;
  --accent-rgb: 255, 45, 138;
  --accent: rgb(var(--accent-rgb));
  --accent-ink: #1f0612;
  --radius: 18px;
  --gutter: 20px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter); background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.nav.scrolled { background: rgba(10,10,12,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.05); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); transform: rotate(-12deg); }
.nav-links { display: flex; gap: 26px; margin-left: 28px; color: var(--mute); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link { color: #d4d3da; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; }
.link:hover { color: #fff; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 32px;
  border-radius: 999px; background: rgba(var(--accent-rgb), .16); color: var(--accent); font-weight: 700; font-size: 13px;
  letter-spacing: .07em; text-transform: uppercase; border: 1px solid rgba(var(--accent-rgb), .42);
  box-shadow: 0 0 26px rgba(var(--accent-rgb), .10); transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn:hover { background: rgba(var(--accent-rgb), .27); border-color: rgba(var(--accent-rgb), .72); box-shadow: 0 0 34px rgba(var(--accent-rgb), .24); transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 20px; font-size: 12px; letter-spacing: .05em; box-shadow: none; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--mute); letter-spacing: .1em; padding: 0 24px; }
.btn-ghost:hover { background: transparent; box-shadow: none; border-color: var(--line); color: var(--text); }
.tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px;
  color: var(--accent); background: rgba(var(--accent-rgb), .18); border: 1px solid rgba(var(--accent-rgb), .4); }

/* hero */
.hero { position: relative; overflow: hidden; box-sizing: border-box; min-height: clamp(900px, 79vw, 1080px); padding: 69px var(--gutter) 0; display: grid; place-items: center; text-align: center; }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 45%, rgba(0,0,0,.4) 100%); mask-image: radial-gradient(ellipse at 50% 50%, #000 45%, rgba(0,0,0,.4) 100%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 55% at 50% 118%, rgba(var(--accent-rgb), .20), rgba(var(--accent-rgb), .07) 40%, transparent 70%); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; padding: 60px 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(19,19,24,.7); color: var(--mute); font-size: 11px; font-weight: 700; margin-bottom: 22px; letter-spacing: .12em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
h1 { display: grid; font-size: clamp(48px, 8.4vw, 104px); font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: -0.015em; }
.h1-b { color: var(--accent); min-height: 1em; white-space: nowrap; }
.caret { display: inline-block; width: .07em; height: .82em; margin-left: .06em; background: var(--accent); vertical-align: -0.05em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sub { text-shadow: 0 0 14px var(--ink), 0 0 6px var(--ink); margin: 22px auto 0; max-width: 480px; color: var(--mute); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.fine { margin-top: 18px; color: var(--mute); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.phones { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.phone {
  position: absolute; width: clamp(96px, 10.5vw, 158px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 26px 54px rgba(0,0,0,.6); background: var(--panel);
  animation: drift 9s ease-in-out infinite;
}
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
.p1 { left: 50%; top: 26px; margin-left: calc(clamp(96px, 10.5vw, 158px) / -2); transform: rotate(-2deg); }
.p2 { left: 7%; top: 110px; transform: rotate(-6deg); animation-delay: -2s; }
.p3 { right: 7%; top: 90px; transform: rotate(6deg); animation-delay: -4s; }
.p4 { left: 14%; bottom: 60px; transform: rotate(4deg); animation-delay: -6s; }
.p5 { left: 50%; bottom: 22px; margin-left: calc(clamp(96px, 10.5vw, 158px) / -2); transform: rotate(2deg); animation-delay: -1s; }
.p6 { right: 14%; bottom: 70px; transform: rotate(-5deg); animation-delay: -5s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 30px; padding: 26px var(--gutter); border-block: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.strip ul { display: flex; flex-wrap: wrap; gap: 8px 30px; list-style: none; margin: 0; padding: 0; color: var(--text); font-weight: 500; }

/* sections */
.section { max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter) 0; }
.section h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
.lede { margin-top: 14px; color: var(--mute); font-size: 19px; max-width: 560px; }

.demo { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.demo-side { display: flex; flex-direction: column; gap: 22px; justify-content: center; align-items: flex-start; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--accent); background: rgba(var(--accent-rgb), .18); border-color: rgba(var(--accent-rgb), .45); }
.prompt { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.prompt-h { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.prompt-t { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--ink); border: 1px solid var(--line); color: var(--text); font-size: 16px; }
.prompt-s { margin-top: 12px; color: var(--mute); font-size: 15px; }
.demo-stage { display: grid; gap: 14px; justify-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stage { width: min(100%, 330px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--panel-2); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: flex; gap: 10px; }
.th { width: 46px; aspect-ratio: 9 / 16; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--panel-2); cursor: pointer; opacity: .6; }
.th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th.on { border-color: var(--accent); opacity: 1; }

.gal-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.gal-nav { display: flex; gap: 8px; }
.gal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 18px; cursor: pointer; }
.gal-nav button:hover { border-color: var(--mute); }
.strip-row { display: flex; gap: 14px; margin: 28px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip-row::-webkit-scrollbar { display: none; }
.card { flex: 0 0 auto; width: clamp(150px, 17vw, 210px); aspect-ratio: 9 / 16; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); scroll-snap-align: start; }
.card video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* steps */
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.steps h3 { font-size: 22px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--mute); font-size: 16px; }

/* pricing */
.price-card { margin-top: 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 18px; }
.price-card li { padding-left: 30px; position: relative; }
.price-card li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.price-side { display: grid; gap: 16px; justify-items: start; }
.price-note { color: var(--mute); }

/* faq */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-size: 20px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 26px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin-top: 12px; color: var(--mute); max-width: 640px; }

.cta-band { max-width: var(--max); margin: 96px auto 0; padding: 70px var(--gutter); text-align: center; display: grid; gap: 28px; justify-items: center; border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }

.foot { display: flex; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) 40px; color: var(--mute); font-size: 14px; max-width: var(--max); margin: 0 auto; }
.foot a:hover { color: var(--text); }

/* feature section (DOJICS) */
.feat { text-align: left; }
.badge { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.feat .feat-title { font-size: clamp(64px, 14vw, 160px); line-height: .9; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -0.03em; padding-right: .1em; }
.feat-title span { display: inline-block; transform: skewX(-6deg); background: linear-gradient(180deg, #fff 0%, #ffd2e6 30%, var(--accent) 78%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 rgba(var(--accent-rgb), .25)); }
.sticker { display: inline-block; margin: 22px 0 0; padding: 8px 16px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: clamp(16px, 2.2vw, 22px); text-transform: uppercase; letter-spacing: .02em; transform: rotate(-2deg); }
.feat .lede { margin-top: 22px; color: var(--text); font-size: clamp(18px, 2.2vw, 24px); max-width: 640px; }
.feat .demo { margin-top: 44px; grid-template-columns: 1fr 1fr; }
.tab-desc { margin: 0; color: var(--mute); font-size: 18px; max-width: 520px; min-height: 3.2em; }
.prompt-top { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.prompt-k { color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.prompt-e { color: var(--accent); font-size: 13px; font-weight: 700; text-align: right; }
.prompt-t code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .85em; padding: 2px 7px; border-radius: 6px; background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.feat-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-big { min-height: 56px; padding: 0 34px; font-size: 14px; letter-spacing: .08em; }
.feat .demo-stage { align-self: start; }
.cmp { position: relative; width: min(100%, 400px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.5); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cmp-b { clip-path: inset(0 0 0 var(--x)); }
.cmp-l { position: absolute; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(10,10,12,.72); backdrop-filter: blur(6px); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.cmp-l-a { left: 12px; }
.cmp-l-b { right: 12px; background: var(--accent); color: var(--accent-ink); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 44px; margin-left: -22px; display: grid; place-items: center; outline: none; }
.cmp-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(0,0,0,.5); }
.cmp-knob { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px rgba(0,0,0,.55), 0 0 0 4px rgba(255,255,255,.9); }
.cmp-handle:focus-visible .cmp-knob { box-shadow: 0 6px 20px rgba(0,0,0,.55), 0 0 0 4px #fff, 0 0 0 7px var(--accent); }
.cmp-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(10,10,12,.78); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: none; transition: opacity .3s; }
.cmp-hint.gone { opacity: 0; }

/* credit packs */
.packs { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pack { position: relative; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 6px; align-content: start; }
.pack h3 { font-size: 22px; font-weight: 700; }
.pack-price { margin: 14px 0 0; font-size: 52px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.pack-credits { margin: 4px 0 0; font-size: 20px; font-weight: 700; color: var(--accent); }
.pack-credits span { margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--accent-rgb), .16); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.pack-eg { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--mute); font-size: 15px; }
.pack-main { border-color: rgba(var(--accent-rgb), .6); box-shadow: 0 0 40px rgba(var(--accent-rgb), .14); }
.pack-flag { position: absolute; top: -13px; left: 28px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.costs { margin-top: 20px; padding: 26px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.costs-h { margin: 0 0 12px; font-weight: 700; font-size: 18px; }
.costs ul { margin: 0; padding: 0; list-style: none; display: grid; }
.costs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.costs li b { font-weight: 700; text-align: right; }
.costs .price-note { margin: 14px 0 0; font-size: 14px; }
.price-cta { margin-top: 28px; }

/* small screens */
@media (max-width: 880px) {
  .nav-links { display: none; }
  h1 { font-size: clamp(32px, 9.6vw, 48px); }
  summary { min-height: 44px; align-items: center; padding: 6px 0; }
  .foot a { display: inline-block; padding: 12px 4px; }
  .nav .btn-sm { min-height: 44px; }
  .feat-actions .link { padding: 12px 4px; }
  .demo, .feat .demo { grid-template-columns: 1fr; }
  .feat .demo { margin-top: 32px; }
  .tab-desc { min-height: 0; }
  .demo-stage { padding: 14px; order: -1; }
  .cmp { width: 100%; max-width: 360px; margin: 0 auto; }
  .feat-actions .btn-big { width: 100%; }
  .steps, .price-card, .packs { grid-template-columns: 1fr; }
  .pack-price { font-size: 44px; }
  .price-cta .btn { width: 100%; }
  .hero { min-height: 0; display: block; padding-top: 93px; padding-bottom: 24px; }
  .phones { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 30px; }
  .phones + .hero-copy { padding: 0; }
  .phone { position: relative; inset: auto; width: 100%; margin: 0; animation: none; }
  .p1, .p2, .p3, .p4, .p5, .p6 { left: auto; right: auto; top: auto; bottom: auto; margin: 0; }
  .p1 { order: 2; } .p2 { order: 1; } .p3 { order: 3; }
  .p4, .p5, .p6 { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-cta .link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { animation: none; }
  .rot, .btn { transition: none; }
}
