@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #EEF1FB;          /* primary text (light, on dark bg) */
  --ink-soft: #9AA2C7;     /* secondary/dim text */
  --paper: #0B0E1C;        /* page background (dark navy) */
  --paper-raised: rgba(255,255,255,.045); /* card background (glass) */
  --card-border: rgba(255,255,255,.09);
  --gold: #3B82FF;         /* primary accent — electric blue */
  --gold-soft: rgba(59,130,255,.12);
  --cyan: #27E3E3;         /* secondary accent */
  --line: rgba(255,255,255,.09);
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

a { color: inherit; }

p { max-width: 62ch; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Atmospheric background (slow drifting glow, restrained) ---- */
.atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atmosphere span { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .4; will-change: transform; }
.atmosphere .a1 {
  width: 520px; height: 520px; background: radial-gradient(circle, rgba(59,130,255,.22), transparent 70%);
  top: -180px; left: -120px; animation: atmoDrift1 34s ease-in-out infinite;
}
.atmosphere .a2 {
  width: 440px; height: 440px; background: radial-gradient(circle, rgba(39,227,227,.18), transparent 70%);
  top: 260px; right: -150px; animation: atmoDrift2 40s ease-in-out infinite;
}
@keyframes atmoDrift1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(30px,24px) scale(1.06);} }
@keyframes atmoDrift2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-26px,30px) scale(1.05);} }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(11,14,28,.72);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo .eye-mark { width: 22px; height: 22px; flex-shrink: 0; }
nav.main a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  margin-left: 28px;
  font-size: 0.95rem;
  transition: color .2s ease;
}
nav.main a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px;
  background: var(--cyan); transition: width .25s ease;
}
nav.main a:hover { color: var(--ink); }
nav.main a:hover::after { width: 100%; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  color: #04070f;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: transform .22s ease, box-shadow .22s ease;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 140%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(59,130,255,.55); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost::after { display: none; }
.btn-ghost:hover { border-color: var(--gold); background: rgba(59,130,255,.06); box-shadow: none; }

/* ---- Hero ---- */
.hero { padding: 110px 0 70px; text-align: center; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); margin: 0 auto 22px; max-width: 16ch; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--gold), var(--cyan), var(--gold));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }
.hero .sub { font-size: 1.15rem; color: var(--ink-soft); margin: 0 auto 28px; max-width: 560px; }
.hero .cta-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero .fine { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }

.radar { position: relative; width: 100%; aspect-ratio: 1; max-width: 260px; margin: 56px auto 0; transition: transform .15s ease-out; }
.radar svg { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(59,130,255,.35)); }
.radar .pupil-pulse { animation: pulse 3s ease-in-out infinite; transform-origin: center; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.78; transform:scale(1.1);} }
.radar .eye-ring { animation: spin 26s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Section ---- */
section { padding: 70px 0; }
section.alt { background: rgba(255,255,255,.015); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; color: var(--cyan); font-weight: 600; font-size: 0.82rem;
  letter-spacing: .1em; margin-bottom: 14px; border: 1px solid rgba(39,227,227,.3);
  padding: 5px 13px; border-radius: 999px; background: rgba(39,227,227,.06);
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--ink-soft); }

/* ---- Feature rows ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse .f-visual { order: 2; }
.f-visual {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 180px;
  display: flex; align-items: center; justify-content: center;
}
.f-text h3 { font-size: 1.35rem; margin-bottom: 10px; }
.f-text p { color: var(--ink-soft); }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--paper-raised);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -24px rgba(0,0,0,.5); border-color: rgba(59,130,255,.3); }
.price-card.featured { border: 1px solid var(--cyan); background: linear-gradient(180deg, rgba(39,227,227,.08), rgba(59,130,255,.04)); }
.price-card.featured:hover { box-shadow: 0 20px 48px -20px rgba(39,227,227,.3); }
.price-card h3 { font-size: 1.1rem; color: var(--ink-soft); font-weight: 500; }
.price-card .amount { font-family: 'Space Grotesk', sans-serif; font-size: 2.1rem; font-weight: 700; margin: 10px 0 18px; }
.price-card .amount span { font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { padding: 7px 0; color: var(--ink-soft); font-size: 0.93rem; border-top: 1px solid var(--line); }
.price-card li:first-child { border-top: none; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--ink-soft); margin: 0; }

/* ---- Form ---- */
.audit-form, .checker-box {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 560px;
  transition: border-color .3s ease;
}
.audit-form label { display: block; font-size: 0.88rem; font-weight: 500; margin: 16px 0 6px; }
.audit-form label:first-child { margin-top: 0; }
.audit-form input, .audit-form select, .audit-form textarea,
.checker-form input[type="text"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: rgba(255,255,255,.03);
  color: var(--ink);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.audit-form input:focus, .audit-form select:focus, .audit-form textarea:focus,
.checker-form input[type="text"]:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(39,227,227,.14);
}
.audit-form .btn { margin-top: 22px; width: 100%; justify-content: center; }
.form-privacy-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }

/* ---- Footer ---- */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer.site nav a { text-decoration: none; color: var(--ink-soft); margin-right: 20px; font-size: 0.9rem; transition: color .2s ease; }
footer.site nav a:hover { color: var(--ink); }
footer.site .copy { font-size: 0.85rem; color: var(--ink-soft); }
footer.site .tagline { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; margin-top: 4px; }
.brand-block { display: flex; flex-direction: column; gap: 2px; }

/* ---- Blog ---- */
.article-card {
  padding: 26px 0; border-bottom: 1px solid var(--line); display: block;
  text-decoration: none; color: var(--ink); transition: transform .25s ease, border-color .25s ease;
}
.article-card:hover { transform: translateX(4px); border-color: rgba(59,130,255,.3); }
.article-card .cat { color: var(--cyan); font-size: 0.82rem; font-weight: 600; }
.article-card h3 { margin: 8px 0 6px; font-size: 1.25rem; }
.article-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

.article-body { max-width: 680px; margin: 0 auto; }
.article-body h1 { font-size: 2.1rem; }
.article-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 32px; }
.article-body h2 { font-size: 1.4rem; margin-top: 2em; }
.article-body p { max-width: none; color: var(--ink); }
.article-body ul, .article-body ol { color: var(--ink); }
.answer-box {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.answer-box p { margin: 0; }

/* ---- Breadcrumbs ---- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; color: var(--ink-soft); opacity: .4; }

/* ---- Category tags ---- */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 30px; }
.tag { font-size: 0.8rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; }

/* ---- Inline CTA block ---- */
.inline-cta {
  background: linear-gradient(135deg, rgba(59,130,255,.14), rgba(39,227,227,.08));
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin: 36px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.inline-cta p { color: var(--ink-soft); margin: 4px 0 0; max-width: 46ch; }
.inline-cta .btn { flex-shrink: 0; }

/* ---- Related articles ---- */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.related a {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  text-decoration: none; color: var(--ink); display: block; transition: border-color .25s ease;
}
.related a:hover { border-color: rgba(59,130,255,.3); }
.related a .cat { color: var(--cyan); font-size: 0.8rem; font-weight: 600; }
.related a strong { display: block; margin-top: 4px; font-size: 1rem; }

/* ---- 404 / error pages ---- */
.error-page { text-align: left; padding: 90px 0; }
.error-page .code { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; color: var(--cyan); font-weight: 600; }
.error-page h1 { font-size: 2.2rem; margin-top: 8px; }
.error-page ul { margin-top: 20px; }
.error-page ul li { margin-bottom: 8px; }

/* ---- Honeypot ---- */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---- Instant Website Checker ---- */
.checker-form { display: flex; gap: 10px; flex-wrap: wrap; }
.checker-form button { flex-shrink: 0; }
.checker-fine { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

.checker-status { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); display: none; }
.checker-status.show { display: block; }
.checker-status.is-error { color: #FF8A8A; }

.checker-summary { display: none; gap: 14px; margin: 26px 0 10px; flex-wrap: wrap; }
.checker-summary.show { display: flex; }
.summary-pill { flex: 1 1 100px; text-align: center; padding: 14px 10px; border-radius: var(--radius); border: 1px solid var(--line); }
.summary-pill .n { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; }
.summary-pill .l { font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; }
.summary-pill.pass { background: rgba(39,227,227,.08); border-color: rgba(39,227,227,.3); }
.summary-pill.pass .n { color: var(--cyan); }
.summary-pill.improve { background: rgba(255,185,70,.08); border-color: rgba(255,185,70,.3); }
.summary-pill.improve .n { color: #FFB946; }
.summary-pill.important { background: rgba(255,99,99,.08); border-color: rgba(255,99,99,.3); }
.summary-pill.important .n { color: #FF6363; }

.checker-results { display: none; margin-top: 10px; }
.checker-results.show { display: block; }
.check-row {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px;
  background: rgba(255,255,255,.02); transition: border-color .25s ease;
}
.check-row:hover { border-color: rgba(59,130,255,.3); }
.check-row-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.check-row-head h4 { margin: 0; font-size: 0.98rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.badge { font-size: 0.74rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.badge.PASS { background: rgba(39,227,227,.15); color: var(--cyan); }
.badge.NEEDS_IMPROVEMENT { background: rgba(255,185,70,.15); color: #FFB946; }
.badge.IMPORTANT { background: rgba(255,99,99,.15); color: #FF6363; }
.check-row-body { display: none; margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
.check-row-body.open { display: block; }
.check-row-body p { margin: 0 0 6px; max-width: none; }
.check-row-body .cb-label { font-weight: 600; color: var(--ink); }
.checker-disclaimer { font-size: 0.85rem; color: var(--ink-soft); margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---- Responsive ---- */
@media (max-width: 800px) {
  .hero { padding: 70px 0 40px; }
  .hero .radar { max-width: 180px; margin-top: 36px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row .f-visual, .feature-row.reverse .f-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  nav.main { display: none; }
}
@media (max-width: 700px) { .related { grid-template-columns: 1fr; } .inline-cta { flex-direction: column; align-items: flex-start; } }

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

/* ===================================================================
   MOTION / REVEAL SYSTEM — driven by motion.js (IntersectionObserver)
   Progressive enhancement: hidden starting state only applies once
   motion.js confirms it's running (adds .js to <html> before paint).
   If JS fails, content is never hidden in the first place.
   =================================================================== */
html.js .reveal, html.js .reveal-up, html.js .reveal-left,
html.js .reveal-right, html.js .reveal-scale {
  opacity: 0; transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease;
}
html.js .reveal-up    { transform: translateY(22px); }
html.js .reveal-left  { transform: translateX(-24px); }
html.js .reveal-right { transform: translateX(24px); }
html.js .reveal-scale { transform: scale(.96); }
html.js .reveal        { transform: translateY(16px); filter: blur(4px); }

html.js .reveal.in, html.js .reveal-up.in, html.js .reveal-left.in,
html.js .reveal-right.in, html.js .reveal-scale.in {
  opacity: 1; transform: translate(0,0) scale(1); filter: blur(0);
}
.stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---- Hero entrance sequence (pure CSS — runs regardless of JS) ---- */
.hero .eyebrow  { animation: heroIn .6s cubic-bezier(.22,.61,.36,1) .05s both, eyebrowPulse 3s ease-in-out 1s infinite; }
.hero h1        { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .15s both; }
.hero .sub      { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .28s both; }
.hero .cta-row  { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .4s both; }
.hero .fine     { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) .5s both; }
.hero .radar    { animation: heroVisualIn .9s cubic-bezier(.22,.61,.36,1) .3s both; }
@keyframes heroIn { from{opacity:0; transform:translateY(16px); filter:blur(3px);} to{opacity:1; transform:translateY(0); filter:blur(0);} }
@keyframes heroVisualIn { from{opacity:0; transform:translateY(10px) scale(.96);} to{opacity:1; transform:translateY(0) scale(1);} }

/* ---- Reduced motion: fully respected ---- */
@media (prefers-reduced-motion: reduce) {
  .atmosphere { display: none; }
  .hero .eyebrow, .hero h1, .hero .sub, .hero .cta-row, .hero .fine, .hero .radar,
  .radar .pupil-pulse, .radar .eye-ring, .hero h1 .grad {
    animation: none !important;
  }
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
  }
  .btn, .price-card, .article-card, .check-row { transition: none !important; }
  .btn:hover, .price-card:hover, .article-card:hover { transform: none !important; }
}

/* ---- Small-screen motion reduction ---- */
@media (max-width: 640px) {
  html.js .reveal-up    { transform: translateY(12px); }
  html.js .reveal-left  { transform: translateX(-12px); }
  html.js .reveal-right { transform: translateX(12px); }
  html.js .reveal       { transform: translateY(10px); filter: blur(2px); }
  .atmosphere .a1, .atmosphere .a2 { filter: blur(70px); opacity: .28; }
}


/* ---- Check lists, trust strip, sample report, popular badge ---- */
.check-list { max-width: 680px; margin: 0 auto 40px; display: grid; gap: 12px; }
.check-item { display: flex; gap: 14px; align-items: flex-start; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; transition: border-color .25s ease; }
.check-item:hover { border-color: rgba(39,227,227,.4); }
.check-item svg { flex-shrink: 0; margin-top: 3px; }
.check-item em { color: var(--cyan); font-style: normal; }
.trust-strip { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gold), var(--cyan)); color: #04070f; font-size: .72rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.sample-label { font-size: .78rem; color: var(--cyan); letter-spacing: .08em; margin-bottom: 16px; }
.center-box { margin: 0 auto; }
.final-cta { text-align: center; background: linear-gradient(135deg, rgba(59,130,255,.12), rgba(39,227,227,.08)); border: 1px solid var(--line); border-radius: 20px; padding: 60px 30px; }
.final-cta p { margin: 0 auto 26px; }

/* ---- Alignment polish (centered layout) ---- */
.hero .fine { margin: 12px auto 0; text-align: center; }
.audit-form { margin: 0 auto; }
.faq-item { max-width: 720px; margin-left: auto; margin-right: auto; }
.checker-form input[type="text"] { width: auto; flex: 1 1 240px; }
.trust-strip { margin: 56px auto 8px; }
.final-cta, .checker-box.center-box { margin-left: auto; margin-right: auto; }


/* ===================================================================
   EXTRA MOTION — icons, particles, counters, hover polish
   (all decorative; disabled under prefers-reduced-motion)
   =================================================================== */
@keyframes eyebrowPulse { 0%,100%{box-shadow:0 0 0 0 rgba(39,227,227,0);} 50%{box-shadow:0 0 18px 2px rgba(39,227,227,.28);} }

/* Hero eye gently floats */
.radar svg { animation: eyeFloat 7s ease-in-out 1.2s infinite; }
@keyframes eyeFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

/* Floating particles in the hero */
.particle { position: absolute; border-radius: 50%; background: var(--cyan); opacity: 0; pointer-events: none; animation: drift linear infinite; }
.particle.p1 { width:4px; height:4px; left:14%; bottom:18%; animation-duration:9s;  animation-delay:0s; }
.particle.p2 { width:3px; height:3px; left:28%; bottom:30%; animation-duration:11s; animation-delay:2s; background:var(--gold); }
.particle.p3 { width:5px; height:5px; left:72%; bottom:22%; animation-duration:10s; animation-delay:1s; }
.particle.p4 { width:3px; height:3px; left:86%; bottom:38%; animation-duration:8s;  animation-delay:3s; background:var(--gold); }
.particle.p5 { width:4px; height:4px; left:50%; bottom:12%; animation-duration:12s; animation-delay:.5s; }
.particle.p6 { width:3px; height:3px; left:62%; bottom:44%; animation-duration:9s;  animation-delay:4s; background:var(--gold); }
@keyframes drift { 0%{transform:translate(0,0); opacity:0;} 15%{opacity:.6;} 85%{opacity:.4;} 100%{transform:translate(14px,-150px); opacity:0;} }

/* Animated "How It Works" icons */
.ic-line, .ic-btn, .ic-a, .ic-b, .ic-c { transform-box: fill-box; transform-origin: center; }
.ic-line { animation: icShimmer 3s ease-in-out infinite; }
.ic-line.l2 { animation-delay: .4s; } .ic-line.l3 { animation-delay: .8s; }
@keyframes icShimmer { 0%,100%{opacity:.55;} 50%{opacity:1;} }
.ic-btn { animation: icPulse 2.6s ease-in-out infinite; }
@keyframes icPulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.06);} }
.ic-a { animation: icBob 6s ease-in-out infinite; }
.ic-b { animation: icBob 5s ease-in-out .8s infinite reverse; }
.ic-c { animation: icBob 7s ease-in-out 1.4s infinite; }
@keyframes icBob { 0%,100%{transform:translate(0,0);} 50%{transform:translate(4px,-6px);} }
.ic-doc { stroke-dasharray: 100; animation: icDraw 4s ease-in-out infinite; }
.ic-doc.d2 { animation-delay: .35s; } .ic-doc.d3 { animation-delay: .7s; }
@keyframes icDraw { 0%{stroke-dashoffset:100;} 35%,80%{stroke-dashoffset:0;} 100%{stroke-dashoffset:-100;} }

/* After reveal finishes, hand the element back to fast hover transitions */
html.js .reveal-up.done, html.js .reveal-scale.done, html.js .reveal-left.done,
html.js .reveal-right.done, html.js .reveal.done {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
  transition-delay: 0s; filter: none;
}
html.js .price-card.done:hover   { transform: translateY(-6px); }
html.js .check-item.done:hover   { transform: translateX(4px); }
html.js .article-card.done:hover { transform: translateX(4px); }
.summary-pill { transition: transform .3s ease, border-color .3s ease; }
.summary-pill:hover { transform: translateY(-3px); }

@media (max-width: 640px) { .particle { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .particle, .ic-line, .ic-btn, .ic-a, .ic-b, .ic-c, .ic-doc, .radar svg, .hero .eyebrow { animation: none !important; }
  .ic-doc { stroke-dasharray: none; }
  .particle { display: none; }
}

.price-card .btn { justify-content: center; }


/* ===================================================================
   BACKGROUND + SECTION MOTION (round 2) — subtle, readable, decorative
   =================================================================== */
/* Spotlight that follows the cursor (vars set by motion.js) + faint grid */
.atmosphere {
  background:
    radial-gradient(520px circle at var(--mx, 50%) var(--my, 28%), rgba(59,130,255,.11), transparent 65%),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
}
/* Two extra blobs that slowly breathe (opacity + scale) */
.atmosphere::before, .atmosphere::after { content: ''; position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.atmosphere::before {
  width: 480px; height: 480px; bottom: -170px; left: 8%;
  background: radial-gradient(circle, rgba(107,91,255,.24), transparent 70%);
  animation: atmoPulse 12s ease-in-out infinite;
}
.atmosphere::after {
  width: 380px; height: 380px; bottom: 8%; right: 10%;
  background: radial-gradient(circle, rgba(59,130,255,.2), transparent 70%);
  animation: atmoPulse 15s ease-in-out 3s infinite reverse;
}
@keyframes atmoPulse { 0%,100%{opacity:.35; transform:scale(1);} 50%{opacity:.8; transform:scale(1.14);} }

/* Hero primary button: gentle breathing glow */
.hero .cta-row .btn:not(.btn-ghost) { animation: ctaGlow 3.2s ease-in-out 1.4s infinite; }
@keyframes ctaGlow { 0%,100%{box-shadow:0 0 0 0 rgba(59,130,255,0);} 50%{box-shadow:0 0 28px 2px rgba(59,130,255,.38);} }

/* Featured pricing card: slow glow pulse (on a pseudo-element so hover shadows still work) */
.price-card.featured::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  animation: featGlow 4.5s ease-in-out infinite;
}
@keyframes featGlow { 0%,100%{box-shadow:0 0 0 0 rgba(39,227,227,0);} 50%{box-shadow:0 0 34px 0 rgba(39,227,227,.22);} }

/* Check marks draw themselves when their row is revealed */
html.js .check-item svg path { stroke-dasharray: 24; stroke-dashoffset: 24; }
html.js .check-item.in svg path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease .35s; }

/* Header deepens slightly once the page is scrolled */
header.site { transition: background-color .3s ease, box-shadow .3s ease; }
header.site.scrolled { background: rgba(11,14,28,.9); box-shadow: 0 8px 30px -18px rgba(0,0,0,.7); }

@media (max-width: 640px)
{
  .atmosphere::before, .atmosphere::after { width: 280px; height: 280px; filter: blur(80px); }
}
@media (prefers-reduced-motion: reduce) {
  .atmosphere::before, .atmosphere::after, .hero .cta-row .btn, .price-card.featured::before { animation: none !important; }
  html.js .check-item svg path { stroke-dashoffset: 0 !important; transition: none !important; }
}/* ---- Mobile Hero primary CTA spacing ---- */
@media (max-width: 768px) {
  .hero .cta-row > a.btn:not(.btn-ghost) {
    margin-left: 12px;
  }
}
