:root {
  --blue: #0051e6;
  --mint: #00f9a2;
  --info: #2f80ed;
  --success: #27ae60;
  --warning: #e2b93b;
  --error: #eb5757;
  --black: #000000;
  --ink: #282828;
  --muted: #696f79;
  --soft: #8692a6;
  --line: #f1f3f5;
  --white: #ffffff;
  --headline: "Cabinet Grotesk", "Inter", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 21px;
  padding: 13px 29px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(13px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
}

.brand-symbol {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 21px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 13px 21px;
  border: 1px solid var(--blue);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-ghost {
  background: var(--white);
  color: var(--blue);
}

.mobile-menu-button {
  display: none;
  width: 47px;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
}

.mobile-nav {
  position: sticky;
  top: 74px;
  z-index: 19;
  display: grid;
  gap: 13px;
  padding: 18px 29px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.section-shell {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 89px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 55px;
  min-height: calc(100svh - 74px);
  align-items: center;
  padding-top: 55px;
  padding-bottom: 55px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--black);
  font-family: var(--headline);
  font-weight: 800;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  font-size: clamp(47px, 7vw, 89px);
}

h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 55px);
}

h3 {
  font-size: 29px;
}

.hero-subline,
.section-heading p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 29px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--soft);
}

.status-dot.success {
  background: #dff5e7;
  box-shadow: inset 0 0 0 3px var(--success);
}

.status-dot.info {
  background: #ddecff;
  box-shadow: inset 0 0 0 3px var(--info);
}

.status-dot.mint {
  background: var(--mint);
}

.comparison-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 610px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(235, 87, 87, 0.06), rgba(0, 81, 230, 0.06)),
    var(--white);
}

.split-panel {
  display: grid;
  align-content: end;
  gap: 13px;
  padding: 21px;
}

.split-panel.good {
  border-left: 1px solid var(--line);
}

.split-panel b {
  color: var(--black);
  font-size: 13px;
  text-transform: uppercase;
}

.placeholder-media {
  display: grid;
  min-height: 377px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed var(--soft);
  border-radius: 6px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(0, 81, 230, 0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0, 249, 162, 0.08) 25%, transparent 25%),
    var(--white);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.placeholder-media small {
  max-width: 210px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
}

.score-callout {
  position: absolute;
  right: 21px;
  bottom: 76px;
  display: flex;
  max-width: 258px;
  gap: 13px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.sparkle {
  color: var(--blue);
  font-size: 21px;
}

.score-callout strong,
.score-callout small {
  display: block;
}

.score-callout small {
  color: var(--muted);
  font-size: 13px;
}

.brand-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fbfcff;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  min-width: 233px;
  padding: 21px 29px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

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

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 47px;
}

.section-heading.center {
  justify-items: center;
  text-align: center;
}

.problem-grid,
.framework-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.comparison-card,
.framework-grid article,
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.comparison-card {
  padding: 13px;
}

.mini-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.placeholder-media.small {
  min-height: 178px;
  padding: 13px;
}

.placeholder-media.premium {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(0, 81, 230, 0.08), rgba(0, 249, 162, 0.12));
}

.comparison-card h3,
.framework-grid h3 {
  font-size: 21px;
  line-height: 1.05;
}

.comparison-card p,
.framework-grid p,
.price-card li,
.node small,
.proof-lines p {
  color: var(--muted);
  font-size: 13px;
}

.video-shell {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--black);
  overflow: hidden;
}

.video-placeholder {
  display: grid;
  width: min(760px, calc(100% - 42px));
  min-height: 377px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.08) 49%, rgba(255, 255, 255, 0.08) 51%, transparent 51%),
    linear-gradient(180deg, rgba(0, 81, 230, 0.45), rgba(0, 249, 162, 0.18));
  text-align: center;
}

.video-placeholder small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.play-button {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}

.bridge-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bridge-diagram {
  display: grid;
  grid-template-columns: 1fr 160px 1fr 160px 1fr;
  align-items: center;
  gap: 13px;
}

.node {
  display: grid;
  min-height: 178px;
  align-content: center;
  gap: 8px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.node.active {
  border-color: var(--blue);
  background: #f7faff;
}

.node-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.node strong {
  font-family: var(--headline);
  font-size: 29px;
  line-height: 1;
}

.connector {
  width: 100%;
}

.reassurance {
  margin: 29px 0 0;
  color: var(--black);
  font-size: 21px;
  font-weight: 800;
}

.template-explorer {
  display: grid;
  gap: 21px;
}

.category-row,
.tab-row,
.subcategory-row,
.explorer-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.category-tile {
  flex: 1 1 210px;
  min-height: 123px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.category-tile[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.category-tile.active {
  border-color: var(--blue);
  background: #f7faff;
}

.category-tile strong {
  display: block;
  color: var(--black);
  font-family: var(--headline);
  font-size: 29px;
}

.category-tile small {
  color: var(--muted);
  font-size: 13px;
}

.tab-button,
.subcat-button {
  min-height: 47px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active,
.subcat-button.active {
  border-color: var(--blue);
  color: var(--blue);
}

.preview-area {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 21px;
  min-height: 500px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-copy {
  display: grid;
  align-content: space-between;
  gap: 21px;
}

.score-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.score-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.preview-stage {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 13px;
}

.format-card {
  display: grid;
  align-content: stretch;
  gap: 8px;
}

.format-card .placeholder-media {
  min-height: 100%;
}

.format-card.story {
  aspect-ratio: 9 / 16;
}

.format-card.feed {
  aspect-ratio: 1 / 1;
}

.format-label {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.framework-grid article {
  padding: 13px;
}

.placeholder-media.thumb {
  min-height: 233px;
  margin-bottom: 18px;
}

.rule-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  margin-bottom: 13px;
  padding: 5px 8px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.proof-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 47px;
  align-items: center;
  border-block: 1px solid var(--line);
}

.proof-stat span {
  display: block;
  color: var(--blue);
  font-family: var(--headline);
  font-size: clamp(89px, 13vw, 144px);
  font-weight: 800;
  line-height: 0.82;
}

.proof-stat strong {
  display: block;
  color: var(--black);
  font-family: var(--headline);
  font-size: 47px;
  line-height: 1;
}

.proof-stat small {
  display: block;
  margin-top: 13px;
  color: var(--muted);
}

.proof-lines {
  display: grid;
  gap: 13px;
}

.proof-lines article {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.trial-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-bottom: 47px;
  padding: 18px 21px;
  border: 1px solid var(--blue);
  border-radius: 8px;
}

.trial-banner span,
.popular-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--mint);
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  display: grid;
  gap: 21px;
  padding: 21px;
}

.price-card.popular {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.price {
  margin: 0;
  color: var(--black);
  font-family: var(--headline);
  font-size: 34px;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-family: var(--body);
  font-size: 13px;
}

.price-card ul {
  display: grid;
  gap: 13px;
  min-height: 123px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.price-card li {
  padding-top: 13px;
  border-top: 1px solid transparent;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 29px;
  padding: 89px max(17px, calc((100vw - 1180px) / 2));
  background: var(--black);
  color: var(--white);
}

.final-cta h2 {
  max-width: 720px;
  color: var(--white);
}

.final-cta .eyebrow {
  color: var(--mint);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: start;
  padding: 47px max(17px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.site-footer p,
.site-footer nav {
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav,
.socials {
  display: grid;
  gap: 13px;
}

.socials {
  grid-auto-flow: column;
}

.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 960px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .hero,
  .preview-area,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .framework-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bridge-diagram {
    grid-template-columns: 1fr;
  }

  .connector {
    height: 47px;
    transform: rotate(90deg);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding-inline: 17px;
  }

  .section-shell {
    width: min(100% - 26px, 1180px);
    padding: 55px 0;
  }

  h1 {
    font-size: 47px;
  }

  h2 {
    font-size: 34px;
  }

  .comparison-frame,
  .problem-grid,
  .framework-grid,
  .preview-stage,
  .site-footer,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .comparison-frame,
  .video-shell {
    min-height: auto;
  }

  .placeholder-media {
    min-height: 233px;
  }

  .split-panel.good {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .score-callout {
    position: static;
    margin: 0 21px 21px;
    grid-column: 1;
  }

  .video-placeholder {
    min-height: 377px;
  }

  .final-cta {
    align-items: start;
  }
}
