/* ═══════════════════════════════════════════════════════════════
   SiteOptimised — public.css
   Styles for the public-facing marketing site.
   Extracted from _PublicLayout.cshtml.
═══════════════════════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  /* Public design system */
  --ink:    #17191c;
  --paper:  #fff;
  --mist:   #f2f2f3;
  --fog:    #fafafb;
  --slate:  #777b86;
  --ash:    #979799;
  --border: #e8e8ea;
  --peach:  #fbe1d1;
  --sienna: #5d2a1a;
  --serif:  'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --sh:     0 0 0 1px rgba(4,23,43,.05), 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shlg:   0 0 0 1px rgba(4,23,43,.05), 0 24px 40px -8px rgba(0,0,0,.13), 0 8px 16px rgba(0,0,0,.06);

  /* Bridge variables — keep LP/app pages working when served from _PublicLayout */
  --primary:      #918df6;
  --primary-dark: #7b75e8;
  --primary-lt:   #c4c2fa;
  --mint:         #33c758;
  --mint-wash:    #f0fdf4;
  --amber:        #ffa600;
  --amber-lt:     #fff8e8;
  --red:          #e05c4a;
  --red-lt:       #fff0f0;
  --sky:          #2c78fc;
  --carbon:       #181925;
  --magenta:      #e040fb;
  --text:         var(--ink);
  --text-mid:     var(--slate);
  --text-muted:   var(--ash);
  --surface:      var(--paper);
  --linen:        var(--fog);
  --bg:           var(--paper);
  --radius:       12px;
  --radius-sm:    8px;
  --radius-xs:    6px;
  --radius-pill:  9999px;
  --shadow:       0 1px 4px rgba(0,0,0,.1);
  --shadow-lg:    var(--shlg);
  --font-display: var(--serif);
  --font-body:    var(--sans);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
.container { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
@media (max-width: 640px) {
  .wrap, .container { padding-inline: 20px; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--sans); font-size: 15px; font-weight: 500; border-radius: 9999px; padding: 10px 22px; cursor: pointer; border: 1px solid transparent; transition: opacity .15s, transform .1s; white-space: nowrap; text-decoration: none; line-height: 1; }
.btn:hover { opacity: .82; }
.btn:active { transform: scale(.98); }
.btn-fill { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dim { background: transparent; color: var(--slate); border-color: var(--border); }
.btn-white { background: #fff; color: var(--ink); }
.btn-lg { font-size: 16px; padding: 13px 28px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); opacity: 1; }
.btn-block { width: 100%; display: block; text-align: center; }

/* ── Button hover lift ── */
.btn-fill { transition: background .15s, transform .12s, box-shadow .15s; }
.btn-fill:hover { background: #2a2d32; box-shadow: 0 4px 14px rgba(0,0,0,.22); transform: translateY(-1px); }
.btn-fill:active { transform: translateY(0) scale(.98); }
.btn-ghost:hover, .btn-ghost-dim:hover { transform: translateY(-1px); }

/* ── Nav ── */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.solid { border-bottom-color: var(--border); }
/* Padding is 8px, not the 15px the old icon+wordmark-text lockup used: the logo
   image is 48px tall and brings its own vertical padding, so the sticky nav keeps
   its ~64px height instead of growing to 78px. */
.nav-inner { display: flex; align-items: center; gap: 32px; padding: 8px 0; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; transition: opacity .15s; }
.nav-logo:hover { opacity: .75; }
.nav-links { display: flex; gap: 26px; flex: 1; list-style: none; }
.nav-links a { font-size: 14px; color: var(--ink); opacity: .75; }
.nav-links a:hover { opacity: 1; }
.nav-soon { font-size: 14px; color: var(--ash); display: flex; align-items: center; gap: 6px; }
.nav-soon-badge { font-size: 10px; font-weight: 600; background: var(--mist); color: var(--ash); border: 1px solid var(--border); border-radius: 99px; padding: 2px 7px; letter-spacing: .03em; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login { font-size: 14px; color: var(--slate); padding: 8px 0; }

/* The nav belongs to _PublicLayout, but a page using that layout may also pull in site.css —
   /pricing does, for the plan cards. site.css loads after this file and redefines .btn at
   dashboard scale (14px) and .btn-outline at 12px with 4px of padding, so "Book demo" came out
   visibly smaller there than on the home page, which loads public.css alone. Restating the nav's
   own geometry at .nav-cta specificity settles it: a two-class selector beats any single-class
   .btn-* rule whichever stylesheet loads last. */
.nav-cta .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px; font-weight: 500; line-height: 1;
  padding: 10px 22px; border-radius: 9999px;
}
.nav-cta .btn-outline { background: transparent; color: var(--ink); border: 1.5px solid currentColor; }
.nav-cta .btn-outline:hover { background: var(--ink); color: #fff; }
.nav-cta .btn-fill { background: var(--ink); color: #fff; border: 1px solid transparent; }
.nav-cta .btn-fill:hover { background: #2a2d32; color: #fff; }

/* Mobile burger button */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px 4px; margin-left: 8px; flex-shrink: 0; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .15s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@keyframes navSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.nav-mobile { display: none; border-top: 1px solid var(--border); background: var(--paper); }
.nav-mobile.open { display: block; animation: navSlideDown .18s ease-out; }
.nav-mobile ul { list-style: none; padding: 2px 32px 12px; }
.nav-mobile ul li a { display: block; padding: 11px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); opacity: .85; transition: opacity .12s; }
.nav-mobile ul li a:hover { opacity: 1; }
.nav-mobile ul li:last-child a { border-bottom: none; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float1 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes float4 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-5px); } }
@keyframes float5 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-7px); } }
@keyframes pulse-dot { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.spin { animation: spin 1s linear infinite; }

/* ── Hero ── */
.hero { padding: 56px 0 0; background: radial-gradient(ellipse 110% 80% at 50% 15%, #fbe1d1 0%, #faf3ef 28%, #fdfcfc 55%, #fff 78%); text-align: center; overflow: hidden; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.78); border: 1px solid var(--border); border-radius: 9999px; padding: 6px 14px 6px 10px; font-size: 13px; color: var(--slate); margin-bottom: 24px; backdrop-filter: blur(8px); animation: fadeUp .6s cubic-bezier(.22,1,.36,1) both; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sienna); opacity: .6; flex-shrink: 0; animation: pulse-dot 2s ease-in-out 1s infinite; }
.hero-h1 { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 58px); font-weight: 400; line-height: 1.12; letter-spacing: -1.2px; color: var(--ink); text-wrap: balance; margin: 0 auto 16px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .1s both; }
.hero-h1 em { font-style: italic; }
.hero-sub { font-size: 16px; color: var(--slate); line-height: 1.6; max-width: 380px; margin: 0 auto 28px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .2s both; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .3s both; }
.hero-note { font-size: 12px; color: var(--ash); margin-bottom: 0; animation: fadeUp .6s cubic-bezier(.22,1,.36,1) .4s both; }

/* Floating cards */
.hero-stage { position: relative; height: 700px; max-width: 1100px; margin: 0 auto; padding-inline: 32px; }
.hero-center { position: absolute; left: 50%; top: 28%; transform: translate(-50%, -50%); width: 420px; z-index: 5; pointer-events: none; }
.hero-center .hero-badge, .hero-center .hero-h1, .hero-center .hero-sub, .hero-center .hero-actions, .hero-center .hero-note { pointer-events: auto; }
.fc { position: absolute; background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.85); border-radius: 16px; box-shadow: 0 0 0 1px rgba(4,23,43,.04), 0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06); padding: 16px; transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background .3s; }
.fc:hover { background: rgba(255,255,255,.88); box-shadow: 0 0 0 1px rgba(4,23,43,.05), 0 24px 40px -8px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.07); filter: brightness(1.02); }
.fc-region { top: 40px; left: 0; width: 178px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .15s both, float1 6s ease-in-out 1s infinite; }
.fc-score { top: 40px; right: 0; width: 178px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .25s both, float2 7s ease-in-out 1.5s infinite; }
.fc-trend { bottom: 60px; left: 0; width: 208px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .35s both, float3 8s ease-in-out 0.5s infinite; }
.fc-input { bottom: 20px; left: calc(50% - 150px); width: 300px; animation: fadeUp .8s cubic-bezier(.22,1,.36,1) .45s both, float4 9s ease-in-out 2s infinite; }
.fc-win { bottom: 80px; right: 0; width: 184px; animation: fadeUp .7s cubic-bezier(.22,1,.36,1) .3s both, float5 7.5s ease-in-out 0.8s infinite; }
.fc-lbl { font-size: 10px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.fc-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.reg-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; font-size: 12px; border-bottom: 1px solid #f0f0f1; }
.reg-row:last-child { border: none; }
.reg-name { color: var(--ink); }
.reg-val { color: var(--slate); font-variant-numeric: tabular-nums; }
.score-ring-group { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.score-big { font-size: 26px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.score-sub { font-size: 11px; color: var(--ash); margin-top: 2px; }
.score-delta { font-size: 11px; color: #2d7a50; margin-top: 4px; }
.trend-metric { font-size: 22px; font-weight: 500; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.trend-delta { font-size: 11px; color: #2d7a50; margin-bottom: 8px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; flex-shrink: 0; }
.av-blue { background: #dbeafe; color: #1d4ed8; }
.av-green { background: #dcfce7; color: #15803d; }
.fc-input-row { display: flex; align-items: center; gap: 8px; }
.fc-input-url { flex: 1; font-size: 13px; color: var(--ink); padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fafafa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-send { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.win-row { display: flex; align-items: flex-start; gap: 7px; padding: 4px 0; font-size: 11px; color: var(--ink); line-height: 1.4; border-bottom: 1px solid #f0f0f1; }
.win-row:last-child { border: none; }
.win-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sienna); margin-top: 4px; flex-shrink: 0; }

/* ── Dashboard preview ── */
.preview { padding: 80px 0; background: var(--fog); }
.preview-label { text-align: center; margin-bottom: 28px; }
.preview-label p { font-size: 13px; color: var(--ash); }
.browser-frame { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shlg); border: 1px solid var(--border); }
.browser-bar { background: #f0f0f1; padding: 11px 16px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 5px; }
.bdot { width: 10px; height: 10px; border-radius: 50%; }
.bd-r { background: #ff5f57; }
.bd-y { background: #febc2e; }
.bd-g { background: #28c840; }
.browser-url { flex: 1; background: #fff; border-radius: 5px; padding: 4px 12px; font-size: 11px; color: var(--slate); text-align: center; }
.dash { display: grid; grid-template-columns: 190px 1fr; background: #fff; min-height: 440px; }
.dash-sidebar { background: var(--fog); border-right: 1px solid var(--border); padding: 14px 0; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.dnav { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 12px; color: var(--slate); cursor: pointer; }
.dnav.on { background: var(--mist); color: var(--ink); font-weight: 500; }
.dicon { width: 15px; height: 15px; flex-shrink: 0; opacity: .4; }
.dnav.on .dicon { opacity: 1; }
.dash-main { padding: 22px; overflow: hidden; }
.dash-hdr { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-size: 16px; font-weight: 500; }
.dash-sub { font-size: 11px; color: var(--ash); }
.dash-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dc { background: var(--fog); border-radius: 10px; padding: 12px; }
.dc-lbl { font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); margin-bottom: 5px; }
.dc-n { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dc-s { font-size: 10px; color: var(--ash); margin-top: 1px; }
.dash-lower { display: grid; grid-template-columns: 1fr 250px; gap: 12px; }
.dcard { background: var(--fog); border-radius: 10px; padding: 14px; }
.dcard-title { font-size: 11px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.dwi { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 11px; line-height: 1.4; }
.dwi:last-child { border: none; }
.dwi-n { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }

/* ── Shared section ── */
.sec { padding: 88px 0; }
.sec-alt { background: var(--fog); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-center { text-align: center; }
.sec-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); margin-bottom: 14px; }
.sec-dark .sec-eyebrow { color: rgba(255,255,255,.4); }
.sec-h2 { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 46px); font-weight: 400; letter-spacing: -.8px; line-height: 1.12; color: var(--ink); text-wrap: balance; margin-bottom: 16px; }
.sec-dark .sec-h2 { color: #fff; }
.sec-h2 em { font-style: italic; }
.sec-p { font-size: 17px; color: var(--slate); line-height: 1.65; }
.sec-dark .sec-p { color: rgba(255,255,255,.5); }

/* ── 3-column feature cards ── */
.feat-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.fcard { border-radius: 24px; padding: 36px; }
.fcard-peach { background: var(--peach); }
.fcard-mist { background: var(--mist); }
.fcard-dark { background: #1e2126; }
.fcard-title { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.fcard-peach .fcard-title { color: var(--sienna); }
.fcard-mist .fcard-title, .fcard-dark .fcard-title { color: var(--ink); }
.fcard-dark .fcard-title { color: #fff; }
.fcard-body { font-size: 14px; line-height: 1.65; }
.fcard-peach .fcard-body { color: var(--sienna); opacity: .8; }
.fcard-mist .fcard-body { color: var(--slate); }
.fcard-dark .fcard-body { color: rgba(255,255,255,.6); }
.sig-chips { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.sig-chip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--slate); }
.fcard-peach .sig-chip { color: var(--sienna); opacity: .75; }
.sig-chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-check { background: #2d7a50; }
.dot-warn { background: #d4a44c; }
.dot-fail { background: #e05c4a; }

/* ── Audit signal grid ── */
.audit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.audit-card { background: var(--mist); border-radius: 24px; padding: 32px; }
.audit-card-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.audit-card-title { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.audit-card-body { font-size: 14px; color: var(--slate); line-height: 1.65; margin-bottom: 18px; }
.check-list { display: flex; flex-direction: column; gap: 6px; }
.check-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--slate); line-height: 1.4; }
.ci-icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.ci-pass { background: #edf6f1; color: #2d7a50; }
.ci-fail { background: #fff0f0; color: #c0392b; }
.ci-warn { background: #fff8e8; color: #b07800; }

/* ── Fix plan section ── */
.fix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fix-copy .sec-h2 { margin-bottom: 14px; }
.fix-copy .sec-p { margin-bottom: 20px; }
.fix-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.fix-step { display: flex; align-items: flex-start; gap: 16px; }
.fix-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.fix-step-title { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.fix-step-desc { font-size: 14px; color: var(--slate); line-height: 1.55; }
.fix-visual { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fix-card { background: var(--paper); border-radius: 16px; box-shadow: var(--sh); overflow: hidden; max-width: 100%; }
.fix-card-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.fix-card-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.fix-card-impact { font-size: 11px; font-weight: 600; background: #edf6f1; color: #2d7a50; padding: 3px 9px; border-radius: 99px; }
.fix-card-impact.med { background: #fff8e8; color: #b07800; }
.fix-card-body { padding: 14px 18px; }
.fix-card-desc { font-size: 12px; color: var(--slate); line-height: 1.55; margin-bottom: 12px; }
.fix-card-code { background: #0d1117; border-radius: 10px; overflow: hidden; max-width: 100%; }
.fix-card-code-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.fix-card-code-dots { display: flex; gap: 5px; }
.fix-card-code-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.14); }
.fix-card-code-lang { font-size: 9.5px; font-weight: 600; color: #4b5563; letter-spacing: .08em; text-transform: uppercase; font-family: ui-monospace, monospace; }
.code-pre { margin: 0; padding: 14px 16px; font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace; font-size: 11px; line-height: 1.85; overflow-x: auto; white-space: pre; }
.code-tag { color: #93c5fd; }
.code-attr { color: #fca5a5; }
.code-key { color: #c4b5fd; }
.code-str { color: #86efac; }
.code-val { color: #86efac; }
.code-punct { color: #a1a1a1; }
.code-placeholder { color: #fde68a; }
.code-cmt { color: #a1a1a1; font-style: italic; }
.fix-card-footer { padding: 10px 18px; background: var(--fog); border-top: 1px solid var(--border); font-size: 11px; color: var(--ash); display: flex; align-items: center; gap: 6px; }

/* ── Dark tabbed engine section ── */
.tab-sec { padding: 88px 0; background: var(--ink); }
.tab-inner { display: grid; grid-template-columns: 360px 1fr; gap: 80px; align-items: start; }
.tab-badge { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.4); font-size: 11px; font-weight: 500; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; padding: 4px 10px; letter-spacing: .04em; margin-bottom: 20px; }
.tabs { display: flex; gap: 0; margin-top: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tab-btn { font-size: 13px; color: rgba(255,255,255,.4); padding: 8px 0; margin-right: 22px; border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; font-family: var(--sans); font-weight: 400; transition: color .15s, border-color .15s; }
.tab-btn.on { color: #fff; border-bottom-color: #fff; }
.tab-btn:hover:not(.on) { color: rgba(255,255,255,.65); }
.tab-visual { background: rgba(255,255,255,.04); border-radius: 20px; padding: 24px; min-height: 360px; border: 1px solid rgba(255,255,255,.08); }
.eng-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eng-card { background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px; border: 1px solid rgba(255,255,255,.07); }
.eng-name { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.eng-n { font-size: 26px; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.eng-sub { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 2px; }
.eng-bar-bg { height: 2px; background: rgba(255,255,255,.08); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.eng-bar-fill { height: 100%; border-radius: 99px; }
.eng-tip { margin-top: 14px; padding: 14px; background: rgba(255,255,255,.04); border-radius: 12px; border: 1px solid rgba(255,255,255,.07); }
.eng-tip-lbl { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 7px; }
.eng-tip-text { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.55; }

/* ── Crawler / llms.txt section ── */
.crawler-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.crawler-visual { background: var(--mist); border-radius: 20px; padding: 24px; }
.crawler-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.crawler-bar:last-child { border: none; }
.cbot { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.cbot-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cbot-allowed { background: #2d7a50; }
.cbot-blocked { background: #e05c4a; }
.cbot-status { font-size: 11px; padding: 2px 8px; border-radius: 99px; }
.cbot-ok { background: #edf6f1; color: #2d7a50; }
.cbot-bad { background: #fff0f0; color: #c0392b; }
.llms-card { margin-top: 16px; background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--sh); }
.llms-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.llms-title { font-size: 12px; font-weight: 500; color: var(--ink); }
.llms-badge-missing { font-size: 10px; padding: 2px 7px; background: #fff0f0; color: #c0392b; border-radius: 99px; font-weight: 500; }
.llms-body { font-size: 11px; color: var(--slate); line-height: 1.6; }

/* ── Report analysis section ── */
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.analysis-visual { background: var(--mist); border-radius: 20px; padding: 24px; box-shadow: var(--sh); }
.rep-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rep-title { font-size: 13px; font-weight: 500; color: var(--ink); }
.rep-badge { font-size: 10px; font-weight: 500; background: var(--peach); color: var(--sienna); padding: 3px 8px; border-radius: 99px; }
.rep-sigs { display: flex; flex-direction: column; gap: 8px; }
.rep-sig { display: flex; align-items: center; gap: 12px; }
.sig-lbl { font-size: 12px; color: var(--slate); width: 36px; flex-shrink: 0; }
.sig-bg { flex: 1; height: 6px; background: #e8e8ea; border-radius: 99px; overflow: hidden; }
.sig-fill { height: 100%; border-radius: 99px; }
.sig-sc { font-size: 12px; font-weight: 500; width: 24px; text-align: right; font-variant-numeric: tabular-nums; }
.rep-recs { margin-top: 20px; }
.rep-recs-lbl { font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.rec-item { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; line-height: 1.45; color: var(--ink); }
.rec-item:last-child { border: none; }
.rec-num { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.rec-pts { margin-left: auto; font-size: 10px; font-weight: 600; color: #2d7a50; white-space: nowrap; padding-left: 8px; }

/* ── Testimonial ── */
.testi-peach { background: var(--peach); border-radius: 24px; padding: 56px; max-width: 680px; margin: 0 auto; text-align: center; }
.testi-q { font-family: var(--serif); font-style: italic; font-size: 21px; font-weight: 400; color: var(--sienna); line-height: 1.6; margin-bottom: 28px; }
.testi-by { font-size: 14px; color: var(--sienna); opacity: .7; }
.testi-by strong { display: block; font-size: 15px; font-weight: 500; margin-bottom: 3px; color: var(--sienna); opacity: 1; }

/* ── CTA dark ── */
.cta-sec { padding: 100px 0; background: #17191c; text-align: center; }
.cta-sec .sec-h2 { color: #fff; max-width: 520px; margin: 0 auto 14px; }
.cta-sec .sec-p { color: rgba(255,255,255,.5); margin: 0 auto 40px; text-align: center; max-width: 420px; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ── */
.footer { padding: 64px 0 36px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 220px 1fr; gap: 80px; margin-bottom: 56px; }
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 8px; margin-left: -3px; transition: opacity .15s; }
.footer-brand:hover { opacity: .75; }
.footer-desc { font-size: 14px; color: var(--slate); line-height: 1.6; max-width: 195px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fcol-h { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); margin-bottom: 14px; }
.fcol-links { display: flex; flex-direction: column; gap: 10px; }
.fcol-links a { font-size: 14px; color: var(--slate); }
.fcol-links a:hover { color: var(--ink); }
.footer-btm { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ash); flex-wrap: wrap; gap: 12px; }
.recaptcha-notice { font-size: 11px; color: var(--ash); text-align: center; padding-top: 12px; }
.recaptcha-notice a { color: var(--ash); text-decoration: underline; }

/* ── Card hover ── */
.fcard, .audit-card, .fix-card, .dcard { transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s; }
.fcard:hover { transform: translateY(-4px); }
.audit-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(4,23,43,.06), 0 16px 32px -4px rgba(0,0,0,.10); }
.fix-card:hover { transform: translateY(-2px); box-shadow: var(--shlg); }

/* ── Stats bar (shared with LP pages) ── */
.stats-bar { background: var(--carbon); padding: 32px 0; }
.stats-bar .container { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--primary-lt); }
.stat-label { font-size: 13px; color: var(--ash); max-width: 160px; }

/* ── Inline URL input (LP forms) ── */
.input-url { padding: 12px 16px; border: 1.5px solid rgba(255,255,255,.2); border-radius: 8px; background: rgba(255,255,255,.1); color: #fff; font-size: 15px; min-width: 280px; max-width: 100%; font-family: var(--sans); }
.input-url::placeholder { color: rgba(255,255,255,.5); }

/* ── Form elements (LP pages) ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }

/* ── Alerts ── */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; line-height: 1.5; }
.alert-error { background: #fff0f0; color: #7F1D1D; border: 1px solid rgba(220,38,38,.3); }
.alert-success { background: #f0fdf4; color: #14532D; border: 1px solid rgba(51,199,88,.3); }
.field-error { font-size: 12px; color: var(--red); display: block; }
/* ASP.NET MVC adds this class when the summary is empty — hide it */
.validation-summary-valid { display: none; }
/* alert containing only an empty validation summary — hide it too */
.alert:has(.validation-summary-valid:only-child) { display: none; }

/* ── Page gradient (matches .hero and .pub-auth) ── */
.pg-gradient {
  background: radial-gradient(ellipse 110% 60% at 50% 0, var(--peach) 0%, #faf3ef 28%, var(--paper) 65%);
}

/* ── Auth pages ── */
.pub-auth {
  padding: 80px 20px 100px;
  background: radial-gradient(ellipse 100% 70% at 50% 0, var(--peach) 0%, #faf3ef 30%, var(--paper) 65%);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pub-auth-card {
  background: var(--paper);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shlg);
  padding: 44px 40px;
  width: 100%;
  max-width: 460px;
}
.pub-auth-logo {
  text-align: center;
  margin-bottom: 20px;
}
/* The global `img { display:block }` at the top of this file means the inherited
   text-align above cannot centre the mark - it needs auto margins. */
.pub-auth-logo img { display: block; margin: 0 auto; width: 44px; height: 44px; }
.pub-auth-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.4px;
  color: var(--ink);
  text-align: center;
  margin-bottom: 6px;
}
.pub-auth-sub {
  font-size: 14px;
  color: var(--slate);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}
.pub-auth-plan-note {
  background: var(--fog);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--slate);
  text-align: center;
  margin-bottom: 20px;
}
.pub-auth-plan-note strong { color: var(--ink); font-weight: 500; }
.pub-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  transition: background .15s, box-shadow .15s, transform .1s;
  text-decoration: none;
  margin-bottom: 8px;
}
.pub-social-btn:hover { background: var(--fog); box-shadow: var(--sh); }
.pub-social-btn:active { transform: scale(.98); }
.pub-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.pub-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--ash);
  font-size: 13px;
}
.pub-auth-divider::before,
.pub-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.pub-form-group { margin-bottom: 16px; }
.pub-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.pub-form-group label span.hint { font-weight: 400; color: var(--ash); }
.pub-form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
.pub-form-input:focus { outline: none; border-color: var(--sienna); box-shadow: 0 0 0 3px rgba(93,42,26,.08); }
.pub-form-input::placeholder { color: var(--ash); }
.pub-form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 20px;
}
.pub-form-submit {
  width: 100%;
  margin-top: 4px;
}
.pub-field-error { font-size: 12px; color: var(--red); display: block; margin-top: 4px; }
.pub-auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--slate);
  margin-top: 20px;
}
.pub-auth-switch a { color: var(--ink); font-weight: 500; text-decoration: underline; }
.pub-auth-switch a:hover { color: var(--sienna); }

/* ── About / info pages ── */
.pub-page { padding: 88px 0 100px; }
.pub-page-hero { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.pub-page-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ash); margin-bottom: 14px; }
.pub-page-h1 { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); font-weight: 400; letter-spacing: -1px; line-height: 1.12; color: var(--ink); margin-bottom: 16px; }
.pub-page-h1 em { font-style: italic; }
.pub-page-lead { font-size: 18px; color: var(--slate); line-height: 1.65; }

/* ── Error page ── */
.pub-error { padding: 100px 20px; text-align: center; }
.pub-error-code { font-size: 80px; font-weight: 400; font-family: var(--serif); color: var(--peach); line-height: 1; margin-bottom: 16px; }
.pub-error-title { font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.4px; color: var(--ink); margin-bottom: 12px; }
.pub-error-body { font-size: 16px; color: var(--slate); margin-bottom: 32px; max-width: 400px; margin-inline: auto; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { padding-top: 40px; }
  .hero-stage { height: auto; min-height: unset; padding: 0 20px 44px; }
  .hero-center { position: static; transform: none; width: 100%; max-width: 520px; margin: 0 auto; }
  .fc { display: none; }
  .tab-inner { grid-template-columns: 1fr; gap: 40px; }
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; white-space: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .dash { grid-template-columns: 1fr; min-height: unset; }
  .dash-sidebar { display: none; }
  .dash-scores { grid-template-columns: repeat(2, 1fr); }
  .dash-lower { grid-template-columns: 1fr; }
  .dash-main { padding: 16px; overflow: hidden; }
  #dash-chart { width: 100% !important; height: 80px !important; display: block; }
  .analysis-grid, .fix-grid, .crawler-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .code-pre { font-size: 10px; }
  .testi-peach { padding: 40px 28px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .feat-3, .audit-grid { grid-template-columns: 1fr; }
  .eng-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .stats-bar .container { flex-direction: column; gap: 24px; }
  .pub-auth-card { padding: 32px 24px; }
}
@media (max-width: 500px) {
  .hero-h1 { font-size: 38px; letter-spacing: -1px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-btm { flex-direction: column; text-align: center; }
  .pub-auth-card { padding: 28px 20px; }
  .pub-error-code { font-size: 60px; }
}

/* reCAPTCHA v3 badge — hidden so it does not overlap mobile UI.
   Google permits this when the legal notice appears on the page.
   See .recaptcha-notice in the footer. */
.grecaptcha-badge { visibility: hidden !important; }

/* ═══════════════════════════════════════════════════════════════
   LP PAGES — AI Audit & SEO Audit marketing pages
═══════════════════════════════════════════════════════════════ */

/* ── Shared LP components ── */
.lp-logos { padding: 32px 0; border-bottom: 1px solid var(--border); }
.lp-logos .container { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.logos-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.logos-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo-pill { background: var(--mist); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 16px; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.lp-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }

/* Browser chrome */
.preview-bar { background: var(--linen); border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 8px; }
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-dot:nth-child(1) { background: #ff5f56; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #27c93f; }
.preview-url { flex: 1; margin-left: 8px; background: var(--mist); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 4px 12px; font-size: 11px; color: var(--text-muted); }

/* How it works */
.lp-steps { padding: 80px 0; }
.steps-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 12px; }
.steps-headline { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 34px); font-weight: 400; color: var(--text); letter-spacing: -.6px; line-height: 1.2; margin-bottom: 48px; max-width: 500px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 28px; left: calc(33.33% - 12px); right: calc(33.33% - 12px); height: 1px; background: var(--border); }
.step { padding: 0 24px 0 0; }
.step-num { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--primary); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 15px; font-weight: 400; color: var(--primary); margin-bottom: 20px; background: var(--surface); position: relative; z-index: 1; }
.step h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* Feature grid */
.lp-features { padding: 80px 0; background: var(--linen); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.feat-cell { background: var(--surface); padding: 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background .15s; }
.feat-cell:hover { background: var(--linen); }
.feat-cell:nth-child(2n) { border-right: none; }
.feat-cell:nth-last-child(-n+2) { border-bottom: none; }
.feat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.feat-icon--indigo { background: rgba(145,141,246,.12); }
.feat-icon--sky    { background: rgba(44,120,252,.12); }
.feat-icon--green  { background: rgba(51,199,88,.12); }
.feat-icon--amber  { background: rgba(255,166,0,.12); }
.feat-cell h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.feat-cell p  { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* Testimonial */
.lp-testimonial { padding: 80px 0; }
.testi-card { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; position: relative; box-shadow: var(--shadow-lg); }
.testi-quote-mark { font-family: Georgia, serif; font-size: 80px; line-height: .8; color: var(--primary); opacity: .25; position: absolute; top: 24px; left: 36px; pointer-events: none; }
.testi-body { font-size: 20px; font-weight: 500; color: var(--text); line-height: 1.5; margin-bottom: 28px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--magenta) 100%); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 13px; color: var(--text-muted); }

/* Bottom dark CTA (shared by both LP pages) */
.lp-cta-section { padding: 100px 0; background: #181925; text-align: center; position: relative; overflow: hidden; }
.lp-cta-section::before { content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse at 50% 0%, rgba(145,141,246,.22) 0%, transparent 70%); pointer-events: none; }
.lp-cta-section h2 { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; color: #fff; letter-spacing: -.8px; margin-bottom: 16px; }
.lp-cta-section p, .lp-cta-section p.sub { font-size: 17px; color: rgba(255,255,255,.5); margin-bottom: 36px; }
.lp-cta-form { display: flex; gap: 10px; justify-content: center; max-width: 520px; margin: 0 auto 20px; flex-wrap: wrap; }
.lp-cta-form .input-url { flex: 1; min-width: 200px; }
.lp-cta-sub { font-size: 13px; color: rgba(255,255,255,.35); }

/* Cross-sell strip */
.lp-crosssell { padding: 20px 0; border-top: 1px solid var(--border); text-align: center; background: var(--surface); }
.lp-crosssell p { font-size: 14px; color: var(--text-mid); }
.lp-crosssell a { color: var(--primary); font-weight: 600; }

/* ── AI Audit hero (light lavender gradient) ── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.lp-hero { padding: 80px 0 0; overflow: hidden; background: radial-gradient(ellipse 110% 80% at 50% 15%, #ede8ff 0%, #f5f3ff 28%, #fdfcff 55%, #fff 78%); position: relative; }
.lp-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-bottom: 72px; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(145,141,246,.1); border: 1px solid rgba(145,141,246,.25); color: var(--primary); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: .04em; margin-bottom: 24px; text-transform: uppercase; }
.lp-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; animation: pulse 2s infinite; }
.lp-h1 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 54px); font-weight: 400; color: var(--ink); line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 20px; }
.lp-h1 .accent { color: var(--primary); }
.lp-sub { font-size: 17px; color: var(--slate); line-height: 1.65; margin-bottom: 36px; max-width: 460px; }
.lp-trust { font-size: 13px; color: var(--ash); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-trust-item { display: flex; align-items: center; gap: 5px; }
.lp-trust-tick { color: var(--mint); font-size: 12px; }

/* AI Audit preview panel */
.lp-preview { background: var(--surface); border: 1px solid var(--border); border-radius: 16px 16px 0 0; box-shadow: var(--shlg), 0 0 0 1px rgba(145,141,246,.12); overflow: hidden; }
.preview-body { padding: 20px 20px 0; }
.preview-score-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.preview-score { background: var(--linen); border: 1px solid var(--border); border-radius: 10px; padding: 14px 12px; text-align: center; }
.ps-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.ps-num { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; }
.ps-num.good { color: var(--mint); }
.ps-num.mid  { color: var(--amber); }
.ps-num.low  { color: var(--red); }
.ps-sub { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.preview-rec { background: rgba(145,141,246,.06); border: 1px solid rgba(145,141,246,.18); border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.preview-rec-label { font-size: 10px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.preview-rec-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-mid); padding: 4px 0; }
.rec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.preview-bar-chart { display: flex; flex-direction: column; gap: 6px; padding-bottom: 20px; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-label { font-size: 11px; color: var(--text-muted); width: 88px; text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; background: var(--mist); border-radius: 4px; height: 8px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; }

/* Dark mode for AI Audit hero panels */
html[data-theme="dark"] .lp-features { background: var(--surface); }
html[data-theme="dark"] .feat-cell { background: #1a1d2e; }
html[data-theme="dark"] .feat-cell:hover { background: #1f2238; }
html[data-theme="dark"] .lp-preview { background: #1e2030; border-color: rgba(145,141,246,.25); box-shadow: 0 -4px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(145,141,246,.2); }
html[data-theme="dark"] .preview-bar { background: #141422; border-bottom-color: rgba(255,255,255,.06); }
html[data-theme="dark"] .preview-url { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.4); }
html[data-theme="dark"] .preview-score { background: rgba(145,141,246,.07); border-color: rgba(145,141,246,.18); }
html[data-theme="dark"] .preview-rec { background: rgba(145,141,246,.1); border-color: rgba(145,141,246,.22); }
html[data-theme="dark"] .bar-track { background: rgba(255,255,255,.07); }

/* ── SEO Audit hero (light peach gradient) ── */
.lp-hero-seo { padding: 80px 0 0; overflow: hidden; background: radial-gradient(ellipse 110% 80% at 50% 15%, #fbe1d1 0%, #faf3ef 28%, #fdfcfc 55%, #fff 78%); position: relative; }
.lp-hero-seo .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-bottom: 72px; }
.lp-eyebrow-seo { display: inline-flex; align-items: center; gap: 7px; background: rgba(93,42,26,.08); border: 1px solid rgba(93,42,26,.2); color: var(--sienna); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); letter-spacing: .04em; margin-bottom: 24px; text-transform: uppercase; }
.lp-h1-seo { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 54px); font-weight: 400; color: var(--ink); line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 20px; }
.lp-h1-seo .accent-seo { color: var(--sky); }
.lp-sub-seo { font-size: 17px; color: var(--slate); line-height: 1.65; margin-bottom: 36px; max-width: 460px; }
.lp-trust-seo { font-size: 13px; color: var(--ash); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-trust-seo-item { display: flex; align-items: center; gap: 5px; }
.lp-trust-tick-seo { color: #2d7a50; font-size: 12px; }

/* SEO Audit preview panel (light shadow for light bg) */
.lp-preview-seo { background: var(--surface); border: 1px solid var(--border); border-radius: 16px 16px 0 0; box-shadow: var(--shlg), 0 0 0 1px rgba(44,120,252,.08); overflow: hidden; }
.preview-body-seo { padding: 20px 20px 0; }
.seo-score-main { background: var(--linen); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.seo-score-circle { width: 64px; height: 64px; border-radius: 50%; background: rgba(44,120,252,.1); border: 2px solid var(--sky); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--sky); flex-shrink: 0; }
.seo-score-info { flex: 1; }
.seo-score-label { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 2px; }
.seo-score-title { font-size: 13px; font-weight: 600; color: var(--text); }
.seo-score-sub { font-size: 11px; color: var(--text-muted); }
.seo-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.seo-mini { background: var(--linen); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.seo-mini-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.seo-mini-val { font-size: 17px; font-weight: 700; }
.seo-mini-val.good { color: var(--mint); }
.seo-mini-val.mid  { color: var(--amber); }
.seo-mini-val.low  { color: var(--red); }
.seo-issue-list { padding-bottom: 20px; }
.seo-issue { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.seo-issue:last-child { border-bottom: none; }
.seo-issue-icon { font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.seo-issue-text { font-size: 12px; color: var(--text-mid); }

/* ── LP responsive ── */
@media (max-width: 900px) {
  .lp-hero .container,
  .lp-hero-seo .container { grid-template-columns: 1fr; gap: 40px; }
  .lp-preview,
  .lp-preview-seo { border-radius: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-cell:nth-child(n) { border-right: none; }
  .feat-cell:nth-last-child(1) { border-bottom: none; }
  .lp-cta-form { flex-direction: column; align-items: center; }
  .lp-cta-form .input-url { min-width: 0; width: 100%; max-width: 400px; }
}
@media (max-width: 640px) {
  .lp-hero,
  .lp-hero-seo { padding-top: 48px; }
  .lp-h1,
  .lp-h1-seo { letter-spacing: -1px; }
  .testi-card { padding: 32px 24px; }
  .lp-cta-section { padding: 64px 0; }
  .lp-steps { padding: 56px 0; }
  .lp-features { padding: 56px 0; }
  .lp-testimonial { padding: 56px 0; }
}

/* ── FreeCheck hero form (light bg version) ── */
.lp-eyebrow-dot-seo { width: 6px; height: 6px; border-radius: 50%; background: var(--sienna); flex-shrink: 0; animation: pulse 2s infinite; }
.lp-hero-form-seo { background: rgba(255,255,255,.85); border: 1px solid var(--border); border-radius: 16px; padding: 28px; backdrop-filter: blur(12px); box-shadow: var(--sh); }
.lp-hero-form-seo .form-label { color: var(--ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 6px; }
.lp-hero-input-seo { width: 100%; box-sizing: border-box; background: var(--paper); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--ink); font-size: 15px; padding: 12px 16px; margin-bottom: 14px; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.lp-hero-input-seo::placeholder { color: var(--ash); }
.lp-hero-input-seo:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(44,120,252,.08); }
.field-hint-seo { font-size: 11px; color: var(--ash); margin-top: -10px; margin-bottom: 14px; }

/* ═══════════════════════════════════════════════
   LEGAL PAGES — Privacy Policy & Terms
   ═══════════════════════════════════════════════ */
.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 0 80px;
}
.legal-section {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.legal-section:first-child {
  border-top: none;
  padding-top: 0;
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
}
.legal-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 8px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0 0 12px;
}
.legal-section ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.legal-section ul li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.legal-section a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-section a:hover {
  color: var(--navy);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0 16px;
}
.legal-table th {
  background: var(--off-white);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: top;
  line-height: 1.5;
}
.legal-table tr:nth-child(even) td {
  background: rgba(0,0,0,.018);
}

/* Footer legal links */
.footer-legal-link {
  color: var(--ash);
  text-decoration: none;
  font-size: inherit;
}
.footer-legal-link:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .legal-body { padding: 0 0 56px; }
  .legal-section { padding: 28px 0; }
  .legal-table { font-size: 13px; }
  .legal-table th,
  .legal-table td { padding: 8px 10px; }
}

/* legal-body must never be hidden by the reveal animation — it is too tall for the 12% threshold */
.legal-body.reveal,
.legal-body.reveal.in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ── Package 038: auth notice, contact form, error page ── */
.pub-auth-notice {
  display: flex; align-items: flex-start; gap: 8px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  color: #1E40AF; font-size: 13px; line-height: 1.5;
  border-radius: 8px; padding: 12px 14px; margin-bottom: 20px;
}

.pub-form-textarea {
  min-height: 120px; resize: vertical;
}

.pub-field-error { font-size: 12px; color: var(--red); display: block; margin-top: 4px; }
.pub-form-input.input-error { border-color: var(--red); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px;
}
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-success {
  text-align: center; padding: 40px 24px;
  background: #F0FDF4; border: 1px solid #BBF7D0;
  border-radius: 12px;
}

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid currentColor;
  transition: background .15s, color .15s, transform .12s;
}
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-1px); opacity: 1; }

.req { color: var(--red); margin-left: 2px; }

