:root {
  --bg: #050507; --bg2: #0b0b10; --card: rgba(255,255,255,.045); --line: rgba(255,255,255,.09);
  --text: #f4f4f6; --muted: #9a9aa6; --accent: #ff8c33; --accent2: #ffb35c; --green: #4ade80;
  --radius: 22px; --maxw: 1120px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 40% at 50% -5%, rgba(255,140,51,.22), transparent 70%), radial-gradient(40% 30% at 85% 20%, rgba(120,90,255,.12), transparent 70%); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* nav */
nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); background: rgba(5,5,7,.65); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.brand small { color: var(--muted); font-weight: 500; font-size: .8em; }
.links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: .94rem; }
.links a:hover { color: var(--text); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; transition: transform .15s, background .15s, border-color .15s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #1a0d00; }
.btn.primary:hover { background: var(--accent2); }
.btn.ghost { border: 1px solid var(--line); background: var(--card); }
.btn.ghost:hover { border-color: rgba(255,255,255,.22); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.small { padding: 8px 16px; font-size: .9rem; }

/* hero */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; max-width: 15ch; margin: 0 auto 20px; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #ffd08a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.25rem); max-width: 58ch; margin: 0 auto 30px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* notch stage (pure CSS loop) */
.stage { position: relative; margin: 54px auto 0; width: min(760px, 100%); height: 300px; border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #14141b, #0a0a0f); overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, rgba(255,140,51,.12), transparent 70%); }
.bar { position: absolute; top: 0; left: 0; right: 0; height: 26px; background: rgba(0,0,0,.35); }
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #000; border-radius: 0 0 22px 22px; overflow: hidden;
  width: 200px; height: 32px; animation: grow 12s cubic-bezier(.3,.8,.2,1) infinite; }
@keyframes grow {
  0%, 12% { width: 200px; height: 32px; border-radius: 0 0 14px 14px; }
  20%, 78% { width: 560px; height: 214px; border-radius: 0 0 26px 26px; }
  88%, 100% { width: 200px; height: 32px; border-radius: 0 0 14px 14px; }
}
.notch .pill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 11px; font-weight: 600; animation: fadeout 12s infinite; }
@keyframes fadeout { 0%, 12% { opacity: 1; } 16%, 84% { opacity: 0; } 90%, 100% { opacity: 1; } }
.notch .open { position: absolute; inset: 40px 18px 14px; display: grid; gap: 8px; opacity: 0; animation: fadein 12s infinite; }
@keyframes fadein { 0%, 18% { opacity: 0; } 26%, 74% { opacity: 1; } 82%, 100% { opacity: 0; } }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 12.5px; text-align: left; }
.row b { font-weight: 650; } .row span { color: var(--muted); margin-left: auto; font-size: 11.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; } .dot.idle { background: #777; }
.logo { width: 18px; height: 18px; flex: none; }
.c-claude { fill: #d97757; } .c-openai { fill: #fff; } .c-gemini { fill: #8e75b2; }

/* sections */
section { padding: 84px 0; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-bottom: 36px; }
.strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); padding: 20px 0; }
.strip .wrap { display: flex; gap: 14px 34px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: .95rem; }
.strip b { color: var(--text); font-weight: 600; }
.works { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .9rem; }
.works span { display: inline-flex; align-items: center; gap: 8px; }

/* activity tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--card); font-weight: 600; font-size: .92rem; }
.tab[aria-selected="true"] { color: #1a0d00; background: var(--accent); border-color: var(--accent); }
.panel { display: none; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.panel.on { display: grid; }
.panel h3 { font-size: 1.55rem; letter-spacing: -.02em; margin-bottom: 10px; }
.panel p { color: var(--muted); }
.panel ul { margin: 14px 0 0 18px; color: var(--muted); } .panel li { margin: 5px 0; }
.mock { background: #000; border: 1px solid var(--line); border-radius: 0 0 26px 26px; padding: 18px; display: grid; gap: 8px; min-height: 210px; }
.mock .row { background: rgba(255,255,255,.08); }
.mock .big { font-size: 1.1rem; font-weight: 700; } .mock .art { width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, #ff8c33, #7a5cff); flex: none; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #1a0d00; font-weight: 700; font-size: 11.5px; }
.drop { border: 1.5px dashed rgba(255,255,255,.3); border-radius: 14px; padding: 22px; text-align: center; color: var(--muted); font-size: 13px; }

/* stats and features */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.tile b { display: block; font-size: 2.3rem; letter-spacing: -.03em; line-height: 1.1; } .tile span { color: var(--muted); font-size: .92rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card h3 { font-size: 1.2rem; margin: 12px 0 8px; letter-spacing: -.015em; } .card p { color: var(--muted); font-size: .96rem; }
.ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,140,51,.14); display: grid; place-items: center; font-size: 20px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #1a0d00; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; } .step p { color: var(--muted); font-size: .94rem; }
.soon { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.soon span { padding: 7px 14px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; margin-inline: auto; }
.plan { padding: 32px; border: 1px solid var(--line); border-radius: 26px; background: var(--card); display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.best { border-color: rgba(255,140,51,.55); background: linear-gradient(180deg, rgba(255,140,51,.1), var(--card)); }
.plan .tag { position: absolute; top: -12px; right: 24px; padding: 4px 12px; background: var(--accent); color: #1a0d00; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.price { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; } .price small { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; color: var(--muted); display: grid; gap: 8px; font-size: .95rem; flex: 1; } .plan li::before { content: "\2713"; color: var(--accent); margin-right: 10px; font-weight: 800; }
.center { text-align: center; } .center .sub { margin-inline: auto; }

/* faq */
details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; } details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding: 0 0 18px; }

/* footer, modal, pages */
footer { border-top: 1px solid var(--line); padding: 38px 0 56px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; } footer nav a { margin-right: 18px; } footer a:hover { color: var(--text); }
.legal { margin-top: 18px; font-size: .8rem; max-width: 80ch; }
.modal { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.modal.on { display: grid; }
.sheet { width: min(440px, 100%); background: var(--bg2); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.sheet h3 { font-size: 1.4rem; margin-bottom: 6px; } .sheet p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.seg label { border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; text-align: center; font-weight: 650; }
.seg input { position: absolute; opacity: 0; pointer-events: none; } .seg label:has(input:checked) { border-color: var(--accent); background: rgba(255,140,51,.12); }
.seg small { display: block; color: var(--muted); font-weight: 500; }
input[type=email] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #000; color: var(--text); font: inherit; margin-bottom: 12px; }
.msg { min-height: 1.3em; font-size: .9rem; color: #ff8a8a; margin-bottom: 10px; } .msg.ok { color: var(--green); }
.row2 { display: flex; gap: 10px; } .row2 .btn { flex: 1; }
.doc { max-width: 760px; padding: 60px 0 80px; } .doc h1 { font-size: 2.3rem; margin: 0 0 18px; max-width: none; text-align: left; } .doc h2 { font-size: 1.3rem; margin: 28px 0 8px; } .doc p, .doc li { color: var(--muted); margin-bottom: 10px; } .doc ul { margin-left: 20px; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }

@media (max-width: 860px) {
  .links a:not(.btn) { display: none; }
  .panel.on, .stats, .grid3, .steps, .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stage { height: 270px; } .notch { max-width: calc(100% - 24px); }
  @keyframes grow { 0%, 12% { width: 180px; height: 32px; } 20%, 78% { width: 92%; height: 214px; } 88%, 100% { width: 180px; height: 32px; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .notch, .notch .pill, .notch .open { animation: none; }
  .notch { width: min(560px, 92%); height: 214px; border-radius: 0 0 26px 26px; } .notch .pill { display: none; } .notch .open { opacity: 1; }
}

.hide { position: absolute; width: 0; height: 0; overflow: hidden; }
.narrow { max-width: 820px; }
.roadmap-title { margin-top: 56px; }
.thanks { margin: 0 auto 14px; text-align: center; }
#dl-win[aria-disabled] { opacity: .55; cursor: default; }
