:root {
  --ink: #111111;
  --paper: #ffffff;
  --fog: #ededed;
  --nav: #f9f9f9;
  --muted: #5e5e5e;
  --faint: #8a8a8a;
  --line: #e4e4e4;
  --blue: #00b4ea;
  --sky: #b7e6f8;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 88px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #f4f4f4;
  background-image:
    radial-gradient(880px 520px at calc(78% - var(--page, 0) * 12%) calc(12% + var(--page, 0) * 30%), rgba(17, 17, 17, 0.045), transparent 62%),
    radial-gradient(640px 420px at calc(8% + var(--page, 0) * 22%) 78%, rgba(17, 17, 17, 0.05), transparent 60%),
    radial-gradient(#cfcfcf 0.8px, transparent 0.9px);
  background-size: auto, auto, 22px 22px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: Onest, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
body.lock { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
em, i { font-style: normal; }
::selection { background: #111; color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.cursor-dot, .cursor-ring { display: none !important; }
html.has-cursor, html.has-cursor * { cursor: auto !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: text !important; }
html.has-cursor button, html.has-cursor a, html.has-cursor .plat, html.has-cursor .step { cursor: pointer !important; }

.skip { position: absolute; left: 16px; top: -40px; z-index: 120; background: #111; color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { top: 12px; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; z-index: 80; pointer-events: none; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.kicker, .section-head .kicker, .steps > .kicker, .close > .kicker { display: none; }
#plat-label, .queue-col .kicker { display: block; margin: 22px 0 10px; color: var(--ink); font-size: 14px; font-weight: 700; }
.fine { color: var(--muted); font-size: 14px; line-height: 1.5; }
.section-head { max-width: 640px; margin-bottom: 24px; }
h1, h2, h3, .close h2, .price, .app-top strong, dialog h3, .loader-inner strong, .stat b, .slider strong, .logo, .brand {
  font-family: Unbounded, Onest, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
}
h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.08; }
h1 span { display: block; }
.section-head h2, .close h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.lead { margin-top: 12px; max-width: 48ch; color: #3c3c3c; font-size: 16px; line-height: 1.5; font-weight: 400; }
.block { padding: 56px 0; }
.reveal { }
.reveal.in { }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: -0.01em;
  border: 1.6px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: #2a2a2a; }
.btn.line, .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover, .btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn.tiny { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn[data-blocked="1"] { opacity: .35; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 40; background: var(--nav);
  opacity: var(--head, 0); pointer-events: none;
}
.preheader { background: #111; color: #fff; height: 32px; display: flex; align-items: center; }
.pre-row { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pre-msg { font-size: 13px; font-weight: 500; letter-spacing: 0; }
.pre-end { display: flex; align-items: center; gap: 16px; }
.preheader .signin { color: #fff; text-decoration: none; font-size: 13px; font-weight: 500; }
.preheader .signin:hover { color: var(--blue); }
.lang { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 600; }
.lang button { color: rgba(255,255,255,.55); font-weight: 600; }
.lang button[aria-pressed="true"] { color: #fff; }
.lang button:hover { color: var(--blue); }
.topbar { height: 56px; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 18px; }
.mark {
  width: 26px; height: 26px; border-radius: 8px; background: #111; color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 600; font-family: Unbounded, Onest, sans-serif;
}
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 10px; color: var(--ink);
}
.nav-links a:first-child { color: var(--blue); }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: #111;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; }
.menu-btn span { width: 18px; height: 1.5px; background: #111; margin: 3px 0; transition: transform .2s; }
.nav-panel { display: none; }

.hero { background: var(--fog); padding: calc(var(--header) + 28px) 0 48px; overflow: hidden; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  border: 1px solid #111; border-radius: 999px; padding: 4px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero .row { margin-top: 18px; }
.hero .note { margin-top: 12px; max-width: 48ch; }
.hero-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sender {
  position: absolute; z-index: 2; pointer-events: none;
  width: 46px; height: 74px; border-radius: 12px; background: #111;
  display: grid; place-items: center;
  left: calc(4% + var(--p, 0) * 72%);
  top: calc(4% + var(--p, 0) * 68%);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.sender .clip-play { width: 22px; height: 22px; margin: 0; scale: 1; }
.sender .clip-play::after { border-width: 4px 0 4px 7px; }
.ticket, .float {
  background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ticket { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.ticket header { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 600; }
.ticket p { font-size: 16px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.ticket-row { display: flex; justify-content: space-between; align-items: center; }
.ava { width: 32px; height: 32px; border-radius: 50%; background: var(--fog); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.float { min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 14px; border: 1.6px solid transparent; }
.float.lit { border-color: #111; }
.float b { font-size: 16px; }
.float small { color: var(--muted); font-size: 13px; }
.float em { color: #0a8f22; font-size: 13px; font-weight: 700; }
.float em::before { content: "✓  "; }
.float:hover, .ticket:hover, .win:hover, .plan:hover, .stat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }
.c1, .c2, .c3, .c4 { position: static; width: auto; }

.routine-grid, .stats-grid, .boost-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.slider { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.slider strong { font-size: 40px; line-height: 1; }
input[type="range"] { width: 100%; accent-color: #111; }
#routine-result { margin: 12px 0 6px; font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; max-width: 36ch; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { background: var(--fog); border-radius: 14px; padding: 4px 16px 8px; }
.card h3 { font-size: 18px; margin: 10px 0 2px; }
.card ol { list-style: none; }
.card li { padding: 10px 0; border-top: 1px solid #ddd; color: #333; font-size: 14px; }
.card.tool { background: #fff; outline: 1.6px solid #111; }

.story-scroll { position: relative; }
.step {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; width: 100%; text-align: left;
  padding: 12px 0; border-top: 1px solid var(--line); color: var(--faint);
  transition: color .25s;
}
.step strong { display: block; color: inherit; font-size: 15px; margin-bottom: 2px; letter-spacing: -0.02em; font-family: Onest, sans-serif; font-weight: 600; }
.step > span > span { display: block; line-height: 1.45; font-size: 13px; }
.step.active { color: var(--ink); }
.step.active .mono { color: var(--blue); }
.mono { font-weight: 800; font-size: 13px; }
.stage { min-height: 280px; }
.panel { display: none; animation: rise .45s var(--ease); }
.panel.active { display: block; }
.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.win {
  min-height: 0; padding: 12px; border-radius: 14px; background: var(--fog);
  display: flex; flex-direction: column;
}
.win::before {
  content: ""; height: 48px; margin-bottom: 10px; border-radius: 10px; background: #fff;
}
.win b { font-size: 15px; }
.win small { margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mock > p, .mock p + p { margin: 0; color: #333; line-height: 1.55; }
.oauth, .lanes { display: grid; gap: 0; margin: 8px 0 18px; }
.oauth span, .lane { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 8px 0 18px; }
.cal span { text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.cal i { display: block; height: 36px; border-radius: 8px; background: var(--fog); }
.cal i.picked { background: #111; }
.track { flex: 1; height: 4px; background: #e6e6e6; border-radius: 99px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.panel.active .bar-fill { animation: fill 1s var(--ease) both; }

.app { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 16px 18px 14px; background: var(--fog); }
.app-top strong { font-size: 22px; display: block; }
.app-top p { margin-top: 6px; color: #333; max-width: 62ch; line-height: 1.45; font-weight: 400; font-size: 14px; }
.place { color: var(--muted); white-space: nowrap; padding-top: 4px; font-size: 13px; font-weight: 600; }
.app-grid { display: grid; grid-template-columns: 240px minmax(0,1fr) 260px; }
.app-grid > * { padding: 16px 16px 20px; min-width: 0; }
.app-grid > * + * { border-left: 1px solid var(--line); }
.rail, .queue-col { max-height: 860px; overflow: auto; }
.rail-head, .queue-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.rail-head strong, .queue-head strong, .composer > strong { font-family: Onest, sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0; }
.rail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.linkish { color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.linkish:hover { color: var(--blue); }
.group { margin-bottom: 16px; }
.group > .mono { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; margin: 0 0 6px; }
.acc { display: grid; grid-template-columns: 1fr 28px; gap: 4px; align-items: center; margin-bottom: 8px; }
.acc > button:first-child {
  display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center;
  width: 100%; text-align: left; padding: 8px 10px; border-radius: 12px;
  border: 1.6px solid #dedede; background: #fff; color: var(--muted);
  transition: border-color .2s, background .2s, color .2s;
}
.acc.on > button:first-child { color: var(--ink); border-color: #111; background: #f7f7f7; }
.tick { width: 18px; height: 18px; border-radius: 50%; border: 1.6px solid #c8c8c8; display: grid; place-items: center; }
.acc.on .tick { background: #111; border-color: #111; }
.acc.on .tick::after {
  content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}
.acc b, .acc small { display: block; }
.acc b { font-size: 14px; font-weight: 600; }
.acc small { color: var(--muted); font-size: 12px; }
.acc.on small { color: #333; }
.icon-x { color: var(--faint); font-size: 18px; }
.icon-x:hover { color: #111; }
.icon-x::before { content: "×"; }
.composer-top { display: grid; grid-template-columns: 112px 1fr; gap: 16px; margin-top: 12px; }
.thumb { position: relative; width: 112px; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: var(--fog); }
.thumb input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumb .poster, .thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb .poster { background: linear-gradient(#fafafa, #e7e7e7); }
.thumb .orb { position: absolute; width: 36px; height: 36px; left: 38px; top: 72px; border-radius: 50%; background: #111; }
.thumb .orb::after { content: ""; position: absolute; left: 14px; top: 10px; border-style: solid; border-width: 8px 0 8px 11px; border-color: transparent transparent transparent #fff; }
.thumb .poster-line, .thumb .playhead { display: none; }
.thumb-hint { position: absolute; left: 8px; right: 8px; bottom: 10px; text-align: center; font-size: 12px; font-weight: 700; }
.thumb.has-file .thumb-hint, .thumb.has-file .poster { display: none; }
.fields, label.field { display: grid; gap: 6px; }
.fields { gap: 12px; }
label.field { font-size: 13px; color: var(--muted); font-weight: 700; }
input, textarea, select {
  width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px;
  background: #fff; border: 1.6px solid #d5d5d5; color: var(--ink);
  transition: border-color .2s;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #111; }
input::placeholder, textarea::placeholder { color: #9a9a9a; }
.count { font-size: 12px; color: var(--faint); font-weight: 600; }
.count.over { color: #c43737; }
.mode, .plat-row, .when, .actions, .rail-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mode { margin: 16px 0; }
.plat, .mode button, .bill button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.6px solid #111;
  color: var(--ink); font-weight: 700; font-size: 14px; background: #fff;
  transition: background .2s, color .2s;
}
.plat.on, .mode button.on, .bill button[aria-pressed="true"] { background: #111; color: #fff; }
.plat:hover, .mode button:hover, .bill button:hover { background: #111; color: #fff; }
.bill { display: inline-flex; gap: 8px; margin-bottom: 28px; }
.when { margin: 8px 0 16px; }
.when .field { flex: 1; min-width: 140px; }
#custom-fields { display: grid; gap: 12px; }
#custom-fields[hidden] { display: none; }
.actions { margin-top: 8px; }
.app .actions .btn[data-act="seo"] { background: none; border: 0; color: var(--blue); text-transform: none; letter-spacing: 0; font-size: 15px; min-height: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
.q-item, .log li { padding: 14px 0; border-top: 1px solid var(--line); color: #333; }
.q-item h3 { color: var(--ink); font-size: 16px; text-transform: none; letter-spacing: -0.02em; }
.q-meta { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0 8px; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; }
.st.done { color: #0a8f22; font-weight: 700; }
.st.queued { color: var(--blue); font-weight: 700; }
.st.sending { color: #111; font-weight: 700; }
.q-actions { display: flex; gap: 12px; margin-top: 8px; }
.log { list-style: none; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.stat { background: var(--fog); border-radius: 14px; padding: 14px 16px; }
.stat b { display: block; font-size: 28px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; }
.chart { height: 180px; display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; align-items: end; padding-bottom: 28px; }
.bar { position: relative; height: var(--h); background: #dedede; border-radius: 8px 8px 0 0; transform: scaleY(var(--p, 0)); transform-origin: bottom; }
.bar.best { background: var(--blue); }
.bar span { position: absolute; inset: auto 0 -22px; text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; }
.shares { display: grid; gap: 14px; }
.share { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-weight: 700; }
.share i { grid-column: 1 / -1; height: 4px; background: #e6e6e6; border-radius: 99px; position: relative; }
.share i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * var(--p, 0)); background: #111; border-radius: 99px; }
.insight { margin-top: 12px; font-size: 16px; line-height: 1.45; font-weight: 500; letter-spacing: 0; max-width: 42ch; }
.priv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.priv { background: var(--fog); border-radius: 14px; padding: 16px; }
.priv h3 { font-size: 18px; margin: 6px 0; }
.priv p { color: #333; font-size: 14px; }
.priv .mono { color: var(--blue); font-size: 13px; }
.boost-card { background: var(--fog); border-radius: 14px; padding: 4px 18px 18px; }
.boost-card ul { list-style: none; margin: 4px 0 16px; }
.boost-card li { padding: 12px 0; border-top: 1px solid #ddd; font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 6px; background: var(--fog); border-radius: 14px; padding: 16px; }
.plan.featured { background: #fff; outline: 1.6px solid #111; }
.plan h3 { font-size: 22px; }
.price { font-size: 32px; line-height: 1.1; }
.plan ul { list-style: none; margin: 6px 0 12px; }
.plan li { padding: 8px 0; border-top: 1px solid #e1e1e1; color: #333; font-size: 14px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.badge { display: inline-flex; align-self: flex-start; background: #111; color: #fff; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; gap: 16px; text-align: left; padding: 14px 0; font-size: 16px; font-weight: 600; letter-spacing: 0; }
.faq-item button:hover { color: var(--blue); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: #333; padding-bottom: 16px; max-width: 68ch; line-height: 1.55; }
.plus { transition: transform .25s; }
.faq-item.open .plus { transform: rotate(45deg); }

.close { background: #111; color: #fff; }
.close-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.close h2 { max-width: 12em; color: #fff; }
.close .lead { color: rgba(255,255,255,.72); }
.close .btn.solid { background: #fff; color: #111; border-color: #fff; }
.close .btn.solid:hover { background: #ececec; color: #111; }
.close-phone {
  justify-self: end; width: min(240px, 70%); aspect-ratio: 9/16; border-radius: 32px;
  background: #1a1a1a; border: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  scale: calc(0.8 + var(--p, 0) * 0.2);
  rotate: calc((1 - var(--p, 0)) * -7deg);
}
.close-phone .clip-play { width: 56px; height: 56px; margin: 0; scale: 1; }
.close-phone b { font-family: Unbounded, Onest, sans-serif; font-size: 32px; letter-spacing: -0.04em; }
.footer { background: #111; color: #fff; padding: 32px 0; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.foot a { color: #fff; text-decoration: none; font-weight: 500; font-size: 14px; }
.foot a:hover { color: var(--blue); }
.footer .fine { color: rgba(255,255,255,.72); }
.foot a.studio-link { display: inline-block; margin-top: 8px; color: rgba(255,255,255,.4); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }
.foot a.studio-link:hover { color: rgba(255,255,255,.8); }
.brand { font-size: 18px; margin-bottom: 6px; }

dialog.sheet { width: min(480px, calc(100vw - 32px)); background: #fff; color: var(--ink); border: 0; border-radius: 16px; padding: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.2); }
dialog.sheet::backdrop { background: rgba(17,17,17,.55); }
dialog h3 { font-size: 26px; margin-bottom: 8px; }
dialog p, dialog .field { color: #333; }
dialog .field { display: grid; gap: 6px; margin-top: 14px; }
.check { display: flex; gap: 10px; margin: 14px 0; color: #333; }
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 80; transform: translateX(-50%) translateY(8px);
  background: #111; color: #fff; border-radius: 8px; padding: 12px 16px; opacity: 0; pointer-events: none;
  transition: .3s var(--ease); max-width: min(520px, calc(100% - 32px)); text-align: center; font-weight: 600;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.loader { position: fixed; inset: 0; z-index: 200; background: #f2f2f2; display: grid; place-items: center; transition: opacity .4s ease, visibility .4s; }
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-inner strong { font-size: 28px; }
.loader-track { width: 160px; height: 3px; margin: 16px auto 0; background: #ddd; overflow: hidden; border-radius: 99px; }
.loader-track span { display: block; height: 100%; width: 0; background: #111; animation: load 1.1s var(--ease) forwards; }

.hero h1, .hero .lead, .hero .row, .hero .pill, .hero-stage { opacity: 0; }
body.entered .hero h1, body.entered .hero .lead, body.entered .hero .row, body.entered .hero .pill, body.entered .hero-stage { animation: rise .7s var(--ease) both; }
body.entered .hero .lead { animation-delay: .08s; }
body.entered .hero .row { animation-delay: .16s; }
body.entered .hero-stage { animation-delay: .12s; }
body.entered .float:nth-child(2) { animation: rise .7s var(--ease) .18s both; }
body.entered .float:nth-child(3) { animation: rise .7s var(--ease) .24s both; }
body.entered .float:nth-child(4) { animation: rise .7s var(--ease) .3s both; }
body.entered .float:nth-child(5) { animation: rise .7s var(--ease) .36s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes load { to { width: 100%; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

#privacy .priv {
  opacity: clamp(0, (var(--p) - var(--i, 0)) * 3.2, 1);
  translate: 0 calc((1 - clamp(0, (var(--p) - var(--i, 0)) * 2.6, 1)) * 26px);
}
#privacy .priv:nth-child(1) { --i: 0.02; }
#privacy .priv:nth-child(2) { --i: 0.1; }
#privacy .priv:nth-child(3) { --i: 0.16; }
#privacy .priv:nth-child(4) { --i: 0.22; }
#privacy .priv:nth-child(5) { --i: 0.28; }
#privacy .priv:nth-child(6) { --i: 0.34; }
#how, #studio, #faq { background: rgba(255, 255, 255, 0.78); }
#pricing { background: rgba(255, 255, 255, 0.55); }
.block.is-hot { box-shadow: inset 3px 0 0 var(--blue); }

.opener { height: 165vh; position: relative; }
.opener-pin {
  position: sticky; top: 0; height: 100vh; display: grid; place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 180, 234, 0.2), transparent 36%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(17, 17, 17, 0.05) 46px 47px),
    #efefef;
}
.opener-pin::before, .opener-pin::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 28px;
  background: radial-gradient(circle at 14px 18px, #111 4px, transparent 4.5px) 0 0 / 28px 36px;
  opacity: 0.35;
}
.opener-pin::before { left: 18px; }
.opener-pin::after { right: 18px; }
.clip { position: relative; width: min(400px, 48vw); height: min(700px, 78vh); }
.shard {
  position: absolute; width: 46px; height: 14px; border-radius: 8px; background: #111;
  opacity: var(--build, 0);
}
.s1 { left: 16px; top: 22px; translate: calc((1 - var(--build, 0)) * -90px) calc((1 - var(--build, 0)) * -140px); }
.s2 { right: 16px; top: 22px; translate: calc((1 - var(--build, 0)) * 90px) calc((1 - var(--build, 0)) * -120px); }
.s3 { left: 16px; bottom: 28px; translate: calc((1 - var(--build, 0)) * -70px) calc((1 - var(--build, 0)) * 130px); }
.s4 { right: 16px; bottom: 28px; translate: calc((1 - var(--build, 0)) * 80px) calc((1 - var(--build, 0)) * 110px); }
.clip-body {
  position: absolute; inset: 0; border-radius: 28px; background: #111; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 22px; gap: 6px;
  scale: calc(0.86 + var(--build, 0) * 0.14);
  opacity: calc(0.55 + var(--build, 0) * 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.clip-body header { width: 100%; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.7); }
.clip-body b { font-family: Unbounded, Onest, sans-serif; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; }
.clip-body small { color: rgba(255,255,255,.72); font-size: 16px; }
.clip-play {
  width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  scale: calc(0.4 + var(--build, 0) * 0.6); margin-bottom: auto; align-self: center; margin-top: 18%;
}
.clip-play::after { content: ""; border-style: solid; border-width: 12px 0 12px 18px; border-color: transparent transparent transparent #111; margin-left: 4px; }
.exit {
  position: absolute; left: 50%; top: 42%;
  background: #fff; color: #111; border-radius: 999px; padding: 10px 14px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  opacity: var(--split, 0);
}
.e1 { translate: calc(-50% - var(--split, 0) * 360px) calc(-30px - var(--split, 0) * 230px); }
.e2 { translate: calc(-50% + var(--split, 0) * 360px) calc(-8px - var(--split, 0) * 190px); }
.e3 { translate: calc(-50% - var(--split, 0) * 320px) calc(36px + var(--split, 0) * 210px); }
.e4 { translate: calc(-50% + var(--split, 0) * 340px) calc(64px + var(--split, 0) * 230px); }
.opener-hint {
  position: absolute; bottom: 28px; left: 0; right: 0; text-align: center;
  font-size: 13px; font-weight: 600; color: #333;
  opacity: calc(1 - var(--p, 0) * 1.8);
}
.guide {
  position: fixed; right: 22px; z-index: 30; width: 74px; height: 120px;
  border-radius: 16px; background: #111; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 10px 8px; gap: 8px; pointer-events: none; opacity: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.guide .clip-play { width: 28px; height: 28px; margin: 0; scale: 1; }
.guide .clip-play::after { border-width: 5px 0 5px 8px; }
.guide b { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.2; }

.reel { overflow: hidden; background: #111; color: #fff; }
.reel-track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 14px 0; will-change: transform; }
.reel-track span { font-family: Unbounded, Onest, sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.03em; }
.reel-track i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex: none; }

.hero, #routine, #studio, #stats, #privacy, #boost, #pricing, #faq, .close, .story-scroll { --p: 0; }
.hero.scene-host { padding: 0; overflow: visible; background: var(--fog); }
.scene-host { height: 180vh; position: relative; }
.block.scene-host { padding: 0; }
.scene-pin {
  position: sticky; top: var(--header);
  min-height: calc(100vh - var(--header) - 8px);
  display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 8px;
  width: min(1240px, calc(100% - 20px)); margin: 0 auto; align-items: center;
}
.scene-pin > .wrap { width: auto; max-width: none; margin: 0; }
.mate {
  width: 58px; height: 98px; border-radius: 16px; background: #111; color: #fff;
  display: grid; place-items: center; align-self: start;
  margin-top: calc(var(--p, 0) * min(46vh, 320px));
  box-shadow: 0 14px 30px rgba(0,0,0,.18); position: relative; z-index: 1;
}
.mate::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 8px); width: 2px; height: 70px;
  margin-left: -1px; background: #e4e4e4; transform: scaleY(var(--p, 0)); transform-origin: bottom;
}
.mate .clip-play { width: 28px; height: 28px; margin: 0; scale: 1; }
.mate .clip-play::after { border-width: 6px 0 6px 9px; }
.story-pin { position: sticky; }
.story-pin > .mate { position: absolute; right: -72px; top: calc(6% + var(--p, 0) * 48%); margin: 0; }
.hero .hero-copy { opacity: clamp(0.2, var(--p, 0) * 1.8, 1); translate: 0 calc((1 - min(var(--p, 0) * 1.8, 1)) * 28px); }
.hero .ticket, .hero .float { opacity: clamp(0, (var(--p, 0) - var(--i, 0)) * 3.4, 1); translate: 0 calc((1 - min(max(var(--p, 0) - var(--i, 0), 0) * 3, 1)) * 22px); }
.hero .ticket { --i: 0.04; }
.hero .c1 { --i: 0.16; }
.hero .c2 { --i: 0.28; }
.hero .c3 { --i: 0.4; }
.hero .c4 { --i: 0.52; }
#studio .rail { opacity: clamp(0, var(--p, 0) * 3, 1); translate: 0 calc((1 - min(var(--p, 0) * 2.4, 1)) * 28px); }
#studio .composer { opacity: clamp(0, (var(--p, 0) - 0.16) * 2.8, 1); translate: 0 calc((1 - min(max(var(--p, 0) - 0.16, 0) * 2.6, 1)) * 28px); }
#studio .queue-col { opacity: clamp(0, (var(--p, 0) - 0.34) * 2.8, 1); translate: 0 calc((1 - min(max(var(--p, 0) - 0.34, 0) * 2.6, 1)) * 28px); }
#pricing .plan:nth-child(1) { --i: 0.02; }
#pricing .plan:nth-child(2) { --i: 0.2; }
#pricing .plan:nth-child(3) { --i: 0.38; }
#pricing .plan { opacity: clamp(0, (var(--p, 0) - var(--i, 0)) * 3, 1); translate: 0 calc((1 - min(max(var(--p, 0) - var(--i, 0), 0) * 2.6, 1)) * 30px); }
#pricing .plan.featured { scale: calc(0.96 + var(--p, 0) * 0.04); }
#faq .faq { position: relative; }
#faq .faq::before, #faq .faq::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; pointer-events: none; }
#faq .faq::before { background: #e4e4e4; }
#faq .faq::after { background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: top; }
#faq .faq-item:nth-child(1) { --i: 0; }
#faq .faq-item:nth-child(2) { --i: 0.08; }
#faq .faq-item:nth-child(3) { --i: 0.16; }
#faq .faq-item:nth-child(4) { --i: 0.24; }
#faq .faq-item:nth-child(5) { --i: 0.32; }
#faq .faq-item:nth-child(6) { --i: 0.4; }
#faq .faq-item:nth-child(7) { --i: 0.48; }
#faq .faq-item:nth-child(8) { --i: 0.56; }
#faq .faq-item { opacity: clamp(0, (var(--p, 0) - var(--i, 0)) * 3.2, 1); translate: 0 calc((1 - min(max(var(--p, 0) - var(--i, 0), 0) * 3, 1)) * 16px); }
.guide { display: none; }
.chart { position: relative; height: 180px; display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; align-items: end; padding-bottom: 28px; }
.chart::after {
  content: ""; position: absolute; top: 0; bottom: 28px; width: 2px; left: calc(var(--p, 0) * 90%);
  background: #111; opacity: .35; pointer-events: none;
}

#routine .calc { translate: calc((1 - var(--p)) * -36px) 0; opacity: clamp(0.15, var(--p) * 1.6, 1); }
#routine .card:first-child { translate: calc((1 - var(--p)) * 28px) 0; }
#routine .card.tool { translate: calc((1 - var(--p)) * 48px) 0; }
#routine .card li { opacity: clamp(0.2, (var(--p) - var(--i, 0)) * 2.4, 1); translate: 0 calc((1 - var(--p)) * 8px); }
#routine .card li:nth-child(1) { --i: 0.05; }
#routine .card li:nth-child(2) { --i: 0.18; }
#routine .card li:nth-child(3) { --i: 0.32; }
#routine .card li:nth-child(4) { --i: 0.46; }

.steps { position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 7px; top: 12px; width: 2px; border-radius: 2px; pointer-events: none; }
.steps::before { bottom: 12px; background: #e4e4e4; }
.steps::after { bottom: 12px; background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: top center; }
.panel { translate: calc((1 - min(var(--p, 0) * 3, 1)) * 28px) 0; }

#studio .app { translate: 0 calc((1 - var(--p)) * 36px); }
#stats .stat:nth-child(1) { translate: 0 calc((1 - var(--p)) * 28px); }
#stats .stat:nth-child(2) { translate: 0 calc((1 - var(--p)) * 44px); }
#stats .stat:nth-child(3) { translate: 0 calc((1 - var(--p)) * 18px); }
#stats .stat:nth-child(4) { translate: 0 calc((1 - var(--p)) * 36px); }
.mate, .story-pin > .mate { display: none; }
#boost .boost-card { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
#boost .boost-card.in { opacity: 1; transform: none; }
#faq .faq::before, #faq .faq::after { display: none; }
#faq .faq-item { opacity: 0; transform: translateY(12px); translate: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
#faq .faq-item.in { opacity: 1; transform: none; }
#faq .faq-item:nth-child(2).in { transition-delay: .04s; }
#faq .faq-item:nth-child(3).in { transition-delay: .08s; }
#faq .faq-item:nth-child(4).in { transition-delay: .12s; }
#faq .faq-item:nth-child(5).in { transition-delay: .16s; }
#faq .faq-item:nth-child(6).in { transition-delay: .2s; }
#faq .faq-item:nth-child(7).in { transition-delay: .24s; }
#faq .faq-item:nth-child(8).in { transition-delay: .28s; }
#file-line, .q-item h3, .chip, .log li, .composer, .fields {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.composer, #file-line { overflow: hidden; }
.close-phone b { font-family: Unbounded, Onest, sans-serif; font-size: 32px; letter-spacing: -0.04em; }

@media (min-width: 960px) {
  .story-scroll { height: 260vh; }
  .story-pin { position: sticky; top: calc(var(--header) + 16px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; min-height: calc(100vh - 160px); }
  #privacy .priv { width: auto; }
  #privacy .priv-grid { display: grid; width: auto; translate: none; }
}
@media (max-width: 1400px) {
  .guide { display: none; }
}
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-panel.open {
    display: flex; flex-direction: column; gap: 8px; position: fixed; inset: var(--header) 0 0;
    background: #fff; padding: 20px 24px; z-index: 39; overflow: auto;
  }
  .nav-panel a { text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .guide { display: none; }
  .opener { height: 150vh; }
  .clip { width: min(280px, 72vw); height: min(520px, 62vh); }
  .close-grid { grid-template-columns: 1fr; }
  .close-phone { justify-self: start; }
  .opener-pin::before, .opener-pin::after { display: none; }
  .hero-split, .hero-stage, .routine-grid, .compare, .stats-grid, .boost-grid, .priv-grid, .plans, .stat-grid, .app-grid { grid-template-columns: 1fr; }
  .ticket { grid-column: auto; }
  .app-grid > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .windows { grid-template-columns: 1fr; }
  .rail, .queue-col { max-height: none; }
  .story-pin { display: grid; gap: 16px; }
  .panel { display: block; margin-bottom: 20px; }
  .stage { min-height: 0; }
  .place { white-space: normal; }
  .app-top { flex-direction: column; }
  h1 { font-size: 34px; }
  .pre-msg { display: none; }
  .scene-host { height: auto; }
  .scene-pin { position: relative; top: auto; min-height: 0; display: block; width: min(1180px, calc(100% - 48px)); }
  .mate, .story-pin > .mate { display: none; }
  .hero .hero-copy, .hero .ticket, .hero .float, #studio .rail, #studio .composer, #studio .queue-col, #pricing .plan, #faq .faq-item, #privacy .priv, #routine .card, #routine .card li, #routine .calc { opacity: 1 !important; translate: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .hero h1, .hero .lead, .hero .row, .hero .pill, .hero-stage, .reveal, .chart .bar, .float { opacity: 1; transform: none; animation: none !important; translate: none; scale: none; }
  .hero, #routine, #studio, #stats, #privacy, #boost, #pricing, #faq, .close, .story-scroll, #opener { --p: 1; --build: 1; --split: 1; }
  .site-header { opacity: 1 !important; pointer-events: auto !important; }
  .opener { height: auto; }
  .opener-pin { position: relative; height: auto; min-height: 70vh; }
  .guide { display: none; }
}
  .win, .btn, .plan, .float { transition: none; }
}
