:root {
    --cream: #F5F1E8;
    --cream-soft: #FAF7EE;
    --navy: #0E1E2E;
    --navy-soft: #142838;
    --yellow: #FFC93C;
    --yellow-soft: #FFD867;
    --red: #E04832;
    --muted: rgba(14, 30, 46, 0.62);
    --muted-soft: rgba(14, 30, 46, 0.42);
    --line: rgba(14, 30, 46, 0.12);
    --white: #FFFFFF;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--navy);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }

  .italic-serif {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
  }

  /* Header */
  .nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo { font-weight: 800; font-size: 11px; letter-spacing: 0.04em; line-height: 1.1; }
  .logo span { display: block; }
  .nav-cta {
    background: var(--navy);
    color: var(--cream);
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .nav-cta::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
  }

  /* Hero */
  .hero {
    max-width: 880px;
    margin: 0 auto;
    padding: 48px 32px 40px;
  }
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
  }
  h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
  }
  h1 .italic-serif { font-weight: 400; letter-spacing: -0.01em; }
  h1 .highlight {
    background: linear-gradient(180deg, transparent 0%, transparent 22%, var(--yellow) 22%, var(--yellow) 88%, transparent 88%);
    padding: 0 0.15em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
  }
  .hero-sub {
    font-size: 19px;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 36px;
  }
  .hero-meta {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .meta-stat .num {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .meta-stat .num .italic-serif { font-weight: 400; }
  .meta-stat .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 8px;
  }

  /* Scripts */
  .scripts {
    max-width: 880px;
    margin: 24px auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .script-card {
    background: var(--white);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid var(--line);
  }
  @media (max-width: 540px) {
    .script-card { padding: 28px 24px; }
  }

  .script-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .script-num {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.06em;
  }
  .script-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
  }
  .script-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
  }
  .script-tag.green::before { background: #4FB67A; }
  .script-tag.amber::before { background: var(--yellow); }
  .script-tag.coral::before { background: #E07843; }

  .script-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin-bottom: 8px;
  }
  .script-title .italic-serif { font-weight: 400; }

  .script-when {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 24px;
  }

  .script-box {
    background: var(--cream);
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 20px;
    position: relative;
  }
  .script-text {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--navy);
    white-space: pre-wrap;
    word-wrap: break-word;
  }
  .script-text .var {
    background: var(--yellow);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
  }
  .copy-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--navy);
    color: var(--cream);
    border: none;
    padding: 8px 14px;
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
  }
  .copy-btn:hover { background: var(--navy-soft); }
  .copy-btn.copied { background: #4FB67A; }
  .copy-btn.copied::before { content: '✓ '; }

  .why-it-works {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  .why-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    flex-shrink: 0;
    padding-top: 2px;
  }
  .why-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
  }

  /* Two-message variant for follow-ups */
  .script-box + .script-box { margin-top: 12px; }
  .script-box .label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
  }

  /* Capture */
  .capture-wrap {
    max-width: 880px;
    margin: 24px auto 64px;
    padding: 0 32px;
  }
  .capture {
    background: var(--yellow);
    border-radius: 28px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (max-width: 720px) {
    .capture { grid-template-columns: 1fr; padding: 36px 28px; }
  }
  .capture h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 16px;
  }
  .capture h2 .italic-serif { font-weight: 400; }
  .capture p {
    font-size: 15px;
    color: var(--navy);
    line-height: 1.55;
    max-width: 380px;
  }
  form { display: flex; flex-direction: column; gap: 12px; }
  input[type="text"], input[type="email"] {
    background: var(--cream-soft);
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 16px 18px;
    font-family: inherit;
    font-size: 16px;
    width: 100%;
  }
  input:focus { outline: none; background: var(--white); border-color: var(--navy); }
  .submit {
    background: var(--navy);
    color: var(--cream);
    border: none;
    padding: 18px 24px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .submit-arrow {
    background: var(--yellow);
    color: var(--navy);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
  }
  .form-fineprint { font-size: 12px; color: rgba(14, 30, 46, 0.7); }
  .success { display: none; }
  .success.active { display: block; }
  .success h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .success h3 .italic-serif { font-weight: 400; }

  footer {
    border-top: 1px solid var(--line);
    padding: 32px;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
  }
  footer a { color: var(--navy); text-decoration: none; font-weight: 600; }

  /* ───── Book Operations Audit CTA ───── */
  .capture-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 18px;
  }
  .capture-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
  }
  .scarcity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin-top: 18px;
    background: rgba(14, 30, 46, 0.08);
    padding: 8px 16px;
    border-radius: 100px;
  }
  .scarcity::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
  }
  .cta-button {
    background: var(--navy);
    color: var(--cream);
    border: none;
    padding: 22px 32px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transition: transform 0.15s ease;
    white-space: nowrap;
    justify-self: end;
    align-self: center;
  }
  .cta-button:hover { transform: translateY(-1px); }
  .cta-button .cta-arrow {
    background: var(--yellow);
    color: var(--navy);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
  }
  @media (max-width: 880px) {
    .cta-button { justify-self: stretch; padding: 20px 24px; }
  }