/* Cursor — refined dark UI, restrained red accent */

:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-soft: #18181b;
  --bg-solid: #0e0e10;
  --ink: #f4f4f5;
  --ink-soft: #a1a1aa;
  --muted: #71717a;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);

  /* Accent — deep red, not neon scream */
  --neon: #e11d37;
  --neon-hot: #f04355;
  --neon-deep: #9f1239;
  --neon-mist: #fb7185;
  --accent: #e11d37;
  --accent-soft: #f04355;
  --accent-dim: rgba(225, 29, 55, 0.12);
  --accent-glow: rgba(225, 29, 55, 0.22);
  --cream: #fafafa;

  --glow-core: none;
  --glow-btn: 0 8px 24px rgba(225, 29, 55, 0.28);
  --glow-btn-hover: 0 10px 28px rgba(225, 29, 55, 0.36);
  --glow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glow-border: none;

  --glass: none;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(225, 29, 55, 0.08), transparent 55%),
    linear-gradient(180deg, #0c0c0e 0%, var(--bg) 40%, #09090b 100%);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

main,
.site-header,
.site-footer,
.topbar,
.buybar,
.mobile-nav {
  position: relative;
  z-index: 1;
}

.site-header { z-index: 40; }
.buybar { z-index: 45; }
.mobile-nav { z-index: 35; }
.grain { z-index: 100; }

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 0.55em;
  color: var(--cream);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: var(--accent-soft);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-shadow: none;
}

.eyebrow.light {
  color: rgba(250, 250, 250, 0.5);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 560;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-btn);
  text-shadow: none;
}

.btn-primary:hover {
  background: var(--neon-hot);
  box-shadow: var(--glow-btn-hover);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: none;
  box-shadow: none;
}

.btn-ghost:hover {
  border-color: rgba(225, 29, 55, 0.28);
  background: var(--accent-dim);
  box-shadow: none;
}

.btn.full {
  width: 100%;
}

.link-quiet {
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.link-quiet:hover {
  color: var(--cream);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.75rem);
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--neon-hot), var(--neon-deep));
  box-shadow: none;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  border-right-color: transparent;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.nav {
  display: none;
  gap: 1.6rem;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--cream);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 1.1rem;
}

.header-cta {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  font-size: 0.88rem;
}

.menu-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink-soft);
}

.nav-checkbox:checked ~ .mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.25rem;
  background: rgba(14, 12, 16, 0.97);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 0.28s ease;
}

.mobile-nav a {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 0.85rem;
  border-bottom: none;
}

.mobile-nav-close {
  align-self: flex-end;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 0.4rem;
}

@media (min-width: 920px) {
  .nav,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.75rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.haze {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: none;
}

.haze-1 {
  width: min(48vw, 400px);
  height: min(48vw, 400px);
  top: -8%;
  right: 8%;
  background: rgba(225, 29, 55, 0.1);
}

.haze-2 {
  width: min(32vw, 280px);
  height: min(32vw, 280px);
  bottom: 20%;
  left: 0;
  background: rgba(225, 29, 55, 0.05);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 50% at 70% 40%, #000 5%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-copy {
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-hero {
  font-size: clamp(3.4rem, 9vw, 5.75rem);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--cream);
  text-shadow: none;
  animation: rise 0.8s ease both;
}

@keyframes neon-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 1; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 0.9rem;
  color: var(--ink);
}

.lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 40ch;
  margin-bottom: 1.75rem;
  font-weight: 380;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.center-actions {
  justify-content: center;
  margin-bottom: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-meta li {
  position: relative;
}

.hero-meta li:not(:last-child)::after {
  content: "";
  display: none;
}

@media (min-width: 600px) {
  .hero-meta li:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: -0.8rem;
    color: var(--muted);
    display: inline;
  }
}

/* IDE mock */

.hero-stage {
  animation: rise 1s ease both 0.15s;
}

.ide-frame {
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #161318 0%, #100e12 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(225, 29, 55, 0.08);
  overflow: hidden;
}

.ide-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3438;
}

.dot:nth-child(1) { background: #5c484c; }
.dot:nth-child(2) { background: #4a4448; }

.ide-title {
  margin-left: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.ide-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.1rem 1rem 1.2rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.7;
}

.ide-gutter {
  color: #3f3a3e;
  text-align: right;
  user-select: none;
}

.ide-code {
  margin: 0;
  white-space: pre-wrap;
  color: #c8c0c4;
}

.kw { color: var(--neon-hot); }
.fn { color: #e8d5c4; }
.tp { color: #8a9eae; }
.cm { color: #5c555a; font-style: italic; }

.tab-ghost {
  display: inline;
  color: rgba(255, 50, 50, 0.7);
  border-bottom: 1px dashed rgba(225, 29, 55, 0.5);
  text-shadow: none;
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.ide-agent {
  margin: 0 1rem 1rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(225, 29, 55, 0.22);
}

.agent-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 0.4rem;
}

.ide-agent p {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.ide-agent em {
  font-style: normal;
  color: var(--cream);
}

.agent-actions {
  display: flex;
  gap: 0.45rem;
}

.agent-actions span {
  font-size: 0.72rem;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.agent-actions span:first-child {
  background: rgba(225, 29, 55, 0.12);
  border-color: rgba(225, 29, 55, 0.18);
  color: var(--cream);
}

/* Trust marquee */

.trust {
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.trust-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.trust-track span {
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Sections common */

section {
  padding: clamp(3.75rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 2.75rem);
}

.section-head {
  max-width: var(--max);
  margin: 0 auto 2.75rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center p:not(.eyebrow) {
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  margin-bottom: 0.75rem;
  text-shadow: none;
}

.section-head > p:not(.eyebrow) {
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: 1.05rem;
}

/* Product spotlight */

.spotlight {
  max-width: var(--max);
  margin: 0 auto;
}

.spotlight-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 760px) {
  .spotlight-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }
}

.spotlight-tabs label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.spotlight-tabs label:hover {
  border-color: var(--line-strong);
}

.spotlight-tabs strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.spotlight-tabs span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

#spot-agent:checked ~ .spotlight-tabs label[for="spot-agent"],
#spot-tab:checked ~ .spotlight-tabs label[for="spot-tab"],
#spot-chat:checked ~ .spotlight-tabs label[for="spot-chat"],
#spot-compose:checked ~ .spotlight-tabs label[for="spot-compose"] {
  border-color: rgba(225, 29, 55, 0.28);
  background: linear-gradient(180deg, rgba(225, 29, 55, 0.12), var(--bg-elevated));
}

.spotlight-panels {
  position: relative;
}

.panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  animation: rise 0.45s ease both;
}

@media (min-width: 860px) {
  .panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 2rem;
    gap: 2.25rem;
  }
}

#spot-agent:checked ~ .spotlight-panels .panel-agent,
#spot-tab:checked ~ .spotlight-panels .panel-tab,
#spot-chat:checked ~ .spotlight-panels .panel-chat,
#spot-compose:checked ~ .spotlight-panels .panel-compose {
  display: grid;
}

.panel-visual {
  min-height: 220px;
  border-radius: 14px;
  background: #100e12;
  border: 1px solid var(--line);
  padding: 1.25rem;
  display: grid;
  align-content: center;
}

.panel-copy h3 {
  font-size: 1.45rem;
}

.panel-copy > p {
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.flow-steps {
  display: grid;
  gap: 0.55rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.flow-step.on {
  border-color: rgba(225, 29, 55, 0.3);
  background: var(--accent-dim);
  color: var(--ink);
}

.flow-step b {
  font-family: var(--font-display);
  color: var(--accent-soft);
  font-size: 0.8rem;
}

.tab-demo {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.tab-demo code {
  font-size: 0.85rem;
  color: #c8c0c4;
  padding: 1rem;
  border-radius: 10px;
  background: #0c0b0d;
  border: 1px solid var(--line);
  width: 100%;
}

.typed {
  color: rgba(255, 50, 50, 0.75);
  border-bottom: 1px solid rgba(255, 50, 50, 0.35);
}

.hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.chat-demo {
  display: grid;
  gap: 0.75rem;
}

.bubble {
  max-width: 92%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.bubble.you {
  justify-self: end;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.bubble.ai {
  background: var(--accent-dim);
  border: 1px solid rgba(225, 29, 55, 0.22);
  color: var(--ink);
}

.files-demo {
  display: grid;
  gap: 0.5rem;
}

.file-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.file-row.change {
  border-color: rgba(225, 29, 55, 0.28);
  background: var(--accent-dim);
}

.file-row em {
  font-style: normal;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

/* Feature board */

.feature-board {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .feature-board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-board {
    grid-template-columns: repeat(4, 1fr);
  }

  .feat-lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .feat-wide {
    grid-column: span 2;
  }
}

.feat {
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.feat:hover {
  border-color: rgba(225, 29, 55, 0.18);
  transform: translateY(-3px);
}

.feat-lg {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background:
    linear-gradient(165deg, rgba(225, 29, 55, 0.1), transparent 45%),
    var(--bg-elevated);
}

.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 0.55rem;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  background: rgba(225, 29, 55, 0.1);
  border: 1px solid rgba(225, 29, 55, 0.25);
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.feat h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feat p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feat-visual {
  margin-top: auto;
  padding-top: 1.25rem;
}

.index-demo {
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #0c0c0e;
  overflow: hidden;
}

.index-search {
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, Menlo, monospace;
}

.index-hits {
  display: grid;
  gap: 0;
}

.index-hits span {
  display: block;
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.index-hits span:last-child {
  border-bottom: none;
}

.index-hits b {
  color: var(--cream);
  font-weight: 600;
}

.feat-art {
  display: none;
}

@keyframes pulse-bar {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.feat-split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .feat-split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.mini-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mini-tags li {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.02);
}

/* Workflow */

.workflow {
  background: rgba(255, 255, 255, 0.015);
  border-block: 1px solid var(--line);
}

.workflow-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .workflow-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.wf {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(225, 29, 55, 0.4);
}

.wf-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  margin-bottom: 0.85rem;
}

.wf h3 {
  font-size: 1.1rem;
}

.wf p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Experience */

.experience {
  padding-top: 2rem;
}

.experience-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

@media (min-width: 860px) {
  .experience-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.exp-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.exp-copy > p {
  color: var(--ink-soft);
  max-width: 40ch;
}

.exp-stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.exp-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.exp-stats span {
  font-size: 0.8rem;
  color: var(--muted);
}

.exp-keys {
  display: grid;
  gap: 0.55rem;
}

.key {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.key kbd {
  min-width: 64px;
  text-align: center;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  padding: 0.35rem 0.5rem;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--cream);
}

.key span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Plans */

.billing {
  max-width: var(--max);
  margin: 0 auto;
}

.billing-switch {
  display: inline-flex;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  margin: 0 auto 2rem;
  gap: 0.15rem;
}

.billing {
  text-align: center;
}

.billing-switch label {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 560;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: 0.2s ease;
}

.billing-switch em {
  font-style: normal;
  color: var(--accent-soft);
  font-size: 0.78rem;
  margin-left: 0.2rem;
}

#bill-month:checked ~ .billing-switch label[for="bill-month"],
#bill-year:checked ~ .billing-switch label[for="bill-year"] {
  background: rgba(225, 29, 55, 0.2);
  color: var(--cream);
}

.plan-grid {
  display: grid;
  gap: 0.9rem;
  text-align: left;
}

.plans-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .plans-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plans-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .plans-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .plans-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plans-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .plans-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Individual / Teams toggle */
.plans-individual {
  display: grid;
}

.plans-teams {
  display: none;
}

#bill-year:checked ~ .plans-individual {
  display: none;
}

#bill-year:checked ~ .plans-teams {
  display: grid;
}

#bill-month:checked ~ .plans-individual {
  display: grid;
}

#bill-month:checked ~ .plans-teams {
  display: none;
}

.badge.soft {
  background: rgba(225, 29, 55, 0.08);
  color: var(--ink-soft);
  border-color: var(--line-strong);
}

.why-grid {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.why-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--accent-soft);
  margin-bottom: 0.65rem;
  letter-spacing: 0.06em;
}

.why-card h3 {
  font-size: 1.05rem;
}

.why-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.why-vs {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .why-vs {
    grid-template-columns: 1fr 1fr;
  }
}

.why-col {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.why-col h3 {
  margin-bottom: 0.85rem;
}

.why-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.why-col li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.why-col.bad li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.why-col.good {
  border-color: rgba(225, 29, 55, 0.35);
  background:
    linear-gradient(165deg, rgba(225, 29, 55, 0.08), transparent 50%),
    var(--bg-elevated);
}

.why-col.good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

.why-col.good .btn {
  margin-top: 1.25rem;
}

.plan {
  position: relative;
  padding: 1.6rem 1.4rem 1.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.plan:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.plan.featured {
  border-color: rgba(225, 29, 55, 0.32);
  background:
    linear-gradient(180deg, rgba(225, 29, 55, 0.16), transparent 42%),
    var(--bg-elevated);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(225, 29, 55, 0.2);
}

.badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  margin: 0;
  max-width: calc(100% - 2.2rem);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: var(--accent-dim);
  border: 1px solid rgba(225, 29, 55, 0.3);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

.plan h3 {
  font-size: 1.35rem;
  margin: 0;
}

.plan:has(.badge) h3 {
  padding-right: 5.5rem;
}

.plan-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  min-height: 2.6em;
}

.price {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.price b {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: none;
}

.note {
  font-size: 0.8rem;
  color: var(--muted);
  min-height: 1.2em;
  margin: 0;
}

.plan ul {
  list-style: none;
  margin: 0.5rem 0 1.1rem;
  padding: 0;
  flex: 1;
}

.plan li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.plan li:last-child {
  border-bottom: none;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

.price .year,
.year-only {
  display: none;
}

.compare-wrap {
  max-width: var(--max);
  margin: 3rem auto 0;
  text-align: left;
}

.compare-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  text-align: center;
}

.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 0.8fr);
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  align-items: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row.head {
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.compare-row span:not(:first-child) {
  text-align: center;
}

.yes {
  color: var(--neon-hot);
  font-weight: 650;
  text-shadow: none;
}

.no {
  color: #4a4448;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .compare-table {
    overflow-x: auto;
  }

  .compare-row {
    min-width: 520px;
  }
}

/* How */

.steps {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.steps li {
  text-align: left;
  padding-top: 1rem;
  border-top: 1px solid rgba(225, 29, 55, 0.18);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: rgba(255, 50, 50, 0.45);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.steps h3 {
  font-size: 1.15rem;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.2rem 1.15rem;
  transition: border-color 0.2s ease;
}

details[open] {
  border-color: rgba(225, 29, 55, 0.18);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.6rem 1rem 0;
  font-weight: 560;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-soft);
  font-size: 1.15rem;
}

details[open] summary::after {
  content: "−";
}

details p {
  padding-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* CTA */

.cta-band {
  padding-top: 1rem;
}

.cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  padding: clamp(2.75rem, 6vw, 4.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
}

.cta-inner h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 14ch;
  margin: 0 auto 0.75rem;
}

.cta-inner > p {
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto 1.5rem;
}

/* Footer */

.site-footer {
  display: grid;
  gap: 2rem;
  padding: 3rem clamp(1.25rem, 4vw, 2.75rem) 2.5rem;
  border-top: 1px solid var(--line);
  max-width: calc(var(--max) + 5.5rem);
  margin: 0 auto;
}

@media (min-width: 800px) {
  .site-footer {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 32ch;
}

.footer-cols {
  display: flex;
  gap: 3rem;
}

.footer-cols h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.footer-cols a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 0.25rem 0;
}

.footer-cols a:hover {
  color: var(--cream);
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ——— Conversion layer (competitor patterns) ——— */

body {
  padding-bottom: 76px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(90deg, #0a0608, #1a0a12 40%, #12060c 70%, #0a0608);
  border-bottom: 1px solid rgba(225, 29, 55, 0.18);
  box-shadow: none;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}

.topbar a {
  color: var(--cream);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar strong {
  color: var(--accent-soft);
  font-weight: 600;
}

.trust-chips {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.stars {
  color: var(--neon-hot);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-shadow: none;
}

.hero-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.hero-reassure li {
  position: relative;
  padding-left: 1.1rem;
}

.hero-reassure li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
  font-size: 0.75rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.85rem 1.7rem;
  font-size: 1.02rem;
}

.btn-pulse { animation: none; }

.live-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 55, 0.32);
  background: rgba(225, 29, 55, 0.12);
  box-shadow: none;
  text-shadow: none;
}

.ide-frame.live {
  animation: rise 0.8s ease both;
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.agent-actions .primary,
.agent-actions span.primary {
  background: rgba(225, 29, 55, 0.18);
  border-color: rgba(225, 29, 55, 0.28);
  color: var(--cream);
}

/* Logos */

.logos {
  padding: 1.75rem clamp(1.25rem, 4vw, 2.75rem);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
}

.logos-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.25rem;
  max-width: var(--max);
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: -0.02em;
  color: rgba(236, 232, 234, 0.28);
}

.logo-row.pay-row {
  gap: 0.65rem 0.85rem;
  color: var(--ink-soft);
}

.logo-row.pay-row span {
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cream);
}

/* Metrics */

.metrics {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.metrics-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metrics-grid article {
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.metrics-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.metrics-grid span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Pain vs gain */

.pain-gain {
  background: rgba(255, 255, 255, 0.012);
  border-block: 1px solid var(--line);
}

.pg-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pg {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.pg h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.pg ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.pg li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pg.bad {
  background: #120f12;
  opacity: 0.92;
}

.pg.bad li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #6a5055;
  font-size: 0.75rem;
}

.pg.good {
  background:
    linear-gradient(165deg, rgba(225, 29, 55, 0.14), transparent 50%),
    var(--bg-elevated);
  border-color: rgba(225, 29, 55, 0.18);
}

.pg.good li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

.pg.good .btn {
  margin-top: 1.35rem;
}

/* Competitor compare */

.compare-comp {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.comp-table {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.comp-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.85fr);
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row.head {
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

.comp-row span:not(:first-child) {
  text-align: center;
}

.comp-row .hl {
  color: var(--cream);
  font-weight: 650;
}

.comp-row.head .hl {
  color: var(--accent-soft);
}

.comp-note {
  text-align: center;
  color: var(--ink-soft);
  margin: 1.25rem auto 1.5rem;
  max-width: 42ch;
  font-size: 0.95rem;
}

.center-actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .comp-table {
    overflow-x: auto;
  }

  .comp-row {
    min-width: 560px;
  }
}

/* Reviews */

.review-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-grid blockquote {
  margin: 0;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: border-color 0.25s ease;
}

.review-grid blockquote:hover {
  border-color: rgba(225, 29, 55, 0.18);
}

.review-grid p {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.1rem;
  font-weight: 420;
}

.review-grid footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-grid strong {
  font-size: 0.92rem;
  color: var(--cream);
}

.review-grid footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Mid CTA */

.mid-cta {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.mid-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(225, 29, 55, 0.3);
  background:
    linear-gradient(110deg, rgba(225, 29, 55, 0.16), transparent 55%),
    var(--bg-elevated);
}

.mid-cta-inner h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 0.35rem;
  max-width: 22ch;
}

.mid-cta-inner p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.plan-foot {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.guarantee {
  max-width: var(--max);
  margin: 2.25rem auto 0;
}

.guarantee-inner {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(225, 29, 55, 0.18);
  background: rgba(225, 29, 55, 0.06);
  text-align: center;
}

.guarantee-inner strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  color: var(--cream);
}

.guarantee-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta-fine {
  margin-top: 1.25rem !important;
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}

/* Sticky buy bar */

.buybar {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 3vw, 1.75rem);
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(225, 29, 55, 0.4);
  box-shadow:
    0 -12px 40px rgba(0, 0, 0, 0.5),
    0 -8px 40px rgba(225, 29, 55, 0.12);
}

.buybar-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.buybar-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--cream);
}

.buybar-text span {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buybar .btn {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0.5rem 1.2rem;
}

/* IDE file tree (Kodik-style) */

.ide-workspace {
  display: grid;
  grid-template-columns: 118px 1fr;
  border-bottom: 1px solid var(--line);
}

.ide-tree {
  padding: 0.85rem 0.65rem;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.68rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tree-root {
  margin: 0 0 0.25rem;
  font-weight: 650;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.62rem;
}

.ide-tree span {
  padding: 0.2rem 0.35rem;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ide-tree span.on {
  background: var(--accent-dim);
  color: var(--cream);
}

.ide-workspace .ide-body {
  border: none;
  padding: 1rem 0.85rem 1.1rem;
}

@media (max-width: 520px) {
  .ide-workspace {
    grid-template-columns: 1fr;
  }

  .ide-tree {
    display: none;
  }
}

/* Security shield */

.security {
  background: rgba(255, 255, 255, 0.012);
  border-block: 1px solid var(--line);
}

.shield {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.shield-toggle {
  display: inline-flex;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  margin-bottom: 1.5rem;
  gap: 0.15rem;
}

.shield-toggle label {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 560;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

#shield-off:checked ~ .shield-toggle label[for="shield-off"],
#shield-on:checked ~ .shield-toggle label[for="shield-on"] {
  background: rgba(225, 29, 55, 0.2);
  color: var(--cream);
}

.shield-panels {
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

@media (min-width: 800px) {
  .shield-panels {
    grid-template-columns: 1fr 1fr;
  }
}

.shield-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.shield-card.danger {
  border-color: rgba(180, 80, 90, 0.35);
}

.shield-card.safe {
  border-color: rgba(90, 140, 110, 0.35);
  background:
    linear-gradient(165deg, rgba(70, 120, 95, 0.1), transparent 50%),
    var(--bg-elevated);
}

.shield-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d48a92;
  margin-bottom: 0.65rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(180, 80, 90, 0.15);
}

.shield-status.ok {
  color: #8fbf9f;
  background: rgba(70, 120, 95, 0.18);
}

.shield-card h3 {
  font-size: 1.15rem;
}

.shield-code {
  margin: 0.85rem 0;
  padding: 1rem;
  border-radius: 10px;
  background: #0c0b0d;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.65;
  overflow-x: auto;
  color: #c8c0c4;
}

.leak {
  color: #e08a94;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
}

.mask {
  color: #8fbf9f;
}

.shield-foot {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.shield-points {
  list-style: none;
  margin: 1.5rem auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  max-width: 720px;
}

.shield-points li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
}

.shield-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
  font-size: 0.75rem;
}

@media (max-width: 799px) {
  #shield-off:checked ~ .shield-panels .safe {
    display: none;
  }

  #shield-on:checked ~ .shield-panels .danger {
    display: none;
  }
}

@media (min-width: 800px) {
  #shield-off:checked ~ .shield-panels .danger {
    border-color: rgba(180, 80, 90, 0.5);
    box-shadow: 0 0 0 1px rgba(180, 80, 90, 0.15);
  }

  #shield-on:checked ~ .shield-panels .safe {
    border-color: rgba(90, 140, 110, 0.55);
    box-shadow: 0 0 0 1px rgba(90, 140, 110, 0.15);
  }

  #shield-off:checked ~ .shield-panels .safe,
  #shield-on:checked ~ .shield-panels .danger {
    opacity: 0.55;
  }
}

/* Speed / inline sections (Kodik narrative) */

.speed,
.inline-edit {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.speed-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .speed-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .speed-inner.reverse .speed-copy {
    order: 2;
  }

  .speed-inner.reverse .speed-visual {
    order: 1;
  }
}

.speed-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.speed-copy > p {
  color: var(--ink-soft);
}

.speed-copy .btn {
  margin-top: 1.25rem;
}

.speed-ide {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.speed-bar {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.speed-ide code {
  display: block;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #c8c0c4;
  padding: 1rem;
  border-radius: 10px;
  background: #0c0b0d;
  border: 1px solid var(--line);
}

.speed-ide .dim {
  color: var(--muted);
}

.speed-ide .glow {
  color: var(--accent-soft);
  background: rgba(225, 29, 55, 0.12);
  border-radius: 3px;
}

.speed-hint {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.inline-prompt {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(225, 29, 55, 0.12);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Refined surfaces — clean dark cards */
.feat,
.plan,
.ide-frame,
.panel,
.review-grid blockquote,
.compare-table,
.comp-table,
.metrics-grid article,
.shield-card,
.speed-ide,
.mid-cta-inner,
.cta-inner,
.billing-switch,
.spotlight-tabs label,
.why-card,
.faq-list details {
  background: var(--bg-elevated) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

.feat:hover,
.plan:hover,
.review-grid blockquote:hover,
.why-card:hover {
  border-color: var(--line-strong) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25) !important;
  transform: none;
}

.feat-lg {
  background:
    linear-gradient(165deg, rgba(225, 29, 55, 0.1), transparent 45%),
    var(--bg-elevated) !important;
}

.plan.featured {
  border-color: rgba(225, 29, 55, 0.4) !important;
  background:
    linear-gradient(180deg, rgba(225, 29, 55, 0.14), transparent 45%),
    var(--bg-elevated) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28) !important;
}

.pg.bad {
  background: #120f12 !important;
}

.pg.good {
  background:
    linear-gradient(165deg, rgba(225, 29, 55, 0.14), transparent 50%),
    var(--bg-elevated) !important;
  border-color: rgba(225, 29, 55, 0.18) !important;
}

.why-col.good {
  border-color: rgba(225, 29, 55, 0.35) !important;
  background:
    linear-gradient(165deg, rgba(225, 29, 55, 0.08), transparent 50%),
    var(--bg-elevated) !important;
}

.buybar {
  background: rgba(10, 10, 11, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid var(--line) !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35) !important;
}

.topbar {
  background: var(--bg-soft) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.logos,
.workflow,
.pain-gain,
.security {
  background: transparent !important;
  border-color: var(--line) !important;
}

.section-head h2 {
  text-shadow: none !important;
}

.price b,
.yes,
.stars,
.live-badge {
  text-shadow: none !important;
}

.live-badge {
  color: var(--accent-soft) !important;
  background: var(--accent-dim) !important;
  border-color: rgba(225, 29, 55, 0.3) !important;
  box-shadow: none !important;
}

.tab-ghost {
  color: rgba(240, 67, 85, 0.75) !important;
  border-bottom-color: rgba(225, 29, 55, 0.18) !important;
  text-shadow: none !important;
}

.check-list li::before,
.plan li::before {
  background: var(--accent) !important;
  box-shadow: none !important;
}

.hero-reassure li::before {
  background: none !important;
  box-shadow: none !important;
  color: var(--accent-soft) !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* SPA bridge */

/* Hide SPA chrome on Hitm home */
body:has(.hitm-root) .header,
body:has(.hitm-root) footer.footer,
body:has(.hitm-root) .telegram-floating-widget {
  display: none !important;
}
.hitm-root {
  --bg-primary: var(--bg);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted: var(--muted);
  --border: var(--line);
  --accent: #e11d37;
  --accent-hover: #f04355;
  --accent-dim: rgba(225, 29, 55, 0.12);
  --accent-2: #9f1239;
}
