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

:root {
  --bg: #000;
  --bg-1: #0a0a0a;
  --bg-2: #111;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --fg: #ededed;
  --fg-2: #a1a1a1;
  --fg-3: #6b6b6b;
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-glow: rgba(59, 130, 246, .35);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }

/* Type */
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.grad { background: linear-gradient(180deg, #fff 30%, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; color: var(--fg-3); margin-bottom: 16px; }
.lede { font-size: 1.125rem; color: var(--fg-2); max-width: 46ch; margin: 22px auto 0; text-wrap: balance; }
.muted { color: var(--fg-2); }
.fine { font-size: .8125rem; color: var(--fg-3); }
.mono { font-family: var(--mono); font-size: .8125rem; }
.blue { color: var(--blue-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 8px; border: 1px solid transparent; font: 500 .9rem var(--sans); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #d8d8d8; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 24px -8px var(--blue-glow); }
.btn-blue:hover { background: #2f74ec; }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-outline:hover { background: rgba(255, 255, 255, .05); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-block { width: 100%; }
.btn-lg { height: 46px; padding: 0 22px; font-size: .95rem; }

/* Nav */
.nav-bar { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); background: rgba(0, 0, 0, .6); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.02em; font-size: .975rem; }
.brand-mark { width: 14px; height: 24px; background: url("/img/logo-nav.png") center / contain no-repeat; flex: none; }
.nav-links { display: flex; gap: 6px; align-items: center; font-size: .875rem; }
.nav-links a:not(.btn) { color: var(--fg-2); padding: 6px 10px; border-radius: 6px; }
.nav-links a:not(.btn):hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.nav-links .btn { height: 32px; padding: 0 12px; font-size: .85rem; margin-left: 6px; }

/* Hero */
.hero { position: relative; text-align: center; padding: 104px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  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% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, .28), transparent); filter: blur(10px);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 6px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .8125rem; color: var(--fg-2); margin-bottom: 28px;
}
.pill b { font-weight: 500; color: #fff; background: var(--blue); border-radius: 999px; padding: 1px 8px; font-size: .75rem; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cmd {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg-1); font-family: var(--mono); font-size: .8rem; color: var(--fg-2); max-width: 100%; overflow-x: auto; white-space: nowrap;
}
.cmd span { color: var(--fg-3); }

.demo-wrap { position: relative; margin-top: 64px; }
.demo-wrap::before { content: ""; position: absolute; inset: 8% 10% -6%; background: radial-gradient(closest-side, var(--blue-glow), transparent); filter: blur(40px); z-index: -1; }
.demo {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .025), 0 40px 120px -40px rgba(59, 130, 246, .45);
}
.demo iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-note { margin-top: 14px; text-align: center; }

/* Sections */
section { padding: 120px 0; }
.section-head { max-width: 640px; }
.section-head p { color: var(--fg-2); margin-top: 14px; font-size: 1.0625rem; }
.rule { border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { padding: 28px; background: var(--bg-1); }
.step + .step { border-left: 1px solid var(--line); }
.step-n { font-family: var(--mono); font-size: .75rem; color: var(--blue-2); }
.step h3 { margin-top: 18px; }
.step p { color: var(--fg-2); margin-top: 8px; font-size: .925rem; }

.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cell { background: var(--bg); padding: 32px; }
.cell svg { width: 20px; height: 20px; color: var(--blue-2); }
.cell h3 { margin-top: 18px; }
.cell p { color: var(--fg-2); margin-top: 8px; font-size: .925rem; max-width: 42ch; }
.limits { margin-top: 20px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.price-card {
  position: relative; border: 1px solid var(--line-2); border-radius: 16px; padding: 32px; background: linear-gradient(180deg, rgba(59,130,246,.08), rgba(0,0,0,0) 40%), var(--bg-1);
  box-shadow: 0 30px 80px -40px var(--blue-glow);
}
.price-label { font-family: var(--mono); font-size: .75rem; color: var(--fg-3); }
.price { font-size: 3.25rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 14px 0 6px; }
.price small { font-size: .95rem; font-weight: 400; color: var(--fg-2); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; color: var(--fg-2); font-size: .925rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(59,130,246,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2360a5fa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.partner-note { border: 1px solid rgba(59,130,246,.35); background: rgba(59,130,246,.08); color: var(--blue-2); border-radius: 8px; padding: 10px 12px; margin-bottom: 18px; font-size: .85rem; }

/* FAQ */
.faq { max-width: 720px; margin-top: 40px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--fg-3); font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--fg-2); padding-bottom: 20px; margin-top: -6px; max-width: 62ch; }

.cta-band { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -320px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(59,130,246,.25), transparent); z-index: -1; }
.cta-band .hero-cta { margin-top: 28px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; color: var(--fg-3); font-size: .8125rem; }
footer a:hover { color: var(--fg); }

/* Auth + account */
.auth-page { min-height: 100vh; display: grid; place-items: start center; padding: 12vh 20px 40px; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59,130,246,.15), transparent 70%), var(--bg); }
.auth-card { width: min(100%, 400px); }
.auth-card.wide { width: min(100%, 620px); }
.auth-card .brand { margin-bottom: 40px; }
.auth-card h1 { font-size: 1.75rem; letter-spacing: -0.035em; margin-bottom: 6px; }
.auth-card > p, .auth-card div > p { margin-top: 10px; }
.auth-card h3 { color: var(--fg); }
.stack { display: grid; gap: 10px; margin-top: 24px; }
.field { display: grid; gap: 8px; font-size: .8125rem; color: var(--fg-2); }
.field input, .copy-row input {
  height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--fg);
  font: inherit; font-size: .95rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .copy-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.form-error { color: #f87171; min-height: 1.2em; margin-top: 12px; font-size: .85rem; }
.copy-row { display: flex; gap: 8px; margin-top: 10px; }
.copy-row input { flex: 1; font-family: var(--mono); font-size: .8rem; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-1); padding: 20px; margin-top: 24px; }
ol.setup { padding-left: 18px; color: var(--fg-2); display: grid; gap: 8px; margin: 12px 0 0; font-size: .9rem; }
ol.setup strong { color: var(--fg); font-weight: 500; }
.film-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; }
.film-list li { border-top: 1px solid var(--line); padding: 10px 0; font-size: .9rem; }
.film-list a { color: var(--fg); }
.film-list a:hover { color: var(--blue-2); }
.auth-card a:not(.btn):not(.brand) { color: var(--blue-2); }

/* Player */
.player-page { min-height: 100vh; padding: 28px 0 80px; background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(59,130,246,.12), transparent 70%), var(--bg); }
.player { width: min(100% - 32px, 1120px); margin-inline: auto; }
.frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 30px 100px -50px var(--blue-glow); }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.frame.vertical { width: min(100%, calc(78vh * 9 / 16)); margin-inline: auto; }
.frame.vertical + .controls, .frame.vertical ~ .player-title, .frame.vertical ~ p { width: min(100%, 560px); margin-inline: auto; }
.controls { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.controls input[type=range] { flex: 1; min-width: 160px; accent-color: var(--blue); }
.player-title { font-size: 1.5rem; letter-spacing: -0.03em; margin-top: 28px; }

@media (max-width: 820px) {
  .steps, .bento, .pricing { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 72px; }
  .cmd { display: none; }
  section { padding: 88px 0; }
}

/* Lifetime deal ladder */
.ltd-head { text-align: center; max-width: 760px; margin: 0 auto; }
.ltd-timer { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; padding: 10px 16px; border: 1px dashed rgba(59,130,246,.45); background: rgba(59,130,246,.07); border-radius: 10px; color: var(--blue-2); font-size: .9rem; }
.ltd-timer b { font-family: var(--mono); font-weight: 600; color: #fff; }
.ltd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.ltd-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 30px; background: linear-gradient(180deg, rgba(59,130,246,.07), rgba(0,0,0,0) 35%), var(--bg-1); box-shadow: 0 40px 100px -50px var(--blue-glow); }
.ltd-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ltd-top .price { margin: 0; font-size: 4rem; }
.ltd-next { color: var(--fg-2); font-size: .9rem; padding-bottom: 8px; }
.ltd-next b { color: #fff; }
.ltd-segs { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); grid-auto-flow: column; gap: 6px; margin-top: 22px; }
.ltd-segs span { height: 8px; border-radius: 99px; border: 1px solid var(--line-2); }
.ltd-segs span.on { background: var(--blue); border-color: var(--blue); }
.ltd-left { margin-top: 12px; color: var(--fg-2); display: flex; align-items: center; gap: 8px; }
.ltd-left i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.ltd-left b { color: #fff; }
.ltd-chart { display: flex; gap: 8px; height: 170px; margin-top: 22px; padding: 16px 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: #050505; }
.bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.bar .v { font-size: .75rem; color: var(--fg-3); }
.bar .t { flex: 1; width: 100%; position: relative; }
.bar .b { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 6px 6px 3px 3px; background: var(--bg-2); border: 1px solid var(--line); }
.bar .l { font-family: var(--mono); font-size: .65rem; color: var(--fg-3); letter-spacing: .04em; }
.bar.gone .v { text-decoration: line-through; }
.bar.gone .b { background: transparent; border-style: dashed; }
.bar.now .v { color: #fff; font-weight: 600; font-size: .85rem; }
.bar.now .b { background: linear-gradient(180deg, var(--blue-2), var(--blue)); border-color: var(--blue-2); box-shadow: 0 0 24px -4px var(--blue-glow); }
.bar.now .l { color: #fff; }
.ltd-save { color: var(--fg-2); font-size: .9rem; margin: 20px 0; }
.ltd-save b { color: #fff; font-family: var(--mono); font-weight: 600; }
.ltd-foot { text-align: center; margin-top: 12px; }
.btn.disabled { opacity: .5; pointer-events: none; }
.ltd-refund { display: flex; gap: 14px; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.ltd-refund svg { width: 20px; height: 20px; flex: none; color: var(--blue-2); margin-top: 2px; }
.ltd-refund p { color: var(--fg-2); font-size: .875rem; margin-top: 4px; }
.ltd-side { display: grid; gap: 24px; }
.panel-lg { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--bg-1); }
.panel-lg .ticks { margin: 18px 0 0; }
.maths-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); font-size: .9rem; }
.maths-row:first-of-type { margin-top: 10px; }
.maths-row b { color: #fff; white-space: nowrap; font-weight: 600; }
.maths-row small { color: var(--fg-3); font-weight: 400; }
@media (max-width: 820px) { .ltd { grid-template-columns: 1fr; } .ltd-top .price { font-size: 3.2rem; } }

/* Hero: example chat in Claude */
.chat-wrap { position: relative; margin-top: 64px; text-align: left; }
.chat-wrap::before { content: ""; position: absolute; inset: 10% 12% -6%; background: radial-gradient(closest-side, var(--blue-glow), transparent); filter: blur(40px); z-index: -1; }
.chat { max-width: 1000px; margin: 0 auto; height: 640px; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #262624; border: 1px solid #3a3936; color: #F5F4EE; box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 40px 120px -40px rgba(59,130,246,.45); }
.chat-bar { flex: none; height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid #33322f; }
.chat-bar i { width: 10px; height: 10px; border-radius: 50%; background: #45443f; }
.chat-bar span { flex: 1; text-align: center; font-size: 13px; color: #9C9A92; margin-left: -40px; }
.chat-body { flex: 1; min-height: 0; display: flex; }
.chat-side { flex: none; width: 196px; background: #1F1E1D; border-right: 1px solid #33322f; padding: 8px; }
.chat-side-h { padding: 6px 8px 4px; font-size: 12px; font-weight: 500; color: #9C9A92; }
.chat-tabs { display: flex; flex-direction: column; gap: 2px; }
.chat-tabs button { height: 31px; border: 0; border-radius: 6px; padding: 0 8px; display: flex; align-items: center; gap: 7px; background: transparent; color: #E8E6DF; font: 14px var(--sans); cursor: pointer; text-align: left; white-space: nowrap; }
.chat-tabs button svg { width: 16px; height: 16px; color: #A6A49C; flex: none; }
.chat-tabs button:hover { background: #2a2927; }
.chat-tabs button[aria-selected="true"] { background: #33322f; }
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-log { flex: 1; min-height: 0; overflow: hidden; padding: 32px 32px 16px; display: flex; flex-direction: column; gap: 18px; }
.chat-log.in > * { animation: chatIn .5s ease both; }
.chat-log.in > *:nth-child(2) { animation-delay: .15s; } .chat-log.in > *:nth-child(3) { animation-delay: .3s; } .chat-log.in > *:nth-child(4) { animation-delay: .45s; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-user { align-self: flex-end; max-width: 75%; border-radius: 16px; background: #141413; padding: 12px 16px; font-size: 15px; line-height: 1.4; }
.chat-used { display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: #9C9A92; }
.chat-used span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.chat-used svg { width: 16px; height: 16px; }
.chat-chip { font-size: 13px; border: 1px solid #3d3c38; border-radius: 99px; padding: 1px 9px; }
.chat-tool { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #9C9A92; margin-bottom: -6px; }
.chat-tool b { font-weight: 500; color: #E8E6DF; }
.chat-tool .dot { color: #5a5954; }
.brand-mark.sm { width: 12px; height: 20px; }
.chat-film { flex: 1; min-height: 0; max-width: 100%; align-self: flex-start; border-radius: 12px; overflow: hidden; background: #1a1a18; }
.chat-film:not(.vertical) { width: min(100%, 500px); height: auto; flex: none; }
.chat-film.vertical { height: 296px; flex: none; }
.chat-film iframe { width: 100%; height: 100%; border: 0; display: block; }
.chat-input { flex: none; margin: 0 20px 16px; display: flex; align-items: center; min-height: 48px; border-radius: 16px; border: 1px solid #3d3c38; background: #30302E; padding: 12px 16px; font-size: 15px; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.chat-input .caret { width: 1px; height: 1.1em; background: #F5F4EE; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.chat-input svg { width: 16px; height: 16px; color: #8a8882; margin-left: auto; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 820px) {
  .chat { height: auto; }
  .chat-log { overflow: visible; }
  .chat-film:not(.vertical) { width: 100%; }
  .chat-body { flex-direction: column; }
  .chat-side { width: auto; border-right: 0; border-bottom: 1px solid #33322f; padding: 6px; overflow-x: auto; }
  .chat-side-h { display: none; }
  .chat-tabs { flex-direction: row; }
  .chat-log { padding: 18px 16px 10px; gap: 14px; }
  .chat-user { max-width: 92%; font-size: 14px; }
  .chat-film.vertical { height: 380px; }
  .chat-input { margin: 0 12px 12px; font-size: 14px; }
}
