:root {
  --bg: #07070b;
  --bg-2: #0d0d14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f3f3f7;
  --muted: #9a9aab;
  --accent: #8b7bff;
  --accent-2: #4fe0c8;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --green: #4ade80;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.muted a, .fine a, .doc a:not(.btn) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}
.lead em { background: none; color: var(--text); font-family: inherit; font-weight: 600; font-style: normal; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); opacity: 0.8; margin-top: 16px; }

/* ---------- Background ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}
.bg-glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 1100px; height: 700px; left: 50%; top: -360px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139,123,255,0.28), transparent),
              radial-gradient(closest-side at 70% 60%, rgba(79,224,200,0.14), transparent);
  filter: blur(40px);
}
.cursor-glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139,123,255,0.09), transparent);
  transform: translate(-50%, -50%);
  left: var(--mx, -500px); top: var(--my, -500px);
  transition: opacity .3s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  background: var(--text); color: #0a0a10;
  box-shadow: 0 0 0 0 rgba(139,123,255,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(139,123,255,0.6), 0 0 0 4px rgba(139,123,255,0.15);
}
.btn-ghost { background: var(--surface); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 10px 0;
  background: rgba(7,7,11,0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--border);
}
.nav-inner { width: min(1180px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); position: relative; display: grid; place-items: center;
}
.logo-mark span {
  width: 10px; height: 2px; background: #0a0a10; border-radius: 2px;
  position: absolute; left: 50%; top: 50%; transform-origin: 0 50%;
  animation: tick 6s linear infinite;
}
.logo-mark::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #0a0a10; position: absolute; }
@keyframes tick { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  font-size: 14px; color: var(--muted); padding: 8px 14px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 22px; }
.menu-open .menu-btn span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 40px; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2);
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(79,224,200,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79,224,200,.55); } 70% { box-shadow: 0 0 0 8px rgba(79,224,200,0); } 100% { box-shadow: 0 0 0 0 rgba(79,224,200,0); } }

h1 {
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 600;
  margin-bottom: 26px;
}
h1 em { font-size: 1.08em; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; margin-bottom: 18px; }
h3 { font-size: 19px; letter-spacing: -0.015em; font-weight: 600; margin-bottom: 8px; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

/* Hero window */
.hero-visual { position: relative; perspective: 1400px; }
.window {
  background: linear-gradient(180deg, rgba(22,22,32,0.92), rgba(12,12,18,0.92));
  border: 1px solid var(--border-2); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,0.02) inset, 0 30px 80px -40px rgba(139,123,255,.5);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.wdot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.12); }
.url {
  margin-left: 14px; flex: 1; font-size: 12.5px; color: var(--muted);
  background: rgba(255,255,255,.04); border-radius: 8px; padding: 6px 12px;
  text-decoration: line-through; text-decoration-color: rgba(255,90,90,.6);
}
.url .lock { color: #ff6b6b; font-size: 8px; vertical-align: middle; margin-right: 6px; }
.window-body { padding: 34px 32px 30px; text-align: center; }
.window-body.story { text-align: left; height: 250px; display: flex; flex-direction: column; gap: 14px; }
.story-kicker { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.story-stage { flex: 1; transition: opacity .35s var(--ease); }
.story-stage.is-out { opacity: 0; }
.story-line { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.story-line.me { color: var(--text); padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.story-line.ai { color: #d6d4ee; }
.timer-visual { display: grid; justify-items: center; gap: 14px; align-content: center; }
.timer-note { margin: 0; max-width: 220px; text-align: center; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .story-stage { transition: none; } }
.window-body h3 { font-size: 24px; margin-top: 18px; }
.window-body > p { font-size: 14.5px; }
.window-body strong { color: var(--text); font-weight: 600; }

.ring-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 7; }
.ring-fill {
  fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 120;
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 6px rgba(139,123,255,.6));
}
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-time { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring-sub { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.ai-bubble {
  display: flex; gap: 12px; text-align: left; margin: 22px 0 22px;
  background: rgba(139,123,255,0.07); border: 1px solid rgba(139,123,255,0.2);
  border-radius: 16px; padding: 14px 16px; font-size: 14px; color: #d6d4ee;
  min-height: 84px;
}
.ai-avatar {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px;
  background: var(--grad); color: #0a0a10; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.ai-avatar.lg { width: 40px; height: 40px; border-radius: 12px; font-size: 13px; }
.mock-actions { display: flex; gap: 10px; justify-content: center; }

.float-card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(20,20,30,0.75); border: 1px solid var(--border-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.7);
  font-size: 13px;
}
.float-card strong { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.float-card span { color: var(--muted); font-size: 12px; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 15px; }
.fc-1 { top: 70px; left: -48px; }

/* Marquee */
.marquee {
  margin-top: 100px; overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-size: 20px; font-weight: 600; color: rgba(255,255,255,.22); letter-spacing: -0.02em;
  text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(139,123,255,.5);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head p { font-size: 17px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 18px;
}

/* ---------- Cards / Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; min-height: 300px;
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(139,123,255,0.12), transparent 60%);
}
.card:hover { border-color: var(--border-2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card.span-2 { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; }
.card-tag { display: inline-block; font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 18px; letter-spacing: .02em; }
.card p.muted { font-size: 14.5px; }

.block-list { display: flex; flex-direction: column; gap: 8px; }
.block-item {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border);
  font-size: 14px; transition: background .25s, opacity .3s;
}
.block-item:hover { background: rgba(255,255,255,.06); }
.block-item input { display: none; }
.bi-icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); }
.switch { margin-left: auto; width: 36px; height: 21px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; transition: background .35s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.block-item input:checked ~ .switch { background: var(--accent); }
.block-item input:checked ~ .switch::after { transform: translateX(15px); }
.block-item:has(input:not(:checked)) { opacity: .55; }

.mini-chat { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; min-height: 130px; }
.mini-chat .msg { font-size: 13px; padding: 9px 13px; }

.msg {
  max-width: 88%; padding: 11px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.5;
  animation: msgIn .5s var(--ease) both;
}
.msg.ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
.msg.me { align-self: flex-end; background: var(--text); color: #0a0a10; border-bottom-right-radius: 5px; }
.msg.ok { border-color: rgba(74,222,128,.35); background: rgba(74,222,128,.08); }
.msg.no { border-color: rgba(255,107,107,.3); background: rgba(255,107,107,.07); }
.msg.typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.verify { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.verify-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.vr-label { color: var(--muted); }
.verify-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.verify-bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; }
.card.in .verify-bar span { animation: fill 2.2s var(--ease) .4s forwards; }
@keyframes fill { to { width: 100%; } }
.verify-ok { color: var(--green); font-weight: 500; opacity: 0; transform: translateY(4px); transition: all .5s var(--ease) 2.4s; }
.card.in .verify-ok { opacity: 1; transform: none; }

.mini-cal { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.mc-row { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.mc-row > span { width: 38px; }
.mc-block { flex: 1; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--text); font-weight: 500; border-left: 3px solid; }
.b1 { background: rgba(139,123,255,.12); border-color: var(--accent); }
.b2 { background: rgba(79,224,200,.1); border-color: var(--accent-2); }
.b3 { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.25); }

.tips { position: relative; display: flex; flex-direction: column; gap: 10px; }
.tip {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.025); border: 1px solid var(--border); font-size: 14px; color: var(--muted);
  transition: all .6s var(--ease);
}
.tip strong { color: var(--text); font-weight: 600; }
.tip-ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); transition: all .6s var(--ease); }
.tip.active { background: rgba(139,123,255,.08); border-color: rgba(139,123,255,.3); color: #d6d4ee; transform: translateX(-6px); }
.tip.active .tip-ico { background: var(--grad); color: #0a0a10; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.split.reverse .split-copy { order: 2; }
.split-copy p.muted { font-size: 17px; margin-bottom: 28px; max-width: 480px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px; border-radius: 999px; font-size: 13.5px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--muted);
  transition: all .3s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--accent); background: rgba(139,123,255,.08); }
.chip.active { color: var(--text); border-color: var(--accent); background: rgba(139,123,255,.16); }
.chip:disabled { opacity: .4; pointer-events: none; }

.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #0a0a10; background: var(--grad);
}

/* Gate */
.gate {
  background: linear-gradient(180deg, rgba(22,22,32,.9), rgba(12,12,18,.9));
  border: 1px solid var(--border-2); border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(139,123,255,.45);
  display: flex; flex-direction: column; height: 500px;
}
.gate-head { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.gate-head strong { display: block; font-size: 15px; }
.status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.gate-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.gate-log::-webkit-scrollbar { width: 6px; }
.gate-log::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 6px; }
.gate-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--border); }
.gate-input input {
  flex: 1; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; outline: none; font-size: 14.5px; transition: border-color .3s, box-shadow .3s;
}
.gate-input input:focus { border-color: rgba(139,123,255,.6); box-shadow: 0 0 0 4px rgba(139,123,255,.12); }

/* Day calendar */
.day {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 22px;
}
.day-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; padding: 0 4px; }
.day-grid { position: relative; --h: 56px; }
.hour { height: var(--h); border-top: 1px solid var(--border); position: relative; }
.hour span { position: absolute; top: -9px; left: 0; font-size: 11px; color: var(--muted); background: var(--bg); padding-right: 8px; }
.ev {
  position: absolute; left: 60px; right: 4px;
  top: calc(var(--s) * var(--h) + 3px); height: calc(var(--l) * var(--h) - 6px);
  border-radius: 12px; padding: 10px 14px; border-left: 3px solid;
  display: flex; flex-direction: column; font-size: 13px; overflow: hidden;
  opacity: 0; transform: translateX(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .3s;
}
.day.in .ev { opacity: 1; transform: none; }
.day.in .ev:nth-of-type(2) { transition-delay: .1s; }
.day.in .ev:nth-of-type(3) { transition-delay: .2s; }
.day.in .ev:nth-of-type(4) { transition-delay: .3s; }
.ev:hover { filter: brightness(1.25); }
.ev span { color: var(--muted); font-size: 12px; }
.ev-focus { background: rgba(139,123,255,.14); border-color: var(--accent); }
.ev-class { background: rgba(79,224,200,.1); border-color: var(--accent-2); }
.ev-free { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.3); }
.now-line { position: absolute; left: 52px; right: 0; height: 2px; background: #ff5c7a; top: calc(5.6 * var(--h)); transition: top 1s linear; z-index: 2; }
.now-line span { position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #ff5c7a; box-shadow: 0 0 12px #ff5c7a; }

.toast {
  position: absolute; right: -24px; bottom: 34px; display: flex; gap: 12px; align-items: center;
  padding: 14px 18px; border-radius: 16px; font-size: 13px;
  background: rgba(22,22,34,.85); border: 1px solid var(--border-2);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -15px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.toast strong { display: block; font-weight: 600; }
.toast span { color: var(--muted); font-size: 12px; }
.toast.show { opacity: 1; transform: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step {
  position: relative; overflow: hidden; padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .4s, transform .5s var(--ease);
}
.step::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(139,123,255,0.12), transparent 60%); }
.step:hover { transform: translateY(-4px); border-color: var(--border-2); }
.step:hover::before { opacity: 1; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 24px;
  font-family: var(--serif); font-style: italic; font-size: 24px;
  background: rgba(139,123,255,.1); border: 1px solid rgba(139,123,255,.25); color: var(--accent);
}
.step p { font-size: 14.5px; }

/* Pricing */
.pro-badge {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: #0a0a10; background: var(--grad);
  vertical-align: 1px;
}
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 34px 30px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(139,123,255,0.12), transparent 60%); }
.plan:hover::before { opacity: 1; }
.plan.reveal.in:hover { transform: translateY(-6px); border-color: var(--border-2); }
.plan.featured {
  background: linear-gradient(180deg, rgba(139,123,255,.12), rgba(79,224,200,.04));
  border-color: rgba(139,123,255,.45);
  box-shadow: 0 30px 80px -40px rgba(139,123,255,.6);
}
.plan.featured.reveal.in:hover { border-color: rgba(139,123,255,.7); }
.plan-flag {
  position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: #0a0a10; background: var(--grad);
}
.plan h3 { font-size: 20px; }
.plan-desc { font-size: 14.5px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.amount { font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.per { color: var(--muted); font-size: 15px; }
.price-note { font-size: 13px; color: var(--accent-2); margin-bottom: 4px; }
.plan-btn { margin: 22px 0 26px; width: 100%; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: #cfcfdb; }
.plan-list li { position: relative; padding-left: 26px; }
.plan-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  color: var(--accent); background: rgba(139,123,255,.15);
}
.plan-list strong { color: var(--text); font-weight: 600; }

.plan-chosen {
  position: relative; display: inline-flex; margin-top: 18px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; color: var(--text); background: rgba(139,123,255,.12); border: 1px solid rgba(139,123,255,.35);
  animation: msgIn .5s var(--ease) both;
}
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.cta .fine.error { color: #ff7a8a; opacity: 1; }
.btn:disabled { opacity: .6; pointer-events: none; }

/* CTA */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 90px 30px; border-radius: 32px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(139,123,255,.08), rgba(255,255,255,.02));
}
.cta-glow { position: absolute; width: 600px; height: 300px; left: 50%; top: -150px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139,123,255,.35), transparent); filter: blur(30px); pointer-events: none; }
.cta h2 { position: relative; }
.cta p.muted { font-size: 17px; position: relative; }
.cta-form { position: relative; display: flex; gap: 8px; max-width: 460px; margin: 32px auto 0; padding: 6px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--border-2); transition: border-color .3s, box-shadow .3s; }
.cta-form:focus-within { border-color: rgba(139,123,255,.6); box-shadow: 0 0 0 4px rgba(139,123,255,.12); }
.cta-form input { flex: 1; min-width: 0; background: none; border: none; outline: none; padding: 0 18px; font-size: 15px; }
.cta .fine { position: relative; transition: color .3s; }
.cta .fine.success { color: var(--green); opacity: 1; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); transition: color .25s; }
.footer-links a:hover { color: var(--text); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.card.reveal.in:hover, .step.reveal.in:hover { transform: translateY(-4px); }

/* ---------- Responsive ---------- */
.doc { padding: 132px 0 80px; }
.doc-inner { width: min(760px, 100% - 48px); margin-inline: auto; }
.doc .lead { font-size: 18px; margin: 12px 0 28px; }
.doc-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 8px 0 28px; }
.doc-steps li {
  position: relative; padding: 20px 20px 20px 68px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
}
.doc-steps li strong { display: block; margin-bottom: 4px; }
.doc-steps { counter-reset: step; }
.doc-steps li { counter-increment: step; }
.doc-steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 20px;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #0a0a10; font-weight: 700; font-size: 14px;
}
.doc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.legal h3 { margin: 32px 0 12px; font-size: 22px; letter-spacing: -.02em; }
.legal h4 { margin: 20px 0 8px; font-size: 16px; }
.legal p { color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 20px; color: var(--muted); line-height: 1.6; }
.legal li { margin-bottom: 8px; }

@media (max-width: 1000px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 60px; }
  .split.reverse .split-copy { order: 0; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-desc { min-height: 0; }
  .fc-1 { left: -10px; }
  .toast { right: 12px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; top: 70px; left: 16px; right: 16px; flex-direction: column; padding: 10px;
    background: rgba(14,14,22,.95); border: 1px solid var(--border-2); border-radius: 18px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .hero { padding-top: 120px; }
  .section { padding: 90px 0; }
  .bento { grid-template-columns: 1fr; }
  .card.span-2 { grid-column: auto; }
  .float-card { display: none; }
  .window-body { padding: 26px 20px; }
  .cta-form { flex-direction: column; border-radius: 20px; }
  .cta-form input { padding: 12px 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
