@import url("../fonts/fonts.css");

/* Contenzy landing: dark, futuristic, conversion-first */
:root {
  color-scheme: dark;
  /* Same graphite as the app (brand/DESIGN.md "App UI"): honey leads, violet is a quiet accent. */
  --bg: #141414;
  --bg-2: #171717;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .055);
  --border: #2a2a2a;
  --border-strong: #3d3d3d;
  --text: #ededed;
  --muted: #a3a3a3;
  --dim: #6f6f6f;
  --violet: #8B5CF6;
  --violet-2: #B39DFF;
  --violet-deep: #6D28D9;
  --yellow: #F5B62A;
  --yellow-2: #FFD56E;
  --green: #5EE6A8;
  --radius: 22px;
  --max: 1200px;
  --display: "Unbounded", "Space Grotesk", system-ui, sans-serif;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Poppins", var(--head);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-2); }
::selection { background: var(--yellow); color: #11131F; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.55rem); }
h3 { font-family: var(--head); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 .45em; color: #fff; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(100deg, #FFE7A3 0%, var(--yellow) 45%, #E9A93A 70%, var(--violet-2) 115%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 3px 9px; border: 1px solid rgba(245,182,42,.3); border-radius: 5px; background: rgba(245,182,42,.08); font: 600 .72rem var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow-2); margin-bottom: 16px; }
.eyebrow::before { display: none; }
.center { text-align: center; }
.eyebrow.center { display: flex; justify-content: center; margin-inline: auto; }
.section-sub { max-width: 58ch; margin: 0 auto 52px; color: var(--muted); font-size: 1.08rem; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(18, 18, 18, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo { gap: 9px; }
.wordmark { font: 700 1.4rem/1 var(--logo); color: #fff; letter-spacing: -0.03em; }
.wordmark .zy { color: var(--yellow); }
.nav { display: flex; align-items: center; gap: 26px; font: 500 .94rem var(--head); }
.nav a { color: var(--muted); text-decoration: none; transition: color .15s; }
.nav a:hover { color: #fff; }
.nav .lang { border: 1px solid var(--border-strong); border-radius: 999px; padding: 4px 11px; font-weight: 700; font-size: .74rem; color: var(--text); letter-spacing: .06em; }
@media (max-width: 860px) { .nav .hide-m { display: none; } }

/* buttons & form */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 15px 26px; font: 700 1rem var(--head); letter-spacing: .01em; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .25s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: #11131F; box-shadow: 0 10px 34px -10px rgba(245,182,42,.75), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-primary:hover { box-shadow: 0 14px 46px -10px rgba(245,182,42,.95), inset 0 1px 0 rgba(255,255,255,.6); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: .88rem; }
.waitlist { display: flex; gap: 8px; flex-wrap: wrap; max-width: 560px; padding: 6px; background: rgba(255,255,255,.05); border: 1px solid var(--border-strong); border-radius: 999px; backdrop-filter: blur(8px); }
.waitlist input[type=email] { flex: 1 1 220px; min-width: 0; border: 0; background: transparent; padding: 12px 18px; font: 500 1rem var(--body); color: #fff; }
.waitlist input[type=email]::placeholder { color: var(--dim); }
.waitlist input[type=email]:focus { outline: none; }
.waitlist:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(245,182,42,.18); }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #FF8A80; }
.consent { font-size: .8rem; color: var(--dim); margin-top: 2px; max-width: 560px; }
.consent a { color: var(--muted); }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font: 500 .9rem var(--head); color: var(--muted); }
.proof span::before { content: "✓"; color: var(--green); margin-right: 7px; font-weight: 700; }

/* hero */
.hero { position: relative; padding-block: 64px 96px; overflow: hidden; isolation: isolate; background: var(--bg); }
#hex { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero-fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 60% at 80% 10%, rgba(245,182,42,.16), transparent 60%), radial-gradient(45% 45% at 5% 95%, rgba(139,92,246,.10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,182,42,.1); color: var(--yellow-2); border: 1px solid rgba(245,182,42,.32); padding: 7px 14px; border-radius: 999px; font: 600 .84rem var(--head); margin-bottom: 22px; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 38ch; margin-bottom: 28px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } .demo-wrap { max-width: 560px; margin-inline: auto; width: 100%; } }

/* live demo window */
.demo-wrap { position: relative; }
.demo-bee { position: absolute; width: 130px; right: -26px; top: -78px; z-index: 2; mix-blend-mode: lighten; pointer-events: none; animation: hover 5s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px) rotate(-3deg); } }
/* The window mirrors the real studio (compact graphite app UI); the glow around it stays marketing. */
.demo { position: relative; border-radius: 14px; padding: 1px; background: linear-gradient(140deg, rgba(245,182,42,.55), rgba(255,255,255,.06) 45%, rgba(179,157,255,.35)); box-shadow: 0 40px 120px -40px rgba(245,182,42,.32); }
.demo-in { border-radius: 13px; background: #171717; display: grid; grid-template-columns: 42px minmax(0, 1fr); overflow: hidden; }
.app-rail { background: #121212; border-right: 1px solid #2e2e2e; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
.app-rail .mark { width: 20px; height: 20px; margin: 1px 0 9px; }
.app-rail i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: #8a8a8a; }
.app-rail i.on { background: #232323; color: var(--yellow); }
.app-rail i svg, .credits svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.demo-bar { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; border-bottom: 1px solid #2e2e2e; background: #121212; font: 500 .76rem var(--body); color: #a0a0a0; }
.demo-bar .crumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar .crumb b { color: #4a4a4a; font-weight: 400; margin: 0 7px; }
.demo-bar .crumb em { font-style: normal; color: #ededed; }
.credits { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border: 1px solid #2e2e2e; border-radius: 6px; background: #232323; color: #ededed; font: 500 .74rem ui-monospace, "SF Mono", Menlo, monospace; }
.credits svg { width: 13px; height: 13px; color: var(--yellow); }
.app-body { padding: 12px; background-image: radial-gradient(#262626 1px, transparent 1px); background-size: 16px 16px; }
.demo-prompt { border: 1px solid #2e2e2e; border-radius: 6px; padding: 9px 11px; background: #1f1f1f; min-height: 94px; } /* fixed for the longest prompt, so typing never moves the page */
.demo-prompt .lbl, .demo-cap .lbl { font: 500 .72rem var(--body); color: #a0a0a0; margin-bottom: 3px; display: block; }
.typed { color: #ededed; font-size: .92rem; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--yellow); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-status { display: flex; align-items: center; gap: 8px; margin: 10px 2px; font: 500 .78rem var(--body); color: #a0a0a0; min-height: 1.3em; }
.demo-status .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(179,157,255,.25); border-top-color: var(--violet-2); animation: spin .8s linear infinite; }
.demo-status.done .spin { border: 0; width: 7px; height: 7px; background: #3ECF8E; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-out { display: grid; grid-template-columns: 1fr .72fr 1fr; gap: 10px; align-items: end; }
.tile { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid #2e2e2e; background: linear-gradient(110deg, #1c1c1c 30%, #262626 50%, #1c1c1c 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.tile.r45 { aspect-ratio: 4 / 5; } .tile.r916 { aspect-ratio: 9 / 16; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform .8s ease; }
.tile.on { animation: none; }
.tile.on img { opacity: 1; transform: none; }
.tile .tag { position: absolute; left: 6px; top: 6px; z-index: 1; font: 600 .62rem var(--body); color: #ededed; background: rgba(0,0,0,.72); padding: 2px 6px; border-radius: 4px; opacity: 0; transition: opacity .4s .3s; }
.tile.on .tag { opacity: 1; }
.tile .play { position: absolute; z-index: 1; inset: 0; margin: auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.88); opacity: 0; transition: opacity .4s .4s; }
.tile .play::after { content: ""; position: absolute; left: 14px; top: 10px; border-left: 12px solid #171717; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tile.on .play { opacity: 1; }
.tile.stack { overflow: visible; }
.tile.stack::before, .tile.stack::after { content: ""; position: absolute; inset: -1px; border-radius: 6px; border: 1px solid #2e2e2e; background: #232323; transform: translate(6px, -6px); z-index: -1; opacity: 0; transition: opacity .4s; }
.tile.stack::after { transform: translate(12px, -12px); background: #1c1c1c; z-index: -2; }
.tile.stack.on::before, .tile.stack.on::after { opacity: 1; }
.tile.stack img { border-radius: 5px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.demo-cap { margin-top: 10px; border: 1px solid #2e2e2e; border-radius: 6px; background: #1c1c1c; padding: 9px 11px; font-size: .84rem; color: #a0a0a0; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; min-height: 106px; }
@media (max-width: 600px) { .demo-prompt { min-height: 122px; } .demo-cap { min-height: 150px; } }
.demo-cap.on { opacity: 1; transform: none; }
.demo-cap .hash { color: var(--violet-2); }
@media (max-width: 520px) { .demo-bee { width: 92px; right: -6px; top: -56px; } }

/* strip */
.strip { border-block: 1px solid var(--border); background: #111; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; padding-block: 22px; color: var(--muted); font: 600 .95rem var(--head); }
.strip span { display: inline-flex; align-items: center; gap: 10px; }
.strip i { font-style: normal; color: var(--yellow); }

/* sections */
section { position: relative; padding-block: 104px; }
.alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* cards with cursor spotlight */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; overflow: hidden; transition: border-color .25s, transform .25s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(245,182,42,.08), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); margin: 0; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(139,92,246,.14); color: var(--violet-2); border: 1px solid rgba(139,92,246,.32); font: 700 1.15rem var(--head); margin-bottom: 18px; }
.card.y .ico { background: rgba(245,182,42,.12); color: var(--yellow); border-color: rgba(245,182,42,.32); }

/* steps */
.steps .card .num { font: 800 2.6rem/1 var(--display); margin-bottom: 16px; background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* marquee gallery */
.gallery { padding-block: 96px 80px; overflow: hidden; }
.marquee { display: flex; gap: 16px; width: max-content; animation: scroll var(--dur, 60s) linear infinite; }
.marquee.rev { animation-direction: reverse; margin-top: 16px; }
.marquee:hover { animation-play-state: paused; }
.marquee figure { margin: 0; height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); flex: none; position: relative; }
.marquee figure img { height: 100%; width: auto; }
.marquee figcaption { position: absolute; left: 10px; bottom: 10px; font: 600 .72rem var(--head); color: #fff; background: rgba(0,0,0,.55); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
@keyframes scroll { to { transform: translateX(-50%); } }
.gallery-note { margin-top: 26px; font-size: .84rem; color: var(--dim); text-align: center; }
@media (max-width: 600px) { .marquee figure { height: 220px; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; }
.bento .w3 { grid-column: span 3; }
.bento .w4 { grid-column: span 4; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .card, .bento .w3, .bento .w4 { grid-column: span 2; } }
@media (min-width: 961px) { .bento .w4 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; } }
.swatches { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.swatches b { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--border-strong); }
.kit { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.kit .row { display: flex; align-items: center; gap: 12px; font: 600 .85rem var(--head); color: var(--muted); }
.kit .logo-chip { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; font: 800 1rem var(--display); color: #1E2433; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 14px; }
.cal i { aspect-ratio: 1; border-radius: 7px; background: rgba(255,255,255,.04); font: 600 .62rem var(--head); color: var(--dim); display: grid; place-items: center; font-style: normal; }
.cal i.hl { background: rgba(245,182,42,.18); color: var(--yellow-2); box-shadow: inset 0 0 0 1px rgba(245,182,42,.4); }
.cal i.hl2 { background: rgba(139,92,246,.2); color: var(--violet-2); box-shadow: inset 0 0 0 1px rgba(139,92,246,.45); }
.capbox { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: .86rem; color: var(--muted); }
.capbox .hash { color: var(--violet-2); }

/* comparison */
.compare .card { display: flex; flex-direction: column; gap: 6px; }
.compare .price-line { font: 700 1.9rem/1.1 var(--display); color: #fff; letter-spacing: -0.03em; margin: 6px 0 10px; }
.compare ul { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .95rem; }
.compare li { padding: 5px 0; }
.compare li.x::before { content: "✕"; color: #FF8A80; margin-right: 9px; font-weight: 700; }
.compare li.ok::before { content: "✓"; color: var(--green); margin-right: 9px; font-weight: 700; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinborder { to { --ang: 360deg; } }
.glowborder { border: 1.5px solid transparent !important; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, conic-gradient(from var(--ang, 0deg), var(--yellow), var(--yellow-2), var(--violet-2), var(--yellow)) border-box !important; box-shadow: 0 30px 90px -30px rgba(245,182,42,.45); animation: spinborder 6s linear infinite; }

/* pricing */
.price-card { display: flex; flex-direction: column; overflow: visible; }
.price-card .flag { position: absolute; top: -12px; left: 24px; background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); color: #11131F; font: 700 .72rem var(--head); padding: 4px 11px; border-radius: 999px; letter-spacing: .03em; }
.price { font: 800 2rem/1.1 var(--display); margin: 8px 0 2px; color: #fff; letter-spacing: -0.04em; white-space: nowrap; }
.price small { display: block; margin-top: 6px; font: 500 .88rem var(--body); color: var(--muted); letter-spacing: 0; }
.rsd { color: var(--dim); font-size: .88rem; margin-bottom: 18px; min-height: 1.4em; }
.price-card ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; color: var(--text); }
.price-card li { padding: 6px 0 6px 28px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: rgba(245,182,42,.18) 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='%23FFD56E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.price-note { margin-top: 26px; font-size: .86rem; color: var(--dim); text-align: center; max-width: 82ch; margin-inline: auto; }

/* faq */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary { cursor: pointer; font: 600 1.02rem var(--head); list-style: none; display: flex; justify-content: space-between; gap: 16px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--yellow); font: 600 1.35rem/1 var(--head); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* cta */
.cta { position: relative; overflow: hidden; border: 1px solid rgba(245,182,42,.35); border-radius: 34px; padding: 60px; display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: center; background: radial-gradient(90% 140% at 0% 0%, rgba(245,182,42,.16), transparent 55%), radial-gradient(70% 120% at 100% 100%, rgba(139,92,246,.12), transparent 60%), var(--bg-2); }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.cta p { color: var(--muted); font-size: 1.08rem; }
.cta img { mix-blend-mode: lighten; animation: hover 5s ease-in-out infinite; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 36px 22px; } .cta img { max-width: 170px; order: -1; } }

/* flying bee */
.flybee { position: fixed; z-index: 25; width: 64px; left: 0; top: 0; pointer-events: none; mix-blend-mode: lighten; opacity: 0; transition: opacity .6s; will-change: transform; }
.flybee.show { opacity: 1; }
@media (max-width: 900px) { .flybee { display: none; } }

/* reveal on scroll (only when JS is running) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* footer */
footer { border-top: 1px solid var(--border); padding-block: 40px; font-size: .9rem; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: #fff; }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding-block: 56px 88px; color: #d6d6d6; }
.legal h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.legal h2 { font-family: var(--head); font-size: 1.25rem; margin-top: 2.2em; letter-spacing: -0.01em; }
.legal .updated { color: var(--dim); font-size: .9rem; }
.legal li { margin-bottom: .45em; }
.legal strong { color: #fff; }
.todo { background: rgba(255,90,90,.12); border: 1px dashed #FF8A80; color: #FFB4AD; padding: 2px 6px; border-radius: 6px; font-family: ui-monospace, monospace; font-size: .85em; }

/* mobile + motion safety */
.hero .wrap > *, .grid > *, .cta > *, .bento > * { min-width: 0; }
h1, h2, h3, p { overflow-wrap: break-word; }
@media (max-width: 520px) {
  .top .btn-small { display: none; }
  .wordmark { font-size: 1.25rem; }
  section { padding-block: 72px; }
  .hero { padding-block: 92px 64px; }
  .waitlist { border-radius: 22px; }
  .waitlist .btn { width: 100%; }
  .demo-out { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.nav .btn-primary, .nav .btn-primary:hover { color: #11131F; }

/* ---------- soft sections: lifted, muted dark (reading areas) ---------- */
.light {
  --ink: #ededed; --ink-2: #a3a3a3; --line: #2e2e2e; --line-2: #3d3d3d;
  --card: #1c1c1c; --card-2: #232323; --well: #171717;
  background: #171717; color: var(--ink); border-block: 1px solid rgba(255,255,255,.05);
}
.light.light-2 { background: #1b1b1b; }
.light h2, .light h3, .light .price, .light .faq summary { color: #fff; }
.light .section-sub, .light .card p, .light .rsd, .light .price small, .light .faq details p, .light .price-note, .light .kit .row { color: var(--ink-2); }
.light .eyebrow { color: var(--yellow-2); }
.light .card { background: var(--card); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 18px 40px -24px rgba(0,0,0,.6); }
.light .card:hover { border-color: var(--line-2); background: var(--card-2); }
.light .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200px), rgba(245,182,42,.12), transparent 45%); }
.light .card .ico { background: rgba(139,92,246,.16); color: var(--violet-2); border-color: rgba(139,92,246,.35); }
.light .card.y .ico { background: rgba(245,182,42,.14); color: var(--yellow); border-color: rgba(245,182,42,.35); }
.light .steps .card .num { background: linear-gradient(180deg, var(--yellow-2), var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.light .kit, .light .capbox { background: var(--well); border-color: var(--line); color: var(--ink-2); }
.light .capbox .hash { color: var(--violet-2); }
.light .swatches b { border-color: var(--line-2); }
.light .cal i { background: rgba(255,255,255,.05); color: #6f6f6f; }
.light .cal i.hl { background: rgba(245,182,42,.2); color: var(--yellow-2); box-shadow: inset 0 0 0 1px rgba(245,182,42,.45); }
.light .cal i.hl2 { background: rgba(139,92,246,.22); color: var(--violet-2); box-shadow: inset 0 0 0 1px rgba(139,92,246,.45); }
.light .glowborder { background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--ang, 0deg), var(--yellow), var(--yellow-2), var(--violet-2), var(--yellow)) border-box !important; box-shadow: 0 30px 80px -30px rgba(245,182,42,.45); }
.light .price-card ul { color: var(--ink); }
.light .faq details { background: var(--card); border-color: var(--line); }
.light .faq details[open] { background: var(--card-2); border-color: var(--line-2); }
.light .faq summary::after { color: var(--yellow); }
.light a { color: var(--violet-2); }

/* ---------- headline rotator ---------- */
.rot { display: inline-block; position: relative; vertical-align: bottom; }
.rot-in { display: inline-block; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s, filter .5s; }
.rot-in.out { transform: translateY(-40%); opacity: 0; filter: blur(6px); }
.rot-in.pre { transform: translateY(40%); opacity: 0; filter: blur(6px); transition: none; }

/* ---------- industry tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tab { border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); color: var(--muted); font: 600 .86rem var(--head); padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.tab:hover { color: #fff; border-color: rgba(245,182,42,.5); }
.tab.on { background: var(--yellow); color: #11131F; border-color: var(--yellow); box-shadow: 0 6px 20px -8px rgba(245,182,42,.8); }

/* ---------- before / after ---------- */
.ba { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 40px 120px -40px rgba(245,182,42,.35); user-select: none; }
.ba > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: #11131F; display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-lbl { position: absolute; top: 14px; font: 700 .74rem var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.ba-lbl.l { left: 14px; } .ba-lbl.r { right: 14px; background: var(--yellow); color: #11131F; }

/* ---------- kinetic band ---------- */
.kinetic { overflow: hidden; padding-block: 28px; border-block: 1px solid var(--border); background: var(--bg); }
.kin-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: scroll 40s linear infinite; }
.kin-track span { font: 800 clamp(2.6rem, 7vw, 5.5rem)/1 var(--display); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.kin-track span:nth-of-type(3n+2) { color: var(--yellow); -webkit-text-stroke: 0; }
.kin-track i { font-style: normal; color: var(--violet-2); font-size: 2rem; }

/* ---------- phone story ---------- */
.ps { background: var(--bg); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ps-step { padding: 26px 0 26px 24px; border-left: 2px solid var(--border); min-height: 46vh; display: flex; flex-direction: column; justify-content: center; transition: border-color .3s, opacity .3s; opacity: .45; }
.ps-step.on { border-color: var(--yellow); opacity: 1; }
.ps-step p { color: var(--muted); max-width: 40ch; }
.ps-n { font: 800 1rem var(--display); color: var(--yellow); margin-bottom: 8px; }
.ps-phone-wrap { position: sticky; top: 14vh; display: grid; place-items: center; }
.phone { position: relative; width: min(320px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #2a2a2a, #101010); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 120px -30px rgba(245,182,42,.35), 0 30px 80px -20px rgba(0,0,0,.8); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #050505; border-radius: 999px; z-index: 2; }
.ps-m { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover; border-radius: 36px; opacity: 0; transition: opacity .6s; background: #000; }
.ps-m.on { opacity: 1; }
@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; }
  .ps-phone-wrap { position: relative; top: 0; order: -1; }
  .ps-step { min-height: 0; opacity: 1; }
}

/* ---------- calculator ---------- */
.calc { max-width: 760px; margin: 0 auto; padding: 32px; }
.calc-lbl { display: flex; justify-content: space-between; align-items: baseline; font: 600 1.05rem var(--head); color: #fff; }
.calc-n { font: 800 2rem var(--display); color: var(--yellow); }
.calc-range { width: 100%; margin: 16px 0 24px; accent-color: var(--yellow); height: 6px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-out div { background: #171717; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; }
.calc-out b { display: block; font: 800 1.7rem/1.1 var(--display); color: #fff; letter-spacing: -0.03em; }
.calc-out span { font-size: .85rem; color: #a3a3a3; }
.calc-note { margin: 16px 0 0; font-size: .82rem; color: #6f6f6f !important; }
@media (max-width: 640px) { .calc-out { grid-template-columns: 1fr; } }

/* ---------- trust row ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font: 600 .92rem var(--head); color: #c4c4c4; }
.trust span::before { content: "✓"; color: var(--yellow); margin-right: 8px; font-weight: 800; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40; transform: translateY(140%); transition: transform .35s ease; display: none; }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* ---------- grain ---------- */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- gallery tilt ---------- */
.marquee figure { transition: transform .35s ease, border-color .35s; }
.marquee figure:hover { transform: translateY(-6px) rotate(-1deg) scale(1.02); border-color: rgba(245,182,42,.5); }

.rot { display: block; min-height: 2.2em; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }

/* feed post mock inside phone */
.ps-m.feed { background: #000; display: flex; flex-direction: column; padding-top: 46px; overflow: hidden; }
.feed-top { display: flex; align-items: center; gap: 9px; padding: 8px 12px; font: 600 .78rem var(--head); color: #fff; }
.feed-top i { margin-left: auto; font-style: normal; color: #aaa; letter-spacing: 1px; }
.feed-av { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--yellow), #ff7a59, var(--violet-2), var(--yellow)); box-shadow: inset 0 0 0 2px #000; }
.ps-m.feed img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; flex: none; }
.feed-act { display: flex; gap: 14px; padding: 10px 12px 4px; color: #fff; }
.feed-act span { display: inline-flex; }
.feed-act .bm { margin-left: auto; }
.feed-cap { margin: 0; padding: 2px 12px 12px; font-size: .74rem; line-height: 1.45; color: #e8e8e8; }
.feed-cap b { font-family: var(--head); }
.feed-cap .hash { color: #8fb4ff; }

/* =====================================================================================================
   Lower half (from "how it works" down): same compact graphite style as the app (brand/DESIGN.md "App UI").
   Headline fonts stay; surfaces, cards, icons and numbers follow the app.
   ===================================================================================================== */
.appx { --g-bg: #141414; --g-panel: #1c1c1c; --g-panel-2: #1f1f1f; --g-card: #232323; --g-line: #2e2e2e; --g-line-2: #3d3d3d; --g-text: #ededed; --g-muted: #a0a0a0; --g-dim: #6f6f6f; --g-ok: #3ECF8E;
  background: var(--g-bg) !important; color: var(--g-text); border-block: 0 !important; border-top: 1px solid #222 !important; padding-block: 88px; }
.appx.light-2, .appx.alt { background: #111 !important; }
.appx-cta { border-top: 0 !important; }
.appx .eyebrow { margin-bottom: 14px; }
.appx .eyebrow::before { display: none; }
.appx .section-sub { color: var(--g-muted); font-size: 1rem; margin-bottom: 40px; }
.appx .lc { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* panels instead of glossy cards */
.appx .card { background: var(--g-panel) !important; border: 1px solid var(--g-line) !important; border-radius: 8px; padding: 18px; box-shadow: none !important; transform: none !important; }
.appx .card:hover { border-color: var(--g-line-2) !important; background: var(--g-panel) !important; }
.appx .card::before { display: none; }
.appx .card p { color: var(--g-muted); font-size: .94rem; }
.appx h3 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; color: var(--g-text); }
.appx .card .ico, .appx .card.y .ico { width: 34px; height: 34px; border-radius: 7px; margin-bottom: 14px; background: var(--g-card) !important; border: 1px solid var(--g-line-2) !important; color: var(--g-muted) !important; }
.appx .card.y .ico { color: var(--yellow) !important; }
.appx .grid { gap: 12px; }

/* steps: panel with a header strip */
.appx .step { padding: 0; overflow: hidden; }
.appx .step-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--g-line); background: var(--g-panel-2); }
.appx .step-h .ico { width: 30px; height: 30px; margin: 0; display: grid; place-items: center; border-radius: 7px; background: var(--g-card); border: 1px solid var(--g-line-2); color: var(--yellow); }
.appx .step .num, .appx.light .steps .card .num { margin: 0; font: 500 .8rem ui-monospace, "SF Mono", Menlo, monospace; color: var(--g-dim); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.appx .step-b { padding: 16px 18px 18px; }

/* bento mocks look like the app */
.appx .bento { gap: 12px; }
.appx .kit, .appx .capbox { background: #171717 !important; border: 1px solid var(--g-line) !important; border-radius: 6px; color: var(--g-muted) !important; }
.appx .kit { padding: 0; gap: 0; overflow: hidden; }
.appx .kit .row { padding: 9px 12px; border-bottom: 1px solid var(--g-line); font: 500 .82rem var(--body); color: var(--g-muted); }
.appx .kit .logo-chip { width: 30px; height: 30px; border-radius: 6px; font-size: .85rem; }
.appx .swatches { gap: 0; margin: 0; flex-wrap: nowrap; }
.appx .swatches b { flex: 1; height: 30px; border: 0; border-radius: 0; }
.appx .capbox { border-radius: 6px; font-size: .84rem; }
.appx .cal { gap: 4px; }
.appx .cal i { border-radius: 4px; background: var(--g-card) !important; color: var(--g-dim) !important; box-shadow: none; font: 500 .62rem ui-monospace, Menlo, monospace; }
.appx .cal i.hl { background: rgba(245,182,42,.12) !important; color: var(--yellow-2) !important; box-shadow: inset 0 0 0 1px rgba(245,182,42,.4) !important; }
.appx .cal i.hl2 { background: rgba(139,92,246,.14) !important; color: var(--violet-2) !important; box-shadow: inset 0 0 0 1px rgba(139,92,246,.4) !important; }

/* check / x icons (masks) */
.appx .compare li::before, .appx.compare li::before, .appx .price-card li::before, .appx .trust span::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 9px; vertical-align: -2px; background: var(--g-ok); border-radius: 0; box-shadow: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.appx.compare li.x::before { background: #F87171;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.appx.compare .card { gap: 4px; }
.appx.compare .price-line, .appx .price { font: 500 1.7rem/1.15 ui-monospace, "SF Mono", Menlo, monospace !important; letter-spacing: -0.02em; color: var(--g-text); }
.appx.compare li { font-size: .92rem; padding: 4px 0; color: var(--g-muted); }

/* highlighted card (Contenzy / Pro): honey outline like the app's Pro plan, no spinning glow */
.appx .glowborder { animation: none; background: var(--g-panel) !important; border: 1px solid rgba(245,182,42,.55) !important; box-shadow: 0 0 0 3px rgba(245,182,42,.08), 0 30px 80px -40px rgba(245,182,42,.35) !important; }

/* calculator: panel + stat strip */
.appx .calc { max-width: 760px; padding: 0 !important; overflow: hidden; }
.appx .calc-lbl { padding: 14px 18px; border-bottom: 1px solid var(--g-line); background: var(--g-panel-2); font: 600 .95rem var(--body); color: var(--g-text); align-items: center; }
.appx .calc-n { font: 500 1.4rem ui-monospace, Menlo, monospace; color: var(--yellow); }
.appx .calc-range { display: block; width: calc(100% - 36px); margin: 18px; }
.appx .calc-out { gap: 0; margin: 0 18px; border: 1px solid var(--g-line); border-radius: 6px; overflow: hidden; }
.appx .calc-out div { background: #171717 !important; border: 0 !important; border-radius: 0; border-right: 1px solid var(--g-line) !important; padding: 12px 14px; }
.appx .calc-out div:last-child { border-right: 0 !important; }
.appx .calc-out b { font: 500 1.35rem/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--g-text); }
.appx .calc-out span { color: var(--g-muted); font-size: .8rem; }
.appx .calc-note { margin: 14px 18px 18px; color: var(--g-dim) !important; }
@media (max-width: 640px) { .appx .calc-out div { border-right: 0 !important; border-bottom: 1px solid var(--g-line) !important; } .appx .calc-out div:last-child { border-bottom: 0 !important; } }

/* pricing like the app's Credits page */
.appx .price-card { padding: 0; overflow: visible; }
.appx .price-card h3 { padding: 16px 18px 0; margin: 0; }
.appx .price { margin: 6px 18px 0; white-space: nowrap; }
.appx .price small { font: 500 .8rem var(--body); color: var(--g-muted); margin-top: 3px; }
.appx .rsd { margin: 2px 18px 14px; color: var(--g-dim); font: 500 .8rem ui-monospace, Menlo, monospace; padding-bottom: 14px; border-bottom: 1px solid var(--g-line); }
.appx .price-card ul { padding: 0 18px 18px; font-size: .9rem; color: var(--g-muted) !important; }
.appx .price-card li { padding: 5px 0 5px 24px; }
.appx .price-card li::before { position: absolute; left: 0; top: 9px; margin: 0; }
.appx .price-card .flag { top: -10px; left: 16px; border-radius: 5px; font: 600 .7rem var(--body); padding: 3px 8px; background: var(--yellow); }
.appx .trust { font: 500 .88rem var(--body); color: var(--g-muted); }
.appx .price-note { color: var(--g-dim); }

/* FAQ: one panel, rows split by lines, chevron */
.appx .faq { border: 1px solid var(--g-line); border-radius: 8px; overflow: hidden; background: var(--g-panel); }
.appx .faq details { margin: 0; border: 0 !important; border-radius: 0; border-top: 1px solid var(--g-line) !important; background: transparent !important; padding: 14px 18px; }
.appx .faq details:first-child { border-top: 0 !important; }
.appx .faq details[open] { background: #202020 !important; }
.appx .faq summary { font: 500 .98rem var(--body); color: var(--g-text); align-items: center; }
.appx .faq summary::after { content: ""; width: 16px; height: 16px; flex: none; background: var(--g-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.appx .faq details[open] summary::after { transform: rotate(180deg); }
.appx .faq details p { color: var(--g-muted); font-size: .94rem; }
.appx.light a { color: var(--violet-2); }

/* closing CTA keeps its glow, on graphite */
.appx .cta { border-radius: 14px; border-color: rgba(245,182,42,.3); background: radial-gradient(90% 140% at 0% 0%, rgba(245,182,42,.16), transparent 55%), radial-gradient(70% 120% at 100% 100%, rgba(139,92,246,.12), transparent 60%), #171717; }
footer { background: #111; border-top: 1px solid #222; }
/* soft hand-over from the (navy) top half into the graphite lower half */

/* ---------- AI assistant: chat that sets up the studio (mirrors the app's assistant tab) ---------- */
.ai-sec { background: radial-gradient(50% 60% at 78% 50%, rgba(139,92,246,.07), transparent 70%), var(--bg); padding-block: 104px; }
.ai-sec .lc { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-sec .num { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.ai-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.eyebrow.ai { border-color: rgba(139,92,246,.35); background: rgba(139,92,246,.1); color: var(--violet-2); gap: 6px; }
.eyebrow.ai .lc { width: 13px; height: 13px; }
.ai-copy .section-sub { margin: 0 0 28px; }
.ai-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ai-pts li { display: flex; gap: 14px; align-items: flex-start; }
.ai-pts .ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 7px; background: #232323; border: 1px solid #3d3d3d; color: #a0a0a0; }
.ai-pts li:last-child .ico { color: var(--yellow); }
.ai-pts h3 { font: 600 1.02rem var(--body); margin: 0 0 2px; }
.ai-pts p { margin: 0; color: var(--muted); font-size: .95rem; }
.ai-note { margin: 22px 0 0; font-size: .84rem; color: var(--dim); }

.ai-in { border-radius: 13px; background: #171717; overflow: hidden; }
.ai-body { display: grid; grid-template-columns: minmax(0, 1fr) 216px; }
.ai-chat { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-right: 1px solid #2e2e2e; background-image: radial-gradient(#262626 1px, transparent 1px); background-size: 16px 16px; }
.ai-tabs { display: flex; align-items: center; gap: 4px; font: 500 .74rem var(--body); color: #a0a0a0; }
.ai-tabs span { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 6px; }
.ai-tabs span.on { background: #232323; color: #ededed; box-shadow: inset 0 0 0 1px #2e2e2e; }
.ai-tabs span.on .lc { color: var(--violet-2); }
.ai-tabs .lc { width: 13px; height: 13px; }
.ai-tabs em { margin-left: auto; font-style: normal; color: #6f6f6f; font-size: .7rem; white-space: nowrap; }
.ai-log { display: grid; gap: 10px; align-content: start; }
.ai-a { position: relative; display: flex; gap: 9px; }
.ai-a p, .ai-u { margin: 0; font: 400 .8rem/1.55 var(--body); color: #ededed; }
.ai-a p { padding-top: 2px; transition: opacity .35s; }
.ai-hello { padding: 10px; border: 1px solid #2e2e2e; border-radius: 8px; background: #1c1c1c; }
.ai-av { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 6px; border: 1px solid rgba(139,92,246,.4); background: rgba(139,92,246,.15); color: var(--violet-2); }
.ai-av .lc { width: 12px; height: 12px; }
.ai-u { justify-self: end; max-width: 86%; padding: 7px 11px; border: 1px solid #3d3d3d; border-radius: 10px 10px 3px 10px; background: #232323; }
.ai-u-ph { display: flex; align-items: center; gap: 9px; }
.ai-u-ph img { width: 32px; height: 40px; flex: none; object-fit: cover; border-radius: 4px; border: 1px solid #3d3d3d; }
.ai-think { position: absolute; left: 31px; top: 3px; display: inline-flex; align-items: center; gap: 6px; font: 500 .74rem var(--body); color: #a0a0a0; opacity: 0; transition: opacity .25s; pointer-events: none; }
.ai-think .spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(179,157,255,.25); border-top-color: var(--violet-2); animation: spin .8s linear infinite; }
.ai-a.think p { opacity: 0; }
.ai-a.think .ai-think { opacity: 1; }
.ai-ready { margin-left: 31px; padding: 10px 12px; border: 1px solid rgba(245,182,42,.4); border-radius: 8px; background: rgba(245,182,42,.05); }
.ai-ready .t { margin: 0 0 2px; font: 600 .72rem var(--body); color: var(--yellow-2); }
.ai-ready .s { margin: 0 0 9px; font: 400 .8rem var(--body); color: #ededed; }
.ai-ready .b { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-create, .ai-tweak { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 6px; font: 600 .76rem var(--body); white-space: nowrap; transition: transform .15s, box-shadow .3s; }
.ai-create { background: var(--yellow); color: #11131F; }
.ai-create .lc, .ai-tweak .lc { width: 13px; height: 13px; }
.ai-tweak { border: 1px solid #3d3d3d; color: #ededed; }
.ai-create.pulse { box-shadow: 0 0 0 4px rgba(245,182,42,.18), 0 8px 24px -8px rgba(245,182,42,.8); }
.ai-create.press { transform: scale(.94); }
.ai-comp { display: flex; align-items: flex-end; gap: 8px; height: 58px; padding: 6px; border: 1px solid #2e2e2e; border-radius: 8px; background: #121212; transition: border-color .2s; }
.ai-comp.typing { border-color: rgba(139,92,246,.6); }
.ai-typed { flex: 1; align-self: stretch; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 2px 6px; font: 400 .8rem/1.5 var(--body); color: #ededed; }
.ai-typed span:empty::before { content: attr(data-ph); color: #6f6f6f; }
.ai-comp.typing .ai-typed span::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--violet-2); animation: blink 1s steps(1) infinite; }
.ai-send { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--violet); color: #fff; opacity: .35; transition: opacity .2s; }
.ai-comp.has .ai-send { opacity: 1; }
.ai-studio { padding: 12px; background: #141414; }
.ai-st-h { margin: 2px 0 10px; font: 500 .74rem var(--body); color: #a0a0a0; }
.ai-f { position: relative; display: grid; gap: 3px; min-height: 52px; margin-bottom: 6px; padding: 7px 10px; border: 1px solid #2e2e2e; border-radius: 6px; background: #1c1c1c; transition: background .6s, border-color .6s; }
.ai-f .k { display: inline-flex; align-items: center; gap: 6px; font: 500 .68rem var(--body); color: #6f6f6f; }
.ai-f .k .lc { width: 12px; height: 12px; }
.ai-f .v { display: flex; align-items: center; gap: 7px; min-height: 20px; font: 500 .78rem var(--body); color: #ededed; transition: opacity .35s; }
.ai-f .v img { width: 16px; height: 20px; object-fit: cover; border-radius: 3px; }
.ai-cost .num { color: var(--yellow); font-weight: 600; }
.ai-f.flash { border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.1); }
.ai-bal { transition: color .4s; }

/* replay states: only when main.js runs the animation (no JS / reduced motion = final state) */
.ai-play [data-s] { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.ai-play [data-s].on { opacity: 1; transform: none; }
.ai-play .ai-f .v { opacity: 0; }
.ai-play .ai-f.on .v { opacity: 1; }
.ai-play .ai-f::after { content: "—"; position: absolute; left: 10px; bottom: 8px; font-size: .78rem; color: #4a4a4a; transition: opacity .2s; }
.ai-play .ai-f.on::after { opacity: 0; }
.ai-play.fade .ai-log [data-s], .ai-play.fade .ai-f .v { opacity: 0; }

@media (max-width: 960px) { .ai-grid { grid-template-columns: 1fr; gap: 40px; } .ai-demo { max-width: 620px; width: 100%; margin-inline: auto; } }
@media (max-width: 640px) {
  .ai-body { grid-template-columns: 1fr; }
  .ai-chat { border-right: 0; border-bottom: 1px solid #2e2e2e; }
  .ai-studio { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ai-st-h { grid-column: 1 / -1; margin-bottom: 4px; }
  .ai-f { margin: 0; }
  .ai-tabs em { display: none; }
}
