:root {
  --bg: #090b0a;
  --bg-2: #121614;
  --ink: #f2f5ef;
  --muted: #8f988f;
  --line: rgba(242, 245, 239, 0.1);
  --accent: #c8f542;
  --accent-ink: #0e120c;
  --warm: #ff6b35;
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 1;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 245, 66, 0.12) 0%,
    rgba(255, 107, 53, 0.06) 38%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: left, top;
}

body.has-pointer .cursor-glow {
  opacity: 1;
}

.top,
main,
.foot {
  position: relative;
  z-index: 3;
}

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mark-badge {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.mark-badge.tiny {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.mark-meta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a {
  position: relative;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.top-nav a:hover {
  color: var(--ink);
}

.top-nav a:hover::after {
  transform: scaleX(1);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0 0 64px;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(200, 245, 66, 0.08), transparent 55%),
    radial-gradient(900px 500px at 0% 100%, rgba(255, 107, 53, 0.07), transparent 50%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 72%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(9, 11, 10, 0.15) 0%,
    rgba(9, 11, 10, 0.2) 45%,
    rgba(9, 11, 10, 0.92) 100%
  );
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 110px 24px 0;
}

.brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5.8rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.075em;
  color: var(--ink);
}

.brand.is-split .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em) rotate(-3deg);
  animation: charIn 0.9s var(--ease) forwards;
}

.brand.is-split .char:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-in {
  animation: riseIn 0.85s var(--ease) both;
}

.hero h1.hero-in {
  animation-delay: 0.06s;
}

.lede.hero-in {
  animation-delay: 0.12s;
}

.cta.hero-in {
  animation-delay: 0.18s;
}

.hero h1 {
  margin: 22px 0 0;
  max-width: 12ch;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.lede {
  margin: 16px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  --mx: 0px;
  --my: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transform: translate(var(--mx), var(--my));
  transition:
    transform 0.18s var(--ease),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn span {
  pointer-events: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #d6ff5e;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(200, 245, 66, 0.55);
  background: rgba(200, 245, 66, 0.06);
}

/* —— Ticker —— */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(18, 22, 20, 0.65);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 28s linear infinite;
}

.ticker-track span {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track span:nth-child(odd) {
  color: rgba(200, 245, 66, 0.55);
}

/* —— Features —— */
.features,
.get {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2,
.get h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46ch;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease;
}

.feature-list li:hover {
  background: linear-gradient(
    90deg,
    rgba(200, 245, 66, 0.05),
    transparent 55%
  );
}

.idx {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm);
  padding-top: 4px;
}

.feature-list h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 42ch;
}

/* —— Get —— */
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
}

.get h2 {
  margin-bottom: 32px;
}

.get-links {
  border-top: 1px solid var(--line);
}

.get-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease;
}

.get-link:hover {
  color: var(--accent);
}

.get-copy em {
  display: block;
  margin-bottom: 6px;
  font-style: normal;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.get-link:hover em {
  color: rgba(200, 245, 66, 0.7);
}

.get-copy strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: -0.025em;
}

.get-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.get-link:hover .get-meta {
  color: rgba(200, 245, 66, 0.85);
}

.arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.get-link:hover .arrow {
  transform: translateX(6px);
}

/* —— Footer —— */
.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* —— Reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .feature-list li {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }

  .get-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot {
    flex-direction: column;
  }

  .top-nav {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand.is-split .char,
  .hero-in,
  .ticker-track,
  [data-reveal] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cursor-glow {
    display: none;
  }
}
