:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --card: #171513;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f0e8;
  --muted: #8f877d;
  --orange: #ff6b1f;
  --orange-2: #ffa072;
  --orange-3: #b53d00;
  --green: #3ddc84;
  --grad: linear-gradient(135deg, var(--orange-2), var(--orange) 50%, var(--orange-3));
  --display: "Space Grotesk", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
.mono { font-family: var(--mono); letter-spacing: 0.08em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

.dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 10px var(--orange);
  vertical-align: middle; animation: blink 1.6s infinite;
}
.dot--green { background: var(--green); box-shadow: 0 0 10px var(--green); }
@keyframes blink { 50% { opacity: 0.3; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad); color: #1a0b02; font-weight: 600;
  padding: 12px 20px; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(255, 107, 31, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255, 107, 31, 0.4), inset 0 1px 0 rgba(255,255,255,.3); }
.btn .mono { font-size: 0.8em; opacity: 0.8; }
.btn--sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn--lg { padding: 20px 28px; font-size: 15px; border-radius: 6px; box-shadow: 0 20px 60px rgba(255, 107, 31, 0.45); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { border-color: rgba(255,255,255,.25); box-shadow: none; }
.btn--block { width: 100%; padding: 15px; font-size: 16px; }

/* NAV */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  width: min(1120px, 100% - 32px); margin-inline: auto;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px 8px 14px; border-radius: 12px;
  background: rgba(20, 18, 16, 0.7); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 15px; }
.brand__logo {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad); color: #1a0b02;
}
.brand__logo--lg { width: 48px; height: 48px; border-radius: 12px; }
.nav__links { display: flex; gap: 26px; font-size: 13px; color: var(--muted); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--orange); transform: translateX(-50%);
}
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__login { font-size: 13px; color: var(--muted); }
.nav__login:hover { color: var(--text); }
.nav__burger { display: none; width: 32px; height: 32px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__burger span { display: block; height: 1.5px; width: 18px; margin-inline: auto; background: var(--text); }
.nav__mobile {
  margin-top: 8px; padding: 12px; border-radius: 12px; background: rgba(20,18,16,.95);
  border: 1px solid var(--line); display: grid; gap: 4px;
}
.nav__mobile[hidden], .cookies[hidden] { display: none; }
.nav__mobile a { padding: 10px; border-radius: 8px; }
.nav__mobile a:hover { background: rgba(255,255,255,.05); }

/* HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero__glow {
  position: absolute; right: -10%; bottom: -30%; width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(255, 107, 31, 0.18), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 110px 0 60px; }
.hero__tags { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11px; color: var(--muted); letter-spacing: 0.3em; }
.hero__title { font-family: var(--display); line-height: 0.9; display: flex; flex-direction: column; margin: auto 0; }
.hero__small { font-weight: 500; font-size: clamp(30px, 5vw, 54px); color: var(--muted); letter-spacing: -0.01em; }
.hero__big {
  font-weight: 700; font-style: italic; font-size: clamp(88px, 17vw, 220px);
  letter-spacing: -0.04em; transform: skewX(-6deg); transform-origin: left;
  background: linear-gradient(180deg, #fff 30%, #d9cfc1); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hero__meta { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--muted); letter-spacing: 0.3em; }

/* SECTIONS */
.section { padding: 110px 0; position: relative; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--orange); margin-bottom: 18px; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; }
.h2 em { font-style: italic; color: var(--orange); }
.lead { color: var(--muted); margin-top: 10px; }

/* CAPS */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; }
.cap { padding: 22px 4px; border-top: 1px solid var(--line); }
.cap__head { display: flex; justify-content: space-between; color: var(--orange); margin-bottom: 14px; font-size: 12px; }
.cap h3 { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.cap p { color: var(--muted); font-size: 14px; }

/* EDITOR / DEMO */
.editor {
  margin-top: 40px; display: grid; grid-template-columns: 170px 1fr 200px; gap: 12px;
  padding: 14px; border-radius: 18px;
  background: linear-gradient(160deg, #1b1830, #0f0e14);
  border: 1px solid rgba(120, 110, 255, 0.15);
  box-shadow: 0 40px 120px rgba(80, 60, 200, 0.18);
}
.editor__panel { background: rgba(10, 10, 16, 0.7); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 13px; }
.editor__label { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.editor__layers li {
  padding: 7px 9px; border-radius: 7px; margin-bottom: 4px; cursor: pointer; color: var(--muted);
  border: 1px solid transparent; transition: all .15s; user-select: none;
}
.editor__layers li.is-on { color: var(--text); background: rgba(255, 107, 31, 0.1); border-color: rgba(255, 107, 31, 0.3); }
.editor__stage { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.editor__toolbar { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 2px 4px; }
.editor__status { color: var(--orange); }
.editor__canvasWrap { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.editor__canvasWrap.is-drag { outline: 2px dashed var(--orange); outline-offset: -8px; }
#demoCanvas { width: 100%; height: 100%; display: block; }
.editor__drop {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  font-size: 12px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.15); backdrop-filter: blur(6px);
  transition: border-color .2s;
}
.editor__drop:hover { border-color: var(--orange); }
.editor__drop .mono { color: var(--orange); }
.editor__transport { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.transport__btn { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #1a0b02; font-size: 12px; flex-shrink: 0; }
.transport__bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.transport__fill { height: 100%; width: 0; background: var(--grad); }
.transport__time { font-size: 11px; color: var(--muted); }
.prop { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.prop input[type="text"] {
  background: #0a0a0f; border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; color: var(--text); font: inherit;
}
.prop input[type="color"] { width: 100%; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: none; cursor: pointer; }
.prop input[type="range"] { accent-color: var(--orange); width: 100%; }

.demo__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); }

/* GALLERY */
.gallery { overflow: hidden; padding-bottom: 80px; }
.outline {
  font-family: var(--display); font-style: italic; font-weight: 700; white-space: nowrap;
  font-size: clamp(36px, 8.8vw, 130px); letter-spacing: -0.03em; line-height: 1; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange); margin-bottom: 30px;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: scroll 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tile { width: 260px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: #111; }
.tile canvas { width: 100%; height: 100%; display: block; }

/* VOICES */
.voices { text-align: center; display: flex; flex-direction: column; align-items: center; }
.voices .eyebrow { align-self: flex-start; }
.voices .h2, .voices .lead { align-self: flex-start; text-align: left; }
.voices__orbit { position: relative; width: min(340px, 100%); height: 130px; margin: 60px auto 30px; }
.voices__orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.avatar {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.18); background: var(--bg-2); color: var(--text);
  transition: all .35s;
}
.avatar.is-active { width: 64px; height: 64px; background: var(--grad); color: #1a0b02; border-color: transparent; box-shadow: 0 0 40px rgba(255,107,31,.5); }
.voices__quote {
  font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(20px, 2.6vw, 28px);
  max-width: 620px; line-height: 1.3; min-height: 3.9em; transition: opacity .3s;
}
.voices__who { margin-top: 14px; font-size: 11px; color: var(--muted); letter-spacing: 0.25em; }

/* PRICING */
.toggle { display: flex; justify-content: center; gap: 6px; margin: 34px 0 30px; }
.toggle__opt { padding: 10px 22px; border-radius: 10px; color: var(--muted); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.toggle__opt.is-active { background: var(--grad); color: #1a0b02; font-weight: 600; }
.pill { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: rgba(61, 220, 132, 0.15); color: var(--green); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.plan {
  position: relative; padding: 26px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
}
.plan--hot {
  padding-block: 40px; background: linear-gradient(180deg, rgba(255,107,31,.18), rgba(255,107,31,.04));
  border-color: rgba(255, 107, 31, 0.45); box-shadow: 0 30px 80px rgba(255, 107, 31, 0.15);
}
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--grad); color: #1a0b02; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 8px;
}
.plan__name { font-size: 11px; color: var(--muted); }
.plan__price span { font-family: var(--display); font-size: 34px; font-weight: 700; }
.plan__price small { color: var(--muted); margin-left: 6px; font-size: 13px; }
.plan__desc, .plan__plus { color: var(--muted); font-size: 13px; }
.plan__desc strong { color: var(--text); }
.plan__list { margin: 14px 0 24px; display: grid; gap: 10px; font-size: 14px; }
.plan__list li { display: flex; gap: 10px; align-items: center; }
.plan__list li::before {
  content: "✓"; display: grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; color: var(--orange); border: 1px solid rgba(255,107,31,.5);
}

/* STEPS */
.steps { margin-top: 40px; }
.step {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: start;
  padding: 24px 0 24px 12px; border-top: 1px solid var(--line); border-left: 2px solid transparent;
  transition: border-color .3s, background .3s;
}
.step:hover { border-left-color: var(--orange); background: linear-gradient(90deg, rgba(255,107,31,.06), transparent); }
.step__n, .step__t { font-size: 13px; color: var(--muted); padding-top: 8px; }
.step h3 { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 14px; max-width: 480px; }

/* COMPARE */
.compare { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line); }
.compare__col { padding: 20px 20px 0 0; }
.compare__col--good { padding-left: 20px; border-left: 1px solid var(--line); }
.compare__head { font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.compare__col--good .compare__head { color: var(--orange); }
.compare li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.compare__col--good li { color: var(--text); font-style: italic; font-weight: 500; }
.compare li span { color: var(--muted); width: 14px; }
.compare__col--good li span { color: var(--orange); }

/* FAQ */
.faq__group { font-size: 12px; color: var(--orange); margin: 44px 0 6px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; gap: 22px; padding: 18px 40px 18px 0;
  cursor: pointer; font-weight: 500; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; color: var(--orange); font-size: 24px; font-weight: 300; transition: transform .25s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary .mono { font-size: 12px; color: var(--muted); }
.faq p { color: var(--muted); padding: 0 40px 20px 68px; font-size: 14px; }

/* NOTE + SIDE A */
.note {
  display: flex; align-items: center; gap: 10px; width: fit-content; margin: 20px auto 60px;
  padding: 10px 16px; border-radius: 10px; font-size: 12px; color: var(--muted);
  background: var(--card); border: 1px solid var(--line);
}
.sidea { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); letter-spacing: .25em; padding-bottom: 80px; }
.sidea b { color: var(--text); font-weight: 500; }
.sidea a { color: var(--orange); }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding-top: 70px; background: linear-gradient(180deg, transparent, #090807); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tag { margin-top: 18px; font-family: var(--display); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.15; }
.footer__cols { display: flex; gap: 70px; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer__cols a:hover { color: var(--orange); }
.footer__h { font-size: 11px; color: var(--orange); margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; padding: 50px 0 30px; font-size: 11px; color: var(--muted); letter-spacing: .25em; }

/* COOKIES */
.cookies {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(340px, calc(100% - 32px));
  padding: 18px; border-radius: 12px; background: rgba(16, 15, 13, 0.95); border: 1px solid var(--line);
  font-size: 12px; backdrop-filter: blur(10px);
}
.cookies__h { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.cookies a { color: var(--orange); text-decoration: underline; }
.cookies__btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav__links, .nav__login { display: none; }
  .nav__burger { display: flex; }
  .caps, .plans { grid-template-columns: 1fr; }
  .plan--hot { padding-block: 32px; }
  .editor { grid-template-columns: 1fr; }
  .editor__layers ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .editor__layers li { margin: 0; }
  .editor__props { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .editor__drop { font-size: 11px; white-space: normal; text-align: center; width: max-content; max-width: 90%; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .nav__actions .btn--sm .mono { display: none; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .btn--lg { width: 100%; }
  .step { grid-template-columns: 32px 1fr; }
  .step__t { display: none; }
  .compare { grid-template-columns: 1fr; }
  .compare__col--good { padding-left: 0; border-left: 0; margin-top: 20px; }
  .faq p { padding-left: 0; padding-right: 0; }
  .tile { width: 200px; }
  .footer__cols { gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
