/* ============ ROBIN — batman × space landing ============ */

:root {
  --bg: #030308;
  --bg-soft: #0a0a14;
  --gold: #f5c542;
  --gold-hot: #ffdf8a;
  --gold-deep: #b8860b;
  --ink: #e8e6df;
  --ink-dim:  #e4e3e8;
  --ink-dim-2: #9a97a8;
  --line: rgba(245, 197, 66, 0.16);
  --glass: rgba(14, 14, 26, 0.55);
  --glass-strong: rgba(10, 10, 20, 0.82);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

::selection { background: var(--gold); color: #0a0a14; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a3d; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ============ canvas + vignette ============ */

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 0%, transparent 55%, rgba(3, 3, 8, 0.55) 100%),
    linear-gradient(to bottom, transparent 70%, rgba(3, 3, 8, 0.4));
}

nav, header, section, footer, .marquee { position: relative; z-index: 2; }

/* ============ typography ============ */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 4.2vw, 3rem); letter-spacing: -0.01em; }

.gold {
  background: linear-gradient(100deg, var(--gold-hot), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
em.gold { font-style: normal; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.strike { position: relative; white-space: nowrap; }
.strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; top: 52%;
  height: 3px;
  background: var(--gold);
  transform: rotate(-2deg);
  box-shadow: 0 0 12px rgba(245, 197, 66, 0.8);
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid var(--line);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  color: var(--gold-hot);
}

/* ============ buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold-hot), var(--gold) 55%, #d9a92e);
  color: #14100a;
  box-shadow: 0 0 24px rgba(245, 197, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 42px rgba(245, 197, 66, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(245, 197, 66, 0.35);
  background: rgba(245, 197, 66, 0.05);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(245, 197, 66, 0.12);
  box-shadow: 0 4px 30px rgba(245, 197, 66, 0.18);
}

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.7rem; }
.btn--lg { padding: 1.15rem 2.3rem; font-size: 0.95rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============ nav ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(3, 3, 8, 0.85), rgba(3, 3, 8, 0));
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: var(--glass-strong);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.24em;
  font-size: 0.95rem;
}

.nav__bat { width: 42px; fill: var(--gold); filter: drop-shadow(0 0 8px rgba(245, 197, 66, 0.6)); }

.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--gold-hot); }

@media (max-width: 760px) { .nav__links { display: none; } }

/* ============ hero ============ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem clamp(1.2rem, 4vw, 3rem) 5rem;
  gap: 3.5rem;
}

.hero__inner { max-width: 900px; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.blink { animation: blink 1.6s infinite; margin-right: 0.4rem; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }

.hero__title {
  font-size: clamp(2.1rem, 6.2vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-shadow: 0 0 60px rgba(245, 197, 66, 0.15);
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-hot), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(245, 197, 66, 0.45));
}

.hero__sub {
  margin: 1.6rem auto 0;
  max-width: 620px;
  color: var(--ink-dim);
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.hero__note {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}

/* chat demo card */

.hero__demo {
  width: min(560px, 92vw);
  overflow-anchor: none;
}

.chatcard {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(245, 197, 66, 0.07);
  overflow: hidden;
  text-align: left;
  overflow-anchor: none;
}

.chatcard__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.chatcard__title {
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
}

.chatcard__body {
  box-sizing: border-box;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  height: 320px;
  overflow: hidden;
  overflow-anchor: none;
}

.msg {
  max-width: 88%;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-size: 0.84rem;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.45s ease forwards;
}
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }

.msg--batman {
  align-self: flex-end;
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.3);
  color: var(--gold-hot);
}
.msg--robin {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink);
}
.msg__who {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  opacity: 0.65;
  margin-bottom: 0.25rem;
}
.msg pre {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: #07070f;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  margin-top: 0.5rem;
  overflow-x: auto;
  color: #c8e77f;
}
.msg .runbtn {
  display: inline-block;
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  background: var(--gold);
  color: #14100a;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(245, 197, 66, 0.4);
}

.chatcard__input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-dim);
  min-width: 0;
  height: 3.1rem;
  box-sizing: border-box;
}
.chatcard__caret { color: var(--gold); flex-shrink: 0; }
.chatcard__typing {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cursor { animation: blink 0.9s infinite; color: var(--gold); flex-shrink: 0; }

/* scroll cue */

.hero__scrollcue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}
.hero__scrollcue span {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: cueDrop 2s ease-in-out infinite;
}
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__scrollcue p {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============ marquee ============ */

.marquee {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 8, 0.6);
  backdrop-filter: blur(8px);
  padding: 0.85rem 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  max-width: none;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--ink-dim);
  white-space: nowrap;
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ sections ============ */

.section { padding: clamp(5rem, 11vw, 9rem) clamp(1.2rem, 4vw, 3rem); }

.section__inner { max-width: 1120px; margin: 0 auto; }
.section__inner--narrow { max-width: 760px; }

.section__lede {
  max-width: 640px;
  color: var(--ink-dim);
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

/* ============ problem ============ */

.problem { background: linear-gradient(to bottom, transparent, rgba(6, 6, 14, 0.6) 30%, transparent); }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.pcard {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.8rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.pcard:hover { border-color: var(--line); transform: translateY(-4px); }
.pcard__icon { font-size: 1.7rem; }
.pcard h3 { font-size: 1.02rem; margin: 0.9rem 0 0.5rem; }
.pcard p { color: var(--ink-dim); font-size: 0.92rem; }
.pcard em { color: var(--gold-hot); font-style: normal; }

/* ============ core loop ============ */

.loop__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
  counter-reset: step;
}

.loopstep {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.8rem 1.5rem 1.6rem;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.loopstep:hover { border-color: var(--line); transform: translateY(-4px); }
.loopstep__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  background: linear-gradient(160deg, rgba(245, 197, 66, 0.9), rgba(245, 197, 66, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loopstep h3 { font-size: 1rem; margin: 0.9rem 0 0.5rem; }
.loopstep p { color: var(--ink-dim); font-size: 0.9rem; }
.loopstep b { color: var(--gold-hot); }

/* ============ features ============ */

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

.fcard {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 1.9rem 1.6rem;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.fcard:hover {
  border-color: rgba(245, 197, 66, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 197, 66, 0.08);
}
.fcard--wide { grid-column: span 2; }
@media (max-width: 600px) { .fcard--wide { grid-column: span 1; } }

.fcard__glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.16), transparent 70%);
  pointer-events: none;
}

.fcard__icon { font-size: 1.6rem; }
.fcard h3 { font-size: 1.02rem; margin: 0.85rem 0 0.5rem; }
.fcard p { color: var(--ink-dim); font-size: 0.92rem; }

/* ============ remix the web ============ */

.remix { background: linear-gradient(to bottom, transparent, rgba(6, 6, 14, 0.6) 40%, transparent); }

.remix__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 880px) { .remix__layout { grid-template-columns: 1fr; } }

.remix__copy,
.remix__demo {
  min-width: 0;
  max-width: 100%;
}

.remix__demo {
  width: 100%;
}

.remix__chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.8rem; }
.remix__chips span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-hot);
  background: rgba(245, 197, 66, 0.06);
}

/* fake browser */

.browser {
  width: 100%;
  max-width: 100%;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 60px rgba(245, 197, 66, 0.07);
  overflow: hidden;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
}
.browser__url {
  flex: 1;
  min-width: 0;
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser__page {
  min-height: 320px;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 1rem;
  background: #ffffff;
  color: #232a31;
  font-family: var(--font-body);
  transition: background 0.6s ease, color 0.6s ease;
  overflow: hidden;
}
.browser__page * { transition: background 0.5s ease, color 0.5s ease, border-color 0.5s ease, border-radius 0.5s ease, box-shadow 0.5s ease, stroke 0.5s ease, fill 0.5s ease; }

.browser__page .up { color: #00873c; }
.browser__page .down { color: #d92f28; }

/* — modern yahoo finance — */

.yf__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #e6e9ec;
  min-width: 0;
}
.yf__logo { font-weight: 800; font-size: 1.02rem; color: #5f01d1; letter-spacing: -0.01em; white-space: nowrap; }
.yf__logo b { color: #232a31; font-weight: 800; }
.yf__search {
  flex: 1;
  min-width: 0;
  font-size: 0.68rem;
  color: #8a94a0;
  border: 1px solid #dde2e7;
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  background: #f5f7f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yf__tape {
  display: flex;
  gap: 1.2rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e6e9ec;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #5b6570;
  white-space: nowrap;
  overflow: hidden;
}
.yf__tape i { font-style: normal; font-weight: 700; }

.yf__ticker {
  padding: 0.95rem 1rem 0.15rem;
  font-size: 1rem;
  font-weight: 700;
  color: #232a31;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.yf__price { margin-left: 0.35rem; }
.yf__chg { font-size: 0.78rem; font-weight: 600; margin-left: 0.2rem; white-space: nowrap; }

.yf__chart { display: block; width: 100%; height: 82px; padding: 0.3rem 1rem 0; box-sizing: border-box; }
.yf__line { fill: none; stroke: #00873c; stroke-width: 2; }
.yf__fill { fill: rgba(0, 135, 60, 0.09); stroke: none; }

.yf__table { width: calc(100% - 2rem); margin: 0.45rem 1rem 0; border-collapse: collapse; font-size: 0.74rem; }
.yf__table td { padding: 0.42rem 0.35rem; border-bottom: 1px solid #eef1f4; color: #232a31; }
.yf__table td:first-child { font-weight: 700; }
.yf__table td:nth-child(2), .yf__table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.rp__counter, .rp__marquee { display: none; }

/* — 1999 mode — */

.rp--1999 { background: #ffffff; color: #000; font-family: "Times New Roman", Times, serif; }
.rp--1999 .yf__top { border-bottom: 3px double #808080; }
.rp--1999 .yf__logo { color: #cc0000; font-family: "Times New Roman", Times, serif; font-style: italic; font-weight: 900; font-size: 1.15rem; }
.rp--1999 .yf__logo b { color: #cc0000; font-style: italic; }
.rp--1999 .yf__search { border-radius: 0; border: 2px inset #c0c0c0; background: #fff; color: #000; font-family: "Times New Roman", serif; font-size: 0.72rem; }
.rp--1999 .yf__tape { background: #000080; color: #ffff00; font-family: "Courier New", monospace; border-bottom: 0; }
.rp--1999 .up { color: #00ff00; }
.rp--1999 .down { color: #ff2222; }
.rp--1999 .yf__ticker { color: #0000ee; text-decoration: underline; font-family: "Times New Roman", serif; }
.rp--1999 .yf__chg { animation: blink99 1s step-start infinite; }
@keyframes blink99 { 50% { visibility: hidden; } }
.rp--1999 .yf__chart { background: #000; padding: 0.4rem 1rem; }
.rp--1999 .yf__line { stroke: #00ff00; stroke-width: 1.5; }
.rp--1999 .yf__fill { fill: none; }
.rp--1999 .yf__table { border: 2px outset #c0c0c0; }
.rp--1999 .yf__table td { border: 1px solid #808080; background: #ffffcc; font-family: "Courier New", monospace; font-size: 0.7rem; }
.rp--1999 .rp__counter { display: block; text-align: center; color: #008000; font-family: "Comic Sans MS", "Chalkboard SE", cursive; font-size: 0.72rem; margin-top: 0.7rem; }
.rp--1999 .rp__marquee { display: block; overflow: hidden; margin-top: 0.45rem; border-top: 2px dashed #ff0000; border-bottom: 2px dashed #ff0000; padding: 0.15rem 0; }
.rp--1999 .rp__marquee span {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.7rem;
  color: #ff0000;
  font-family: "Comic Sans MS", "Chalkboard SE", cursive;
  animation: marquee1999 8s linear infinite;
}
@keyframes marquee1999 { from { transform: translateX(100%); } to { transform: translateX(-110%); } }

/* — terminal mode — */

.rp--terminal { background: #020603; color: #2aff6a; font-family: var(--font-mono); }
.rp--terminal .yf__top { border-bottom: 1px dashed #1c7a3e; }
.rp--terminal .yf__logo { color: #2aff6a; font-family: var(--font-mono); font-size: 0.9rem; }
.rp--terminal .yf__logo b { color: #1fbf5f; }
.rp--terminal .yf__search { background: transparent; border: 1px solid #1c7a3e; border-radius: 0; color: #1fbf5f; font-family: var(--font-mono); }
.rp--terminal .yf__tape { color: #1fbf5f; border-color: #1c7a3e; }
.rp--terminal .up { color: #2aff6a; }
.rp--terminal .down { color: #ff5f57; }
.rp--terminal .yf__ticker { color: #2aff6a; font-family: var(--font-mono); font-size: 0.9rem; }
.rp--terminal .yf__ticker::before { content: "> "; }
.rp--terminal .yf__chart { background: rgba(42, 255, 106, 0.04); }
.rp--terminal .yf__line { stroke: #2aff6a; filter: drop-shadow(0 0 4px rgba(42, 255, 106, 0.8)); }
.rp--terminal .yf__fill { fill: rgba(42, 255, 106, 0.07); }
.rp--terminal .yf__table td { border-bottom: 1px dashed #1c7a3e; background: transparent; color: #1fbf5f; font-family: var(--font-mono); }

.remix__prompt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
  min-height: 3rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.remix__prompt #remixTyping {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============ allies / mcp ============ */

.allies__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.acard {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.acard:hover {
  border-color: rgba(245, 197, 66, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(245, 197, 66, 0.07);
}
.acard__icon { font-size: 1.5rem; }
.acard h3 { font-size: 0.95rem; margin: 0.7rem 0 0.35rem; }
.acard p { color: var(--ink-dim); font-size: 0.83rem; }

.allies__chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.3rem; }
.allies__chips span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.03);
}
.allies__chips .chip--custom {
  border-color: rgba(245, 197, 66, 0.45);
  color: var(--gold-hot);
  background: rgba(245, 197, 66, 0.07);
}

.allies__code {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.8rem;
  align-items: center;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.8rem;
  backdrop-filter: blur(14px);
}
@media (max-width: 760px) { .allies__code { grid-template-columns: 1fr; } }

.allies__code pre {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  color: #c8e77f;
  background: #07070f;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
}
.allies__code p { color: var(--ink-dim); font-size: 0.92rem; }
.allies__code b, .allies__code em { color: var(--gold-hot); font-style: normal; }

/* ============ journey / orbit ============ */

.journey { background: linear-gradient(to bottom, transparent, rgba(6, 6, 14, 0.65) 40%, transparent); }

.journey__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 880px) { .journey__layout { grid-template-columns: 1fr; } }

.journey__list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.05rem; }
.journey__list li {
  padding: 1rem 1.2rem;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  color: var(--ink-dim);
  font-size: 0.94rem;
}
.journey__list b { color: var(--ink); display: block; margin-bottom: 0.2rem; }

/* orbit visual */

.journey__orbit { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }

.orbit {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1;
}
.orbit__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: radial-gradient(circle, rgba(245, 197, 66, 0.22), rgba(245, 197, 66, 0.04));
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(245, 197, 66, 0.3);
}
.orbit__ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed rgba(245, 197, 66, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit__ring--1 { width: 46%; height: 46%; animation: spin 14s linear infinite; }
.orbit__ring--2 { width: 72%; height: 72%; animation: spin 22s linear infinite reverse; }
.orbit__ring--3 { width: 98%; height: 98%; animation: spin 32s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.orbit__node {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 0.3rem 0.7rem;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-hot);
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(245, 197, 66, 0.2);
}

.orbit__caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

/* ============ power (BYOK vs Robin AI) ============ */

.power__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 3rem;
}
@media (max-width: 760px) { .power__grid { grid-template-columns: 1fr; } }

.powcard {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.1rem 1.8rem;
  backdrop-filter: blur(10px);
}
.powcard--gold {
  border-color: rgba(245, 197, 66, 0.4);
  background: linear-gradient(150deg, rgba(245, 197, 66, 0.1), var(--glass) 55%);
  box-shadow: 0 0 60px rgba(245, 197, 66, 0.1);
}
.powcard h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.powcard p { color: var(--ink-dim); font-size: 0.94rem; }

.powcard__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.3rem; }
.powcard__tags span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-hot);
  background: rgba(245, 197, 66, 0.06);
}

/* ============ use cases ============ */

.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.ccard {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  transition: border-color 0.3s ease;
}
.ccard:hover { border-color: var(--line); }
.ccard span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gold);
  opacity: 0.75;
  font-size: 0.9rem;
}
.ccard p { color: var(--ink-dim); font-size: 0.92rem; }
.ccard b { color: var(--ink); }

/* ============ pricing ============ */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3.2rem;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.price {
  position: relative;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 2.3rem 1.9rem 2rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}
.price:hover { border-color: rgba(245, 197, 66, 0.35); }

.price--hero {
  border-color: rgba(245, 197, 66, 0.55);
  background: linear-gradient(165deg, rgba(245, 197, 66, 0.12), var(--glass-strong) 45%);
  box-shadow: 0 0 70px rgba(245, 197, 66, 0.14);
}

.price__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-hot), var(--gold));
  color: #14100a;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(245, 197, 66, 0.5);
  white-space: nowrap;
}

.price h3 { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; }
.price__tag { margin-top: 1rem; }
.price__tag b {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
}
.price--hero .price__tag b { color: var(--gold-hot); text-shadow: 0 0 30px rgba(245, 197, 66, 0.4); }
.price__tag span { color: var(--ink-dim); font-size: 0.95rem; }
.price__year { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-dim); margin-top: 0.2rem; }

.price ul {
  list-style: none;
  margin: 1.6rem 0 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.price li { color: var(--ink-dim); font-size: 0.9rem; }
.price li b { color: var(--gold-hot); }

.price__for {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.pricing__note {
  text-align: center;
  margin-top: 2.2rem;
  color: var(--ink-dim);
  font-size: 0.88rem;
}

/* ============ faq ============ */

.faqitem {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  margin-top: 0.9rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faqitem[open] { border-color: rgba(245, 197, 66, 0.4); }

.faqitem summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 0.97rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after {
  content: "+";
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faqitem[open] summary::after { transform: rotate(45deg); }

.faqitem p {
  padding: 0 1.4rem 1.25rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
}
.faqitem b { color: var(--gold-hot); }

.faq h2 { margin-bottom: 1.4rem; }

/* ============ finale ============ */

.finale {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-top: clamp(7rem, 14vw, 12rem);
  padding-bottom: clamp(7rem, 14vw, 12rem);
}

.finale__signal {
  position: absolute;
  bottom: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 130%;
  background: linear-gradient(to top, rgba(245, 197, 66, 0.24), rgba(245, 197, 66, 0.05) 55%, transparent);
  clip-path: polygon(38% 100%, 62% 100%, 100% 0%, 0% 0%);
  filter: blur(6px);
  pointer-events: none;
  animation: signalPulse 4s ease-in-out infinite;
}
@keyframes signalPulse { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

.finale__inner { position: relative; }
.finale h2 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
.finale > .finale__inner > p { color: var(--ink-dim); margin-top: 1.2rem; font-size: 1.08rem; }

.finale__note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.finale__quote {
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============ footer ============ */

.footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 3, 8, 0.85);
  backdrop-filter: blur(12px);
  padding: 3.5rem clamp(1.2rem, 4vw, 3rem) 2rem;
}

.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.24em;
  flex-wrap: wrap;
}
.footer__brand p {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.footer__cols { display: flex; gap: 4rem; }
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}
.footer__cols a {
  display: block;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s ease;
}
.footer__cols a:hover { color: var(--gold-hot); }

.footer__legal {
  max-width: 1120px;
  margin: 2.8rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #57546a;
  font-size: 0.78rem;
}

/* ============ reveal animations ============ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .orbit__ring, .blink, .cursor, .finale__signal { animation: none !important; }
}
