:root {
  --bg: #f7f8fc;
  --bg-soft: #eef7f4;
  --ink: #080910;
  --muted: #667085;
  --line: rgba(8, 9, 16, 0.1);
  --line-strong: rgba(8, 9, 16, 0.16);
  --panel: rgba(255, 255, 255, 0.78);
  --accent: #7357ff;
  --accent-2: #21c7a8;
  --accent-3: #ffbd5a;
  --shadow: 0 24px 80px rgba(29, 34, 56, 0.12);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(115, 87, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 5% 35%, rgba(33, 199, 168, 0.12), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(8, 9, 16, 0.08);
  background: rgba(247, 248, 252, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav-links,
.trust-row,
.hero-actions,
.panel-title-row,
.board-top,
.segment-control,
.math-line {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 22px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: white;
  background: linear-gradient(135deg, #080910 30%, #4732c9);
  box-shadow: 0 10px 24px rgba(8, 9, 16, 0.2);
}

.nav-links {
  gap: 28px;
  color: #252a38;
  font-size: 14px;
  font-weight: 650;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -24px;
  left: -24px;
  height: 22px;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 40;
  display: grid;
  width: 310px;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 64px rgba(29, 34, 56, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a,
.nav-dropdown-item-disabled {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  color: #151927;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: #f2f5ff;
}

.nav-dropdown-menu strong,
.nav-dropdown-item-disabled strong {
  font-size: 14px;
  line-height: 1.2;
}

.nav-dropdown-menu span,
.nav-dropdown-item-disabled span {
  color: #687286;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

.nav-dropdown-item-disabled {
  opacity: 0.58;
}

.header-actions {
  gap: 14px;
}

.quiet-link {
  color: #252a38;
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-dark {
  color: white;
  background: #090a14;
  box-shadow: 0 14px 32px rgba(8, 9, 16, 0.18);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 34px 24px 44px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.site-footer a:hover {
  color: #080910;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-icon-link img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
}

.legal-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 72px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  max-width: 720px;
  margin: 0 0 14px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: #667085;
  font-size: 18px;
  line-height: 1.55;
}

.legal-content {
  display: grid;
  gap: 22px;
  padding: 34px;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 80px rgba(29, 34, 56, 0.08);
}

.legal-content section {
  display: grid;
  gap: 10px;
}

.legal-content h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  margin: 0;
  color: #3f4656;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: #4732c9;
  font-weight: 800;
}

.legal-updated {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.button-light {
  background: white;
  border-color: var(--line);
  box-shadow: 0 10px 26px rgba(29, 34, 56, 0.08);
}

.button-accent {
  width: 100%;
  color: white;
  background: linear-gradient(135deg, var(--accent), #4a33da);
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  gap: 36px;
  align-items: center;
  padding: 58px 48px 42px;
  max-width: 1480px;
  margin: 0 auto;
  overflow-x: clip;
}

.hero-copy,
.hero-gallery,
.matrix-copy,
.matrix-board,
.panel,
.template-group,
.template-group-copy,
.template-row-grid {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #687087;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0;
}

.title-accent {
  color: #5d45e8;
}

.title-green {
  color: #15a58c;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 18px;
  line-height: 1.15;
}

.hero-subtitle,
.matrix-copy p,
.panel p,
.loop-board p {
  color: #4d566b;
  font-size: 18px;
  line-height: 1.55;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 26px;
}

.launch-offer {
  display: grid;
  gap: 7px;
  max-width: 650px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 151, 127, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(233, 250, 244, 0.96), rgba(255, 255, 255, 0.88)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(29, 34, 56, 0.1);
}

.launch-offer span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f5f4b;
  background: #c9f1dc;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-offer strong {
  color: #111522;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.08;
}

.launch-offer small {
  color: #4d566b;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.42;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-url-form,
.hero-flow,
.mobile-hero-cards {
  display: none;
}

.hero-url-form {
  max-width: 690px;
  margin: 30px 0 0;
}

.url-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border: 1px solid rgba(8, 9, 16, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(29, 34, 56, 0.14);
}

.url-input-wrap > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: var(--accent);
  background: #eee9ff;
  font-size: 24px;
  font-weight: 900;
}

.url-input-wrap input {
  min-width: 0;
  min-height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.url-input-wrap input::placeholder {
  color: #8a93a7;
}

.hero-url-form p {
  margin: 12px 0 0 58px;
  color: #687087;
  font-size: 14px;
  font-weight: 800;
}

.hero-flow {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(115, 87, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #293044;
  font-size: 13px;
  font-weight: 850;
}

.hero-flow span:not(:last-child)::after {
  content: "→";
  margin-left: 10px;
  color: var(--accent);
}

.url-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 590px);
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(29, 34, 56, 0.1);
}

.url-bar span {
  padding-left: 10px;
  color: var(--accent);
  font-size: 21px;
  font-weight: 900;
}

.url-bar input {
  min-width: 0;
  min-height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.url-bar button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: #090a14;
  cursor: pointer;
  font-weight: 850;
}

.trust-row {
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: #596277;
  font-size: 13px;
  font-weight: 700;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: #0f977f;
}

.hero-gallery {
  position: relative;
  min-height: 610px;
  overflow-x: clip;
  overflow-y: visible;
  padding: 24px 0 52px;
}

.hero-gallery-heading {
  display: none;
  margin: 0 0 12px 10px;
}

.hero-card-track {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
  padding: 8px 6px 70px 0;
  overflow: visible;
}

.hero-card-track .creative-card {
  flex: 0 0 clamp(136px, 11vw, 188px);
  min-height: auto;
  aspect-ratio: 9 / 16;
  margin-right: -34px;
}

.hero-card-track .creative-card:nth-child(2) {
  margin-top: 86px;
}

.hero-card-track .creative-card:nth-child(3) {
  margin-top: 28px;
}

.hero-card-track .creative-card:nth-child(4) {
  margin-top: 112px;
}

.hero-card-track .creative-card:nth-child(5) {
  margin-top: 46px;
}

.creative-card {
  position: relative;
  min-height: 326px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px;
  background: var(--poster) center / cover no-repeat, #dfe4eb;
  box-shadow: 0 24px 60px rgba(18, 22, 36, 0.22);
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0));
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.creative-card:hover {
  z-index: 5;
  transform: translateY(calc(var(--lift, 0) - 10px)) rotate(0deg) scale(1.035);
  box-shadow: 0 28px 80px rgba(18, 22, 36, 0.28);
}

.creative-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(8, 9, 16, 0.02), rgba(8, 9, 16, 0.62));
  pointer-events: none;
}

.creative-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--still);
}

.play-dot {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: rgba(8, 9, 16, 0.45);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.metric-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 999px;
  color: #121521;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(8, 9, 16, 0.16);
}

.format-badge {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 14px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #25155d;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(8, 9, 16, 0.16);
  font-size: 12px;
  font-weight: 900;
  transition: opacity 180ms ease, transform 180ms ease;
}

.creative-card:nth-child(2n) .metric-badge {
  background: rgba(255, 255, 255, 0.82);
  color: #121521;
  box-shadow: 0 12px 26px rgba(8, 9, 16, 0.16);
}

.creative-card:nth-child(3n) .metric-badge {
  background: rgba(255, 255, 255, 0.82);
  color: #121521;
  box-shadow: 0 12px 26px rgba(8, 9, 16, 0.16);
}

.creative-body {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.creative-body h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.creative-meta {
  display: grid;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  color: #414a60;
  font-size: 12px;
  opacity: 0;
  transition: max-height 200ms ease, opacity 200ms ease;
}

.creative-card:hover .creative-meta {
  max-height: 130px;
  opacity: 1;
}

.remix-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: #090a14;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.brand-row {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: -36px;
  left: 12px;
  color: #242a38;
  font-size: 13px;
  font-weight: 850;
}

.section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 54px 48px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.section-subtitle {
  max-width: 620px;
  margin: 12px 0 0;
  color: #4d566b;
  font-size: 17px;
  line-height: 1.45;
}

.section-subtitle:empty {
  display: none;
}

.text-link {
  color: var(--accent);
  white-space: nowrap;
  font-weight: 850;
}

.tools-section {
  padding-top: 48px;
}

.tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(220px, 0.8fr));
  gap: 18px;
}

.tool-card {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.tool-card a,
.tool-card > div {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.tool-card-featured a {
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.tool-card-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 260px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(238, 233, 255, 0.88), rgba(231, 251, 246, 0.7)),
    #f8faff;
}

.tool-card-media video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(29, 34, 56, 0.15);
}

.tool-card-media video:nth-child(2) {
  transform: translateY(-14px);
}

.tool-card-media video:nth-child(3) {
  transform: translateY(10px);
}

.tool-card div:not(.tool-card-media) {
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.tool-card-muted a,
.tool-card-muted > div {
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.tool-card h3 {
  color: #151927;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.03;
}

.tool-card p {
  color: #4f5a70;
  font-size: 16px;
  line-height: 1.5;
}

.tool-card strong {
  color: var(--accent);
  font-weight: 900;
}

.tool-card-muted {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 255, 0.88)),
    #ffffff;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 16px;
}

.template-grid .creative-card {
  min-height: 276px;
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.13);
  transform: none;
}

.template-grid .creative-body h3 {
  font-size: 13px;
}

.template-grid .brand-row {
  display: none;
}

.template-showcase {
  display: grid;
  gap: 22px;
}

.template-group {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 50px rgba(29, 34, 56, 0.08);
}

.template-group-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 22px 22px 88px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 15%, rgba(115, 87, 255, 0.12), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 247, 244, 0.72));
}

.template-group-copy::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.85), transparent 28%),
    conic-gradient(from 210deg, rgba(115, 87, 255, 0.38), rgba(33, 199, 168, 0.34), rgba(255, 189, 90, 0.34), rgba(115, 87, 255, 0.38));
  filter: blur(0.2px);
  opacity: 0.9;
}

.template-group-copy > * {
  position: relative;
  z-index: 1;
}

.group-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #392a9a;
  background: #e8e3ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.group-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-top: 24px;
  border-radius: 16px;
  color: white;
  background:
    linear-gradient(145deg, #090a14 0%, #4f38da 100%);
  box-shadow: 0 18px 34px rgba(79, 56, 218, 0.24);
  font-size: 28px;
  font-weight: 900;
}

.template-group-main {
  margin-top: auto;
}

.template-group-copy h3 {
  margin: 34px 0 10px;
  font-size: clamp(28px, 3vw, 44px);
}

.template-group-copy p {
  margin-bottom: 0;
  color: #4d566b;
  font-size: 15px;
  line-height: 1.4;
}

.group-proof {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(115, 87, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #2f3750;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.group-more {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(8, 9, 16, 0.12);
  border-radius: 50%;
  color: white;
  background: #090a14;
  box-shadow: 0 18px 34px rgba(8, 9, 16, 0.18);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.group-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(8, 9, 16, 0.24);
}

.template-row-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 100%;
}

.template-row-grid .creative-card {
  min-height: 390px;
  box-shadow: 0 22px 56px rgba(18, 22, 36, 0.16);
  transform: none;
}

.template-row-grid .compact-card::before {
  background: linear-gradient(to bottom, rgba(8, 9, 16, 0.04), rgba(8, 9, 16, 0.22));
}

.template-row-grid .compact-card .creative-body {
  inset: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 14px;
  background:
    linear-gradient(to top, rgba(8, 9, 16, 0.78), rgba(8, 9, 16, 0.2) 62%, rgba(8, 9, 16, 0.02));
  color: white;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.template-row-grid .compact-card:hover .creative-body,
.template-row-grid .compact-card:focus-within .creative-body,
.template-row-grid .compact-card.is-revealed .creative-body {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.template-row-grid .compact-card:hover .format-badge,
.template-row-grid .compact-card:focus-within .format-badge,
.template-row-grid .compact-card.is-revealed .format-badge {
  opacity: 0;
  transform: translateY(8px);
}

.template-row-grid .creative-body h3 {
  font-size: 15px;
}

.template-row-grid .creative-meta {
  max-height: none;
  margin-top: 14px;
  opacity: 1;
}

.template-row-grid .creative-meta span {
  display: none;
}

.template-row-grid .remix-button {
  width: 100%;
  min-height: 42px;
  margin-top: 0;
  color: #090a14;
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.template-row-grid .brand-row {
  display: none;
}

.ai-actors-section {
  padding-top: 28px;
}

.ai-actors-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(620px, 1.28fr);
  gap: 46px;
  overflow: hidden;
  padding: clamp(38px, 4.6vw, 70px);
  border: 1px solid rgba(115, 87, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 16%, rgba(115, 87, 255, 0.14), transparent 22rem),
    radial-gradient(circle at 8% 82%, rgba(33, 199, 168, 0.11), transparent 22rem),
    linear-gradient(135deg, #edf5ff 0%, #dde9fb 100%);
  box-shadow: 0 26px 86px rgba(29, 34, 56, 0.12);
}

.ai-actors-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 38%;
  width: 260px;
  background: linear-gradient(90deg, rgba(226, 236, 250, 0.96), rgba(226, 236, 250, 0));
  pointer-events: none;
}

.ai-actors-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
}

.ai-actors-copy h2 {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: clamp(54px, 6.4vw, 96px);
  line-height: 0.96;
}

.ai-actors-copy p {
  max-width: 620px;
  margin-bottom: 54px;
  color: #5e6a7c;
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.28;
  font-weight: 650;
}

.actor-learn-link {
  width: fit-content;
  margin-bottom: 38px;
  color: #252c3c;
  font-size: clamp(20px, 2.1vw, 34px);
  font-weight: 760;
}

.ai-actors-copy .button {
  width: fit-content;
  min-height: 74px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 20px;
}

.ai-actors-copy .button span {
  color: #5d7cff;
}

.ai-actor-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 22px;
}

.ai-actor-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 9 / 16;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: var(--poster) center / cover no-repeat, rgba(255, 255, 255, 0.38);
  box-shadow: 0 22px 52px rgba(29, 34, 56, 0.16);
  animation: actorRise 500ms ease both;
  animation-delay: var(--actor-delay, 0ms);
}

.ai-actor-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes actorRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.label-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #392a9a;
  background: #e8e3ff;
  font-size: 11px;
  font-weight: 850;
}

.matrix-section,
.split-section {
  display: grid;
  max-width: 1480px;
  margin: 0 auto;
  padding: 38px 48px;
  gap: 22px;
}

.matrix-section {
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  margin-top: 12px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.matrix-section::before {
  content: "";
  position: absolute;
}

.matrix-copy,
.matrix-board,
.panel,
.final-cta {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.matrix-copy {
  min-height: 430px;
  padding: 48px;
  border-radius: 16px 0 0 16px;
  border: 0;
  background: white;
  box-shadow: none;
}

.math-line {
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.math-line span {
  color: #4d566b;
  font-weight: 750;
}

.math-line strong {
  display: block;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.accent-number strong,
.accent-number {
  color: var(--accent) !important;
}

.matrix-board {
  padding: 22px;
  border-radius: 0 16px 16px 0;
}

.matrix-image-board {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: white;
  box-shadow: none;
}

.matrix-image-board img {
  display: block;
  width: min(100%, 940px);
  height: auto;
  border-radius: 18px;
  filter: none;
}

.split-section {
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  margin-top: 16px;
}

.meta-section {
  grid-template-columns: 1fr;
}

.panel {
  padding: 36px;
  border-radius: 16px;
}

.url-flow {
  background:
    linear-gradient(135deg, rgba(235, 250, 246, 0.92), rgba(255, 255, 255, 0.78)),
    white;
}

.url-bar-large {
  width: 100%;
  margin: 28px 0;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.pipeline span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  text-align: center;
  color: #293044;
  font-size: 13px;
  font-weight: 800;
}

.pipeline span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  color: #8a93a7;
}

.panel-title-row {
  justify-content: space-between;
  gap: 16px;
}

.ads-intel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 28px;
}

.current-ads,
.why-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.ad-rows {
  display: grid;
  gap: 10px;
}

.ad-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.avatar {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--still);
  background-size: cover;
  background-position: center;
}

.avatar video,
.creator-still video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-name {
  font-weight: 850;
}

.ad-metric {
  color: #334058;
  font-size: 13px;
  font-weight: 800;
}

.status-pill {
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-winner {
  color: #086047;
  background: #c6f8e4;
}

.status-fatigued {
  color: #a12c35;
  background: #ffe0e3;
}

.status-promising {
  color: #865000;
  background: #ffe7bd;
}

.why-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
}

.why-card h3,
.why-card button {
  grid-column: 1 / -1;
}

.why-card ul {
  margin: 0;
  padding-left: 18px;
  color: #44506a;
  font-size: 14px;
  line-height: 1.7;
}

.creator-still {
  min-height: 118px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--still);
  background-size: cover;
  background-position: center;
}

.loop-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 12%, rgba(115, 87, 255, 0.14), transparent 18rem),
    radial-gradient(circle at 88% 8%, rgba(33, 199, 168, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 252, 0.92));
  box-shadow: var(--shadow);
}

.loop-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(115, 87, 255, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(115, 87, 255, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 36%, black, transparent 72%);
  opacity: 0.54;
  pointer-events: none;
}

.loop-board::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: conic-gradient(from 110deg, rgba(115, 87, 255, 0.2), rgba(33, 199, 168, 0.18), rgba(255, 189, 90, 0.24), rgba(115, 87, 255, 0.2));
  filter: blur(2px);
  opacity: 0.72;
  pointer-events: none;
}

.loop-step,
.loop-result {
  position: relative;
  z-index: 1;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 248, 252, 0.84));
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.loop-step::after {
  content: "→";
  position: absolute;
  z-index: 4;
  top: 50%;
  right: -22px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(115, 87, 255, 0.18);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 24px rgba(29, 34, 56, 0.1);
  font-size: 22px;
  font-weight: 900;
}

.loop-step:nth-of-type(4)::after {
  display: none;
}

.loop-index {
  position: absolute;
  right: 14px;
  bottom: -18px;
  color: rgba(115, 87, 255, 0.13);
  font-size: clamp(82px, 8vw, 128px);
  line-height: 0.82;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.loop-graphic {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 116px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.95), transparent 4.2rem),
    linear-gradient(145deg, rgba(238, 233, 255, 0.86), rgba(235, 250, 246, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 34px rgba(29, 34, 56, 0.08);
}

.loop-graphic::before,
.loop-graphic::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(115, 87, 255, 0.14);
}

.loop-graphic::before {
  width: 26px;
  height: 26px;
  left: 16px;
  top: 14px;
}

.loop-graphic::after {
  right: 18px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  background: rgba(33, 199, 168, 0.15);
}

.loop-graphic svg {
  position: relative;
  z-index: 1;
  width: min(78%, 140px);
  height: auto;
  overflow: visible;
}

.loop-graphic path,
.loop-graphic rect,
.loop-graphic circle {
  fill: rgba(255, 255, 255, 0.7);
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loop-graphic path {
  fill: none;
}

.loop-step:nth-of-type(2) .loop-graphic {
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.95), transparent 4.2rem),
    linear-gradient(145deg, rgba(255, 245, 222, 0.84), rgba(255, 255, 255, 0.74));
}

.loop-step:nth-of-type(3) .loop-graphic {
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.95), transparent 4.2rem),
    linear-gradient(145deg, rgba(229, 250, 244, 0.88), rgba(255, 255, 255, 0.74));
}

.loop-step-result .loop-graphic {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.9), transparent 4.2rem),
    linear-gradient(145deg, rgba(9, 10, 20, 0.92), rgba(81, 54, 219, 0.88));
}

.loop-step-result .loop-graphic path,
.loop-step-result .loop-graphic circle {
  stroke: #ffffff;
}

.loop-board h3 {
  position: relative;
  z-index: 2;
  max-width: 220px;
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 30px);
}

.loop-board p {
  position: relative;
  z-index: 2;
  max-width: 240px;
  margin-bottom: 0;
  color: #4d566b;
  font-size: 15px;
  line-height: 1.45;
}

.loop-result {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 52px);
  min-height: 132px;
  color: white;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.28), transparent 9rem),
    radial-gradient(circle at 82% 20%, rgba(33, 199, 168, 0.32), transparent 12rem),
    linear-gradient(145deg, #090a14 0%, #5136db 100%);
  text-align: center;
}

.loop-result::before,
.loop-result::after {
  content: "→";
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
}

.loop-result strong {
  display: block;
  color: white;
  min-width: 110px;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 1;
}

.loop-result span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 0%, rgba(115, 87, 255, 0.14), transparent 18rem),
    linear-gradient(145deg, #030407 0%, #121318 100%);
  color: white;
  box-shadow: 0 28px 80px rgba(8, 9, 16, 0.2);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 42%, rgba(3, 4, 7, 0.76));
  pointer-events: none;
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  margin: 28px 0 14px;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 720;
  line-height: 1.05;
}

.feature-card em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.feature-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.32;
}

.feature-media {
  position: relative;
  z-index: 1;
  min-height: 270px;
  margin: -8px -4px 10px;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12), transparent 12rem);
}

.actor-media {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: start;
}

.actor-media span {
  display: block;
  width: min(28%, 150px);
  aspect-ratio: 9 / 12;
  border-radius: 0 0 18px 18px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent),
    var(--still, linear-gradient(135deg, #39404d, #14161c));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.actor-media span:nth-child(1) {
  --still: linear-gradient(135deg, #1e2634, #736150);
}

.actor-media span:nth-child(2) {
  --still: linear-gradient(135deg, #f2eee6, #b89473);
}

.actor-media span:nth-child(3) {
  --still: linear-gradient(135deg, #10131a, #585d66);
}

.edit-media {
  display: grid;
  place-items: center;
}

.caption-line {
  display: grid;
  place-items: center;
  width: min(76%, 360px);
  aspect-ratio: 16 / 10;
  padding: 28px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(8, 9, 16, 0.22), rgba(8, 9, 16, 0.22)),
    radial-gradient(circle at 50% 35%, #fb7b30, #462015 58%, #111217 100%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.04;
}

.emotion-media {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 46px;
}

.emotion-media span {
  display: block;
  width: min(34%, 210px);
  aspect-ratio: 9 / 14;
  border-radius: 18px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(145deg, #f3f0e8, #4f6074);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.emotion-media span:nth-child(2) {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(145deg, #f6eee8, #b34658);
}

.language-media {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 760;
}

.language-media span {
  position: absolute;
}

.language-media span:nth-child(1) {
  top: 38px;
  left: 8px;
}

.language-media span:nth-child(2) {
  top: 104px;
  right: 8px;
}

.language-media span:nth-child(3) {
  bottom: 38px;
  left: 20px;
}

.language-media strong {
  display: grid;
  place-items: end center;
  width: min(48%, 290px);
  aspect-ratio: 9 / 13;
  padding: 0 0 28px;
  border-radius: 18px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(8, 9, 16, 0.24)),
    linear-gradient(145deg, #bed8df, #243c4e 64%, #12151c);
  color: white;
  font-size: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.section-number {
  display: inline-flex;
  margin-right: 8px;
  color: var(--accent);
}

.library-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.library-cta .button {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 16px;
}

.intelligence-section .section-heading h2 {
  max-width: 980px;
}

.intelligence-section .section-subtitle {
  max-width: 780px;
}

.intel-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.competitor-panel,
.matrix-mini-panel,
.meta-mini-panel {
  overflow: hidden;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 20px;
  background: white;
  box-shadow: 0 24px 70px rgba(29, 34, 56, 0.1);
}

.competitor-panel {
  grid-row: span 2;
  min-height: 660px;
  background:
    radial-gradient(circle at 12% 10%, rgba(115, 87, 255, 0.12), transparent 18rem),
    white;
}

.matrix-mini-panel,
.meta-mini-panel {
  padding: 22px;
}

.competitor-copy h3 {
  max-width: 620px;
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
}

.competitor-copy p:not(.eyebrow) {
  max-width: 660px;
  color: #4d566b;
  font-size: 18px;
  line-height: 1.48;
}

.competitor-art-stack {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.competitor-art-card,
.meta-dashboard-card {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(29, 34, 56, 0.14);
}

.competitor-art-card img,
.meta-dashboard-card img,
.matrix-mini-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.competitor-art-wide {
  transform: rotate(-1.3deg);
}

.competitor-art-tools {
  width: min(78%, 520px);
  justify-self: end;
  transform: rotate(1.8deg);
}

.meta-dashboard-card {
  margin-top: 18px;
  transform: rotate(-1.2deg);
}

.matrix-mini-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(260px, 1.2fr);
  gap: 18px;
  align-items: center;
}

.matrix-mini-panel h3,
.meta-mini-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.2vw, 36px);
}

.matrix-mini-panel p,
.meta-mini-panel p {
  color: #4d566b;
  line-height: 1.45;
}

.matrix-mini-panel img {
  max-height: 310px;
  border-radius: 14px;
}

.meta-mini-panel .button {
  margin-top: 18px;
}

.compact-intel {
  grid-template-columns: 1fr;
}

.compact-intel .why-card {
  grid-template-columns: 1fr;
}

.compact-intel .why-card ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.compact-intel .why-card li {
  padding: 10px;
  border-radius: 9px;
  background: #f7f8fc;
  font-size: 13px;
}

.feature-card {
  min-height: 560px;
}

.feature-media::before {
  display: none;
}

.actor-media video {
  display: block;
  width: min(30%, 190px);
  aspect-ratio: 9 / 13;
  overflow: hidden;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.actor-media video:nth-child(2) {
  margin-top: 34px;
}

.actor-media video:nth-child(3) {
  margin-top: 10px;
}

.cloner-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  min-height: 320px;
}

.cloner-media::after {
  content: "→";
  position: absolute;
  left: 50%;
  top: 42%;
  color: rgba(255, 255, 255, 0.48);
  font-size: 42px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.cloner-media div {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  text-align: center;
}

.cloner-media video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

.cloner-media div:nth-child(2) video {
  border-color: #3a66ff;
}

.url-media,
.language-media {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.url-media img,
.language-media img {
  display: block;
  width: min(100%, 520px);
  max-height: 330px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.plugin-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  overflow: hidden;
  min-height: 360px;
  padding: 38px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 10%, rgba(115, 87, 255, 0.13), transparent 20rem),
    white;
  box-shadow: var(--shadow);
}

.plugin-panel h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 56px);
}

.plugin-panel p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4d566b;
  font-size: 18px;
  line-height: 1.5;
}

.claude-directory-button {
  width: fit-content;
  margin-top: 24px;
  color: #16110c;
  background: #f3eee6;
  border-color: rgba(8, 9, 16, 0.12);
  box-shadow: 0 16px 34px rgba(8, 9, 16, 0.12);
}

.claude-directory-button img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
}

.plugin-logos {
  position: absolute;
  right: clamp(34px, 6vw, 92px);
  top: 50%;
  display: flex;
  gap: 22px;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.plugin-logo {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 14px;
  place-items: center;
  min-width: 132px;
  min-height: 112px;
  padding: 0 34px;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 24px;
  background: #f3eee6;
  color: #090a14;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 28px 70px rgba(8, 9, 16, 0.18);
  transform: rotate(-4deg);
}

.claude-logo,
.openai-logo {
  color: #090a14;
  background: #f3eee6;
}

.openai-logo {
  background: #f7f4ee;
}

.claude-logo {
  transform: translateY(40px) rotate(5deg);
}

.math-section {
  max-width: none;
  padding: 76px 48px 34px;
  background: #090a14;
}

.math-panel {
  max-width: 1384px;
  margin: 0 auto;
  color: white;
  text-align: center;
}

.math-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(52px, 7vw, 112px);
}

.math-panel h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.math-panel > p {
  max-width: 760px;
  margin: 0 auto 56px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 24px;
  line-height: 1.4;
}

.math-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(210px, 0.7fr) minmax(210px, 0.7fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 74% 12%, rgba(255, 60, 118, 0.12), transparent 18rem),
    #101117;
  text-align: left;
}

.math-slider-card,
.math-price-card,
.math-save-card {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.math-slider-card {
  display: grid;
  gap: 18px;
  grid-row: span 2;
}

.math-slider-card label {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  font-weight: 750;
}

.fake-slider {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.fake-slider span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #7357ff;
  box-shadow: 0 0 22px rgba(115, 87, 255, 0.5);
}

.math-price-card span {
  display: block;
  margin-bottom: 18px;
  color: #ff4c7a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.math-price-card strong,
.math-save-card strong {
  display: block;
  color: white;
  font-size: clamp(34px, 4vw, 54px);
}

.math-price-card small {
  color: rgba(255, 255, 255, 0.5);
}

.kreopatra span,
.math-save-card strong {
  color: #7357ff;
}

.math-save-card {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-color: rgba(115, 87, 255, 0.34);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 32px;
  max-width: 1384px;
  margin: 36px auto 64px;
  padding: 58px;
  border-radius: 32px;
  text-align: left;
  color: white;
  background:
    radial-gradient(circle at 78% 18%, rgba(115, 87, 255, 0.22), transparent 22rem),
    #142351;
}

.final-video-cluster {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 16px;
  max-width: 780px;
  margin: 0;
}

.final-video-cluster video {
  width: clamp(82px, 9vw, 132px);
  aspect-ratio: 9 / 13;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.18);
}

.final-video-cluster video:nth-child(2),
.final-video-cluster video:nth-child(4) {
  transform: translateY(-28px);
}

.final-video-cluster video:nth-child(3) {
  transform: translateY(12px);
}

.final-cta h2 {
  grid-column: 1;
  max-width: 760px;
  margin: 0 0 26px;
}

.final-cta .eyebrow {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.64);
}

.final-cta > .button {
  grid-column: 1;
  width: fit-content;
  color: #090a14;
  background: white;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 16, 0.48);
  backdrop-filter: blur(14px);
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  padding: 34px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 28px 90px rgba(8, 9, 16, 0.25);
}

.modal-action {
  margin-top: 10px;
}

.blog-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(115, 87, 255, 0.11), transparent 30rem),
    radial-gradient(circle at 10% 30%, rgba(33, 199, 168, 0.11), transparent 26rem),
    var(--bg);
}

.blog-page .site-header {
  position: sticky;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 118px) 48px 56px;
}

.blog-hero-copy h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.94;
}

.blog-dek {
  max-width: 760px;
  margin-bottom: 28px;
  color: #485268;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-meta span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #2f374b;
  font-size: 13px;
  font-weight: 850;
}

.article-meta .article-author {
  gap: 8px;
  padding-left: 6px;
}

.article-author img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-hero-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.blog-hero-media video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: #dfe4eb;
  box-shadow: 0 28px 70px rgba(18, 22, 36, 0.2);
}

.blog-hero-media video:nth-child(2) {
  transform: translateY(32px);
}

.blog-hero-media video:nth-child(3) {
  transform: translateY(-18px);
}

.blog-index-hero,
.blog-index-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.blog-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  padding: 76px 0 40px;
}

.blog-index-featured {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 245, 255, 0.86)),
    #ffffff;
  box-shadow: 0 22px 58px rgba(29, 34, 56, 0.1);
}

.blog-index-featured h2 {
  max-width: 620px;
  color: #151927;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.blog-index-featured h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-index-featured p {
  max-width: 620px;
  color: #485268;
  font-size: 17px;
  line-height: 1.55;
}

.blog-index-section {
  padding: 26px 0 88px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.blog-card a {
  display: grid;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card img,
.blog-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #dfe4eb;
}

.blog-card div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.blog-card span {
  color: #7357ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  color: #151927;
  font-size: 21px;
  line-height: 1.16;
}

.blog-card p {
  color: #4f5a70;
  font-size: 15px;
  line-height: 1.48;
}

.blog-card small {
  color: #687286;
  font-size: 13px;
  font-weight: 760;
}

.tool-hero,
.tool-results-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 32px;
  align-items: start;
  padding: 72px 0 38px;
}

.hook-generator-panel,
.site-analysis-card,
.tool-output-card,
.video-concept-card {
  border: 1px solid rgba(8, 9, 16, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 58px rgba(29, 34, 56, 0.1);
}

.hook-generator-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 22px;
}

.tool-step-label {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-self: start;
  align-items: center;
  justify-self: start;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid rgba(115, 87, 255, 0.16);
  border-radius: 999px;
  background: #f2f5ff;
  color: #151927;
  font-size: 12px;
  font-weight: 900;
}

.site-analysis-step {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.tool-step-label span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #7357ff;
  color: #ffffff;
  text-transform: uppercase;
}

.tool-field {
  display: grid;
  gap: 8px;
  color: #151927;
  font-size: 13px;
  font-weight: 900;
}

.tool-field input,
.tool-field textarea,
.tool-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(8, 9, 16, 0.12);
  border-radius: 12px;
  background: #ffffff;
  color: #151927;
  font: inherit;
  font-weight: 720;
  outline: none;
}

.tool-field textarea {
  min-height: 104px;
  padding-top: 12px;
  line-height: 1.45;
  resize: vertical;
}

.tool-field small {
  color: #687286;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.4;
}

.tool-control-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.avatar-preview-strip {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) repeat(4, 46px);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.9);
}

.avatar-preview-strip span {
  color: #4f5a70;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.avatar-preview-strip video {
  width: 46px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: #dfe4eb;
}

.avatar-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.avatar-picker legend {
  grid-column: 1 / -1;
  color: #151927;
  font-size: 13px;
  font-weight: 900;
}

.avatar-picker label {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(248, 250, 255, 0.9);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.avatar-picker label:hover {
  transform: translateY(-2px);
  border-color: rgba(115, 87, 255, 0.35);
  box-shadow: 0 14px 30px rgba(29, 34, 56, 0.12);
}

.avatar-picker input {
  position: absolute;
  inset: 10px auto auto 10px;
  z-index: 1;
}

.avatar-picker video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 2px solid transparent;
  border-radius: 14px;
  object-fit: cover;
  background: #dfe4eb;
}

.avatar-picker label:has(input:checked) {
  border-color: #7357ff;
  box-shadow: 0 0 0 4px rgba(115, 87, 255, 0.12);
}

.avatar-picker input:checked + video {
  border-color: #7357ff;
}

.avatar-picker span {
  color: #3f485d;
  font-size: 12px;
  font-weight: 850;
}

.tool-results-section {
  display: grid;
  gap: 22px;
  padding: 24px 0 54px;
}

.site-analysis-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
}

.site-analysis-card h2 {
  color: #151927;
}

.site-analysis-card p {
  margin-top: 8px;
  color: #4f5a70;
  line-height: 1.48;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.analysis-pill {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.92);
}

.analysis-pill strong {
  color: #7357ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.analysis-pill span {
  color: #151927;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.tool-results-header,
.video-concept-card {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.tool-results-header p {
  max-width: 720px;
  margin-top: 8px;
  color: #4f5a70;
  line-height: 1.48;
}

.tool-results-header h2,
.video-concept-card h2,
.tool-output-card h2 {
  color: #151927;
}

.hook-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hook-card {
  display: grid;
  position: relative;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 12px;
  min-height: 430px;
  padding: 0;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(29, 34, 56, 0.06);
}

.hook-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: inherit;
}

.hook-card > * {
  position: relative;
  z-index: 1;
}

.hook-card.is-selected {
  border-color: rgba(115, 87, 255, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(75, 55, 210, 0.16);
}

.hook-card-topline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(115, 87, 255, 0.16), rgba(15, 151, 127, 0.12)),
    #f8faff;
}

.hook-card.is-selected .hook-card-topline {
  background:
    linear-gradient(135deg, rgba(115, 87, 255, 0.96), rgba(15, 151, 127, 0.78)),
    #7357ff;
}

.hook-card span,
.hook-card small {
  color: #7357ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hook-card.is-selected span,
.hook-card.is-selected .hook-card-topline small {
  color: #ffffff;
}

.hook-card h3 {
  padding: 0 16px;
  color: #151927;
  font-size: 20px;
  line-height: 1.16;
}

.hook-breakdown {
  display: grid;
  gap: 4px;
  margin: 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f2f5ff;
}

.hook-breakdown strong {
  color: #151927;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hook-card p,
.video-concept-card p,
.test-plan-list p {
  color: #4f5a70;
  line-height: 1.48;
}

.hook-card-notes {
  display: grid;
  gap: 10px;
  padding: 0 16px;
}

.hook-card-notes div {
  display: grid;
  gap: 3px;
}

.hook-card-notes strong {
  color: #151927;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hook-card-notes p {
  margin: 0;
  font-size: 14px;
}

.hook-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 106px 0 16px;
}

.hook-tags small {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(115, 87, 255, 0.1);
  color: #392a9a;
}

.select-hook-button {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  align-self: end;
  justify-self: stretch;
  text-align: center;
}

.hook-avatar-peek {
  position: absolute;
  right: 12px;
  bottom: 62px;
  z-index: 2;
  display: flex;
  align-items: end;
  pointer-events: none;
}

.hook-avatar-peek video {
  width: 46px;
  height: 62px;
  margin-left: -16px;
  border: 3px solid #ffffff;
  border-radius: 13px;
  object-fit: cover;
  background: #dfe4eb;
  box-shadow: 0 12px 26px rgba(29, 34, 56, 0.18);
  transform: translateY(calc(var(--peek-index) * -7px)) rotate(calc((var(--peek-index) - 1) * 5deg));
}

.tool-output-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.tool-output-card,
.video-concept-card {
  padding: 22px;
  border-radius: 18px;
}

.tool-output-card h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
}

.video-concept-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(460px, 1.2fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
}

.video-concept-card h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
}

.video-concept-card p {
  max-width: 520px;
}

.video-concept-actions {
  display: grid;
  gap: 14px;
  width: 100%;
}

.video-concept-card .button {
  width: 100%;
}

.video-concept-card > div:first-child {
  display: grid;
  align-content: start;
  align-items: start;
  gap: 10px;
}

.avatar-picker-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.avatar-picker-compact video {
  aspect-ratio: 9 / 16;
  border-radius: 12px;
}

.avatar-picker-compact span {
  color: #151927;
  font-size: 13px;
}

.script-review-card {
  grid-column: 1 / -1;
  gap: 12px;
}

.script-review-copy {
  margin-top: -4px;
  color: #4f5a70;
  line-height: 1.48;
}

.script-editor {
  width: 100%;
  box-sizing: border-box;
  overflow: auto;
  min-height: 320px;
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 14px;
  background: #111522;
  color: #f7f8fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  white-space: pre-wrap;
}

.use-script-button {
  width: 100%;
  margin-top: 4px;
}

.test-plan-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.test-plan-list div {
  padding: 14px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.9);
}

.test-plan-list strong {
  color: #151927;
}

.tool-article {
  padding-top: 20px;
}

.script-tool-page {
  background: var(--bg);
}

.script-lab-hero {
  grid-template-columns: 1fr;
  padding-top: 72px;
  padding-bottom: 12px;
}

.script-lab-copy h1 {
  max-width: 980px;
}

.script-intro-only {
  width: min(1080px, calc(100% - 32px));
}

.script-stage-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.script-stage-preview div {
  min-height: 108px;
  padding: 16px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.script-stage-preview span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: #7357ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.script-stage-preview strong,
.script-stage-preview small {
  display: block;
}

.script-stage-preview strong {
  color: #151927;
  font-size: 22px;
  line-height: 1.05;
}

.script-stage-preview small {
  margin-top: 8px;
  color: #687286;
  font-size: 13px;
  font-weight: 800;
}

.script-brief-panel {
  border-radius: 22px;
}

.script-brief-row {
  grid-template-columns: minmax(280px, 0.62fr) minmax(460px, 1.38fr);
  align-items: start;
  padding-top: 12px;
}

.script-tool-page .tool-step-label {
  border-color: rgba(115, 87, 255, 0.16);
  background: #f2f5ff;
}

.script-tool-page .tool-step-label span {
  background: #7357ff;
}

.script-avatar-strip {
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.9);
}

.script-avatar-strip video {
  border-radius: 10px;
}

.script-lab-results {
  width: min(1320px, calc(100% - 32px));
}

.script-map-card {
  grid-template-columns: minmax(320px, 0.52fr) minmax(0, 1.48fr);
  border-radius: 18px;
}

.script-tool-page .analysis-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.script-tool-page .analysis-pill {
  min-height: 112px;
  align-content: start;
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.92);
}

.script-tool-page .analysis-pill strong {
  color: #7357ff;
}

.script-tool-page .analysis-pill span {
  color: #151927;
}

.script-workbench {
  grid-template-columns: minmax(0, 1.26fr) minmax(300px, 0.74fr);
  align-items: stretch;
}

.script-draft-card {
  grid-column: auto;
  border-radius: 18px;
}

.script-draft-card .script-editor {
  min-height: 420px;
}

.script-caption-card {
  border-radius: 18px;
}

.script-caption-card .test-plan-list div {
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.9);
}

.script-avatar-step {
  grid-template-columns: minmax(260px, 0.72fr) minmax(560px, 1.28fr);
  border-radius: 18px;
}

.audit-tool-page {
  background: var(--bg);
}

.audit-console-hero {
  grid-template-columns: 1fr;
  width: min(1080px, calc(100% - 32px));
  padding-top: 70px;
  padding-bottom: 12px;
}

.audit-console-copy {
  max-width: 980px;
}

.audit-console-copy h1 {
  max-width: 980px;
}

.audit-signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.audit-signal-strip div {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.audit-signal-strip strong,
.audit-signal-strip span {
  display: block;
}

.audit-signal-strip strong {
  color: #151927;
  font-size: 18px;
}

.audit-signal-strip span {
  margin-top: 7px;
  color: #687286;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.audit-input-panel {
  border-radius: 22px;
}

.audit-input-panel .tool-step-label {
  border-color: rgba(115, 87, 255, 0.16);
  background: #f2f5ff;
  color: #151927;
}

.audit-input-panel .tool-step-label span {
  background: #7357ff;
}

.audit-input-panel .tool-field {
  color: #151927;
}

.audit-input-panel .tool-field small {
  color: #687286;
}

.audit-input-panel .tool-field input,
.audit-input-panel .tool-field textarea,
.audit-input-panel .tool-field select {
  border-color: rgba(8, 9, 16, 0.12);
  background: #ffffff;
  color: #151927;
}

.audit-input-panel .tool-field input::placeholder,
.audit-input-panel .tool-field textarea::placeholder {
  color: #8d96a8;
}

.audit-evidence-row {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: start;
  padding-top: 12px;
}

.audit-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audit-results-section {
  width: min(1280px, calc(100% - 32px));
  gap: 16px;
}

.audit-teardown-card {
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  border-radius: 18px;
  background: #ffffff;
}

.audit-tool-page .analysis-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audit-tool-page .analysis-pill {
  min-height: 112px;
  border-radius: 14px;
  border-color: rgba(8, 9, 16, 0.08);
  background: rgba(248, 250, 255, 0.92);
}

.audit-tool-page .analysis-pill strong {
  color: #7357ff;
}

.audit-decision-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.audit-remix-card,
.audit-risk-card,
.audit-brief-card {
  border-radius: 18px;
}

.audit-remix-card {
  border-left: 0;
}

.audit-risk-card {
  border-left: 0;
}

.audit-brief-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
}

.audit-brief-card .script-editor {
  grid-column: 2;
  grid-row: 1 / span 5;
  min-height: 360px;
  margin: 0;
  border-radius: 14px;
}

.audit-brief-card .use-script-button {
  align-self: end;
}

.angle-tool-page,
.matrix-tool-page {
  background: var(--bg);
}

.angle-diagnostic-hero,
.matrix-planner-hero {
  grid-template-columns: minmax(0, 1fr);
  width: min(1080px, calc(100% - 32px));
  padding-top: 70px;
  padding-bottom: 12px;
}

.angle-diagnostic-copy,
.matrix-planner-copy {
  max-width: 980px;
}

.angle-diagnostic-copy h1,
.matrix-planner-copy h1 {
  max-width: 980px;
}

.angle-proof-strip,
.matrix-axis-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.angle-proof-strip div,
.matrix-axis-strip div {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.angle-proof-strip strong,
.angle-proof-strip span,
.matrix-axis-strip strong,
.matrix-axis-strip span {
  display: block;
}

.angle-proof-strip strong,
.matrix-axis-strip strong {
  color: #151927;
  font-size: 18px;
}

.angle-proof-strip span,
.matrix-axis-strip span {
  margin-top: 7px;
  color: #687286;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.angle-input-row,
.matrix-input-row {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  align-items: start;
  padding-top: 12px;
}

.angle-results-section,
.matrix-results-section {
  width: min(1280px, calc(100% - 32px));
  gap: 16px;
}

.angle-readout-card,
.matrix-readout-card {
  grid-template-columns: minmax(320px, 0.64fr) minmax(0, 1.36fr);
  border-radius: 18px;
}

.angle-tool-page .analysis-grid,
.matrix-tool-page .analysis-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.angle-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.angle-card {
  display: grid;
  gap: 12px;
  min-height: 330px;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(29, 34, 56, 0.07);
}

.angle-card.is-selected {
  border-color: rgba(115, 87, 255, 0.72);
  box-shadow: 0 18px 44px rgba(75, 55, 210, 0.14);
}

.angle-card-top {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.angle-card h3 {
  color: #151927;
  font-size: 21px;
  line-height: 1.12;
}

.angle-card p {
  color: #4f5a70;
  line-height: 1.48;
}

.angle-score {
  display: inline-flex;
  min-width: 46px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #7357ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.angle-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.angle-card dl div {
  display: grid;
  gap: 3px;
}

.angle-card dt {
  color: #151927;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.angle-card dd {
  margin: 0;
  color: #4f5a70;
  font-size: 14px;
  line-height: 1.42;
}

.angle-card .button {
  align-self: end;
  width: 100%;
}

.matrix-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(29, 34, 56, 0.07);
}

.matrix-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.matrix-table th,
.matrix-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(8, 9, 16, 0.08);
  color: #3f485d;
  font-size: 14px;
  line-height: 1.42;
  text-align: left;
  vertical-align: top;
}

.matrix-table th {
  background: rgba(238, 233, 255, 0.58);
  color: #151927;
  font-weight: 900;
}

.matrix-table tr:last-child td {
  border-bottom: 0;
}

.matrix-table strong {
  color: #151927;
}

.matrix-priority {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(115, 87, 255, 0.12);
  color: #392a9a;
  font-size: 12px;
  font-weight: 900;
}

.matrix-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.matrix-summary-grid div {
  min-height: 130px;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(248, 250, 255, 0.92);
}

.matrix-summary-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #151927;
  font-size: 17px;
}

.matrix-summary-grid p {
  color: #4f5a70;
  line-height: 1.46;
}

.article-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 48px 96px;
}

.article-toc {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.article-toc span {
  color: #687087;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-toc a {
  color: #252c3c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.article-content {
  min-width: 0;
}

.article-content p,
.article-content li {
  color: #3f485d;
  font-size: 18px;
  line-height: 1.76;
}

.article-lead {
  color: #202637 !important;
  font-size: clamp(22px, 2.2vw, 28px) !important;
  line-height: 1.46 !important;
  font-weight: 720;
}

.article-content h2 {
  margin: 54px 0 16px;
  font-size: clamp(31px, 3.5vw, 48px);
  line-height: 1.04;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 30px;
  padding-left: 22px;
}

.article-content strong {
  color: #151927;
}

.article-callout,
.article-cta {
  margin: 34px 0;
  padding: 26px;
  border: 1px solid rgba(115, 87, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(238, 233, 255, 0.74), rgba(235, 250, 246, 0.68)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
  color: #2f3750;
  font-size: 17px;
  line-height: 1.6;
}

.article-figure {
  margin: 40px 0;
  padding: 16px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 54px rgba(29, 34, 56, 0.1);
}

.article-figure img,
.article-figure video {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.article-figure video {
  max-height: 560px;
  object-fit: cover;
  background: #dfe4eb;
}

.article-figure figcaption {
  margin-top: 12px;
  color: #687087;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.article-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0;
}

.article-split > div {
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 34px rgba(29, 34, 56, 0.07);
}

.article-stat {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.article-split p {
  margin: 0;
  color: #353e53;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.article-cta {
  margin-top: 58px;
  padding: 34px;
}

.article-cta h2 {
  max-width: 640px;
  margin: 0 0 24px;
}

.seo-hero {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
  padding-bottom: 30px;
}

.seo-hero .blog-dek {
  max-width: 860px;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.watch-hero,
.watch-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.watch-hero {
  display: grid;
  gap: 28px;
  padding: clamp(46px, 7vw, 92px) 0 32px;
}

.watch-copy h1 {
  max-width: 980px;
  margin-bottom: 22px;
  color: #151927;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
}

.watch-player {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 24px;
  background: #090b13;
  box-shadow: 0 30px 90px rgba(18, 22, 36, 0.22);
}

.watch-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-content {
  display: grid;
  gap: 18px;
  padding: 18px 0 92px;
}

.watch-content section {
  padding: 28px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 38px rgba(29, 34, 56, 0.07);
}

.watch-content h2 {
  margin-bottom: 12px;
  color: #151927;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.watch-content p {
  max-width: 850px;
  color: #485268;
  font-size: 18px;
  line-height: 1.62;
}

.video-hub-hero {
  grid-template-columns: minmax(0, 1fr);
}

.article-content table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 36px rgba(29, 34, 56, 0.07);
}

.article-content th,
.article-content td {
  padding: 16px;
  border-bottom: 1px solid rgba(8, 9, 16, 0.08);
  color: #3f485d;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.article-content th {
  color: #151927;
  background: rgba(238, 233, 255, 0.58);
  font-weight: 900;
}

.article-content tr:last-child td {
  border-bottom: 0;
}

.service-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 38px;
}

.service-screenshot-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(29, 34, 56, 0.08);
}

.service-screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top center;
  background: #dfe4eb;
}

.service-screenshot-card:first-child img {
  object-position: center 55%;
}

.service-screenshot-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.service-screenshot-card strong {
  color: #151927;
  font-size: 18px;
  line-height: 1.1;
}

.service-screenshot-card span {
  color: #4f5a70;
  font-size: 14px;
  line-height: 1.45;
}

.service-screenshot-card a {
  color: #392a9a;
  font-size: 13px;
  font-weight: 850;
}

.copy-box,
.template-library,
.comparison-note,
.faq-list {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.copy-box,
.template-card,
.faq-item,
.comparison-note {
  padding: 20px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 34px rgba(29, 34, 56, 0.06);
}

.copy-box pre,
.template-card pre {
  overflow-x: auto;
  margin: 12px 0 0;
  padding: 16px;
  border-radius: 12px;
  background: #090a14;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.template-card h3,
.faq-item h3,
.comparison-note h3 {
  margin-bottom: 8px;
}

.template-card p,
.faq-item p,
.comparison-note p {
  margin-bottom: 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.checklist-grid li {
  list-style: none;
  padding: 14px 16px;
  border: 1px solid rgba(115, 87, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 760;
}

.ugc-example-grid,
.angle-grid {
  display: grid;
  gap: 18px;
  margin: 32px 0;
}

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

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

.ugc-example-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.08);
}

.ugc-example-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #dfe4eb;
}

.ugc-example-card > div {
  padding: 18px;
}

.ugc-example-card h3,
.angle-grid h3 {
  margin-bottom: 10px;
  color: #151927;
}

.ugc-example-card p,
.angle-grid p {
  margin-bottom: 14px;
}

.example-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(115, 87, 255, 0.1);
  color: #392a9a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ugc-example-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ugc-example-card dl div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid rgba(8, 9, 16, 0.08);
}

.ugc-example-card dt {
  color: #151927;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ugc-example-card dd {
  margin: 0;
  color: #3f485d;
  font-size: 14px;
  line-height: 1.45;
}

.tiktok-preview-stack {
  display: grid;
  grid-template-columns: 1fr minmax(130px, 180px);
  gap: 12px 18px;
  align-items: center;
}

.tiktok-preview-stack .eyebrow,
.tiktok-preview-stack h2,
.tiktok-preview-stack p {
  grid-column: 1;
}

.tiktok-preview-stack video {
  display: block;
  grid-column: 2;
  grid-row: 1 / 4;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: #dfe4eb;
  box-shadow: 0 18px 44px rgba(29, 34, 56, 0.11);
}

.tiktok-preview-stack video:nth-child(2) {
  margin-bottom: 0;
}

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

.angle-grid > div {
  padding: 20px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(29, 34, 56, 0.06);
}

.article-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.article-link-list a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(115, 87, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #392a9a;
  font-size: 13px;
  font-weight: 850;
}

.fact-checked {
  color: #687087;
  font-size: 14px !important;
  font-weight: 760;
}

.more-guides {
  margin-top: 44px;
}

.signup-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.signup-form label {
  color: #252a38;
  font-size: 14px;
  font-weight: 850;
}

.signup-form input[type="email"],
.signup-form input[type="url"] {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  outline: 0;
  background: #f8f9fd;
  color: var(--ink);
  font-size: 16px;
}

.signup-form input[type="email"]:focus,
.signup-form input[type="url"]:focus {
  border-color: rgba(115, 87, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(115, 87, 255, 0.12);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #596277;
  font-size: 14px;
  font-weight: 750;
}

.form-status[data-state="success"] {
  color: #08745c;
}

.form-status[data-state="error"] {
  color: #b42330;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef0f7;
  cursor: pointer;
  font-size: 22px;
}

.variant-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(8, 9, 16, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(29, 34, 56, 0.14);
}

.variant-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #293044;
  font-size: 12px;
  font-weight: 900;
}

.variant-switcher a.is-active {
  color: white;
  background: #090a14;
}

body[data-variant="url-first"] .hero {
  grid-template-columns: minmax(470px, 0.95fr) minmax(520px, 1.05fr);
  padding-top: 68px;
}

body[data-variant="url-first"] .hero-eyebrow,
body[data-variant="url-first"] .hero-actions,
body[data-variant="url-first"] .trust-row {
  display: none;
}

body[data-variant="url-first"] .hero-url-form,
body[data-variant="url-first"] .hero-flow,
body[data-variant="url-first"] .hero-gallery-heading {
  display: flex;
}

body[data-variant="url-first"] .hero-url-form {
  display: block;
}

body[data-variant="url-first"] .hero-subtitle {
  max-width: 720px;
}

body[data-variant="url-first"] .hero-gallery {
  min-height: 560px;
  padding-top: 8px;
}

body[data-variant="url-first"] .hero-card-track {
  padding-top: 0;
}

body[data-variant="url-first"] .hero-card-track .creative-card {
  flex-basis: clamp(148px, 12vw, 202px);
}

body[data-variant="url-first"] .hero-card-track .creative-body {
  background: rgba(255, 255, 255, 0.94);
}

body[data-variant="url-first"] .hero-card-track .creative-meta {
  max-height: 130px;
  opacity: 1;
}

body[data-variant="url-first"] .hero-card-track .creative-meta span {
  display: none;
}

body[data-variant="url-first"] .hero-card-track .remix-button {
  width: 100%;
  min-height: 38px;
  margin-top: 0;
  background: linear-gradient(135deg, var(--accent), #4a33da);
}

body[data-variant="browse-first"] .hero-eyebrow {
  display: none;
}

body[data-variant="browse-first"] .hero {
  grid-template-columns: minmax(430px, 0.75fr) minmax(620px, 1.25fr);
  align-items: start;
  gap: 34px;
  height: calc(100vh - 68px);
  min-height: 700px;
  max-height: 880px;
  padding-top: clamp(42px, 6vh, 74px);
  padding-bottom: 18px;
  overflow: visible;
}

body[data-variant="browse-first"] .hero-copy {
  align-self: start;
  padding-top: clamp(42px, 8vh, 92px);
  padding-bottom: 0;
}

body[data-variant="browse-first"] h1 {
  max-width: 760px;
  font-size: clamp(60px, 6.1vw, 106px);
}

body[data-variant="browse-first"] .hero-gallery-heading {
  display: block;
  margin: 0 0 14px 8px;
}

body[data-variant="browse-first"] .hero-gallery {
  height: 100%;
  min-height: 0;
  overflow: visible;
  padding: 0 0 26px;
}

body[data-variant="browse-first"] .hero-card-track {
  position: relative;
  display: block;
  width: min(100%, 840px);
  height: calc(100% - 36px);
  min-height: 560px;
  padding: 0;
  overflow: visible;
}

body[data-variant="browse-first"] .hero-card-track .creative-card {
  position: absolute;
  flex: none;
  width: clamp(225px, 15.6vw, 292px);
  min-height: auto;
  aspect-ratio: 9 / 16;
  margin-right: 0;
  transform: rotate(var(--stack-tilt, 0deg));
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(1) {
  z-index: 3;
  top: 2%;
  left: 1%;
  --stack-tilt: -4deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(2) {
  z-index: 2;
  top: 12%;
  left: 31%;
  --stack-tilt: 2deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(3) {
  z-index: 4;
  top: 28%;
  left: 15%;
  --stack-tilt: 2.5deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(4) {
  z-index: 1;
  top: 31%;
  left: 46%;
  --stack-tilt: -2deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.025);
}

body[data-variant="browse-first"] .hero-card-track .label-pill {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: white;
  background: rgba(8, 9, 16, 0.66);
  backdrop-filter: blur(14px);
  box-shadow: none;
  font-size: 12px;
}

body[data-variant="browse-first"] .hero-card-track .creative-body h3 {
  color: white;
  font-size: 18px;
}

body[data-variant="browse-first"] .hero-card-track .creative-meta span {
  display: none;
}

body[data-variant="browse-first"] .hero-card-track .creative-meta {
  max-height: 84px;
}

body[data-variant="browse-first"] .hero-card-track .creative-body {
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(to top, rgba(8, 9, 16, 0.82), rgba(8, 9, 16, 0.22));
  backdrop-filter: blur(12px);
}

body[data-variant="browse-first"] .hero-card-track .creative-meta {
  opacity: 1;
}

body[data-variant="browse-first"] .hero-card-track .remix-button {
  width: 100%;
  min-height: 40px;
  margin-top: 2px;
  color: #090a14;
  background: rgba(255, 255, 255, 0.9);
}

.still-skincare {
  --still: linear-gradient(135deg, #ffe1d1 0%, #c5fff0 45%, #33534e 100%);
}

.still-sleep {
  --still: linear-gradient(135deg, #dce7ff 0%, #ffffff 50%, #4a536a 100%);
}

.still-fitness {
  --still: linear-gradient(135deg, #f0f0f0 0%, #bec8ff 48%, #181a24 100%);
}

.still-coffee {
  --still: linear-gradient(135deg, #f7d0a5 0%, #2d211b 64%, #080910 100%);
}

.still-beauty {
  --still: linear-gradient(135deg, #ffcadb 0%, #fff4eb 46%, #7a4b5a 100%);
}

.still-oil {
  --still: linear-gradient(135deg, #efffe8 0%, #d4b15f 50%, #34482f 100%);
}

.still-tech {
  --still: linear-gradient(135deg, #e6e9ff 0%, #dff7ff 40%, #242444 100%);
}

.still-pet {
  --still: linear-gradient(135deg, #fff0c9 0%, #e9d0a2 48%, #6b4d31 100%);
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .matrix-section,
  .split-section {
    grid-template-columns: 1fr;
    padding-right: 24px;
    padding-left: 24px;
  }

  body[data-variant="url-first"] .hero {
    grid-template-columns: 1fr;
  }

  body[data-variant="browse-first"] .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body[data-variant="browse-first"] .hero-gallery {
    min-height: auto;
  }

  body[data-variant="browse-first"] .hero-card-track {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    width: 100%;
    padding-bottom: 34px;
  }

  .hero-card-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 14px;
    width: 100%;
    overflow: visible;
    padding: 8px 0 86px;
  }

  .hero-card-track .creative-card {
    min-height: auto;
    aspect-ratio: 9 / 16;
    margin-right: 0;
    transform: rotate(var(--tilt, 0));
  }

  .hero-card-track .creative-card:nth-child(2),
  .hero-card-track .creative-card:nth-child(3),
  .hero-card-track .creative-card:nth-child(4),
  .hero-card-track .creative-card:nth-child(5) {
    margin-top: 0;
  }

  .hero-card-track .creative-card:nth-child(4),
  .hero-card-track .creative-card:nth-child(5) {
    margin-top: -72px;
  }

  .matrix-copy,
  .matrix-board {
    border-radius: 16px;
  }

  .template-grid,
  .template-group {
    grid-template-columns: 1fr;
  }

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

  .tool-card-featured a {
    grid-template-columns: 1fr;
  }

  .tool-card-media {
    min-height: 240px;
  }

  .ai-actors-panel {
    grid-template-columns: 1fr;
  }

  .ai-actors-panel::before {
    display: none;
  }

  .ai-actors-copy {
    min-height: auto;
  }

  .ai-actor-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .ai-actor-card {
    border-width: 4px;
    border-radius: 18px;
  }

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

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

  .loop-board {
    padding: 12px;
  }

  .loop-step::after {
    display: none;
  }

  .template-group-copy {
    min-height: auto;
  }

  .template-row-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
  }

  .header-actions .quiet-link {
    display: none;
  }

  .header-actions .button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .brand {
    font-size: 19px;
  }

  .hero,
  .section,
  .matrix-section,
  .split-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    padding-top: 42px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tools-section {
    padding-top: 36px;
  }

  .tool-card {
    min-height: 0;
    border-radius: 16px;
  }

  .tool-card-media {
    min-height: 210px;
    padding: 14px;
  }

  .tool-card div:not(.tool-card-media),
  .tool-card-muted a,
  .tool-card-muted > div {
    padding: 20px;
  }

  .blog-index-hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .blog-index-featured {
    padding: 20px;
    border-radius: 16px;
  }

  .blog-card-grid {
    grid-template-columns: 1fr;
  }

  .blog-card h3 {
    font-size: 19px;
  }

  .tool-hero,
  .tool-output-grid {
    grid-template-columns: 1fr;
  }

  .tool-hero {
    padding-top: 44px;
  }

  .tool-control-grid,
  .site-analysis-card,
  .analysis-grid,
  .avatar-picker,
  .hook-matrix {
    grid-template-columns: 1fr;
  }

  .script-lab-hero,
  .audit-console-hero,
  .angle-diagnostic-hero,
  .matrix-planner-hero,
  .script-brief-row,
  .audit-evidence-row,
  .angle-input-row,
  .matrix-input-row,
  .script-map-card,
  .script-workbench,
  .script-avatar-step,
  .audit-teardown-card,
  .angle-readout-card,
  .matrix-readout-card,
  .audit-decision-grid,
  .audit-brief-card {
    grid-template-columns: 1fr;
  }

  .script-tool-page .analysis-grid,
  .audit-tool-page .analysis-grid,
  .angle-tool-page .analysis-grid,
  .matrix-tool-page .analysis-grid,
  .audit-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .angle-proof-strip,
  .matrix-axis-strip,
  .angle-card-grid,
  .matrix-summary-grid,
  .video-pattern-grid {
    grid-template-columns: 1fr;
  }

  .tiktok-preview-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audit-brief-card .script-editor {
    grid-column: auto;
    grid-row: auto;
    margin-top: 10px;
  }

  .avatar-preview-strip {
    grid-template-columns: 1fr repeat(4, 42px);
  }

  .avatar-picker-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-results-header,
  .video-concept-card {
    display: grid;
  }

  .script-stage-preview,
  .audit-signal-strip {
    grid-template-columns: 1fr;
  }

  body[data-variant="browse-first"] .hero-card-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(1),
  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(2),
  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(3),
  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(4) {
    margin-top: 0;
  }

  body[data-variant="browse-first"] .hero-card-track .creative-body {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 10px;
  }

  body[data-variant="browse-first"] .hero-card-track .creative-body h3 {
    font-size: 13px;
  }

  body[data-variant="browse-first"] .hero-card-track .remix-button {
    min-height: 34px;
    font-size: 11px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-subtitle,
  .matrix-copy p,
  .panel p {
    font-size: 16px;
  }

  .url-bar {
    grid-template-columns: auto 1fr;
  }

  .url-bar button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .url-input-wrap {
    grid-template-columns: auto 1fr;
  }

  .url-input-wrap button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-url-form p {
    margin-left: 0;
  }

  .variant-switcher {
    right: 10px;
    bottom: 10px;
  }

  .creative-card {
    min-height: 312px;
  }

  .section-heading,
  .ads-intel {
    display: grid;
  }

  .template-grid,
  .loop-board,
  .pipeline {
    grid-template-columns: 1fr;
  }

  .loop-step,
  .loop-result {
    min-height: 220px;
  }

  .loop-result {
    flex-direction: column;
    gap: 8px;
    min-height: 210px;
  }

  .loop-result::before,
  .loop-result::after {
    content: "";
    display: none;
  }

  .hero-gallery {
    min-height: 660px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .template-group {
    padding: 12px;
  }

  .ai-actors-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .ai-actors-copy h2 {
    margin-bottom: 20px;
    font-size: 48px;
  }

  .ai-actors-copy p {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .actor-learn-link {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .ai-actors-copy .button {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    font-size: 15px;
  }

  .ai-actor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ai-actor-card {
    border-width: 3px;
    border-radius: 15px;
  }

  .feature-card {
    min-height: 430px;
    padding: 24px;
  }

  .feature-media {
    min-height: 220px;
  }

  .feature-card p {
    font-size: 18px;
  }

  .template-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

  .template-row-grid .creative-card {
    min-height: auto;
    aspect-ratio: 9 / 16;
  }

  .panel,
  .matrix-copy,
  .matrix-board,
  .final-cta {
    padding: 24px;
  }

  .ad-row {
    grid-template-columns: auto 1fr auto;
  }

  .ad-row .ad-metric:nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 1180px) {
  .intel-board,
  .matrix-mini-panel,
  .plugin-panel,
  .math-cards,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .competitor-panel {
    grid-row: auto;
    min-height: 420px;
  }

  .final-video-cluster {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .math-save-card {
    grid-column: auto;
  }

  .plugin-logos {
    justify-content: start;
  }
}

@media (max-width: 760px) {
  .library-cta .button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 14px;
  }

  .competitor-panel {
    min-height: 300px;
  }

  .matrix-mini-panel,
  .meta-mini-panel,
  .plugin-panel,
  .math-cards,
  .final-cta {
    padding: 22px;
    border-radius: 18px;
  }

  .compact-intel .why-card ul {
    grid-template-columns: 1fr;
  }

  .cloner-media {
    gap: 12px;
  }

  .cloner-media::after {
    display: none;
  }

  .actor-media {
    gap: 10px;
  }

  .actor-media video {
    width: 31%;
    border-radius: 14px;
  }

  .math-section {
    padding: 52px 16px 24px;
  }

  .math-panel > p {
    font-size: 18px;
  }

  .math-slider-card label,
  .math-save-card {
    display: grid;
    gap: 8px;
  }

  .final-video-cluster {
    gap: 8px;
  }

  .final-video-cluster video {
    width: clamp(58px, 17vw, 84px);
    border-radius: 12px;
  }
}

/* Cohesive polish layer for the browse-first landing direction. */
body[data-variant="browse-first"] {
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --soft-blue: #eef5ff;
  --brand-purple: #6047f5;
  --brand-green: #19aa92;
  --deep: #0b1020;
}

body[data-variant="browse-first"] .button,
body[data-variant="browse-first"] .creative-card,
body[data-variant="browse-first"] .template-group,
body[data-variant="browse-first"] .ai-actors-panel,
body[data-variant="browse-first"] .competitor-panel,
body[data-variant="browse-first"] .matrix-mini-panel,
body[data-variant="browse-first"] .meta-mini-panel,
body[data-variant="browse-first"] .feature-card,
body[data-variant="browse-first"] .plugin-panel,
body[data-variant="browse-first"] .math-panel,
body[data-variant="browse-first"] .final-cta {
  border-radius: 24px;
}

body[data-variant="browse-first"] .button {
  border-radius: 14px;
}

body[data-variant="browse-first"] .hero-gallery-heading {
  display: none;
}

body[data-variant="browse-first"] .hero {
  grid-template-columns: minmax(430px, 0.82fr) minmax(660px, 1.18fr);
  gap: clamp(28px, 3vw, 46px);
}

body[data-variant="browse-first"] .hero-card-track {
  width: min(100%, 780px);
  height: calc(100% - 8px);
  min-height: 540px;
}

body[data-variant="browse-first"] .hero-card-track .creative-card {
  width: clamp(232px, 17.2vw, 282px);
  box-shadow: 0 28px 82px rgba(29, 34, 56, 0.18);
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(1) {
  z-index: 3;
  top: 0;
  left: 1%;
  --stack-tilt: -2.4deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(2) {
  z-index: 2;
  top: 0;
  left: 43%;
  --stack-tilt: 2.2deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(3) {
  z-index: 5;
  top: 36%;
  left: 17%;
  --stack-tilt: 1.8deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(4) {
  z-index: 4;
  top: 36%;
  left: 59%;
  --stack-tilt: -1.8deg;
}

.competitor-panel {
  position: relative;
  min-height: 680px;
  padding: 30px;
  background:
    radial-gradient(circle at 16% 12%, rgba(96, 71, 245, 0.12), transparent 18rem),
    linear-gradient(135deg, #ffffff, #f6f9ff);
}

.competitor-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 48px);
}

.competitor-copy p:not(.eyebrow) {
  max-width: 680px;
  color: #4d566b;
  font-size: 18px;
  line-height: 1.48;
}

.competitor-art-stack {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.competitor-art-card,
.meta-dashboard-card {
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(29, 34, 56, 0.15);
}

.competitor-art-card img,
.meta-dashboard-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.competitor-art-wide {
  transform: rotate(-1.2deg);
}

.competitor-art-tools {
  width: min(78%, 520px);
  justify-self: end;
  transform: rotate(1.7deg);
}

.meta-dashboard-card {
  margin-top: 18px;
  transform: rotate(-1deg);
}

.competitor-screen {
  overflow: hidden;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: white;
  box-shadow: 0 22px 58px rgba(29, 34, 56, 0.12);
}

.competitor-screen img {
  display: block;
  width: 100%;
  height: auto;
}

.competitor-overlays {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 16px;
  pointer-events: none;
}

.competitor-overlays img {
  display: block;
  height: auto;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: white;
  object-fit: contain;
  box-shadow: 0 26px 70px rgba(29, 34, 56, 0.2);
}

.competitor-overlays img:first-child {
  width: min(58%, 540px);
  transform: translateY(10px) rotate(-1.5deg);
}

.competitor-overlays img:last-child {
  width: min(34%, 280px);
  transform: translateY(-22px) rotate(2deg);
}

.matrix-mini-panel,
.meta-mini-panel,
.template-group {
  background:
    radial-gradient(circle at 88% 10%, rgba(96, 71, 245, 0.08), transparent 16rem),
    var(--surface-solid);
}

.feature-card {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 26% 0%, rgba(96, 71, 245, 0.18), transparent 18rem),
    linear-gradient(145deg, #0b1020 0%, #151923 100%);
}

.feature-card h3 {
  letter-spacing: 0;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.62);
}

.plugin-logo {
  gap: 12px;
  grid-auto-flow: column;
  justify-content: center;
}

.plugin-logo img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

body[data-variant="browse-first"] .plugin-panel {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  min-height: 360px;
  padding-right: min(44vw, 560px);
}

body[data-variant="browse-first"] .plugin-logos {
  position: absolute;
  top: 50%;
  right: clamp(34px, 6vw, 92px);
  display: flex;
  gap: 22px;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

body[data-variant="browse-first"] .plugin-logo {
  min-width: 132px;
  min-height: 112px;
  padding: 0 30px;
  border-radius: 24px;
  font-size: 30px;
  transform: rotate(-4deg);
}

body[data-variant="browse-first"] .claude-logo {
  transform: translateY(40px) rotate(5deg);
}

body[data-variant="browse-first"] .group-more {
  right: 20px;
  bottom: auto;
  top: 50%;
  width: 74px;
  height: 48px;
  border: 1px solid rgba(8, 9, 16, 0.12);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(8, 9, 16, 0.88);
  backdrop-filter: blur(14px);
  font-size: 24px;
  transform: translateY(-50%);
}

body[data-variant="browse-first"] .group-more:hover {
  transform: translateY(-54%) scale(1.03);
}

body[data-variant="browse-first"] .template-group {
  position: relative;
  overflow: visible;
  padding-right: 34px;
}

.math-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 71, 245, 0.18), transparent 28rem),
    #090a14;
}

.math-panel {
  border: 0;
}

.math-slider-card input[type="range"] {
  --range-progress: 25%;
  width: 100%;
  height: 9px;
  border-radius: 999px;
  outline: 0;
  appearance: none;
  background:
    linear-gradient(90deg, #7357ff var(--range-progress), rgba(255, 255, 255, 0.12) var(--range-progress));
  cursor: pointer;
}

.math-slider-card input[type="range"]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  border: 4px solid #12141c;
  border-radius: 50%;
  appearance: none;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(115, 87, 255, 0.26);
}

.math-slider-card input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #12141c;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(115, 87, 255, 0.26);
}

.math-save-card small {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 900;
}

.final-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 16%, rgba(96, 71, 245, 0.28), transparent 24rem),
    radial-gradient(circle at 92% 80%, rgba(25, 170, 146, 0.16), transparent 16rem),
    #142351;
}

@media (max-width: 1180px) {
  body[data-variant="browse-first"] .hero-card-track .creative-card {
    position: relative;
    width: 100%;
  }

  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(1),
  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(2),
  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(3),
  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(4) {
    top: auto;
    left: auto;
  }

  .competitor-panel {
    min-height: 0;
  }

  .competitor-overlays {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .competitor-overlays {
    display: grid;
  }

  .competitor-overlays img:first-child,
  .competitor-overlays img:last-child {
    width: 100%;
    transform: none;
  }

  .plugin-logo {
    min-width: 100%;
  }
}

/* Final browse-first alignment overrides. */
body[data-variant="browse-first"] .hero-card-track .creative-card {
  margin-top: 0 !important;
  transform-origin: top center;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(1) {
  top: 0 !important;
  left: 1% !important;
  --stack-tilt: -1.8deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(2) {
  top: 0 !important;
  left: 43% !important;
  --stack-tilt: 1.8deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(3) {
  top: 36% !important;
  left: 17% !important;
  --stack-tilt: 1.4deg;
}

body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(4) {
  top: 36% !important;
  left: 59% !important;
  --stack-tilt: -1.4deg;
}

@keyframes actorMarquee {
  from {
    transform: translateX(0);
  }

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

@media (min-width: 761px) {
  .ai-actor-card.is-duplicate {
    display: none;
  }
}

@media (max-width: 760px) {
  body[data-variant="browse-first"] .hero {
    display: grid;
    gap: 22px;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 34px;
    padding-bottom: 24px;
    overflow: hidden;
  }

  body[data-variant="browse-first"] .hero-copy {
    padding-top: 0;
  }

  body[data-variant="browse-first"] h1 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 44px);
    line-height: 0.96;
  }

  body[data-variant="browse-first"] h1 .title-accent {
    display: inline;
  }

  body[data-variant="browse-first"] .hero-subtitle {
    max-width: 100%;
    font-size: 16px;
  }

  body[data-variant="browse-first"] .hero-actions {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
  }

  body[data-variant="browse-first"] .hero-actions .button {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    font-size: 15px;
  }

  body[data-variant="browse-first"] .hero-gallery {
    display: none;
    min-height: 0;
    height: auto;
    padding: 0;
    overflow: visible;
  }

  body[data-variant="browse-first"] .mobile-hero-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    align-items: end;
    margin-top: 18px;
    padding: 0;
    overflow: visible;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .creative-card {
    width: 100% !important;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 9 / 16;
    border-radius: 14px;
    transform: none !important;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .creative-card:nth-child(2),
  body[data-variant="browse-first"] .mobile-hero-cards .creative-card:nth-child(4) {
    transform: translateY(16px) !important;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .creative-body {
    display: none;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .metric-badge,
  body[data-variant="browse-first"] .mobile-hero-cards .label-pill,
  body[data-variant="browse-first"] .mobile-hero-cards .creative-meta span,
  body[data-variant="browse-first"] .mobile-hero-cards .brand-row {
    display: none;
  }

  body[data-variant="browse-first"] .hero-card-track {
    display: flex !important;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 250px;
    max-width: none;
    padding: 2px 0 0;
    overflow: visible;
  }

  body[data-variant="browse-first"] .hero-card-track .creative-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    min-height: 250px;
    margin: 0 !important;
    transform: none !important;
    aspect-ratio: 9 / 16;
    background: var(--still, #dfe4eb);
  }

  body[data-variant="browse-first"] .hero-card-track .creative-card:nth-child(n + 3) {
    display: none;
  }

  body[data-variant="browse-first"] .hero-card-track .creative-body {
    max-height: none;
  }

  body[data-variant="browse-first"] .templates-section {
    padding-top: 28px;
  }

  body[data-variant="browse-first"] .section-heading h2,
  body[data-variant="browse-first"] .intelligence-section .section-heading h2 {
    max-width: 100%;
    font-size: clamp(27px, 8.2vw, 32px);
    line-height: 1;
  }

  body[data-variant="browse-first"] .template-group {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    padding: 10px;
    border-radius: 16px;
  }

  body[data-variant="browse-first"] .template-group-copy {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    min-height: 0;
    padding: 12px;
    border-radius: 12px;
  }

  body[data-variant="browse-first"] .template-group-copy::after {
    display: none;
  }

  body[data-variant="browse-first"] .group-icon {
    display: none;
  }

  body[data-variant="browse-first"] .template-group-copy h3 {
    margin: 0;
    font-size: clamp(20px, 6vw, 26px);
  }

  body[data-variant="browse-first"] .group-proof {
    display: none;
  }

  body[data-variant="browse-first"] .template-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-variant="browse-first"] .template-row-grid .creative-card:nth-child(n + 3) {
    display: none;
  }

  body[data-variant="browse-first"] .template-row-grid .creative-card {
    width: 100% !important;
    min-width: 0;
    min-height: 0;
  }

  body[data-variant="browse-first"] .template-row-grid .creative-body {
    display: none;
  }

  body[data-variant="browse-first"] .group-more {
    right: 12px;
    top: auto;
    bottom: 16px;
    width: 54px;
    height: 38px;
    border-radius: 12px;
    font-size: 20px;
  }

  body[data-variant="browse-first"] .library-cta .button {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  body[data-variant="browse-first"] .ai-actors-panel {
    display: grid;
    gap: 22px;
    padding: 24px;
  }

  body[data-variant="browse-first"] .ai-actors-copy {
    min-width: 0;
  }

  body[data-variant="browse-first"] .ai-actors-copy h2 {
    max-width: 280px;
    font-size: clamp(34px, 10vw, 40px);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-variant="browse-first"] .ai-actors-copy p {
    max-width: 290px;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    font-size: 17px;
    line-height: 1.32;
  }

  body[data-variant="browse-first"] .ai-actors-copy .button {
    color: #ffffff !important;
    background: #090a14;
    min-height: 50px;
    white-space: normal;
    font-size: 14px;
  }

  body[data-variant="browse-first"] .actor-learn-link {
    display: none;
  }

  body[data-variant="browse-first"] .ai-actor-grid {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: actorMarquee 36s linear infinite;
    will-change: transform;
  }

  body[data-variant="browse-first"] .ai-actors-panel {
    overflow: hidden;
  }

  body[data-variant="browse-first"] .ai-actor-card {
    flex: 0 0 128px;
  }

  body[data-variant="browse-first"] .plugin-panel {
    padding-right: 22px;
  }

  body[data-variant="browse-first"] .plugin-logos {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 22px;
  }

  body[data-variant="browse-first"] .plugin-logo {
    min-width: 125px;
    min-height: 98px;
    padding: 0 28px;
  }

  body[data-variant="browse-first"] .plugin-logo img {
    width: 58px;
    height: 58px;
  }

  body[data-variant="browse-first"] .claude-logo {
    transform: rotate(4deg);
  }

  body[data-variant="browse-first"] .openai-logo {
    transform: rotate(-4deg);
  }

  .variant-switcher {
    display: none !important;
  }

  .site-header .header-actions {
    display: none;
  }

  html,
  body,
  main,
  body[data-variant="browse-first"] .hero,
  body[data-variant="browse-first"] .section,
  body[data-variant="browse-first"] .template-showcase,
  body[data-variant="browse-first"] .template-group,
  body[data-variant="browse-first"] .intel-board,
  body[data-variant="browse-first"] .plugin-panel {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body[data-variant="browse-first"],
  body[data-variant="browse-first"] * {
    box-sizing: border-box;
  }

  body[data-variant="browse-first"] {
    width: 100%;
    min-width: 0;
  }

  body[data-variant="browse-first"] .hero,
  body[data-variant="browse-first"] .section {
    width: 100%;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  body[data-variant="browse-first"] .hero-copy,
  body[data-variant="browse-first"] .section-heading,
  body[data-variant="browse-first"] .section-heading > div,
  body[data-variant="browse-first"] .template-showcase,
  body[data-variant="browse-first"] .template-group,
  body[data-variant="browse-first"] .template-group-copy,
  body[data-variant="browse-first"] .intel-board,
  body[data-variant="browse-first"] .ai-actors-panel,
  body[data-variant="browse-first"] .ai-actors-copy,
  body[data-variant="browse-first"] .plugin-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body[data-variant="browse-first"] .hero-actions {
    width: 100%;
    max-width: 260px;
    grid-template-columns: 1fr;
  }

  body[data-variant="browse-first"] .hero-actions .button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
    white-space: nowrap;
  }

  body[data-variant="browse-first"] .mobile-hero-cards {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    overflow: hidden;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .creative-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    border-radius: 11px;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .play-dot {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  body[data-variant="browse-first"] .template-row-grid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 6px;
    overflow: hidden;
  }

  body[data-variant="browse-first"] .template-row-grid .creative-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-variant="browse-first"] .section-heading h2,
  body[data-variant="browse-first"] h1,
  body[data-variant="browse-first"] h2,
  body[data-variant="browse-first"] h3,
  body[data-variant="browse-first"] p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  body[data-variant="browse-first"] .ai-actors-panel {
    padding: 22px 16px;
  }

  body[data-variant="browse-first"] .ai-actors-copy h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(31px, 8.8vw, 36px);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body[data-variant="browse-first"] .ai-actors-copy p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  body[data-variant="browse-first"] .ai-actors-copy .button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    color: #ffffff !important;
  }

  body[data-variant="browse-first"] .ai-actors-copy .button span {
    color: inherit;
  }
}

@media (max-width: 980px) {
  .blog-hero {
    grid-template-columns: 1fr;
    padding: 54px 28px 34px;
  }

  .blog-hero-media {
    max-width: 560px;
  }

  .article-shell {
    grid-template-columns: 1fr;
    padding: 28px 28px 82px;
  }

  .article-toc {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-toc span {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .blog-page .site-header {
    padding: 0 16px;
  }

  .blog-page .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .blog-hero {
    padding: 42px 16px 26px;
  }

  .blog-hero-copy h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .blog-dek {
    font-size: 18px;
  }

  .blog-hero-media {
    gap: 7px;
  }

  .blog-hero-media video {
    border-width: 3px;
    border-radius: 13px;
  }

  .article-shell {
    padding: 24px 16px 70px;
  }

  .article-toc {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .article-content p,
  .article-content li {
    font-size: 17px;
    line-height: 1.68;
  }

  .article-content h2 {
    margin-top: 42px;
  }

  .article-callout,
  .article-cta,
  .article-figure {
    border-radius: 16px;
  }

  .article-split {
    grid-template-columns: 1fr;
  }

  .article-cta {
    padding: 26px;
  }

  .article-cta .button {
    width: 100%;
    text-align: center;
  }

  .seo-actions .button {
    width: 100%;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .article-content th,
  .article-content td {
    min-width: 180px;
  }

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

  .service-screenshot-grid {
    grid-template-columns: 1fr;
  }

  .ugc-example-grid,
  .angle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-variant="browse-first"] {
    max-width: 100%;
    overflow-x: hidden;
  }

  body[data-variant="browse-first"] .hero,
  body[data-variant="browse-first"] .section,
  body[data-variant="browse-first"] .final-cta {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    overflow-x: clip;
  }

  body[data-variant="browse-first"] .hero,
  body[data-variant="browse-first"] .intel-board,
  body[data-variant="browse-first"] .feature-grid,
  body[data-variant="browse-first"] .math-cards,
  body[data-variant="browse-first"] .plugin-panel {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-variant="browse-first"] .hero-copy,
  body[data-variant="browse-first"] .launch-offer,
  body[data-variant="browse-first"] .hero-actions,
  body[data-variant="browse-first"] .mobile-hero-cards,
  body[data-variant="browse-first"] .template-showcase,
  body[data-variant="browse-first"] .template-group,
  body[data-variant="browse-first"] .library-cta,
  body[data-variant="browse-first"] .ai-actors-panel,
  body[data-variant="browse-first"] .ai-actors-copy {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body[data-variant="browse-first"] .launch-offer {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding: 14px;
    gap: 6px;
    overflow: visible;
  }

  body[data-variant="browse-first"] .launch-offer strong {
    display: block;
    max-width: 100%;
    font-size: 20px;
    line-height: 1.12;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body[data-variant="browse-first"] .launch-offer small {
    display: block;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body[data-variant="browse-first"] .section-heading {
    display: block;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    overflow: visible;
  }

  body[data-variant="browse-first"] .section-heading h2,
  body[data-variant="browse-first"] .intelligence-section .section-heading h2 {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    font-size: clamp(23px, 6.5vw, 28px);
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body[data-variant="browse-first"] .section-heading .text-link {
    display: inline-flex;
    margin-top: 12px;
    white-space: normal;
  }

  body[data-variant="browse-first"] .hero-actions {
    max-width: 250px;
  }

  body[data-variant="browse-first"] .hero-actions .button {
    min-width: 0;
    max-width: 100%;
    padding: 0 10px;
    font-size: 14px;
  }

  body[data-variant="browse-first"] .creative-video,
  body[data-variant="browse-first"] .creative-card video,
  body[data-variant="browse-first"] .ai-actor-card video,
  body[data-variant="browse-first"] .feature-card video,
  body[data-variant="browse-first"] .final-video-cluster video {
    position: absolute;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    visibility: visible;
  }

  body[data-variant="browse-first"] .ai-actor-card video,
  body[data-variant="browse-first"] .feature-card video,
  body[data-variant="browse-first"] .final-video-cluster video {
    position: static;
  }

  body[data-variant="browse-first"] .creative-card::before {
    z-index: 1;
  }

  body[data-variant="browse-first"] .mobile-hero-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    overflow: hidden;
  }

  body[data-variant="browse-first"] .mobile-hero-cards .creative-card {
    min-width: 0 !important;
    min-height: 104px;
    aspect-ratio: 9 / 16;
  }

  body[data-variant="browse-first"] .template-row-grid {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  body[data-variant="browse-first"] .template-row-grid .creative-card {
    min-width: 0 !important;
    min-height: 250px;
  }

  body[data-variant="browse-first"] .library-cta .button {
    width: calc(100vw - 28px);
    min-width: 0;
    max-width: calc(100vw - 28px);
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
    text-align: center;
  }

  body[data-variant="browse-first"] .ai-actors-panel {
    grid-template-columns: 1fr;
    padding: 22px 14px;
  }

  body[data-variant="browse-first"] .ai-actors-copy {
    display: block;
    min-height: 0;
  }

  body[data-variant="browse-first"] .ai-actors-copy h2 {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.02;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body[data-variant="browse-first"] .ai-actors-copy p {
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    margin-bottom: 18px;
    font-size: 16px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body[data-variant="browse-first"] .ai-actors-copy .button {
    display: inline-flex;
    width: calc(100vw - 56px);
    min-width: 0;
    max-width: calc(100vw - 56px);
    min-height: 50px;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  body[data-variant="browse-first"] .launch-offer strong,
  body[data-variant="browse-first"] .launch-offer small,
  body[data-variant="browse-first"] .section-heading h2,
  body[data-variant="browse-first"] .template-group-copy h3,
  body[data-variant="browse-first"] .competitor-copy h3,
  body[data-variant="browse-first"] .competitor-copy p,
  body[data-variant="browse-first"] .meta-mini-panel h3,
  body[data-variant="browse-first"] .meta-mini-panel p,
  body[data-variant="browse-first"] .matrix-mini-panel h3,
  body[data-variant="browse-first"] .matrix-mini-panel p,
  body[data-variant="browse-first"] .ai-actors-copy h2,
  body[data-variant="browse-first"] .ai-actors-copy p {
    max-inline-size: min(310px, calc(100vw - 72px)) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body[data-variant="browse-first"] .section-heading h2 {
    font-size: 25px !important;
    line-height: 1.08 !important;
  }

  body[data-variant="browse-first"] .launch-offer strong {
    font-size: 18px !important;
  }

  body[data-variant="browse-first"] .template-group-copy h3,
  body[data-variant="browse-first"] .competitor-copy h3,
  body[data-variant="browse-first"] .meta-mini-panel h3,
  body[data-variant="browse-first"] .matrix-mini-panel h3 {
    font-size: 23px !important;
    line-height: 1.08 !important;
  }

  body[data-variant="browse-first"] .ai-actors-copy h2 {
    font-size: 31px !important;
  }

  body[data-variant="browse-first"] .ai-actors-panel {
    overflow: hidden;
  }

  body[data-variant="browse-first"] .ai-actor-grid {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 8px;
    animation: none !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body[data-variant="browse-first"] .ai-actor-grid::-webkit-scrollbar {
    display: none;
  }

  body[data-variant="browse-first"] .ai-actor-card {
    flex: 0 0 116px !important;
    width: 116px;
    min-width: 116px;
    border-width: 3px;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  body[data-variant="browse-first"] .ai-actor-card.is-duplicate {
    display: block;
  }

  body[data-variant="browse-first"] .final-video-cluster {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    align-items: end;
    justify-self: stretch;
    margin: 8px 0 10px;
    overflow: hidden;
  }

  body[data-variant="browse-first"] .final-video-cluster video {
    position: static;
    width: 100% !important;
    min-width: 0;
    aspect-ratio: 9 / 16;
    border-radius: 11px;
    object-fit: cover;
    transform: none !important;
  }

  body[data-variant="browse-first"] .final-video-cluster video:nth-child(2),
  body[data-variant="browse-first"] .final-video-cluster video:nth-child(4) {
    transform: translateY(14px) !important;
  }
}
