/* Asset Porter site: same slate surfaces and indigo-violet accent as the app. System fonts only. */
:root {
  --bg: #0f1218; --bg-2: #12151c; --surface: #181c25; --raised: #1f2430; --hover: #252b38;
  --line: #262c39; --line-2: #343c4e;
  --text: #e8ebf1; --soft: #c3cad7; --muted: #949db0; --dim: #677086;
  --accent: #7c6cf6; --accent-hi: #9486f9; --accent-soft: rgba(124, 108, 246, .14); --accent-ring: rgba(124, 108, 246, .40);
  --grad: linear-gradient(135deg, #6366f1, #8b5cf6); --grad-hi: linear-gradient(135deg, #7477f4, #9a70f8);
  --ok: #3dd68c; --bad: #f26d6d; --warn: #f59a4a;
  --t-audio: #5b9dff; --t-anim: #a98bff; --t-mesh: #3ccfb4; --t-image: #ff7eb6;
  --r: 8px; --r-l: 14px; --ease: cubic-bezier(.2, .8, .2, 1);
  --font-ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(15, 18, 24, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.brand .pro { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: var(--grad); color: #fff; letter-spacing: .06em; }
.top nav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.top nav a { color: var(--soft); font-size: 14px; }
.top nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 700px) { .top nav a.hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--r); border: 1px solid transparent;
  background: var(--grad); color: #fff; font: 600 14.5px var(--font-display); letter-spacing: .02em; cursor: pointer; transition: box-shadow .2s var(--ease), background .2s; text-decoration: none; }
.btn:hover { background: var(--grad-hi); box-shadow: 0 0 0 4px var(--accent-soft); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.btn.ghost { background: var(--raised); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: var(--hover); border-color: var(--muted); box-shadow: none; }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.wide { width: 100%; }

/* hero */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 640px; background: radial-gradient(closest-side, rgba(124, 108, 246, .22), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 56px; } }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-hi); font: 600 12.5px var(--font-display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; }
.hero h1 em { font-style: normal; background: var(--grad-hi); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--soft); font-size: 18px; margin: 20px 0 28px; max-width: 34em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { color: var(--dim); font-size: 13px; margin-top: 16px; }

/* product mock: drawn in CSS so the page needs no screenshots */
.mock { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-l); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(124, 108, 246, .12); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.mock-bar b { margin-left: 6px; color: var(--soft); font-weight: 600; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.mock-card span { display: block; color: var(--muted); font-size: 11px; }
.mock-card b { font: 700 20px var(--font-display); }
.mock-card::after { content: ""; display: block; height: 3px; border-radius: 2px; margin-top: 6px; background: var(--c); }
.mock-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; font-size: 12.5px; }
.mock-row code { font-family: var(--font-mono); color: var(--muted); font-size: 11.5px; }
.mock-row .ok { color: var(--ok); font-size: 11.5px; }
.mock-row .up { color: var(--accent-hi); font-size: 11.5px; }
.mock-progress { height: 6px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.mock-progress div { height: 100%; width: 72%; background: var(--grad); border-radius: 3px; animation: grow 3.5s var(--ease) infinite alternate; }
@keyframes grow { from { width: 38%; } to { width: 86%; } }
@media (prefers-reduced-motion: reduce) { .mock-progress div { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 480px) { .mock-cards { grid-template-columns: repeat(2, 1fr); } .mock-row code { display: none; } .mock-row { grid-template-columns: 1fr auto; } }

/* sections */
section.block { padding: 80px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-hi); font: 700 15px var(--font-display); margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--bg-2); padding: 24px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.feature h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--accent)); flex: none; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; }
.plan.best { border-color: var(--accent-ring); box-shadow: 0 0 0 1px var(--accent-ring), 0 20px 60px rgba(99, 102, 241, .16); }
.plan .tag { position: absolute; top: -11px; left: 28px; background: var(--grad); color: #fff; font: 700 11px var(--font-display); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.plan h3 { font-size: 18px; }
.plan .price { font: 700 40px var(--font-display); margin: 14px 0 2px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.plan .per { color: var(--muted); font-size: 13.5px; min-height: 21px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--soft); font-size: 14.5px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%239486f9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan li.no { color: var(--dim); }
.plan li.no::before { background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%23677086' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pay-note { color: var(--dim); font-size: 13px; margin-top: 20px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-hi); font: 400 20px/1 var(--font-display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; font-size: 14.5px; }

/* forms and cards on small pages */
.page { padding: 64px 0 96px; }
.panel { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; }
@media (max-width: 600px) { .panel { padding: 22px; } }
.panel h1 { font-size: 28px; margin-bottom: 8px; }
.panel > p.sub { color: var(--muted); margin-bottom: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; color: var(--soft); font-weight: 600; }
.field input { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 12px; color: var(--text); font: 15px var(--font-ui); }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input.mono { font-family: var(--font-mono); letter-spacing: .04em; }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; background: var(--raised); color: var(--soft); border: 1px solid var(--line-2); }
.msg.ok { border-color: rgba(61, 214, 140, .4); color: #b7f0d3; }
.msg.bad { border-color: rgba(242, 109, 109, .45); color: #ffc9c9; }

.keybox { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 18px 0; padding: 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--accent-ring); flex-wrap: wrap; }
.keybox code { font: 600 clamp(14px, 3.6vw, 19px) var(--font-mono); letter-spacing: .05em; color: #fff; word-break: break-all; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .9s linear infinite; margin: 8px 0 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
ol.howto { color: var(--soft); padding-left: 20px; line-height: 1.9; }

.devices { display: grid; gap: 8px; margin: 14px 0; }
.device { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.device small { display: block; color: var(--dim); font-size: 12.5px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin-bottom: 8px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent-hi); }
.pill.bad { background: rgba(242, 109, 109, .12); color: var(--bad); }

.prose { max-width: 720px; margin: 0 auto; color: var(--soft); }
.prose h1 { font-size: 32px; margin-bottom: 20px; color: var(--text); }
.prose h2 { font-size: 20px; margin: 28px 0 8px; color: var(--text); }
.prose p, .prose li { margin-bottom: 10px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--dim); font-size: 13.5px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--muted); }
.disclaimer { width: 100%; font-size: 12.5px; color: var(--dim); }
.empty { color: var(--muted); font-size: 14px; }
.c-audio { --c: var(--t-audio); } .c-anim { --c: var(--t-anim); } .c-mesh { --c: var(--t-mesh); } .c-image { --c: var(--t-image); }
.fine-print { margin: 16px 0 0 !important; font-size: 13.5px; }
.small-h { font-size: 15px; margin-top: 18px; color: var(--soft); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* pricing: Free / Pro / Studio with a Monthly / Lifetime switch */
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--grad); margin: 16px auto 0; }
.billing-toggle { display: flex; width: max-content; margin: -12px auto 36px; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.billing-toggle button { border: 0; background: none; color: var(--muted); font: 600 14px var(--font-display); padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.billing-toggle button.on { background: var(--grad); color: #fff; }
.plan .for { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.plan .price small { font-size: 14px; }
.plan .price { margin-bottom: 18px; }
.plan ul { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; margin-bottom: 0; }
.plan .tag { left: 50%; transform: translateX(-50%); }
.plans-note { text-align: center; color: var(--soft); font-size: 14.5px; margin-top: 28px; }
.pay-note.center { text-align: center; }
