/* ==========================================================================
   Kerf — Dark, Bold, Premium Marketing Stylesheet
   ========================================================================== */

:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --surface: #11141f;
  --surface-2: #171b29;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0f6;
  --muted: #a0a8bd;
  --faint: #6b7390;
  --cyan: #13c6f2;
  --blue: #2f6bff;
  --violet: #8a4dff;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue) 50%, var(--violet));

  --font-display: "Inter Tight", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: 24px;
  --section-space: 120px;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 17.5px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.page {
  position: relative;
  overflow-x: clip;
  min-height: 100vh;
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  max-width: 62ch;
}

a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

/* Layout & containers */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

/* Typography accents */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(23, 27, 41, 0.78);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px var(--cyan);
  flex-shrink: 0;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 28px -6px rgba(47, 107, 255, 0.55);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 12px 34px -4px rgba(19, 198, 242, 0.65);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}

.btn-sub {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

.btn-soon {
  width: 100%;
  min-height: 48px;
  background: rgba(17, 20, 31, 0.55);
  color: var(--muted);
  border: 1px dashed var(--line-2);
  cursor: not-allowed;
  user-select: none;
}

/* Browser / Product Frames */
.frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 60px -20px rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 8px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.frame-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.frame-dots span:nth-child(1) {
  background: rgba(255, 95, 86, 0.45);
}

.frame-dots span:nth-child(2) {
  background: rgba(255, 189, 46, 0.45);
}

.frame-dots span:nth-child(3) {
  background: rgba(39, 201, 63, 0.45);
}

.frame-meta {
  flex-shrink: 0;
}

.frame-title,
.frame-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   1. Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.76);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  margin: -8px -6px -8px -8px;
  flex-shrink: 0;
}

.footer .brand-logo {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.16s ease;
}

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

.nav-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle .line-top,
.nav-toggle .line-mid,
.nav-toggle .line-bot {
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav[data-nav-open]:not([data-nav-open="false"]) .nav-toggle .line-top {
  transform: translateY(5px) rotate(45deg);
}

.nav[data-nav-open]:not([data-nav-open="false"]) .nav-toggle .line-mid {
  opacity: 0;
}

.nav[data-nav-open]:not([data-nav-open="false"]) .nav-toggle .line-bot {
  transform: translateY(-5px) rotate(-45deg);
}

/* ==========================================================================
   2. Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 84px 0 72px;
  isolation: isolate;
}

/* Faint grid masked to fade out */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 20%, transparent 78%);
}

/* Soft ambient radial glow at top of hero */
.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 100vw);
  height: 620px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 35%, rgba(47, 107, 255, 0.22), rgba(138, 77, 255, 0.14) 45%, transparent 72%);
  filter: blur(24px);
}

.hero-copy {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-sub {
  margin: 26px auto 0;
  max-width: 58ch;
  font-size: clamp(17.5px, 2vw, 20px);
  line-height: 1.58;
  color: var(--muted);
}

.hero-copy .btn-row {
  justify-content: center;
  margin-top: 34px;
}

.hero-note {
  margin: 14px auto 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--faint);
}

.hero-stage {
  position: relative;
  margin-top: 56px;
  isolation: isolate;
}

/* Soft cyan-to-violet glow behind the film */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: -28px -16px -36px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 45%, rgba(19, 198, 242, 0.28), transparent 55%),
    radial-gradient(circle at 78% 55%, rgba(138, 77, 255, 0.30), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(47, 107, 255, 0.22), transparent 68%);
  filter: blur(42px);
}

.frame-film {
  border-color: var(--line-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 32px 90px -20px rgba(0, 0, 0, 0.88),
    0 0 0 1px rgba(19, 198, 242, 0.08);
}

.film-wrap {
  position: relative;
  background: var(--bg-2);
}

.film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0e2555;
}

.film-fallback {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
}

/* The film's timeline: a ruler, a tick a second and a long one every five,
   the chapters on it, the gradient filling as the film plays. It needs the
   script (it seeks and shows the time), so it shows only with it. */
.reel {
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 14px 20px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.js .reel {
  display: grid;
}

.reel-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.reel-play:hover {
  border-color: var(--cyan);
}

.reel-play .icon-play {
  display: none;
}

.reel-play[aria-pressed="true"] .icon-pause {
  display: none;
}

.reel-play[aria-pressed="true"] .icon-play {
  display: block;
}

.reel-track {
  --dur: 36;
  position: relative;
  height: 46px;
  cursor: pointer;
}

.reel-ruler {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: calc(100% / var(--dur)) 6px, calc(100% / var(--dur) * 5) 13px;
  background-position: left bottom, left bottom;
  background-repeat: repeat-x;
}

.reel-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

.reel-chapters {
  position: absolute;
  inset: 0 0 16px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reel-chapters li {
  position: absolute;
  top: 0;
  left: calc(var(--at) / var(--dur) * 100%);
}

.reel-chapters button {
  position: relative;
  padding: 2px 0 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 13px/1.2 var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
}

.reel-chapters button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.4);
}

.reel-chapters button:hover {
  color: var(--text);
}

.reel-chapters .is-active button {
  color: var(--text);
  font-weight: 600;
}

.reel-time {
  min-width: 3.2em;
  padding-bottom: 1px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  text-align: right;
}

.reel-chapter {
  display: none;
}

/* ==========================================================================
   3. Works with
   ========================================================================== */

.works-with {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 14, 22, 0.55);
}

.works-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  text-align: center;
}

.works-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  max-width: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.works-list .sep {
  color: var(--faint);
}

/* ==========================================================================
   4. The old way (#problem)
   ========================================================================== */

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

.old-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(17, 20, 31, 0.62);
  overflow: hidden;
}

/* The kerf — a sharp gradient saw cut visibly striking through the old ways */
.kerf-cut {
  position: absolute;
  left: -8%;
  right: -8%;
  top: 52%;
  height: 2px;
  background: var(--grad);
  box-shadow:
    0 0 12px rgba(19, 198, 242, 0.65),
    0 0 24px rgba(138, 77, 255, 0.45);
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 2;
}

.old-time {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
}

.old-card h3 {
  position: relative;
  z-index: 1;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(19, 198, 242, 0.55);
  text-decoration-thickness: 1.5px;
}

.old-card p {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--faint);
}

.kerf-way-card {
  position: relative;
  margin-top: 24px;
  padding: 32px 34px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 50%, rgba(19, 198, 242, 0.14), transparent 50%),
    radial-gradient(circle at 88% 50%, rgba(138, 77, 255, 0.15), transparent 52%),
    var(--surface);
  border: 1px solid rgba(19, 198, 242, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 60px -15px rgba(47, 107, 255, 0.28);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.kerf-way-badge {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.kerf-way-badge img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.kerf-way-body h3 {
  font-size: clamp(21px, 2.4vw, 26px);
  color: var(--text);
}

.kerf-way-body p {
  margin-top: 8px;
  font-size: 16.5px;
  color: var(--muted);
}

/* ==========================================================================
   5. How it works (#how)
   ========================================================================== */

.steps-stack {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.step-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 48px;
}

.step-row-reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.step-row-reverse .step-copy {
  order: 2;
}

.step-row-reverse .step-media {
  order: 1;
}

.step-num {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-copy h3 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 14px;
}

.step-copy p {
  font-size: 17.5px;
  color: var(--muted);
}

/* ==========================================================================
   6. Proof (#proof)
   ========================================================================== */

/* An equation, read left to right: the AI's page, minus the WordPress page,
   equals what differs, which is nothing. */
.proof-eq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.proof-panel {
  margin: 0;
  min-width: 0;
}

.proof-cap {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.proof-win {
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.8);
}

.proof-addr {
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 900;
}

.proof-sign {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.proof-panel-diff .proof-win {
  border-color: rgba(19, 198, 242, 0.45);
  box-shadow: 0 0 0 1px rgba(19, 198, 242, 0.12), 0 18px 44px -18px rgba(19, 198, 242, 0.35);
}

/* Both pictures are drawn the same way, at the same size, so the browser
   scales them to the same pixels: then "difference" really is black. (One
   sized by its width and the other stretched to the box differed by a
   fraction of a pixel, and the outlines showed.) */
.proof-stage {
  position: relative;
  aspect-ratio: 1440 / 900;
  background: #000000;
  overflow: hidden;
  isolation: isolate;
}

.proof-a,
.proof-b {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.proof-b {
  mix-blend-mode: difference;
  transition: transform 0.5s ease;
}

/* The lookalike: the same page moved a few pixels, as a rebuild is "close". */
.proof-shot-b {
  transition: transform 0.5s ease;
}

.proof-eq[data-lookalike] .proof-b,
.proof-eq[data-lookalike] .proof-shot-b {
  transform: translate(3px, 2px);
}

.proof-verdict {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--text);
  isolation: isolate;
  transition: opacity 0.3s ease;
}

.proof-verdict span {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.proof-eq[data-lookalike] .proof-verdict {
  opacity: 0;
}

.proof-try {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.proof-toggle {
  flex-shrink: 0;
}

html:not(.js) .proof-toggle {
  display: none;
}

.proof-note {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.stat-card {
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--muted);
}

/* ==========================================================================
   7. Edit (#edit)
   ========================================================================== */

.edit-hero-frame {
  margin-bottom: 28px;
}

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

.edit-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.edit-card-shot {
  border-radius: 12px;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.65);
}

.edit-card-body {
  margin-top: 22px;
}

.edit-card-body h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.edit-card-body p {
  font-size: 16px;
  color: var(--muted);
}

.edit-tools-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.edit-tool-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.edit-tool-item + .edit-tool-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--cyan);
  flex-shrink: 0;
}

.edit-tool-item h4 {
  color: var(--text);
  margin-bottom: 4px;
}

.edit-tool-item p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ==========================================================================
   8. Live demo band (#demo)
   ========================================================================== */

.demo-band {
  position: relative;
  border-radius: 24px;
  padding: 64px 48px;
  background:
    radial-gradient(circle at 15% 20%, rgba(19, 198, 242, 0.24), transparent 48%),
    radial-gradient(circle at 85% 80%, rgba(138, 77, 255, 0.28), transparent 52%),
    radial-gradient(ellipse at 50% 50%, rgba(47, 107, 255, 0.18), transparent 70%),
    var(--surface);
  border: 1px solid rgba(19, 198, 242, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 32px 96px -20px rgba(47, 107, 255, 0.42),
    0 0 80px -24px rgba(138, 77, 255, 0.35);
  overflow: hidden;
  isolation: isolate;
}

.demo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}

.demo-band-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.demo-lead {
  margin: 20px auto 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text);
}

.demo-steps {
  list-style: none;
  margin: 30px auto 0;
  padding: 12px 20px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  border-radius: 14px;
  background: rgba(7, 8, 13, 0.65);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}

.demo-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
}

.demo-step-arrow {
  color: var(--cyan);
}

.demo-actions {
  justify-content: center;
  margin-top: 32px;
}

.demo-note {
  margin: 18px auto 0;
  max-width: 58ch;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   9. Features (#features) — Bento Grid
   ========================================================================== */

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

.bento-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--cyan);
}

.bento-tile h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.bento-tile p {
  font-size: 16px;
  color: var(--muted);
}

/* Biggest tile: Kerf AI */
.bento-ai {
  grid-column: span 2;
  padding: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(138, 77, 255, 0.18), transparent 48%),
    radial-gradient(circle at 10% 90%, rgba(19, 198, 242, 0.14), transparent 48%),
    var(--surface);
  border-color: var(--line-2);
}

.bento-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.bento-top .bento-icon {
  margin-bottom: 0;
}

.bento-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

.bento-ai h3 {
  font-size: clamp(24px, 2.8vw, 30px);
}

.bento-lead {
  margin-top: 4px;
  font-size: 17px;
  color: var(--muted);
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ai-tool {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.55);
}

.ai-tool h4 {
  color: var(--text);
  margin-bottom: 6px;
}

.ai-tool p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.bento-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  max-width: none;
}

.bento-wide {
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 107, 255, 0.14), transparent 55%),
    var(--surface);
}

/* ==========================================================================
   10. Pricing (#pricing)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.price-card-popular {
  transform: translateY(-10px);
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 107, 255, 0.22), transparent 62%),
    var(--surface-2);
  border-color: rgba(19, 198, 242, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 28px 70px -18px rgba(47, 107, 255, 0.38),
    0 0 40px -12px rgba(138, 77, 255, 0.32);
}

.popular-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.45);
}

.price-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-card-head h3 {
  font-size: 24px;
}

.price-sites {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 26px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-regular {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--faint);
  text-decoration: line-through;
}

.price-current {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text);
}

.price-terms {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.price-terms li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--muted);
}

.price-terms li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.included-box {
  margin-top: 40px;
  padding: 32px 34px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.included-title {
  margin-bottom: 20px;
  font-size: 19px;
  color: var(--text);
}

.included-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--muted);
}

.included-list svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-note {
  margin: 28px auto 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

/* ==========================================================================
   11. FAQ (#faq)
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 100px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.faq-item summary {
  position: relative;
  padding: 20px 52px 20px 24px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-item summary::before {
  transform: translateY(-50%);
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 64ch;
}

/* ==========================================================================
   12. Final call
   ========================================================================== */

.final-call {
  padding-top: 60px;
}

.final-box {
  position: relative;
  padding: 72px 32px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.22), rgba(138, 77, 255, 0.12) 48%, transparent 72%),
    var(--bg-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
}

.final-box h2 {
  max-width: 20ch;
  margin: 0 auto;
}

.final-sub {
  margin: 18px auto 0;
  font-size: 18px;
  color: var(--muted);
}

.final-box .btn-row {
  justify-content: center;
  margin-top: 32px;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-legal {
  max-width: none;
  font-size: 13.5px;
  color: var(--faint);
}

/* ==========================================================================
   Reveal-on-scroll hook
   ========================================================================== */

.js [data-reveal] {
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(20px);
}

/* ==========================================================================
   Responsive Breakpoints (1100, 900, 760, 480)
   ========================================================================== */

@media (max-width: 1100px) {
  .reel-chapters button {
    font-size: 12px;
  }

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

  .bento-ai {
    grid-column: 1 / -1;
  }

  .step-row,
  .step-row-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .step-row-reverse .step-copy {
    order: 1;
  }

  .step-row-reverse .step-media {
    order: 2;
  }

  .steps-stack {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  .proof-eq {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
  }

  .proof-sign {
    margin-top: 0;
    text-align: center;
  }

  .proof-try {
    flex-direction: column;
    align-items: flex-start;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .reel-chapters button {
    width: 14px;
    height: 30px;
    padding: 0;
    font-size: 0;
  }

  .reel-chapter {
    display: inline;
  }

  .reel-clock {
    display: none;
  }

  .reel-time {
    min-width: 0;
    font-family: var(--font-sans);
    color: var(--text);
    font-weight: 600;
  }

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

  .kerf-way-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 28px;
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin: 0 auto;
  }

  .price-card-popular {
    transform: none;
  }

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

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .faq-head {
    position: static;
  }

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

@media (max-width: 760px) {
  .reel {
    gap: 12px;
    padding: 12px 14px 14px;
  }

  .reel-play {
    width: 36px;
    height: 36px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  :root {
    --gutter: 16px;
    --section-space: 72px;
  }

  body {
    font-size: 17px;
  }

  /* Mobile navigation:
     Without JS, links remain reachable and wrap cleanly.
     With JS, links collapse behind [data-nav-toggle] and open when [data-nav-open] is on <header>. */
  .nav-inner {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding: 10px 0 6px;
    border-top: 1px solid var(--line);
  }

  .js .nav:not([data-nav-open]) .nav-links,
  .js .nav[data-nav-open="false"] .nav-links {
    display: none;
  }

  .nav[data-nav-open]:not([data-nav-open="false"]) .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
  }

  .nav[data-nav-open]:not([data-nav-open="false"]) .nav-links a {
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav[data-nav-open]:not([data-nav-open="false"]) .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero {
    padding: 52px 0 56px;
  }

  .hero-stage {
    margin-top: 40px;
  }

  .edit-grid,
  .bento,
  .proof-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-band {
    padding: 44px 22px;
    border-radius: 20px;
  }

  .demo-steps {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 340px;
  }

  .demo-steps .demo-step-arrow {
    display: none;
  }

  .included-box {
    padding: 24px 20px;
  }

  .final-box {
    padding: 52px 20px;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    padding: 0 12px;
    font-size: 13px;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }

  .bento-ai,
  .bento-tile,
  .edit-card,
  .price-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .js [data-reveal],
  .js [data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
