/* ==========================================================
   Musi | trymusi.com
   ========================================================== */
:root {
  --bg: #181418;
  --bg-2: #120F12;
  --surface: #211B1E;
  --surface-2: #2A2225;
  --line: rgba(242, 233, 228, 0.09);
  --line-2: rgba(242, 233, 228, 0.17);
  --text: #F2E9E4;
  --muted: #B9A7A0;
  --dim: #857470;
  --violet: #2A2225;
  --pink: #C06A5E;
  --amber: #F2E9E4;
  --cyan: #D9B5A9;
  --white: #F2E9E4;
  --black: #181418;
  --terra: #C06A5E;
  --grad: linear-gradient(100deg, #C06A5E 0%, #D9B5A9 100%);
  --grad-soft: linear-gradient(135deg, rgba(192,106,94,.16), rgba(42,34,37,.4));
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ja"] body { line-height: 1.85; letter-spacing: .02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--pink); color: var(--bg); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 72px 0; }
.center { text-align: center; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { color: var(--white); margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { letter-spacing: 0; line-height: 1.35; }
.display { font-size: clamp(40px, 7vw, 84px); font-weight: 800; letter-spacing: -.035em; }
html[lang="ja"] .display { font-size: clamp(36px, 6.2vw, 76px); letter-spacing: -.01em; }
.h2 { font-size: clamp(30px, 4.2vw, 52px); }
.h3 { font-size: clamp(22px, 2.4vw, 28px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(100deg, #C06A5E, #D9B5A9);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.03);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--pink); }
.section-head { margin-bottom: 64px; }
.section-head .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { box-shadow: 0 10px 40px -10px rgba(255,255,255,.4); }
.btn-grad { background: var(--terra); color: var(--black); box-shadow: 0 10px 34px -14px rgba(192,106,94,.35); }
.btn-grad:hover { background: #CC7A6E; box-shadow: 0 16px 44px -14px rgba(192,106,94,.75); }
.btn-ghost { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { border-color: rgba(232,220,213,.3); background: rgba(232,220,213,.04); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn svg { width: 16px; height: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); margin-top: 22px; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- promo bar ---------- */
.promo {
  background: var(--white); color: var(--black); text-align: center;
  font-size: 14px; font-weight: 600; padding: 9px 16px;
}
.promo a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(24,20,24,.72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; letter-spacing: -.04em; }
.logo-mark { width: 32px; height: 32px; }
.logo { color: var(--white); }
.logo .i { position: relative; }
.logo .i::after { content: ""; position: absolute; left: 50%; top: .02em; width: .27em; height: .27em; border-radius: 50%; background: var(--terra); transform: translateX(-50%); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-right .btn { white-space: nowrap; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(255,255,255,.03);
}
.lang-switch button {
  border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.lang-switch button.on { background: #fff; color: #181418; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ""; display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: .3s; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 60px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(42,34,37,.45), transparent 70%),
    radial-gradient(30% 40% at 70% 25%, rgba(192,106,94,.12), transparent 70%);
  filter: blur(20px);
}
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  opacity: .18;
}
.hero .container { position: relative; z-index: 1; }
.hero-copy { text-align: center; max-width: 920px; margin: 0 auto; }
.hero-copy .lead { margin: 26px auto 0; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--dim); }

.flow {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin: 46px auto 0;
}
.flow-step {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  font-size: 14px; font-weight: 500;
}
.flow-step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--grad); color: var(--bg); }
.flow-arrow { color: var(--dim); }

/* ---------- editor mockup ---------- */
.editor {
  margin: 64px auto 0; max-width: 1100px;
  border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #14141c, #0e0e14);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02), 0 0 120px -30px rgba(42,34,37,.45);
  overflow: hidden;
  position: relative;
}
.editor-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim); }
.editor-top .dots { display: flex; gap: 6px; margin-right: 10px; }
.editor-top .dots b { width: 11px; height: 11px; border-radius: 50%; background: #2a2a35; }
.editor-top .url { flex: 1; text-align: center; background: rgba(255,255,255,.04); border-radius: 8px; padding: 5px 10px; max-width: 360px; margin: 0 auto; }
.editor-body { display: grid; grid-template-columns: 1fr 340px; min-height: 380px; }
.preview { padding: 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.screen {
  position: relative; flex: 1; border-radius: 12px; overflow: hidden; min-height: 260px;
  background: #0b0b10;
}
.scene { position: absolute; inset: 0; transition: filter 1.4s ease; }
.scene .sky { position: absolute; inset: 0; background: linear-gradient(180deg, #2e2430 0%, #6b4a4a 40%, #b98068 68%, #e2b48f 100%); transition: opacity 1.4s; }
.scene .sky-gold { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, #3b1d4a 0%, #b5446e 35%, #ff9a52 62%, #ffd27a 80%); transition: opacity 1.4s; }
.scene .sun { position: absolute; left: 62%; top: 52%; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, #fff7d6, #ffd27a 45%, transparent 70%); opacity: .35; transition: opacity 1.4s, transform 1.4s; }
.scene .hills { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; }
.scene .hills svg { width: 100%; height: 100%; }
.scene .person { position: absolute; left: 30%; bottom: 14%; width: 44px; height: 92px; }
.screen.gold .sky-gold { opacity: 1; }
.screen.gold .sun { opacity: 1; transform: translateY(-14px) scale(1.25); }
.screen.gold .scene { filter: saturate(1.25) contrast(1.05); }
.screen .tag {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(0,0,0,.45); backdrop-filter: blur(6px); display: flex; align-items: center; gap: 6px;
}
.screen .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; }
.screen .caption {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(10px); opacity: 0;
  background: rgba(0,0,0,.6); padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: opacity .6s, transform .6s;
}
.screen.captioned .caption { opacity: 1; transform: translateX(-50%) translateY(0); }
.timeline { background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; position: relative; }
.tl-ruler { display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.tl-track { display: flex; gap: 3px; height: 26px; margin-bottom: 5px; align-items: stretch; }
.tl-track:last-child { margin-bottom: 0; }
.clip { border-radius: 5px; transition: flex 1s cubic-bezier(.6,.0,.2,1), opacity .6s, margin .6s, filter 1.2s; position: relative; overflow: hidden; }
.clip.v { background: linear-gradient(180deg, #5e454c, #352B2F); }
.clip.v:nth-child(2n) { background: linear-gradient(180deg, #6b5054, #503c42); }
.clip.pause { background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 5px, rgba(255,255,255,.02) 5px 10px); border: 1px dashed rgba(255,255,255,.18); }
.clip.a { background: linear-gradient(180deg, #6e6460, #544b48); }
.clip.a::after { content: ""; position: absolute; inset: 6px 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.clip.m { background: linear-gradient(180deg, #C06A5E, #8E4B42); }
.clip.t { background: linear-gradient(180deg, #F2E9E4, #c9b6aa); opacity: 0; }
.timeline.cut .clip.pause { flex: 0 0 0 !important; opacity: 0; margin: 0 -1.5px; border-width: 0; }
.timeline.gold .clip.v { filter: sepia(.6) saturate(1.5) brightness(1.25); }
.timeline.captioned .clip.t { opacity: 1; }
.playhead { position: absolute; top: 24px; bottom: 8px; width: 2px; background: var(--terra); left: 12px; box-shadow: 0 0 8px rgba(192,106,94,.7); animation: play 9s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; background: var(--terra); border-radius: 2px; transform: rotate(45deg); }
@keyframes play { from { left: 12px; } to { left: calc(100% - 14px); } }

.chat { display: flex; flex-direction: column; padding: 16px; gap: 12px; background: rgba(0,0,0,.18); }
.chat-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.chat-head .ai { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; }
.chat-head .status { margin-left: auto; font-size: 11px; color: var(--cyan); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.chat-head .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; min-height: 220px; }
.msg { font-size: 13px; line-height: 1.6; padding: 10px 12px; border-radius: 12px; max-width: 92%; animation: pop .4s ease both; }
.msg.user { align-self: flex-end; background: #2a2a38; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: rgba(42,34,37,.14); border: 1px solid rgba(42,34,37,.3); border-bottom-left-radius: 4px; }
.msg.bot .steps { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; color: var(--muted); font-size: 12px; }
.msg.bot .steps span::before { content: "✓ "; color: var(--cyan); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-input {
  display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 10px 10px 14px;
  font-size: 13px; color: var(--muted); background: rgba(255,255,255,.03); min-height: 44px;
}
.chat-input .typed { flex: 1; color: var(--text); }
.chat-input .typed::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--pink); margin-left: 1px; }
.chat-input .send { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; flex: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee-wrap { padding: 40px 0 20px; }
.marquee-label { text-align: center; font-size: 14px; color: var(--dim); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 36s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #c9c9d4; opacity: .75; letter-spacing: -.02em; white-space: nowrap; }
.marquee-item small { font-size: 12px; font-weight: 500; color: var(--dim); letter-spacing: 0; }
.marquee-item .mi { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.feature-row + .feature-row { margin-top: 140px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy .num { font-size: 13px; font-weight: 700; color: var(--pink); letter-spacing: .1em; margin-bottom: 14px; display: block; }
.feature-copy h3 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.feature-copy p { color: var(--muted); font-size: 17px; margin: 0; }
.feature-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.feature-copy li { display: flex; gap: 12px; color: var(--muted); }
.feature-copy li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(168,150,142,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C06A5E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }

.panel {
  border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: 26px; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.panel::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: .6; pointer-events: none; }
.panel > * { position: relative; }

/* search mock */
.search-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); font-size: 15px; }
.search-bar svg { color: var(--muted); flex: none; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.thumb { border-radius: 12px; aspect-ratio: 16/10; position: relative; overflow: hidden; border: 1px solid var(--line); }
.thumb span { position: absolute; z-index: 1; bottom: 6px; left: 6px; font-size: 10px; font-weight: 600; color: var(--white); background: rgba(24,20,24,.6); backdrop-filter: blur(4px); padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.thumb.hit { outline: 1.5px solid var(--terra); outline-offset: 2px; }
.thumb:not(.hit) { opacity: .55; }
.t1, .t2, .t3, .t4, .t5, .t6 { background-size: cover; background-position: center; }
.t1 { background-image: url(../assets/img/shot-1.webp); }
.t2 { background-image: url(../assets/img/shot-2.webp); }
.t3 { background-image: url(../assets/img/shot-3.webp); }
.t4 { background-image: url(../assets/img/shot-4.webp); }
.t5 { background-image: url(../assets/img/shot-5.webp); }
.t6 { background-image: url(../assets/img/shot-6.webp); }
.thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: radial-gradient(60% 100% at 50% 100%, rgba(0,0,0,.45), transparent); }
.found { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.found b { color: var(--text); }

/* multi-edit mock */
.multi { display: grid; gap: 10px; }
.multi-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.multi-row .mt { width: 54px; height: 34px; border-radius: 7px; position: relative; overflow: hidden; }
.mt.ba::before { content: ""; position: absolute; inset: 0 50% 0 0; background: inherit; background-size: 54px 34px; background-position: left center; filter: saturate(.25) brightness(1.15) contrast(.85); }
.mt.ba::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; background: var(--white); }
.multi-row .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.multi-row .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width 1.4s cubic-bezier(.3,.7,.2,1); }
.in .multi-row .bar i { width: 100%; }
.multi-row:nth-child(2) .bar i { transition-delay: .25s; }
.multi-row:nth-child(3) .bar i { transition-delay: .5s; }
.multi-row:nth-child(4) .bar i { transition-delay: .75s; }
.multi-row:nth-child(5) .bar i { transition-delay: 1s; }
.multi-row .lbl { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.multi-row .ok { font-size: 11px; font-weight: 700; color: var(--terra); opacity: 0; transition: opacity .4s 1.6s; }
.in .multi-row .ok { opacity: 1; }
.prompt-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid var(--line-2); font-size: 14px; margin-bottom: 16px; }
.prompt-chip b { color: var(--pink); font-weight: 600; }

/* manual timeline mock */
.mtl { border-radius: 14px; background: rgba(0,0,0,.35); border: 1px solid var(--line); padding: 14px; }
.mtl-tools { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.mtl-tools span { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--muted); }
.mtl-tools span.on { background: var(--white); color: var(--black); font-weight: 600; }
.mtl-preview { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 12px; aspect-ratio: 16/9; border: 1px solid var(--line); }
.mtl-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtl-preview .tc { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 3px 8px; border-radius: 6px; color: var(--white); background: rgba(24,20,24,.6); }
.mtl-tracks { position: relative; }
.mtl-ph { position: absolute; top: -4px; bottom: 0; width: 2px; margin-left: 16px; background: var(--terra); pointer-events: none; }
.mtl-ph::before { content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 2px; background: var(--terra); transform: rotate(45deg); }
.mtl-row .lane .clip.fs { background-size: auto 100%; background-repeat: repeat-x; filter: none; }
.mtl-row .lane .clip.wfc { flex: 1; display: flex; align-items: center; padding: 0 4px; }
.mtl-row .lane .clip.wfc .wf { height: 80%; gap: 1px; }
.mtl-row .lane .clip.wfc .wf i { background: rgba(242,233,228,.45); min-width: 1px; }
.mtl-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.mtl-row em { font-style: normal; font-size: 10px; color: var(--dim); width: 22px; }
.mtl-row .lane { flex: 1; display: flex; gap: 3px; height: 30px; position: relative; }
.mtl-row .lane .clip { border-radius: 6px; }
.mtl-row .lane .clip.sel { outline: 2px solid var(--terra); outline-offset: 1px; }
.mtl-row .lane .clip.sel::before, .mtl-row .lane .clip.sel::after { content: ""; position: absolute; top: 4px; bottom: 4px; width: 4px; border-radius: 3px; background: var(--terra); }
.mtl-row .lane .clip.sel::before { left: 3px; } .mtl-row .lane .clip.sel::after { right: 3px; }
.kf { position: absolute; z-index: 1; top: 50%; width: 9px; height: 9px; background: var(--white); box-shadow: 0 0 0 1.5px var(--black); transform: translate(-50%,-50%) rotate(45deg); border-radius: 2px; }
.inspector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.inspector div { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.inspector b { display: block; color: var(--text); font-size: 15px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.slider { height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; margin-top: 8px; position: relative; }
.slider i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--terra); }

/* ---------- generate cards ---------- */
.gen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gen-card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .3s; }
.gen-card:hover { border-color: var(--line-2); }
.gen-hero { grid-column: span 2; grid-row: span 2; }
.gen-wide { grid-column: span 2; }
.gen-visual { position: relative; overflow: hidden; height: 168px; background: var(--bg-2); }
.gen-hero .gen-visual { flex: 1; min-height: 300px; height: auto; }
.gen-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.gen-card:hover .gen-visual > img { transform: scale(1.04); }
.gen-hero .gen-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,15,18,.75)); }
.gen-play { position: absolute; left: 50%; top: 45%; z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(24,20,24,.45); border: 1px solid rgba(242,233,228,.4); backdrop-filter: blur(6px); opacity: 0; transform: scale(.92); transition: opacity .3s, transform .3s; }
.gen-play svg { width: 20px; height: 20px; margin-left: 2px; }
.gen-card:hover .gen-play { opacity: 1; transform: none; }
.gen-meta { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: var(--white); background: rgba(24,20,24,.4); border: 1px solid rgba(242,233,228,.25); }
.gen-prompt { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--white); background: rgba(24,20,24,.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.gp-label { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); }
.gv-image .variants { position: absolute; right: 10px; bottom: 10px; z-index: 1; display: flex; gap: 6px; }
.gv-image .variants img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(242,233,228,.3); }
.gv-image .variants img.on { border-color: var(--terra); }
.gv-audio { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 0 22px; background: radial-gradient(120% 90% at 50% 0%, var(--surface-2), var(--bg-2)); }
.player { display: flex; align-items: center; gap: 12px; }
.pbtn { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--black); background: var(--white); }
.pbtn svg { width: 14px; height: 14px; margin-left: 2px; }
.ptime { flex: none; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.wf { flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; gap: 2px; }
.wf i { flex: 1; min-width: 2px; border-radius: 2px; background: rgba(242,233,228,.28); }
.wf i.p { background: var(--terra); }
.gen-line { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gen-body { padding: 20px 22px 22px; }
.gen-hero .gen-body { padding: 24px 26px 26px; }
.gen-body h4 { font-size: 19px; margin-bottom: 6px; }
.gen-hero .gen-body h4 { font-size: 24px; }
.gen-body p { color: var(--muted); font-size: 14px; margin: 0; }
.gen-body .gen-models { margin-top: 12px; font-size: 12px; color: var(--dim); letter-spacing: .01em; }

/* ---------- bento / creative grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento-card {
  grid-column: span 2; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  padding: 28px; position: relative; overflow: hidden; min-height: 280px; display: flex; flex-direction: column;
  transition: border-color .3s;
}
.bento-card:hover { border-color: var(--line-2); }
.bento-card.wide { grid-column: span 3; }
.bento-card h4 { font-size: 20px; margin-bottom: 8px; }
.bento-card p { color: var(--muted); font-size: 15px; margin: 0; }
.bento-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); margin-bottom: 20px; }
.bento-card .ico svg { width: 22px; height: 22px; }
.bento-card .viz { margin-top: auto; padding-top: 22px; }
.cursor-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 3px 9px 3px 4px; border-radius: 999px; color: #fff; position: absolute; animation: drift 6s ease-in-out infinite alternate; }
.cursor-tag::before { content: ""; width: 14px; height: 14px; background: currentColor; clip-path: polygon(0 0, 100% 40%, 45% 55%, 30% 100%); filter: brightness(10); }
@keyframes drift { 0% { transform: translate(0,0); } 50% { transform: translate(30px,-12px); } 100% { transform: translate(-10px,10px); } }
.comment { background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.comment .av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.comment small { display: block; color: var(--dim); font-size: 11px; }
.story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.story div { aspect-ratio: 4/3; border-radius: 8px; border: 1px dashed var(--line-2); background: rgba(255,255,255,.03); position: relative; }
.story div::after { content: attr(data-n); position: absolute; top: 4px; left: 6px; font-size: 10px; color: var(--dim); }
.story div:nth-child(1) { background: linear-gradient(135deg, rgba(42,34,37,.4), rgba(192,106,94,.2)); border-style: solid; }
.story div:nth-child(2) { background: linear-gradient(135deg, rgba(232,220,213,.35), rgba(192,106,94,.2)); border-style: solid; }
.script-lines { font-family: "SF Mono", ui-monospace, Menlo, monospace; font-size: 12px; color: var(--muted); line-height: 1.9; }
.script-lines b { color: var(--amber); font-weight: 600; }
.script-lines .hl { background: rgba(42,34,37,.25); color: var(--text); border-radius: 4px; padding: 1px 4px; }
.agents-list { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 13px; }
.agent-pill i { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.use {
  border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 3/4.2;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  transition: transform .4s;
}
.use:hover { transform: translateY(-6px); }
.use { background: var(--surface); }
.use .art { position: absolute; top: 0; left: 0; width: 100%; height: 74%; object-fit: cover; transition: transform .8s; }
.use:hover .art { transform: scale(1.06); }
.use::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, var(--surface) 74%); }
.use > *:not(.art) { position: relative; z-index: 1; }
.use h4 { font-size: 22px; margin-bottom: 6px; }
.use p { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.use .ratio { position: absolute; top: 18px; left: 18px; z-index: 1; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(24,20,24,.35); border: 1px solid rgba(242,233,228,.35); color: var(--white); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }

/* ---------- agents ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.agent-card { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 20px; }
.agent-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.agent-card .avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.agent-card h5 { margin: 0; font-size: 15px; }
.agent-card .role { font-size: 12px; color: var(--dim); }
.agent-card .task { font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); display: flex; align-items: center; gap: 8px; }
.spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--cyan); animation: spin .9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 12px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--grad); animation: load 3.5s ease-in-out infinite; }
@keyframes load { 0% { width: 8%; } 80%,100% { width: 100%; } }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.trust-item .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 18px; }
.trust-item h4 { font-size: 19px; margin-bottom: 8px; }
.trust-item p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- pricing ---------- */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); margin-top: 28px; }
.billing button { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.billing button.on { background: #fff; color: #000; }
.billing .save { font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--grad); color: var(--bg); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; align-items: stretch; }
.plan { border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -30px rgba(192,106,94,.45); }
.plan .badge { position: absolute; top: -12px; left: 24px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: var(--bg); }
.plan h4 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin: 6px 0 20px; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 44px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 14px; }
.price-note { font-size: 12px; color: var(--dim); margin: 4px 0 22px; min-height: 18px; }
.plan .btn { width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 14px; }
.plan li { display: flex; gap: 10px; color: var(--muted); }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 700; flex: none; }
.plan li.no { opacity: .45; }
.plan li.no::before { content: "✕"; color: var(--dim); }

.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare thead th { background: var(--surface); font-size: 15px; position: sticky; top: 0; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare td:first-child { color: var(--muted); }
.compare tr.group td { background: rgba(255,255,255,.025); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--cyan); font-weight: 700; }
.nope { color: var(--dim); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 80px 40px; text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--line-2);
  background: radial-gradient(60% 80% at 20% 0%, rgba(42,34,37,.45), transparent 70%), radial-gradient(60% 80% at 80% 100%, rgba(192,106,94,.35), transparent 70%), radial-gradient(40% 60% at 60% 40%, rgba(232,220,213,.2), transparent 70%), var(--surface);
}
.cta-band .lead { margin: 18px auto 34px; }
.cta-band .hero-ctas { margin-top: 0; }

/* ---------- page hero ---------- */
.page-hero { padding: 100px 0 60px; position: relative; overflow: hidden; text-align: center; }
.page-hero .lead { margin: 22px auto 0; }

/* ---------- about ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.founder-photo { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.founder-photo img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; object-position: center 20%; }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(24,20,24,.8)); }
.founder-photo .nameplate { position: absolute; left: 22px; bottom: 20px; z-index: 1; }
.founder-photo .nameplate b { display: block; font-size: 22px; }
.founder-photo .nameplate span { font-size: 14px; color: rgba(255,255,255,.75); }
.founder-glow { position: absolute; inset: -40px; background: var(--grad); filter: blur(80px); opacity: .25; z-index: -1; border-radius: 50%; }
.founder-wrap { position: relative; }
blockquote.quote { margin: 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
blockquote.quote::before { content: "“"; display: block; font-size: 80px; line-height: .6; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: Georgia, serif; }
.founder-text p { color: var(--muted); }
.signature { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.signature .line { width: 40px; height: 2px; background: var(--grad); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.value .n { font-size: 48px; font-weight: 800; line-height: 1; margin-bottom: 16px; }
.value h4 { font-size: 20px; margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; font-size: 15px; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 20px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 30%; color: var(--muted); font-weight: 500; font-size: 15px; }

.timeline-v { position: relative; padding-left: 30px; border-left: 1px solid var(--line-2); display: grid; gap: 36px; }
.timeline-v .ev { position: relative; }
.timeline-v .ev::before { content: ""; position: absolute; left: -37px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px var(--bg); }
.timeline-v .ev b { font-size: 14px; color: var(--pink); }
.timeline-v .ev h4 { font-size: 19px; margin: 4px 0 6px; }
.timeline-v .ev p { margin: 0; color: var(--muted); }

/* ---------- features page ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 14px; font-weight: 800; margin-bottom: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s; }
.model:hover { border-color: var(--line-2); }
.model .mlogo { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.model h5 { margin: 0 0 2px; font-size: 16px; }
.model .kind { font-size: 12px; color: var(--pink); font-weight: 600; }
.model p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.cmd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmd { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 15px; display: flex; gap: 12px; align-items: center; transition: background .3s, border-color .3s; }
.cmd:hover { background: rgba(255,255,255,.05); border-color: var(--line-2); }
.cmd span { color: var(--pink); font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.form { padding: 36px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--surface); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(42,34,37,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9A7A0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.check { display: flex; gap: 10px; font-size: 14px; color: var(--muted); align-items: flex-start; margin-bottom: 22px; }
.check input { margin-top: 5px; accent-color: var(--pink); }
.check a { text-decoration: underline; }
.form-ok { display: none; text-align: center; padding: 48px 12px; }
.form.sent form { display: none; }
.form.sent .form-ok { display: block; animation: pop .5s ease both; }
.form-ok .ok-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 22px; background: rgba(168,150,142,.12); border: 1px solid rgba(168,150,142,.4); color: var(--cyan); box-shadow: 0 0 40px -8px rgba(168,150,142,.6); }
.form-ok .ok-icon svg { width: 28px; height: 28px; }
.form-ok h3 { font-size: 26px; margin-bottom: 10px; }
.form-ok p { color: var(--muted); margin: 0 auto; max-width: 380px; }
.info-cards { display: grid; gap: 16px; }
.info-card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.info-card h5 { margin: 0 0 6px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.info-card p { margin: 0; font-size: 16px; }
.info-card a { color: var(--text); border-bottom: 1px solid var(--line-2); }

/* ---------- login ---------- */
.auth { min-height: calc(100vh - 110px); display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 72px 24px; position: relative; z-index: 1; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 10px; }
.auth-card .sub { color: var(--muted); margin: 0 0 32px; }
.auth-card .sub a, .auth-foot a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.btn-oauth { width: 100%; background: rgba(255,255,255,.04); border-color: var(--line-2); }
.btn-oauth:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.btn-oauth svg { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 13px; margin: 24px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 13px; color: var(--muted); }
.label-row a:hover { color: var(--text); }
.pw { position: relative; }
.pw input { padding-right: 64px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 8px; border-radius: 8px; }
.pw button:hover { color: var(--text); background: rgba(255,255,255,.06); }
.field input.invalid { border-color: #ff5a6e; box-shadow: 0 0 0 4px rgba(255,90,110,.15); }
.auth-alert { display: none; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-size: 14px; line-height: 1.6;
  background: rgba(255,90,110,.1); border: 1px solid rgba(255,90,110,.35); color: #ffd0d6; animation: pop .35s ease both; }
.auth-alert.show { display: flex; }
.auth-alert svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #ff5a6e; }
.auth-alert b { color: #fff; word-break: break-all; }
.auth-alert a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { width: 100%; position: relative; }
.btn-submit.loading { color: transparent; pointer-events: none; }
.btn-submit.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.auth-foot { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.auth-legal { margin-top: 18px; text-align: center; color: var(--dim); font-size: 12px; }
.auth-legal a { text-decoration: underline; }
.auth-side { position: relative; border-left: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 60px 48px; overflow: hidden;
  background: radial-gradient(60% 50% at 30% 20%, rgba(42,34,37,.35), transparent 70%), radial-gradient(50% 50% at 80% 80%, rgba(192,106,94,.28), transparent 70%), radial-gradient(40% 40% at 60% 50%, rgba(232,220,213,.14), transparent 70%), var(--bg-2); }
.auth-side .inner { max-width: 460px; width: 100%; position: relative; }
.auth-side h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 28px 0 12px; }
.auth-side p { color: var(--muted); margin: 0; }
.auth-side .chat { border-radius: 18px; border: 1px solid var(--line-2); background: rgba(10,10,16,.7); backdrop-filter: blur(10px); box-shadow: var(--shadow); }
.auth-side .chat-log { min-height: 0; }

/* ---------- legal ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 30px; margin: 60px 0 20px; }
.legal h3 { font-size: 19px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 40px; margin-top: 40px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin: 16px 0 22px; }
.footer h6 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .uses, .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .gen-grid { grid-template-columns: repeat(2, 1fr); }
  .gen-hero { grid-row: auto; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .bento-card, .bento-card.wide { grid-column: span 3; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .models, .cmd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .nav-links, .nav-right .btn-ghost { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 72px 0 0; background: rgba(24,20,24,.98); z-index: 99; padding: 24px; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .3s; }
  .nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { display: block; padding: 16px 4px; font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 24px; width: 100%; font-size: 16px; border-bottom: 0; }
}
@media (max-width: 900px) {
  .editor-body { grid-template-columns: 1fr; }
  .preview { border-right: 0; border-bottom: 1px solid var(--line); }
  .chat-log { min-height: 170px; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .feature-row + .feature-row { margin-top: 100px; }
  .trust, .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .founder, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 56px; }
  .flow-arrow { display: none; }
  .gen-grid { grid-template-columns: 1fr; }
  .gen-hero, .gen-wide { grid-column: auto; }
  .gv-image { height: 260px; }
  .uses, .agents-grid, .plans, .steps, .models, .cmd-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-card.wide { grid-column: 1 / -1; }
  .uses .use { aspect-ratio: 4/3.4; }
  .results { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-band { padding: 56px 22px; }
  .panel { padding: 18px; }
  .nav-right .btn-grad { display: none; }
  .editor-top .url { display: none; }
  .promo { font-size: 13px; }
}
