  :root {
    --bg: #030711;
    --bg-2: #060b1a;
    --panel: rgba(12, 20, 38, 0.6);
    --panel-solid: #0a1222;
    --border: rgba(85, 167, 255, 0.18);
    --border-strong: rgba(85, 167, 255, 0.35);
    --text: #e7eefb;
    --text-muted: #93a3bf;
    --text-dim: #6a7a95;
    --accent: #29a7ff;
    --accent-2: #4fd1ff;
    --accent-glow: rgba(41, 167, 255, 0.45);
    --accent-soft: rgba(41, 167, 255, 0.12);
    --gold: #e6b84f;
    --green: #28d47a;
    --danger: #ff5d5d;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
  body {
    background:
      radial-gradient(1200px 600px at 80% -200px, rgba(41,167,255,0.12), transparent 60%),
      radial-gradient(900px 500px at -10% 30%, rgba(41,167,255,0.08), transparent 60%),
      var(--bg);
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .display { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; }
  .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
  @media (max-width: 720px) { .container { padding: 0 20px; } }

  /* ========== NAV ========== */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(3, 7, 17, 0.55);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background .3s, border-color .3s;
  }
  .nav.scrolled { background: rgba(3, 7, 17, 0.85); border-color: rgba(41,167,255,0.12); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
  .nav-logo { display: flex; align-items: center; gap: 12px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: #fff; }
  .nav-logo img { height: 72px; width: auto; display: block; filter: invert(1) hue-rotate(180deg) brightness(1.15) drop-shadow(0 2px 12px rgba(41,167,255,0.25)); }
  .nav-links { display: flex; align-items: center; gap: 36px; }
  .nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
  .nav-links a:hover { color: #fff; }
  .nav-cta {
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--accent) 0%, #1a8fe8 100%);
    border-radius: 10px;
    color: #fff;
    font-weight: 600; font-size: 14px;
    box-shadow: 0 8px 24px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25);
    transition: transform .15s, box-shadow .15s;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
  .nav-menu-btn { display: none; background: none; border: none; color: #fff; cursor: pointer; }
  @media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-menu-btn { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
  }

  /* ========== HERO ========== */
  .hero { position: relative; min-height: 100vh; padding: 140px 0 80px; overflow: hidden; }
  .hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  }
  .hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(180deg, rgba(3,7,17,0.55) 0%, rgba(3,7,17,0.7) 40%, rgba(3,7,17,0.92) 90%),
      radial-gradient(ellipse at center, transparent 20%, rgba(3,7,17,0.4) 70%);
  }
  .hero-grid {
    position: absolute; inset: 0; z-index: 1; opacity: 0.35;
    background-image:
      linear-gradient(rgba(41,167,255,0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(41,167,255,0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  }
  .hero-inner { position: relative; z-index: 2; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 10px;
    background: rgba(41,167,255,0.08);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 13px; font-weight: 500; color: var(--accent-2);
    letter-spacing: 0.02em;
    margin-bottom: 28px;
  }
  .hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
  .hero h1 {
    font-family: 'Sora', sans-serif; font-weight: 700;
    font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
    margin: 0 0 28px; max-width: 1000px;
    text-wrap: balance;
  }
  .hero h1 .accent {
    background: linear-gradient(135deg, #4fd1ff 0%, #29a7ff 60%, #1a8fe8 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero-sub {
    font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text-muted);
    max-width: 720px; margin: 0 0 40px; text-wrap: pretty;
  }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 26px;
    border-radius: 12px; font-weight: 600; font-size: 15px;
    cursor: pointer; border: none; text-align: left;
    transition: transform .15s, box-shadow .15s, background .2s, border-color .2s;
  }
  .btn-primary {
    background: linear-gradient(180deg, #3bb4ff 0%, #1a8fe8 100%);
    color: #fff;
    box-shadow: 0 12px 32px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3), 0 0 0 1px rgba(41,167,255,0.4);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.35), 0 0 0 1px rgba(41,167,255,0.6); }
  .btn-ghost {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    backdrop-filter: blur(8px);
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-strong); }
  .btn svg { width: 18px; height: 18px; }

  .hero-proof {
    display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
    padding-top: 32px;
    max-width: 900px;
  }
  .hero-proof::before {
    content: ""; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  }
  .hero-proof { position: relative; }
  .proof-item { display: flex; flex-direction: column; gap: 4px; }
  .proof-num { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
  .proof-num .unit { font-size: 20px; color: var(--accent); margin-left: 2px; }
  .proof-label { font-size: 12px; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }

  /* ========== SECTION SHELL ========== */
  section { position: relative; padding: 120px 0; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent); font-weight: 600;
    margin-bottom: 18px;
  }
  .eyebrow::before {
    content: ""; width: 24px; height: 1px; background: var(--accent);
  }
  .section-title {
    font-family: 'Sora', sans-serif; font-weight: 700;
    font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.03em;
    margin: 0 0 20px; max-width: 900px;
    text-wrap: balance;
  }
  .section-title .accent { color: var(--accent); }
  .section-intro { font-size: 18px; color: var(--text-muted); max-width: 720px; line-height: 1.55; margin: 0 0 56px; }

  /* ========== PAIN / PROBLEM STRIP ========== */
  .pain { padding: 100px 0 60px; background: linear-gradient(180deg, transparent 0%, rgba(41,167,255,0.03) 50%, transparent 100%); position: relative; }
  .pain::before {
    content: ""; position: absolute; left: 0; right: 0;
    top: -240px; height: 240px;
    background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
    pointer-events: none; z-index: 3;
  }
  .pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  @media (max-width: 900px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .pain-grid { grid-template-columns: 1fr; } }
  .pain-card {
    padding: 28px;
    background: rgba(12,20,38,0.4);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    transition: border-color .2s, transform .2s;
  }
  .pain-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .pain-num { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; opacity: 0.7; }
  .pain-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 8px; line-height: 1.3; }
  .pain-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

  /* ========== THREE WAYS (VALUE LADDER) ========== */
  .ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 900px) { .ways-grid { grid-template-columns: 1fr; } }
  .way-card {
    position: relative;
    padding: 40px 32px 36px;
    background: linear-gradient(180deg, rgba(15,25,48,0.75) 0%, rgba(8,14,28,0.75) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    transition: border-color .3s, transform .3s;
    display: flex; flex-direction: column;
  }
  .way-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
  .way-step {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
    color: var(--accent); text-transform: uppercase;
    margin-bottom: 14px;
  }
  .way-step-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(41,167,255,0.12);
    border: 1px solid var(--border-strong);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-size: 12px; color: var(--accent-2);
  }
  .way-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 24px; margin: 0 0 8px; color: #fff; letter-spacing: -0.01em; }
  .way-sub { font-size: 13px; font-weight: 500; color: var(--accent-2); letter-spacing: 0.04em; margin-bottom: 18px; text-transform: uppercase; }
  .way-desc { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0 0 28px; flex: 1; }
  .way-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--accent-2);
    padding: 12px 18px;
    background: rgba(41,167,255,0.08);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    align-self: flex-start;
    transition: background .2s, transform .15s;
  }
  .way-cta:hover { background: rgba(41,167,255,0.16); transform: translateX(2px); }
  .way-cta svg { width: 14px; height: 14px; }

  /* ========== ECOSYSTEM ========== */
  .ecosystem-hero-img {
    margin-top: 60px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 80px -30px var(--accent-glow);
    background: #000;
  }
  /* Interactive 3D ecosystem scene (replaces the static hero image) */
  .eco3d {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #030711;
  }
  @media (max-width: 720px) { .eco3d { aspect-ratio: 4 / 5; } }
  .eco3d-fallback {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: opacity 600ms ease;
  }
  .eco3d-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%; display: block;
    cursor: grab;
  }
  .eco3d-canvas:active { cursor: grabbing; }
  .eco3d-ready .eco3d-fallback { opacity: 0; pointer-events: none; }
  /* Title overlay — shown only once the live 3D scene is rendering, so it
     never doubles up with the title baked into the fallback image. */
  .eco3d-title {
    position: absolute;
    top: 7%; left: 0; right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 600ms ease;
  }
  .eco3d-ready .eco3d-title { opacity: 1; }
  .eco3d-title-main {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 38px);
    letter-spacing: -0.025em;
    line-height: 1.05;
    color: #fff;
  }
  .eco3d-title-main sup {
    font-size: 0.45em;
    font-weight: 500;
    position: relative;
    top: -0.9em;
    letter-spacing: 0;
    margin-left: 0.04em;
    color: rgba(255,255,255,0.78);
  }
  .eco3d-title-sub {
    margin-top: 10px;
    font-size: clamp(12px, 1.2vw, 16px);
    color: var(--text-muted);
    letter-spacing: 0.01em;
  }

  /* ========== TOOLS GRID ========== */
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }
  .tool {
    position: relative;
    grid-column: span 6;
    background: linear-gradient(180deg, rgba(15,25,48,0.7) 0%, rgba(8,14,28,0.7) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color .3s, transform .3s;
    display: flex; flex-direction: column;
  }
  .tool:hover { border-color: var(--border-strong); transform: translateY(-4px); }
  .tool-featured { grid-column: span 12; flex-direction: row; }
  .tool-featured .tool-media { flex: 0 0 55%; aspect-ratio: 16 / 9; }
  .tool-featured .tool-body { flex: 1; justify-content: center; }
  @media (max-width: 900px) {
    .tool { grid-column: span 12; }
    .tool-featured { flex-direction: column; }
    .tool-featured .tool-media { flex: none; width: 100%; }
  }
  .tool-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #050a16;
  }
  .tool-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s; }
  .tool:hover .tool-media img { transform: scale(1.03); }
  .tool-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
  .tool-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
    color: var(--accent); text-transform: uppercase;
    margin-bottom: 10px;
  }
  .tool-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 22px; margin: 0 0 8px; color: #fff; letter-spacing: -0.01em; }
  .tool-desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 18px; flex: 1; }
  .tool-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
  .tool-link svg { width: 14px; height: 14px; transition: transform .2s; }
  .tool-link:hover svg { transform: translateX(3px); }
  .tool-link.coming-soon { color: var(--text-dim); pointer-events: none; }
  .tool-price {
    position: absolute; top: 16px; right: 16px;
    padding: 6px 14px;
    background: rgba(3,7,17,0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 11px; font-weight: 600; color: var(--accent-2);
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .tool-price.soon { background: rgba(230,184,79,0.12); border-color: rgba(230,184,79,0.45); color: var(--gold); }

  /* ========== MOVEMENT ========== */
  .movement {
    padding: 140px 0;
    text-align: center;
    position: relative;
    background:
      radial-gradient(ellipse at 50% 50%, rgba(41,167,255,0.08), transparent 70%),
      linear-gradient(180deg, transparent 0%, rgba(3,7,17,0.5) 50%, transparent 100%);
  }
  .movement-inner { max-width: 900px; margin: 0 auto; }
  .movement .eyebrow { justify-content: center; }
  .movement .eyebrow::before { display: none; }
  .movement-headline {
    font-family: 'Sora', sans-serif; font-weight: 700;
    font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -0.025em;
    margin: 0 auto 28px; color: #fff;
    text-wrap: balance;
  }
  .movement-sub {
    font-size: 18px; color: var(--text-muted); line-height: 1.6;
    max-width: 700px; margin: 0 auto 40px;
  }

  /* ========== WORKFLOW ========== */
  .workflow { padding: 120px 0; background: linear-gradient(180deg, transparent 0%, rgba(41,167,255,0.04) 50%, transparent 100%); }
  .workflow-img {
    margin-top: 40px;
    border-radius: 20px; overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
  }
  .workflow-img img { width: 100%; display: block; }

  /* ── 7-Phase Workflow animated graphic (replaces workflow-7phase.jpg) ── */
  .wf7 {
    position: relative;
    padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(44px, 5vw, 60px);
    background:
      radial-gradient(60% 70% at 30% 20%, rgba(41,167,255,0.10), transparent 60%),
      radial-gradient(55% 60% at 80% 80%, rgba(41,167,255,0.08), transparent 60%),
      #030711;
  }
  .wf7::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(to right, rgba(41,167,255,0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(41,167,255,0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
  }
  .wf7-inner { position: relative; z-index: 1; }

  .wf7-h1 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.028em;
    text-align: center;
    margin: 0 auto 28px;
    max-width: 880px;
    text-wrap: balance;
    color: #fff;
  }
  .wf7-h1 .wf7-accent {
    background: linear-gradient(135deg, #4FD1FF, #29A7FF);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
  }

  .wf7-bullets {
    margin: 0 auto 64px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: max-content;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.4;
    color: #fff;
  }
  .wf7-bullet {
    display: grid;
    grid-template-columns: 28px 14px 1fr;
    gap: 8px;
    align-items: center;
  }
  .wf7-ico {
    color: var(--accent);
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
  }
  .wf7-ico svg { width: 22px; height: 22px; stroke-width: 1.6; }
  .wf7-marker {
    color: var(--accent);
    font-weight: 700; font-size: 22px; line-height: 1;
    text-align: center;
  }

  .wf7-workflow { position: relative; }

  .wf7-line-bg {
    position: absolute; left: 0; right: 0;
    top: 30px; height: 110px;
    pointer-events: none; z-index: 15;
  }
  .wf7-line-bg svg { width: 100%; height: 100%; overflow: visible; display: block; }
  .wf7-line-bg path.wf7-flow {
    fill: none;
    stroke: url(#wf7-lineGrad);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 6px rgba(41,167,255,0.45));
  }
  .wf7-line-bg .wf7-arrow {
    fill: none;
    stroke: rgba(41,167,255,0.55);
    stroke-width: 1.4;
    stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
  }

  .wf7-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 44px;
    position: relative;
    z-index: 1;
  }
  .wf7-card {
    --hl: 0;
    position: relative;
    background: linear-gradient(180deg,
      rgba(15,25,48, calc(0.32 + 0.30 * var(--hl))),
      rgba(8,14,28, calc(0.40 + 0.26 * var(--hl))));
    border: 1px solid rgba(255,255,255, calc(0.07 + 0.42 * var(--hl)));
    border-radius: 18px;
    padding: 40px 14px 52px;
    min-height: 230px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(calc(-7px * var(--hl))) scale(calc(1 + 0.045 * var(--hl)));
    box-shadow:
      0 calc(22px * var(--hl)) calc(60px * var(--hl)) -12px rgba(41,167,255, calc(0.55 * var(--hl))),
      0 0 0 1px rgba(41,167,255, calc(0.35 * var(--hl))),
      inset 0 1px 0 rgba(255,255,255, calc(0.22 * var(--hl)));
    transition: transform 220ms ease-out, box-shadow 220ms ease-out,
                background 220ms ease-out, border-color 220ms ease-out;
    z-index: 1;
  }
  .wf7-card.wf7-front { z-index: 10; }
  .wf7-icon-wrap {
    width: 68px; height: 68px;
    margin: 0 auto 26px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-2);
  }
  .wf7-icon-wrap svg {
    width: 56px; height: 56px;
    fill: none; stroke: currentColor;
    stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
    overflow: visible;
    filter:
      drop-shadow(0 0 2px rgba(79,209,255,0.95))
      drop-shadow(0 0 6px rgba(41,167,255,0.65))
      drop-shadow(0 0 14px rgba(41,167,255,0.35));
  }
  .wf7-icon-wrap svg .wf7-idot { fill: currentColor; stroke: none; }
  .wf7-label {
    font-family: 'Sora', sans-serif;
    font-size: 18px; font-weight: 600;
    letter-spacing: -0.005em; line-height: 1.18;
    color: #fff;
  }
  .wf7-card.wf7-closed .wf7-label { letter-spacing: 0.04em; }
  .wf7-tail {
    position: absolute;
    left: 22px; bottom: -8px;
    width: 16px; height: 16px;
    background: linear-gradient(135deg,
      rgba(8,14,28, calc(0.40 + 0.26 * var(--hl))),
      rgba(15,25,48, calc(0.32 + 0.30 * var(--hl))));
    border-right: 1px solid rgba(255,255,255, calc(0.07 + 0.42 * var(--hl)));
    border-bottom: 1px solid rgba(255,255,255, calc(0.07 + 0.42 * var(--hl)));
    transform: rotate(45deg);
  }

  .wf7-dot-fg {
    position: absolute; left: 0; right: 0;
    top: 30px; height: 110px;
    pointer-events: none; z-index: 20;
  }
  .wf7-path-dot {
    position: absolute; width: 0; height: 0;
    transform: translate(-50%, -50%);
    will-change: left, top;
  }
  .wf7-path-dot::before {
    content: "";
    position: absolute; left: 0; top: 0;
    width: 12px; height: 12px; margin: -6px;
    background: #fff; border-radius: 50%;
    box-shadow:
      0 0 6px 2px var(--accent-2),
      0 0 16px 4px rgba(41,167,255,0.75),
      0 0 32px 10px rgba(41,167,255,0.40);
  }
  .wf7-path-dot.wf7-over::before {
    width: 16px; height: 16px; margin: -8px;
    box-shadow:
      0 0 10px 3px var(--accent-2),
      0 0 26px 8px rgba(41,167,255,0.85),
      0 0 48px 14px rgba(41,167,255,0.45);
  }

  .wf7-timeline { margin-top: 64px; position: relative; height: 26px; }
  .wf7-timeline-line {
    position: absolute; top: 50%;
    left: 28px; right: 28px;
    height: 1px; background: rgba(255,255,255,0.18);
  }
  .wf7-ticks {
    position: absolute; inset: 0;
    left: 28px; right: 28px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .wf7-tick { width: 1px; height: 9px; background: rgba(255,255,255,0.30); }
  .wf7-timeline-dots {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 26px; align-items: center;
  }
  .wf7-tdot {
    --hl: 0;
    justify-self: center;
    width: 10px; height: 10px;
    border-radius: 50%; background: #fff;
    transform: scale(calc(1 + 1.0 * var(--hl)));
    box-shadow:
      0 0 calc(7px + 6px * var(--hl)) calc(1px + 2px * var(--hl)) var(--accent-2),
      0 0 calc(16px + 24px * var(--hl)) calc(3px + 9px * var(--hl)) rgba(41,167,255, calc(0.50 + 0.40 * var(--hl)));
    transition: transform 220ms ease-out, box-shadow 220ms ease-out;
  }

  @media (max-width: 900px) {
    .wf7 { padding: 30px 14px 38px; }
    .wf7-cards { gap: 12px; }
    .wf7-card { padding: 18px 8px 22px; }
    .wf7-label { font-size: 14px; }
    .wf7-icon-wrap { width: 44px; height: 44px; margin-bottom: 12px; }
    .wf7-icon-wrap svg { width: 28px; height: 28px; }
    .wf7-h1 { font-size: 32px; }
    .wf7-bullets { font-size: 15px; }
    .wf7-timeline-dots { gap: 12px; }
  }

  /* ========== ABOUT ========== */
  .about { padding: 120px 0; }
  .about-grid {
    display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center;
  }
  @media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
  .about-photo { position: relative; }
  .about-photo-inner {
    position: relative; aspect-ratio: 4/5;
    border-radius: 24px; overflow: hidden;
    background: linear-gradient(160deg, rgba(41,167,255,0.2), transparent 60%), #0a1222;
    border: 1px solid var(--border);
  }
  .about-photo-inner img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  }
  .about-photo-glow {
    position: absolute; inset: -40px; z-index: -1;
    background: radial-gradient(circle at 30% 30%, var(--accent-glow), transparent 60%);
    filter: blur(40px); opacity: 0.6;
  }
  .about-creds {
    position: absolute; bottom: -20px; left: -20px; right: -20px;
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 16px 20px;
    background: rgba(10,18,34,0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .cred-chip {
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
    padding: 6px 10px;
    background: rgba(41,167,255,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--accent-2);
    text-transform: uppercase;
  }
  .about-bio h2 { margin-bottom: 28px; }
  .about-bio p { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0 0 18px; text-wrap: pretty; }
  .about-bio p strong { color: #fff; font-weight: 600; }
  .about-stand {
    margin-top: 28px;
    padding: 20px 24px;
    background: rgba(41,167,255,0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    font-size: 16px; line-height: 1.55; color: #fff; font-style: italic;
  }
  .about-bio .signature {
    margin-top: 32px;
    font-family: 'Sora', sans-serif; font-style: italic; font-weight: 500; font-size: 18px;
    color: #fff;
  }
  .about-bio .signature span { color: var(--accent); font-style: normal; display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; font-weight: 600; }

  /* ========== LATEST FROM DAVID ========== */
  .latest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  @media (max-width: 900px) { .latest-grid { grid-template-columns: 1fr; } }
  .latest-card {
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(15,25,48,0.7) 0%, rgba(8,14,28,0.7) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; overflow: hidden;
    transition: border-color .3s, transform .3s;
  }
  .latest-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
  .latest-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050a16; }
  .latest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  .latest-card:hover .latest-media img { transform: scale(1.03); }
  .latest-tag {
    position: absolute; top: 14px; left: 14px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(3,7,17,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-strong);
    font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--accent-2); text-transform: uppercase;
  }
  .latest-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
  .latest-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; line-height: 1.3; color: #fff; margin: 0 0 10px; }
  .latest-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0 0 18px; flex: 1; }
  .latest-links { display: flex; gap: 14px; flex-wrap: wrap; }
  .latest-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--accent-2);
  }
  .latest-link svg { width: 14px; height: 14px; transition: transform .2s; }
  .latest-link:hover svg { transform: translateX(3px); }

  /* ========== CTA ========== */
  .cta {
    padding: 120px 0;
    position: relative; overflow: hidden;
  }
  .cta-inner {
    position: relative;
    padding: 72px 64px;
    border-radius: 28px;
    background:
      radial-gradient(ellipse at 20% 0%, rgba(41,167,255,0.25), transparent 50%),
      radial-gradient(ellipse at 100% 100%, rgba(79,209,255,0.15), transparent 50%),
      linear-gradient(180deg, #0a1528 0%, #050a16 100%);
    border: 1px solid var(--border-strong);
    overflow: hidden;
    isolation: isolate;
  }
  /* Static grid, tilted slightly into 3D so the light sweep reads as raking a surface */
  .cta-inner::before {
    content: ""; position: absolute; inset: -30% -10%;
    background-image:
      linear-gradient(rgba(41,167,255,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(41,167,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(1400px) rotateX(9deg);
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
  }
  /* Glow band that rakes across the tilted grid on a continuous loop */
  .cta-inner::after {
    content: ""; position: absolute;
    top: -30%; bottom: -30%; left: 0; width: 55%;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(79,209,255,0.10) 42%,
      rgba(150,231,255,0.22) 50%,
      rgba(79,209,255,0.10) 58%,
      transparent 100%);
    transform: perspective(1400px) rotateX(9deg) skewX(-14deg) translateX(-110%);
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform;
    animation: cta-sweep 8s linear infinite;
  }
  @keyframes cta-sweep {
    from { transform: perspective(1400px) rotateX(9deg) skewX(-14deg) translateX(-110%); }
    to   { transform: perspective(1400px) rotateX(9deg) skewX(-14deg) translateX(300%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .cta-inner::after { animation: none; }
  }
  @media (max-width: 680px) { .cta-inner { padding: 48px 28px; } }
  .cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
  @media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 40px; } }
  /* Nudge the form down so it visually centers against the taller left column */
  .cta-form { padding-top: 100px; }
  @media (max-width: 900px) { .cta-form { padding-top: 0; } }
  .cta h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; text-wrap: balance; }
  .cta p { font-size: 17px; line-height: 1.55; color: var(--text-muted); margin: 0 0 32px; }
  .cta-form { display: flex; flex-direction: column; gap: 12px; }
  .cta-field { position: relative; }
  .cta-field input {
    width: 100%; padding: 16px 18px;
    background: rgba(3,7,17,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff; font-size: 15px; font-family: inherit;
    transition: border-color .2s, background .2s;
  }
  .cta-field input::placeholder { color: var(--text-dim); }
  .cta-field input:focus { outline: none; border-color: var(--accent); background: rgba(3,7,17,0.9); box-shadow: 0 0 0 4px var(--accent-soft); }
  .cta-form .btn-primary { width: 100%; justify-content: center; padding: 18px; font-size: 16px; margin-top: 8px; }
  .cta-privacy { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 14px; }
  .cta-privacy svg { width: 12px; height: 12px; display: inline-block; vertical-align: -1px; margin-right: 4px; }

  .cta-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
  .cta-contact-card {
    padding: 20px;
    background: rgba(3,7,17,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    transition: border-color .2s, transform .2s;
  }
  .cta-contact-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .cta-contact-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(41,167,255,0.12); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--accent-2); }
  .cta-contact-icon svg { width: 18px; height: 18px; }
  .cta-contact-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
  .cta-contact-value { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; color: #fff; }

  /* ========== FOOTER ========== */
  footer {
    padding: 72px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #020510;
  }
  .foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1.1fr; gap: 40px; margin-bottom: 56px; }
  @media (max-width: 1100px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
  @media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }
  .foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-brand img { height: auto; width: 260px; max-width: 100%; display: block; filter: invert(1) hue-rotate(180deg) brightness(1.1); }
  .foot-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.55; max-width: 340px; margin: 0; }
  .foot-social { display: flex; gap: 10px; margin-top: 8px; }
  .foot-social a {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: color .2s, border-color .2s, background .2s;
  }
  .foot-social a:hover { color: var(--accent-2); border-color: var(--border-strong); background: rgba(41,167,255,0.06); }
  .foot-social svg { width: 16px; height: 16px; }
  .foot-col h4 { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a { font-size: 14px; color: var(--text-muted); transition: color .15s; }
  .foot-col a:hover { color: var(--accent-2); }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px; color: var(--text-dim);
  }
  .foot-bottom .legal-links { display: flex; gap: 24px; }
  .foot-bottom .legal-links a:hover { color: var(--accent-2); }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ============================================================
     AI OPERATIONAL READINESS AUDIT PAGE
     ============================================================ */

  /* ---- Audit hero (no video) ---- */
  .audit-hero {
    position: relative;
    padding: 168px 0 92px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  @media (max-width: 720px) { .audit-hero { padding: 128px 0 64px; } }
  .audit-hero .hero-grid { opacity: 0.4; }
  .audit-hero-inner { position: relative; z-index: 2; }
  .audit-hero h1 {
    font-family: 'Sora', sans-serif; font-weight: 700;
    font-size: clamp(38px, 5.6vw, 70px); line-height: 1.03; letter-spacing: -0.035em;
    margin: 0 0 24px; max-width: 960px; text-wrap: balance;
  }
  .audit-hero h1 .accent {
    background: linear-gradient(135deg, #4fd1ff 0%, #29a7ff 60%, #1a8fe8 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  /* ---- Scorecard (7 dimensions) — reuses .pain-card ---- */
  .scorecard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 980px) { .scorecard-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .scorecard-grid { grid-template-columns: 1fr; } }

  /* ---- Deliverables — reuses .pain-card ---- */
  .deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  @media (max-width: 720px) { .deliver-grid { grid-template-columns: 1fr; } }

  /* ---- Pricing tiers ---- */
  .tier-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 940px; }
  @media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }
  .tier-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: 38px 32px 32px;
    background: linear-gradient(180deg, rgba(15,25,48,0.75) 0%, rgba(8,14,28,0.75) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    transition: border-color .3s, transform .3s;
  }
  .tier-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
  .tier-card.featured {
    border-color: var(--border-strong);
    box-shadow: 0 30px 70px -30px var(--accent-glow), 0 0 0 1px rgba(41,167,255,0.25);
  }
  .tier-badge {
    position: absolute; top: -12px; left: 32px;
    padding: 6px 14px; border-radius: 999px;
    background: linear-gradient(180deg, var(--accent) 0%, #1a8fe8 100%);
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: #fff; box-shadow: 0 8px 20px -6px var(--accent-glow);
  }
  .tier-tag {
    font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 10px;
  }
  .tier-name {
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 22px;
    color: #fff; margin: 0 0 16px; letter-spacing: -0.01em;
  }
  .tier-price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 44px; color: #fff; letter-spacing: -0.02em; line-height: 1; }
  .tier-price-sub { font-size: 13px; color: var(--text-dim); margin: 8px 0 0; }
  .tier-meta {
    margin: 18px 0 20px; padding: 12px 16px;
    background: rgba(41,167,255,0.06);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px; color: var(--accent-2); font-weight: 500;
  }
  .tier-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .tier-list li { position: relative; padding-left: 30px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
  .tier-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 19px; height: 19px; border-radius: 50%;
    background: rgba(41,167,255,0.12); border: 1px solid var(--border-strong);
    color: var(--accent-2); font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .tier-card .btn { width: 100%; justify-content: center; }
  .tier-note {
    max-width: 760px; margin: 32px 0 0;
    padding: 20px 24px;
    background: rgba(41,167,255,0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
    font-size: 15px; line-height: 1.6; color: var(--text);
  }

  /* ---- Engagement process ---- */
  .process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  @media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
  .process-step {
    padding: 24px;
    background: rgba(12,20,38,0.4);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
  }
  .process-num {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(41,167,255,0.12); border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--accent-2);
    margin-bottom: 14px;
  }
  .process-step h3 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; color: #fff; margin: 0 0 8px; line-height: 1.3; }
  .process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

  /* ---- FAQ accordion (native <details>) ---- */
  .faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: rgba(12,20,38,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s;
  }
  .faq-item[open] { border-color: var(--border-strong); }
  .faq-q {
    list-style: none; cursor: pointer;
    padding: 20px 24px;
    font-family: 'Sora', sans-serif; font-weight: 600; font-size: 16px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
  }
  .faq-q::-webkit-details-marker { display: none; }
  .faq-q::after {
    content: "+"; font-size: 24px; font-weight: 400; color: var(--accent);
    line-height: 1; flex: none; transition: transform .2s;
  }
  .faq-item[open] .faq-q::after { transform: rotate(45deg); }
  .faq-a { padding: 0 24px 22px; font-size: 14px; line-height: 1.65; color: var(--text-muted); }

  /* ============================================================
     FREE RESOURCES PAGE
     ============================================================ */
  /* Masterclass thumbnails stack one per row — full container width keeps the
     1200x600 design's body copy legible. Thumbnail styling lives, scoped, in
     src/components/MasterclassThumb.astro. */
  .mc-stack { display: flex; flex-direction: column; gap: 28px; margin-top: 56px; }
