/* ASOwizard website. Dark, precise and quick: violet from the app, cyan and mint from its charts. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #06060c; --bg-raised: #0d0c18; --panel: rgb(18 17 32 / 72%);
  --surface: rgb(255 255 255 / 4%); --surface-2: rgb(255 255 255 / 7.5%);
  --line: rgb(255 255 255 / 9%); --line-strong: rgb(255 255 255 / 18%);
  --text: #f4f3ff; --muted: #b6b2cc; --dim: #8f8aa8;
  --violet: #7c5cff; --violet-soft: #a996ff; --violet-deep: #6046f5;
  --cyan: #4fd8ff; --mint: #7cf5cc; --amber: #ffd166; --red: #ff6b7a;
  --on-light: #0a0814;
  --grad: linear-gradient(100deg, #b7a6ff 0%, #7c5cff 30%, #4fd8ff 66%, #7cf5cc 100%);
  --radius: 22px; --radius-sm: 14px;
  --gutter: clamp(16px, 4.4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--text); font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.62 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 40% at 50% -6%, rgb(124 92 255 / 22%), transparent 70%), radial-gradient(40% 30% at 100% 30%, rgb(79 216 255 / 6%), transparent 70%); }
.backdrop::after { content: ""; position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 8.2vw, 6.6rem); letter-spacing: -.045em; line-height: .96; }
h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -.015em; line-height: 1.2; }
strong { font-weight: 600; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.02em; }
.icon { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 860px); }
.center { text-align: center; justify-content: center; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--on-light); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { --b: var(--line-strong); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--b);
  font: 600 1rem/1 var(--body); letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--text); color: var(--on-light); border-color: transparent; box-shadow: 0 10px 40px -12px rgb(255 255 255 / 45%); }
.btn-primary:hover .icon { transform: translateY(2px); }
.btn-glow { color: #fff; border-color: transparent; background: linear-gradient(var(--violet-deep), var(--violet-deep)) padding-box, var(--grad) border-box; border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgb(124 92 255 / 40%), 0 14px 46px -12px rgb(124 92 255 / 85%); }
.btn-glow::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--cyan) 82%, var(--mint) 88%, transparent 96%); filter: blur(6px); opacity: .9; animation: spin 4.5s linear infinite; }
.btn-glow:hover { box-shadow: 0 0 0 1px rgb(124 92 255 / 60%), 0 18px 60px -12px rgb(124 92 255 / 100%); }
.btn-ghost { background: rgb(255 255 255 / 6%); color: var(--text); }
.btn-ghost:hover { background: rgb(255 255 255 / 9%); --b: rgb(255 255 255 / 30%); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .92rem; gap: 7px; }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --spin: 360deg; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px var(--gutter) 0; }
.bar { width: min(100%, 1240px); margin-inline: auto; display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.is-stuck .bar { background: rgb(10 9 20 / 72%); border-color: var(--line); box-shadow: 0 20px 50px -30px rgb(0 0 0 / 90%); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.12rem var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.bar > .brand { flex: none; }
.bar nav { margin-inline: auto; }
.bar nav ul { display: flex; gap: 2px; }
.bar nav a { display: block; padding: 9px 13px; border-radius: 999px; color: var(--muted); font-size: .94rem; text-decoration: none; transition: color .2s, background .2s; }
.bar nav a:hover { color: var(--text); background: var(--surface-2); }
.bar-actions { display: flex; gap: 8px; }
.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; inset-inline-end: 0; top: 52px; width: min(320px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 14px; border-radius: 20px; border: 1px solid var(--line); background: rgb(13 12 24 / 96%); backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px #000; }
.menu-panel a:not(.btn) { display: block; padding: 11px 12px; border-radius: 12px; text-decoration: none; }
.menu-panel a:not(.btn):hover { background: var(--surface-2); }
.language-switch { position: relative; flex: none; }
.language-switch summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding-inline: 10px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; list-style: none; font-size: .9rem; }
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch ul { position: absolute; z-index: 1; inset-inline-end: 0; inset-block-start: calc(100% + 8px); inline-size: min(225px, 52vw); max-block-size: min(480px, 70dvh); overflow-y: auto; overscroll-behavior: contain; padding: 8px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-raised); box-shadow: 0 18px 40px #0008; }
.language-switch a { display: flex; align-items: center; min-block-size: 44px; padding: 8px 10px; border-radius: 8px; text-decoration: none; }
.language-switch a:is(:hover, :focus-visible, [aria-current]) { background: var(--surface-2); }
.bar:has(.language-switch) nav a { padding-inline: 8px; }
html:not([lang="en"]) :is(h1, h2, h3, .btn, .site-footer, .bar nav a) { overflow-wrap: anywhere; }
html:not([lang="en"]) .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 8px; }
html:not([lang="en"]) .eyebrow { white-space: normal; }
:lang(ar) :is(h1, h2, h3), :lang(fa) :is(h1, h2, h3), :lang(ur) :is(h1, h2, h3) { line-height: 1.2; }
[dir="rtl"] :is(h1, h2, h3, .mono) { letter-spacing: normal; }
[dir="rtl"] .terminal { direction: ltr; text-align: left; }
[dir="rtl"] .icon-arrow { scale: -1 1; }

/* Hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(48px, 8vw, 104px); overflow: clip; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-floor { position: absolute; inset: -10% -20% 0;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%); overflow: hidden; }
.grid-floor::before { content: ""; position: absolute; inset: -64px 0 0 -64px; background-image: linear-gradient(rgb(124 92 255 / 16%) 1px, transparent 1px), linear-gradient(90deg, rgb(124 92 255 / 16%) 1px, transparent 1px); background-size: 64px 64px; animation: drift 18s linear infinite; will-change: transform; }
@keyframes drift { to { transform: translate3d(64px, 64px, 0); } }
.orb { position: absolute; border-radius: 50%; opacity: .55; background: radial-gradient(closest-side, var(--c), transparent); animation: float 14s ease-in-out infinite alternate; will-change: transform; }
.orb-a { width: 720px; height: 720px; left: 50%; top: -6%; margin-left: -360px; --c: rgb(124 92 255 / 55%); }
.orb-b { width: 520px; height: 520px; left: 2%; top: 32%; --c: rgb(79 216 255 / 22%); animation-delay: -4s; }
.orb-c { width: 540px; height: 540px; right: -2%; top: 22%; --c: rgb(124 245 204 / 14%); animation-delay: -8s; }
@keyframes float { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.ray { position: absolute; left: 50%; top: -30%; width: 2px; height: 90%; background: linear-gradient(transparent, rgb(169 150 255 / 70%), transparent); transform: rotate(18deg); box-shadow: 0 0 30px 6px rgb(124 92 255 / 30%); opacity: .5; }
.hero-copy { text-align: center; display: grid; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgb(255 255 255 / 4%); color: var(--muted); font: 500 .86rem var(--mono); letter-spacing: .01em; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--mint); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero h1 { max-width: 15ch; }
.hero h1 .line { display: inline-block; }
.hero h1 em, .grad { font-style: normal; background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 8s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1.06rem, 1rem + .4vw, 1.26rem); line-height: 1.55; }
.hero .lede { margin: 26px auto 0; }
.lede strong { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.fine { color: var(--dim); font-size: .88rem; margin: 16px 0 0; }
.search-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgb(124 92 255 / 40%); background: rgb(124 92 255 / 10%); color: var(--violet-soft); font: 500 .95rem var(--mono); min-width: 270px; box-shadow: inset 0 0 20px rgb(124 92 255 / 15%); }
.search-pill span { color: var(--text); }
.caret { width: 2px; height: 1.1em; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.stage { position: relative; margin-top: clamp(48px, 7vw, 84px); padding-bottom: 24px; }
.tilt { position: relative; }
.window { position: relative; border-radius: 18px; overflow: hidden; background: #1e1d22; border: 1px solid rgb(255 255 255 / 12%);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 60%), 0 50px 120px -40px rgb(0 0 0 / 90%), 0 30px 80px -50px rgb(124 92 255 / 60%); }
.window img { width: 100%; }
.window-hero { box-shadow: 0 0 0 1px rgb(0 0 0 / 60%), 0 80px 160px -50px rgb(0 0 0), 0 0 120px -20px rgb(124 92 255 / 55%); }
.window-hero::before { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--violet-soft), transparent 30% 70%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.scan { position: absolute; inset: 0 0 auto; height: 34%; z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent, rgb(79 216 255 / 7%) 92%, rgb(79 216 255 / 22%) 99%, transparent); transform: translateY(-100%); animation: scan 6s var(--ease) infinite; will-change: transform; }
@keyframes scan { to { transform: translateY(300%); } }
.chip { position: absolute; z-index: 4; display: grid; gap: 1px; padding: 12px 16px; border-radius: 16px; border: 1px solid rgb(255 255 255 / 16%); background: rgb(16 14 30 / 92%);
  box-shadow: 0 20px 50px -20px #000, inset 0 1px 0 rgb(255 255 255 / 8%); }
.chip span { font-size: 1.25rem; font-weight: 600; color: var(--mint); }
.chip small { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.chip-0 { left: -3%; top: 22%; }
.chip-1 { right: -3%; top: 12%; }
.chip-1 span { color: var(--cyan); }
.chip-2 { left: 6%; bottom: 10%; }
.chip-2 span { color: var(--violet-soft); }
.chip-3 { right: 4%; bottom: 18%; }
.chip-3 span { color: var(--amber); }
.sample { color: var(--dim); font-size: .85rem; text-align: center; margin: 16px 0 0; }

/* Marquee and facts */
.marquee { display: flex; overflow: hidden; margin-top: clamp(56px, 8vw, 96px); padding-block: 18px; border-block: 1px solid var(--line); background: rgb(255 255 255 / 2%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee ul { display: flex; flex: none; gap: 36px; padding-inline-end: 36px; animation: marquee 48s linear infinite; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 500 .95rem var(--mono); white-space: nowrap; }
.marquee .icon { color: var(--violet-soft); }
.marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.facts li { display: grid; gap: 4px; padding: clamp(18px, 3vw, 30px); background: var(--bg-raised); }
.facts strong { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding-top: var(--section); }
.section.tight { padding-top: clamp(32px, 5vw, 56px); }
.head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.head p:not(.kicker) { color: var(--muted); font-size: 1.1rem; margin: 18px auto 0; max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--cyan); font: 500 .82rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.ticks { display: grid; gap: 10px; margin: 22px 0 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.ticks .icon { margin-top: 3px; color: var(--mint); }
.ticks strong { color: var(--text); }
.text-link a, a.text-link, .text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-weight: 500; text-decoration: none; }
.text-link a:hover { text-decoration: underline; text-underline-offset: 4px; }
p.center.text-link { display: flex; margin-top: 22px; }

/* Optimize stepper */
.step-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 26px; }
.step-tab { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-align: start; font-weight: 600; cursor: pointer; overflow: hidden; transition: border-color .3s, background .3s; }
.step-tab:hover { background: var(--surface-2); }
.step-tab .step-no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgb(255 255 255 / 6%); color: var(--dim); font-size: .85rem; transition: background .3s, color .3s; }
.step-tab.is-on { border-color: rgb(124 92 255 / 60%); background: rgb(124 92 255 / 12%); }
.step-tab.is-on .step-no { background: var(--violet); color: #fff; box-shadow: 0 0 20px rgb(124 92 255 / 60%); }
.step-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.step-tab.is-on .step-bar { transform: scaleX(var(--p, 0)); }
.step-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.step-list { display: grid; }
.js .step { grid-area: 1 / 1; }
html:not(.js) .step-tabs, html:not(.js) .step-stage { display: none; }
html:not(.js) .step-inline { display: block; }
html:not(.js) .step { margin-bottom: 48px; }
.js .step { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s; }
.js .step.is-on { opacity: 1; visibility: visible; transform: none; }
.step-label { color: var(--violet-soft); font-size: .8rem; letter-spacing: .08em; margin-bottom: 12px; }
.step h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.step > p { color: var(--muted); }
.step-inline { display: none; margin-top: 24px; }
.step-stage .window { display: grid; aspect-ratio: 16 / 10; }
.step-screen { grid-area: 1 / 1; opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.step-screen.is-on { opacity: 1; transform: none; }

/* Ideas */
.section-idea { position: relative; }
.questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.questions li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.q-no { color: var(--cyan); font-size: .78rem; }
.questions strong { font: 700 1.1rem/1.2 var(--display); }
.questions small { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.idea-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
.pill { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 500; cursor: pointer; transition: all .25s; }
.pill:hover { color: var(--text); }
.pill.is-on { color: #fff; border-color: rgb(124 92 255 / 60%); background: rgb(124 92 255 / 20%); box-shadow: 0 0 24px -6px rgb(124 92 255 / 70%); }
.idea-stage { display: grid; }
.js .idea-screen { grid-area: 1 / 1; }
.js .idea-screen { opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.js .idea-screen.is-on { opacity: 1; visibility: visible; }

/* Cards and bento */
.card { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1.5%)); overflow: hidden; isolation: isolate; transition: border-color .3s, transform .4s var(--ease); }
[data-spot]::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(124 92 255 / 16%), transparent 60%); }
[data-spot]:hover::before { opacity: 1; }
[data-spot]:hover { border-color: rgb(255 255 255 / 18%); }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; color: var(--violet-soft); background: rgb(124 92 255 / 14%); border: 1px solid rgb(124 92 255 / 30%); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.card-wide { grid-column: span 7; }
.card-narrow { grid-column: span 5; }
.card-art { margin-top: auto; padding-top: 22px; background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.card-art picture { display: block; border-radius: 12px; overflow: hidden; border: 1px solid rgb(255 255 255 / 12%); box-shadow: 0 30px 60px -30px #000; }
.card-copy { margin-bottom: 4px; }

/* AI and MCP */
.section-ai { position: relative; isolation: isolate; }
.section-ai::before { content: ""; position: absolute; inset: 10% 0 auto; height: 60%; z-index: -1; background: radial-gradient(50% 50% at 70% 50%, rgb(124 92 255 / 14%), transparent 70%); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ai-grid h2 { margin-bottom: 18px; }
.flow { display: flex; align-items: stretch; gap: 0; margin-bottom: 18px; }
.flow li { flex: 1; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 16px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.flow strong { font-size: .95rem; }
.flow small { color: var(--dim); font-size: .8rem; }
.flow-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 0 24px -4px rgb(124 92 255 / 70%); }
.beam { position: relative; flex: 0 0 34px; align-self: center; height: 2px; background: rgb(255 255 255 / 10%); overflow: hidden; }
.beam::after { content: ""; position: absolute; inset: 0; width: 50%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: beam 1.6s linear infinite; }
@keyframes beam { from { transform: translateX(-100%); } to { transform: translateX(220%); } }
.mcp { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 100px); padding: clamp(24px, 4vw, 44px); border-radius: 28px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgb(124 92 255 / 12%), rgb(79 216 255 / 4%) 60%, transparent); }
.mcp h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.mcp p { color: var(--muted); }
.terminal { border-radius: 16px; border: 1px solid var(--line-strong); background: #07070d; box-shadow: 0 30px 70px -30px #000; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 3%); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-inline-start: 10px; color: var(--dim); font-size: .8rem; }
.terminal pre { margin: 0; padding: 22px; overflow-x: auto; color: var(--mint); font-size: clamp(.78rem, 1.4vw, .92rem); line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.terminal code::after { content: "▍"; color: var(--cyan); animation: blink 1s steps(1) infinite; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card.mini { min-height: 210px; }
.tool-card { grid-column: span 3; }
.tool { display: grid; gap: 14px; }
.tool-head strong { font: 700 1.35rem var(--display); }
.tool-head p { margin: 6px 0 0; color: var(--muted); }
.field { display: grid; gap: 6px; }
.field > span { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.field output { color: var(--mint); }
.field output.is-over { color: var(--red); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgb(0 0 0 / 35%); color: var(--text); font: 500 .98rem var(--mono); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgb(124 92 255 / 20%); }
.tool-result { margin: 0; color: var(--mint); font-size: .92rem; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  background: linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box, linear-gradient(160deg, var(--violet-soft), rgb(124 92 255 / 20%) 40%, rgb(79 216 255 / 50%)) border-box;
  box-shadow: 0 40px 100px -40px rgb(124 92 255 / 60%); }
.price-name { color: var(--muted); font: 500 .85rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.price-tag { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; }
.price-tag span { font-size: clamp(3.6rem, 8vw, 5.4rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-tag small { color: var(--muted); font-size: 1.1rem; }
.cta-col { display: grid; gap: 10px; margin-top: 26px; }
.calc { padding: clamp(22px, 3vw, 34px); border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.calc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.calc-head strong { font: 700 1.3rem var(--display); }
.calc-head label { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 .9rem var(--mono); }
input[type="range"] { accent-color: var(--violet); width: 140px; }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 82px; gap: 12px; align-items: center; font-size: .9rem; }
.bar-name { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 10px; border-radius: 999px; background: rgb(255 255 255 / 6%); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, rgb(255 107 122 / 60%), rgb(255 209 102 / 70%)); transform-origin: 0 50%; transform: scaleX(var(--v, .05)); transition: transform .8s var(--ease); }
.bars output { text-align: end; color: var(--text); }
.bars .is-us .bar-name, .bars .is-us output { color: var(--mint); font-weight: 600; }
.bars .is-us .bar-track i { background: var(--grad); box-shadow: 0 0 12px var(--mint); }
.note { color: var(--dim); font-size: .84rem; line-height: 1.5; margin: 18px 0 0; }
.note a { color: var(--muted); }

/* Link cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.link-card { text-decoration: none; }
.link-card:hover { transform: translateY(-4px); }
.vs { color: var(--cyan); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.link-card .vs ~ p { margin-bottom: 22px; }
.link-card dl { display: grid; gap: 8px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.link-card dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.link-card dt { color: var(--dim); }
.link-card dd { margin: 0; color: var(--muted); text-align: end; }
.link-card .is-us dt, .link-card .is-us dd { color: var(--mint); }
.link-card .text-link { margin-top: auto; padding-top: 18px; }
.section .center:has(.btn) { margin-top: 30px; display: flex; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgb(124 92 255 / 45%); background: rgb(124 92 255 / 6%); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--dim); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--cyan); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details p { margin: 0 0 10px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); text-decoration: none; font-weight: 500; }

/* Closing */
.closing { position: relative; isolation: isolate; margin-top: var(--section); padding-block: clamp(80px, 12vw, 160px); text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.closing-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgb(124 92 255 / 38%), transparent 70%), linear-gradient(rgb(124 92 255 / 10%) 1px, transparent 1px) 0 0 / 100% 48px; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.closing img { margin: 0 auto 28px; border-radius: 22px; filter: drop-shadow(0 20px 50px rgb(124 92 255 / 60%)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.closing h2 { max-width: 16ch; margin-inline: auto; }
.closing p:not(.fine) { color: var(--muted); font-size: 1.15rem; margin: 18px auto 0; max-width: 52ch; }

/* Footer */
.site-footer { padding-block: 64px 40px; border-top: 1px solid var(--line); background: rgb(0 0 0 / 30%); }
.site-footer .wrap:first-child { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { color: var(--muted); margin: 14px 0 18px; max-width: 34ch; }
.foot-brand .cta-row { margin-top: 0; }
.site-footer h2 { font: 600 .82rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.site-footer h2 a { text-decoration: none; }
.site-footer li a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: .94rem; }
.site-footer li a:hover { color: var(--text); }
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.foot-note p { margin: 0; }

/* Article pages */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.page-hero::before { content: ""; position: absolute; inset: -40% 0 0; z-index: -1; background-image: linear-gradient(rgb(124 92 255 / 12%) 1px, transparent 1px), linear-gradient(90deg, rgb(124 92 255 / 12%) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 30% 40%, #000, transparent 75%); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.04em; line-height: 1.02; }
.page-hero .lede { margin: 22px 0 0; text-wrap: pretty; }
.page-hero .cta-row { margin-top: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; color: var(--dim); font: 500 .85rem var(--mono); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.meta { display: flex; align-items: center; gap: 7px; color: var(--dim); font-size: .9rem; margin: 18px 0 0; }
.article-grid { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(32px, 5vw, 72px); justify-content: center; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 96px; font-size: .9rem; }
.toc strong { display: block; margin-bottom: 10px; font: 600 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.toc li a { display: block; padding-block: 6px; padding-inline-start: 12px; border-inline-start: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.3; transition: color .2s, border-color .2s; }
.toc li a:hover, .toc li a.is-on { color: var(--text); border-color: var(--cyan); }
.prose { min-width: 0; }
.prose.legal { min-height: 30vh; padding-bottom: 96px; }
.prose > h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); margin: 1.9em 0 .55em; scroll-margin-top: 96px; }
.prose > h3 { margin: 1.6em 0 .5em; }
.prose > p, .prose > ul, .prose > ol { color: #d7d4e8; }
.prose > ul, .prose > ol { margin: 0 0 1.2em; padding-inline-start: 1.3em; list-style: disc; }
.prose > ol { list-style: decimal; }
.prose > ul li, .prose > ol li { margin-bottom: .45em; padding-inline-start: .2em; }
.prose a:not(.btn) { color: var(--cyan); text-underline-offset: 3px; }
.steps { display: grid; gap: 10px; margin: 0 0 1.4em; counter-reset: s; }
.steps li { position: relative; display: grid; gap: 2px; padding: 15px 16px 15px 58px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; inset-inline-start: 14px; top: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgb(124 92 255 / 22%); color: var(--violet-soft); font: 600 .82rem var(--mono); }
.prose > .steps { padding: 0; list-style: none; }
.prose > .steps li { margin: 0; padding: 15px 16px 15px 58px; }
.steps li, .prose > .steps li { padding-inline: 58px 16px; }
.steps span { color: var(--muted); }
.screen { margin: 2em 0; }
.screen figcaption { margin-top: 12px; color: var(--dim); font-size: .9rem; text-align: center; }
.callout { margin: 1.7em 0; padding: 18px 20px; border-radius: var(--radius-sm); border-inline-start: 3px solid var(--cyan); background: rgb(79 216 255 / 6%); }
.callout p { margin: 4px 0 0; color: var(--muted); }
.example { margin: 1.7em 0; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.example figcaption { font-weight: 600; margin-bottom: 12px; }
.example dl { display: grid; gap: 12px; margin: 0; }
.example dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; }
.example dt { grid-column: 1; color: var(--dim); font-size: .85rem; }
.example dd { grid-column: 1; margin: 0; overflow-wrap: anywhere; }
.example .count { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--mint); font-size: .9rem; }
.example .note { margin-top: 12px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 2.2em 0; padding: 22px 24px; border-radius: var(--radius); border: 1px solid rgb(124 92 255 / 44%); background: linear-gradient(120deg, rgb(124 92 255 / 16%), rgb(79 216 255 / 6%)); }
.inline-cta p { margin: 4px 0 0; color: var(--muted); }
.inline-cta .btn { flex: none; }
.prose .tool { margin: 1.8em 0; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 13px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { color: var(--text); font-weight: 600; background: var(--surface); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgb(255 255 255 / 2.5%); }
td { color: var(--muted); }
.table-wrap a { color: var(--cyan); }
.versus { margin: 0; }
.versus th[scope="row"] { font-weight: 500; color: var(--text); width: 36%; }
.versus .is-us { background: rgb(124 245 204 / 6%); color: var(--text); }
.versus thead .is-us { color: var(--mint); box-shadow: inset 0 2px 0 var(--mint); }
.yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(124 245 204 / 18%); color: var(--mint); }
.no { display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--dim); }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.summary li { display: grid; gap: 3px; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.summary span { color: var(--dim); font: 500 .8rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.summary strong { font: 700 1.6rem/1.15 var(--display); letter-spacing: -.02em; color: var(--mint); }
.summary small { color: var(--muted); font-size: .88rem; }

@view-transition { navigation: auto; }

@media (max-width: 1240px) {
  .bar:has(.language-switch) nav { display: none; }
  .bar:has(.language-switch) .bar-actions { margin-inline-start: auto; }
  .bar:has(.language-switch) .menu { display: block; }
}

@media (max-width: 440px) {
  .bar:has(.language-switch) .bar-actions { display: none; }
  .bar .language-switch { margin-inline-start: auto; }
}

@media (max-width: 1080px) {
  .bar nav { display: none; }
  .bar { gap: 10px; }
  .bar-actions { margin-inline-start: auto; }
  .menu { display: block; }
  .chip-2, .chip-3 { display: none; }
  .step-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-body { grid-template-columns: minmax(0, 1fr); }
  .step-stage { display: none; }
  .step-inline { display: block; }
  .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-grid, .mcp, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .bento .card { grid-column: span 12 !important; grid-row: auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card { grid-column: span 2; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
  .site-footer .wrap:first-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bar-actions .btn-ghost { display: none; }
  .language-switch summary bdi { display: none; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-row .btn { width: 100%; }
  .hero .cta-row { flex-direction: column; width: 100%; }
  .search-pill { min-width: 0; width: 100%; justify-content: center; }
  .step-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .step-tab { padding: 12px; gap: 8px; font-size: .92rem; }
  .questions, .features, .grid-3, .summary { grid-template-columns: minmax(0, 1fr); }
  .tool-card { grid-column: auto; }
  .flow { flex-direction: column; }
  .beam { flex-basis: 22px; width: 2px; height: 22px; }
  .beam::after { animation: none; }
  .eyebrow { font-size: .72rem; padding: 6px 12px 6px 10px; }
  .chip-1 { display: none; }
  .chip { padding: 8px 12px; }
  .chip span { font-size: 1rem; }
  .chip-0 { left: 2px; top: 4%; }
  .chip-1 { right: 2px; top: auto; bottom: 6%; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .inline-cta .btn { width: 100%; }
  .bars li { grid-template-columns: minmax(0, 1fr) 82px; }
  .bars .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .site-footer .wrap:first-child { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  th, td { padding: 11px 12px; font-size: .9rem; }
  .bar { padding-inline-start: 10px; gap: 6px; }
}
@media (max-width: 359px) {
  .bar .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
}
