: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;
}

.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: var(--radius);
  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);
}

.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;
}

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;
}

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

.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-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: #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: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #042c23;
  background:
    linear-gradient(145deg, #e8fff3 0%, #99ffd1 48%, #52dda9 100%);
  font-size: 12px;
  font-weight: 900;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -8px 14px rgba(15, 151, 127, 0.18),
    0 12px 22px rgba(8, 9, 16, 0.18),
    0 0 0 5px rgba(189, 255, 223, 0.18);
  transform: rotate(-2deg);
}

.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: linear-gradient(145deg, #fff9d9 0%, #ffe071 48%, #ffb84d 100%);
  color: #3c2600;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -8px 14px rgba(173, 104, 0, 0.16),
    0 12px 22px rgba(8, 9, 16, 0.18),
    0 0 0 5px rgba(255, 224, 113, 0.18);
}

.creative-card:nth-child(3n) .metric-badge {
  background: linear-gradient(145deg, #f3efff 0%, #b79cff 52%, #7d5cff 100%);
  color: #1f1268;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -8px 14px rgba(76, 45, 190, 0.18),
    0 12px 22px rgba(8, 9, 16, 0.18),
    0 0 0 5px rgba(183, 156, 255, 0.2);
}

.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 {
  min-height: 34px;
  margin-top: 8px;
  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;
}

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

.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;
  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;
}

.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;
}

.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 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.8fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(8, 9, 16, 0.08);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.loop-board article,
.loop-result {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(247, 248, 252, 0.9), rgba(255, 255, 255, 1));
}

.loop-index {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-weight: 900;
}

.loop-board h3 {
  margin-bottom: 12px;
}

.loop-board p {
  margin-bottom: 0;
  color: #4d566b;
  font-size: 16px;
  line-height: 1.5;
}

.loop-result {
  display: grid;
  place-items: center;
  align-content: center;
  color: white;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 9rem),
    linear-gradient(145deg, #090a14 0%, #5136db 100%);
  text-align: center;
}

.loop-result strong {
  display: block;
  color: white;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
}

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

.final-cta {
  max-width: 1384px;
  margin: 36px auto 64px;
  padding: 54px 48px;
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(circle at 28% 20%, rgba(33, 199, 168, 0.18), transparent 24rem),
    radial-gradient(circle at 78% 28%, rgba(115, 87, 255, 0.18), transparent 24rem),
    white;
}

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

.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;
}

.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"] {
  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 {
  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;
}

.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;
  }

  .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,
  .loop-board {
    grid-template-columns: 1fr;
  }

  .loop-board {
    padding: 12px;
  }

  .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;
  }

  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%;
  }

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

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

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

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

  .template-group {
    padding: 12px;
  }

  .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;
  }
}
