﻿/* ══════════════════════════════════════════════════════════════
   EVALORA - WEBSITE DESIGN SYSTEM 2026
   Theme: Evalora teal + deep navy · Glassmorphism · Modern
   ══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand - Evalora palette from React app */
  --teal:       #03b8a2;
  --teal-dk:    #029c89;
  --teal-lt:    #e6f8f6;
  --teal-glow:  rgba(3, 184, 162, 0.28);

  /* Navy / Dark surfaces */
  --nav:        #2f4056;
  --nav-dk:     #1f2a3a;
  --nav-mid:    #425a7a;

  /* Light surfaces */
  --ink:        #1c2633;
  --body:       #4a5b70;
  --muted:      #8a99af;
  --border:     #e2e8f0;
  --bg:         #f4f6f8;
  --surface:    #ffffff;

  /* Semantic */
  --success:    #10b981;
  --warning:    #f59e0b;
  --danger:     #f43f5e;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --text-xs:   clamp(0.72rem,  0.68rem + 0.2vw,  0.85rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.5vw,  1.375rem);
  --text-xl:   clamp(1.25rem,  1.1rem  + 0.7vw,  1.75rem);
  --text-2xl:  clamp(1.5rem,   1.2rem  + 1.5vw,  2.5rem);
  --text-3xl:  clamp(2rem,     1.5rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.2rem,   1.6rem  + 2.8vw,  3.8rem);

  /* Spacing */
  --section:   clamp(5rem, 4rem + 5vw, 8rem);

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:    0 1px 3px rgba(28,38,51,.06), 0 1px 2px rgba(28,38,51,.04);
  --sh-md:    0 4px 12px rgba(28,38,51,.08), 0 2px 4px rgba(28,38,51,.04);
  --sh-lg:    0 10px 28px rgba(28,38,51,.09), 0 4px 8px rgba(28,38,51,.05);
  --sh-xl:    0 20px 50px rgba(28,38,51,.11), 0 8px 16px rgba(28,38,51,.06);
  --sh-teal:  0 8px 32px var(--teal-glow);
  --sh-inset: inset 0 1px 0 rgba(255,255,255,0.9);

  /* Easing */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 260ms;
}


/* ── 1b. SKIP LINK (accessibility + SEO) ───────────────────── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: var(--text-sm);
  font-weight: 700;
  z-index: 10001;
  transition: top 0.2s var(--ease-smooth);
  text-decoration: none;
}
.skip-link:focus { top: 0; outline: 3px solid var(--teal-dk); outline-offset: 2px; }


/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}


/* ── 3. LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section {
  padding-block: var(--section);
}
.bg-alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Soft teal-tinted light background - makes white cards lift off the surface */
.section-soft {
  background: linear-gradient(160deg, #d4f0ec 0%, #e2f5f2 40%, #d8edf5 100%);
  border-top: 1px solid rgba(3,184,162,.14);
  border-bottom: 1px solid rgba(3,184,162,.14);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 3vw, 4rem);
}
.section-head h2 {
  font-size: var(--text-3xl);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
/* Gradient underline accent on section headings */
.section-head h2::after {
  content: '';
  display: block;
  height: 4px;
  width: 56px;
  background: linear-gradient(90deg, var(--teal), rgba(3,184,162,0));
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-sub {
  font-size: var(--text-base);
  color: var(--body);
  line-height: 1.65;
}

.section-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--teal);
}
.section-footer { /* alias */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--teal);
}


/* ── 4. SCROLL PROGRESS ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dk));
  z-index: 9999;
  transition: width 100ms linear;
}


/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  padding-block: 18px;
  transition:
    background var(--dur) var(--ease-smooth),
    box-shadow  var(--dur) var(--ease-smooth),
    padding     var(--dur) var(--ease-smooth),
    border-color var(--dur) var(--ease-smooth);
}

/* Transparent on hero */
.site-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
}

/* Glass effect after scrolling */
.site-nav.scrolled {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--sh-md);
}

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

.nav-brand { display: flex; align-items: center; }
.nav-logo {
  height: clamp(28px, 3vw, 36px);
  width: auto;
  transition: transform var(--dur) var(--ease-smooth), opacity var(--dur) var(--ease-smooth);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo--color { display: none; }
.site-nav.scrolled .nav-logo--white { display: none; }
.site-nav.scrolled .nav-logo--color { display: block; }

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-smooth), background var(--dur) var(--ease-smooth);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
/* Bar links only. Below the breakpoint these same links live inside the
   dark drawer, and this light palette outranked the drawer's own rule:
   once the page was scrolled, the active link painted a near-white pill
   with teal text on a navy panel. */
@media (min-width: 901px) {
  .site-nav.scrolled .nav-link {
    color: var(--body);
  }
  .site-nav.scrolled .nav-link:hover,
  .site-nav.scrolled .nav-link.active {
    color: var(--teal);
    background: var(--teal-lt);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.hamburger:hover { background: rgba(255,255,255,.12); }
.site-nav.scrolled .hamburger:hover { background: rgba(0,0,0,0.06); }

.ham-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease, width 0.2s ease;
  pointer-events: none;
}
.ham-bar:nth-child(3) { width: 15px; }
.site-nav.scrolled .ham-bar { background: var(--ink); }

.hamburger[aria-expanded="true"] .ham-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .ham-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 22px; }

/* Nav overlay - injected by JS */
.nav-overlay {
  display: none;
}

/* The close button is injected into the panel on every page, so it needs a
   base rule: without one it rendered in the desktop bar as a bare button
   around an unsized SVG. The mobile block below turns it back on. */
.nav-close {
  display: none;
}

/* Mobile nav (drawer covers phones and tablets: the desktop bar needs
   roughly 780px for seven links plus the CTA, and below that it squeezed
   the logo out of its aspect ratio) */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 26, 0.72);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    /* visibility is stepped at the end of the fade rather than animated,
       so the overlay leaves the accessibility tree without costing a
       frame of its own. */
    transition: opacity 0.26s ease, visibility 0s linear 0.26s;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.26s ease, visibility 0s linear 0s;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 76%;
    max-width: 300px;
    background: linear-gradient(160deg, #131c2b 0%, #1b2a3e 55%, #22344d 100%);
    box-shadow: -12px 0 50px rgba(0,0,0,0.5), inset 1px 0 0 rgba(255,255,255,0.05);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 20px 40px;
    gap: 0;
    transform: translateX(100%);
    pointer-events: none;
    visibility: hidden;
    /* Transform only. Fading a full-height panel at the same time means an
       extra alpha blend of the whole layer on every frame, which is what
       made the slide stutter on iOS. */
    transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1),
                visibility 0s linear 0.26s;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.is-open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1),
                visibility 0s linear 0s;
  }

  /* Close button inside panel */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
  }
  .nav-close:hover { background: rgba(255,255,255,0.14); }
  .nav-close svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.7); stroke-width: 2; fill: none; stroke-linecap: round; }

  .nav-links {
    flex-direction: column;
    gap: 2px;
    width: 100%;
    margin-bottom: 28px;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    padding: 13px 14px;
    border-radius: 10px;
    display: block;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s, background 0.15s;
    border-left: 2px solid transparent;
  }
  .nav-link:hover,
  .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.07);
    border-left-color: var(--teal);
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}


/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 11px 26px;
  min-height: 46px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform  var(--dur) var(--ease-bounce),
    box-shadow var(--dur) var(--ease-smooth),
    background var(--dur) var(--ease-smooth),
    border-color var(--dur) var(--ease-smooth),
    color var(--dur) var(--ease-smooth);
}
.btn-lg { padding: 14px 32px; min-height: 52px; font-size: var(--text-base); }
.btn-sm { padding: 8px 18px; min-height: 36px; font-size: var(--text-xs); }
.btn-full { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

/* Primary - teal */
.btn-primary {
  background: var(--teal);
  border: 1.5px solid var(--teal);
  color: #fff;
  box-shadow: var(--sh-teal);
}
.btn-primary:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--teal-glow);
}

/* Outline - dark border on light bg */
.btn-outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

/* Ghost on dark backgrounds */
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-3px);
}

/* Nav CTA always looks primary */
.nav-cta {
  background: var(--teal);
  border: 1.5px solid var(--teal);
  color: #fff !important;
  box-shadow: var(--sh-teal);
}
.nav-cta:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  transform: translateY(-2px);
}


/* ── 7. AURORA LAYER ────────────────────────────────────────── */
.aurora-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(3,184,162,.35) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation: drift1 24s ease-in-out infinite;
}
.orb-2 {
  width: clamp(250px, 30vw, 500px);
  height: clamp(250px, 30vw, 500px);
  background: radial-gradient(circle, rgba(47,64,86,.6) 0%, transparent 70%);
  bottom: -15%;
  left: -5%;
  animation: drift2 20s ease-in-out infinite;
}
.orb-3 {
  width: clamp(200px, 25vw, 400px);
  height: clamp(200px, 25vw, 400px);
  background: radial-gradient(circle, rgba(3,184,162,.2) 0%, transparent 70%);
  top: 40%;
  left: 20%;
  animation: drift3 28s ease-in-out infinite;
}
.orb-4 {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  background: radial-gradient(circle, rgba(66,90,122,.45) 0%, transparent 70%);
  top: 10%;
  left: 60%;
  animation: drift4 18s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.92); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(50px, 30px) scale(1.12); }
  70% { transform: translate(-20px, -40px) scale(0.95); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-40px, 50px) scale(0.88); }
  70% { transform: translate(60px, -30px) scale(1.1); }
}
@keyframes drift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(1.15); }
}


/* ── 8. HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;    /* fallback for older browsers */
  min-height: 100svh;  /* small viewport height - avoids mobile toolbar overlap */
  display: flex;
  align-items: center;
  padding-top: clamp(80px, 9vw, 120px);
  padding-bottom: clamp(40px, 5vw, 64px);
  background: linear-gradient(148deg,
    #1c2633  0%,
    #2f4056 45%,
    #1a3545 75%,
    #0d2030 100%
  );
  overflow: hidden;
}

.hero .container { position: relative; z-index: 1; }

/* 2-col layout */
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

/* ── Hero copy ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: rgba(3, 184, 162, 0.12);
  border: 1px solid rgba(3, 184, 162, 0.22);
  border-radius: var(--r-full);
  padding: 6px 16px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 22px;
}
.title-teal {
  color: var(--teal);
  text-shadow: 0 0 40px rgba(3,184,162,.4);
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.hero-body {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 0;
}

.hero-hook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: var(--text-sm);
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.hero-hook svg { flex-shrink: 0; color: var(--teal); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  transition: background var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.trust-chip:hover {
  background: rgba(3,184,162,.12);
  border-color: rgba(3,184,162,.25);
  color: var(--teal);
}

/* ── Hero visual / glass cards ── */
.hero-visual {
  display: grid;
  grid-template-areas:
    "score"
    "insight"
    "float";
  gap: 14px;
}

@media (min-width: 600px) {
  .hero-visual {
    grid-template-areas:
      "score  score"
      "insight float";
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero-visual {
    grid-template-areas:
      "score insight"
      "score float";
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto auto;
  }
}

/* Shared glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xl);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.08);
}

.score-card {
  grid-area: score;
  padding: 28px 24px;
  box-shadow: var(--sh-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 900px) {
  .score-card { align-self: stretch; justify-content: center; }
}

/* Score ring */
.score-ring {
  width: clamp(160px, 18vw, 215px);
  height: clamp(160px, 18vw, 215px);
  border-radius: 50%;
  background: conic-gradient(
    from 220deg,
    var(--danger)  0   18%,
    var(--warning) 18% 50%,
    var(--success) 50% 100%
  );
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.5), var(--sh-lg);
  margin-bottom: 20px;
  position: relative;
}
.score-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 30px rgba(3,184,162,.2);
  animation: ring-glow 3s ease-in-out infinite;
}

@keyframes ring-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(3,184,162,.15); }
  50%       { box-shadow: 0 0 50px rgba(3,184,162,.35); }
}

.score-inner {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: radial-gradient(circle at 35% 30%, #fff, #f8fafc);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.06);
}

.ring-logo {
  height: 18px;
  width: auto;
  margin-bottom: 4px;
  opacity: 0.5;
}

.ring-num {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.05em;
}

.ring-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Legend */
.score-legend {
  display: grid;
  gap: 8px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--body);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-danger  { background: var(--danger); }
.dot-warning { background: var(--warning); }
.dot-success { background: var(--success); }
.dot-muted   { background: var(--border); }

/* Insight card */
.insight-card {
  grid-area: insight;
  padding: 20px;
  box-shadow: var(--sh-lg);
}

.mini-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 8px;
}

.insight-card h3 {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.check-list {
  display: grid;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--body);
  line-height: 1.45;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* Float card */
.float-card {
  grid-area: float;
  padding: 18px 20px;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.float-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--success));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-bottom: 10px;
  box-shadow: 0 0 8px rgba(16,185,129,.6);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(16,185,129,.6); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px rgba(16,185,129,.9); }
}

.float-card strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.float-card p {
  font-size: var(--text-xs);
  color: var(--body);
  line-height: 1.5;
  margin: 0;
}

/* ── Hero criterion card ── */
.criterion-card {
  grid-area: score;
  padding: 20px;
  box-shadow: var(--sh-xl);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 900px) {
  .criterion-card { align-self: stretch; justify-content: center; }
}
.crit-card-header { display: flex; flex-direction: column; gap: 6px; }
.crit-status-wrap { display: flex; align-items: center; justify-content: space-between; }
.crit-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.crit-status-badge.needs-attention { background: rgba(245,158,11,.12); color: #b45309; }
.crit-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; flex-shrink: 0; }
.crit-counter-badge { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.crit-name { font-size: var(--text-sm); font-weight: 800; color: var(--ink); }
.crit-feedback-text { font-size: var(--text-xs); color: var(--body); line-height: 1.5; margin: 0; }

.hero-rec-card {
  background: rgba(245,158,11,.06);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-rec-top { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.hero-priority-badge {
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: #b45309; background: rgba(245,158,11,.15); padding: 2px 8px;
  border-radius: var(--r-full); white-space: nowrap; flex-shrink: 0; margin-top: 1px;
}
.hero-rec-label { font-size: var(--text-xs); font-weight: 700; color: var(--ink); line-height: 1.3; }
.hero-rec-desc { font-size: 0.7rem; color: var(--body); line-height: 1.45; margin: 0; }
.hero-rec-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.hero-btn-eva {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #03b8a2, #02a391);
  color: #fff; font-size: 0.68rem; font-weight: 700;
  border: none; border-radius: var(--r-full); cursor: default;
  box-shadow: 0 2px 10px rgba(3,184,162,.35);
  white-space: nowrap;
}
.hero-btn-manual {
  font-size: 0.68rem; font-weight: 600; color: var(--muted);
  background: none; border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 6px 12px; cursor: default; white-space: nowrap;
}

/* ── Eva response card ── */
.eva-response-card {
  grid-area: insight;
  padding: 18px 20px;
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-color: rgba(3,184,162,.22);
  position: relative;
  overflow: hidden;
}
.eva-response-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #03b8a2, #10b981);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.eva-resp-header { display: flex; align-items: center; gap: 8px; }
.eva-resp-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #03b8a2, #02a391);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(3,184,162,.4); flex-shrink: 0;
}
.eva-resp-name { font-size: var(--text-sm); font-weight: 800; color: var(--ink); }
.eva-resp-tag {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal); background: rgba(3,184,162,.1); padding: 2px 7px; border-radius: var(--r-full);
}
.eva-resp-text { font-size: var(--text-xs); color: var(--body); line-height: 1.55; margin: 0; font-style: italic; }
.eva-resp-applied {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.65rem; font-weight: 700; color: #10b981;
  background: rgba(16,185,129,.1); padding: 4px 10px; border-radius: var(--r-full); align-self: flex-start;
}

/* Evaluator avatars (float card) */
/* ── Hero suggestion progress card ── */
.hero-prog-card {
  grid-area: progress;
  padding: 14px 16px;
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-prog-header {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-prog-icon { font-size: 0.85rem; line-height: 1; }
.hero-prog-title {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}
.hero-prog-count {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--teal);
}
.hero-prog-bar-wrap { width: 100%; }
.hero-prog-bar {
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(3,184,162,.12);
  overflow: hidden;
}
.hero-prog-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--teal), #02c9b0);
}

.hero-evaluators {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.hero-eval-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 800; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.eval-blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.eval-orange { background: linear-gradient(135deg, #f97316, #ea6c0a); }
.hero-eval-label {
  font-size: 0.68rem; font-weight: 600; color: var(--body); line-height: 1.35;
}


/* ── 9. CARDS GRID (problem / audience) ─────────────────────── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-md), var(--sh-inset);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), var(--sh-inset);
  border-color: rgba(3,184,162,.18);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-bounce);
}
.card:hover .card-icon { transform: scale(1.1) rotate(6deg); }

.icon-danger { background: rgba(244,63,94,.08); color: var(--danger); }
.icon-teal   { background: rgba(3,184,162,.09); color: var(--teal); }

.problem-card p {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}


/* ── 10. TIMELINE / HOW IT WORKS ────────────────────────────── */
.timeline-intro {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 40px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), var(--sh-inset);
}

.tl-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 10px;
}

.timeline-intro h3 {
  font-size: var(--text-2xl);
  margin-bottom: 12px;
}
.timeline-intro > p {
  font-size: var(--text-base);
  color: var(--body);
}

.tl-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(3,184,162,.05);
  border: 1px solid rgba(3,184,162,.14);
  border-radius: var(--r-md);
}
.tl-highlight svg { flex-shrink: 0; margin-top: 2px; }
.tl-highlight strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.tl-highlight span {
  font-size: var(--text-sm);
  color: var(--body);
}

/* Steps grid - exactly 3 columns so row 2 (steps 4-6) always fills evenly */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--sh-md), var(--sh-inset);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
/* Teal left-edge accent bar */
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal) 0%, transparent 100%);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
/* Large step-number watermark */
.step-card::after {
  content: attr(data-step);
  position: absolute;
  top: -10px; right: 12px;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal);
  opacity: 0.045;
  pointer-events: none;
  letter-spacing: -0.04em;
  transition: opacity var(--dur) var(--ease-smooth);
}
.step-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.15), 0 8px 32px var(--teal-glow);
  border-color: rgba(3,184,162,.25);
}
.step-card:hover::before { opacity: 1; }
.step-card:hover::after  { opacity: 0.08; }

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-num-badge {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.step-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--teal-lt);
  color: var(--teal);
  margin-bottom: 14px;
  transition: transform var(--dur) var(--ease-bounce);
}
.step-card:hover .step-icon { transform: scale(1.1) rotate(-5deg); }

.step-card h4 {
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.step-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.55;
}


/* ── 11. FEATURES ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide  { grid-column: span 1; }
}
@media (max-width: 580px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-wide {
  grid-column: span 1;
}

@media (min-width: 901px) {
  .feature-wide {
    grid-column: span 1;
  }
  /* Make last 2 cards span wider in a 3-col then 2-col pattern */
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) { grid-column: span 2; }
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) { grid-column: span 3; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-md), var(--sh-inset);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
/* Top gradient accent bar */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.14), 0 8px 32px var(--teal-glow);
  border-color: rgba(3,184,162,.22);
}
.feature-card:hover::before { opacity: 1; }

.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-bounce);
}
.feature-card:hover .feat-icon { transform: scale(1.12) rotate(5deg); }

.fi-1 { background: rgba(3, 184,162,.09);  color: var(--teal);    }
.fi-2 { background: rgba(16,185,129,.08);  color: var(--success); }
.fi-3 { background: rgba(124,58, 237,.07); color: #7c3aed;        }
.fi-4 { background: rgba(245,158, 11,.08); color: var(--warning); }
.fi-5 { background: rgba(3, 184,162,.12);  color: var(--teal);    box-shadow: 0 0 12px rgba(3,184,162,.2); }
.fi-6 { background: rgba(16,185,129,.08); color: #10b981;        }

.feature-card h3,
.feature-card h5 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.feature-card small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  line-height: 1.5;
}


/* ── 12. STATS ──────────────────────────────────────────────── */
.stats-section {
  position: relative;
  background: var(--nav-dk);
  padding-block: clamp(4rem, 5vw, 6rem);
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item { position: relative; }

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.stat-num {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.stat-sfx,
.stat-pfx {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--teal);
}

.stat-lbl {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  line-height: 1.4;
  max-width: 160px;
  margin-inline: auto;
}


/* ── 13. BEFORE / AFTER ─────────────────────────────────────── */
.compare-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .compare-row { flex-wrap: nowrap; align-items: center; }
}

.compare-card {
  flex: 1;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-lg), var(--sh-inset);
  transition: transform var(--dur) var(--ease-smooth);
}
.compare-card:hover { transform: translateY(-4px); }

.compare-before { border-left: 5px solid var(--danger); }
.compare-after  {
  border-left: 5px solid var(--success);
  background: linear-gradient(160deg, rgba(16,185,129,.03) 0%, var(--surface) 100%);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.compare-badge-bad  { color: var(--danger); }
.compare-badge-good { color: var(--success); }

.compare-card blockquote {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  quotes: none;
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  opacity: 0.7;
  animation: arrow-pulse 2s ease-in-out infinite;
}
@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0);  opacity: 0.6; }
  50%       { transform: translateX(6px); opacity: 1; }
}

.compare-note {
  text-align: center;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--teal);
  margin-top: 8px;
}

.compare-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.priority-high {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--danger);
}
.compare-criterion {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}


/* ── 14. COMPARISON TABLE ───────────────────────────────────── */
.table-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xl);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
.compare-table thead tr { border-bottom: 2px solid var(--border); }
.compare-table th {
  padding: 20px 28px;
  font-size: var(--text-base);
  font-weight: 800;
  text-align: left;
}
.col-generic { color: var(--body); background: var(--bg); }
.col-evalora {
  color: var(--teal);
  background: rgba(3,184,162,.04);
  border-left: 2px solid var(--teal);
}

.th-icon { margin-right: 6px; }

.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease-smooth);
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg); }

.compare-table td {
  padding: 14px 28px;
  font-size: var(--text-sm);
  color: var(--body);
  vertical-align: middle;
}
.compare-table td:last-child {
  border-left: 2px solid rgba(3,184,162,.15);
  background: rgba(3,184,162,.025);
  font-weight: 700;
  color: var(--ink);
}

.icon-x  { color: var(--danger);  margin-right: 6px; font-weight: 800; }
.icon-ok { color: var(--success); margin-right: 6px; font-weight: 800; }

.compare-footer {
  text-align: center;
  margin-top: 24px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--body);
}


/* ── 15. FAQ ────────────────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-smooth), box-shadow var(--dur) var(--ease-smooth);
}
.faq-item[open] {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(3,184,162,.15), var(--sh-lg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--dur) var(--ease-smooth);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question { color: var(--teal); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform var(--dur) var(--ease-smooth), color var(--dur) var(--ease-smooth);
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--teal);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}
.faq-answer p {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-top: 16px;
}

/* ── 16. AUDIENCE ───────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

@media (min-width: 900px) {
  .audience-grid { grid-template-columns: repeat(5, 1fr); }
}

.aud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--sh-md), var(--sh-inset);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.aud-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), var(--sh-inset);
  border-color: rgba(3,184,162,.18);
}

.aud-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--teal-lt);
  color: var(--teal);
  margin-bottom: 16px;
  transition: transform var(--dur) var(--ease-bounce);
}
.aud-card:hover .aud-icon { transform: scale(1.12) rotate(6deg); }

.aud-card h3,
.aud-card h6 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.aud-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.55;
}


/* ── 16. PRICING ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: var(--sh-lg), var(--sh-inset);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), var(--sh-inset);
}

.price-card h3,
.price-card h5 {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}
.price-amount small {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.price-tagline {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.4;
  margin-bottom: 12px;
}


.price-proposals {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin-bottom: 18px;
}

.price-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  flex-grow: 1;
}
.price-list li {
  font-size: var(--text-sm);
  color: var(--body);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 0.85em;
}

/* Popular tier */
/* Popular card - dark navy background so all text reads clearly */
.price-popular {
  background: linear-gradient(148deg, #1c2633 0%, #2f4056 60%, #1a3545 100%);
  border: 2px solid rgba(3,184,162,.55);
  box-shadow: 0 0 0 1px rgba(3,184,162,.15), var(--sh-xl), 0 12px 48px rgba(3,184,162,.22);
}
.price-popular:hover {
  transform: translateY(-14px);
  box-shadow: 0 0 0 1px rgba(3,184,162,.25), var(--sh-xl), 0 24px 64px rgba(3,184,162,.32);
}

@media (min-width: 900px) {
  .price-popular { transform: translateY(-10px); }
  .price-popular:hover { transform: translateY(-18px); }
}

/* All text inside the dark popular card → white palette */
.price-popular h3, .price-popular h5 { color: var(--teal); }
.price-popular .price-amount       { color: #fff; }
.price-popular .price-amount small { color: rgba(255,255,255,.55); }
.price-popular .price-tagline      { color: rgba(255,255,255,.7); }
.price-popular .price-proposals    { color: var(--teal); }
.price-popular .price-list li      { color: rgba(255,255,255,.85); }
.price-popular .price-list li::before { color: #10b981; }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(90deg, var(--teal), var(--teal-dk));
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px var(--teal-glow);
  animation: badge-glow 2.5s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 4px 16px var(--teal-glow); }
  50%       { box-shadow: 0 4px 24px rgba(3,184,162,.45); }
}

/* Pricing features list */
.pricing-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  list-style: none;
  margin-top: 14px;
}
.pricing-features li {
  font-size: var(--text-sm);
  color: var(--body);
  padding-left: 18px;
  position: relative;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
  font-size: 0.85em;
}

/* Add-ons block */
.pricing-custom-note {
  margin-top: 20px;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
}
.pricing-custom-note a {
  color: var(--teal);
  text-decoration: none;
}
.pricing-custom-note a:hover { text-decoration: underline; }

.pricing-addons {
  margin-top: 48px;
  text-align: center;
}
.addons-label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.addon-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
  box-shadow: var(--sh-sm), var(--sh-inset);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.addon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md), var(--sh-inset);
}
.addon-name {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 8px;
}
.addon-price {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.addon-apps {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin-bottom: auto;
  padding-bottom: 14px;
}
.addon-credits {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--body);
  padding-left: 16px;
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.addon-credits::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 0.85em;
}

/* ── 16b. CREDITS INFO TOOLTIP ──────────────────────────────── */
.credits-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal);
  cursor: help;
  flex-shrink: 0;
  outline: none;
  transition: background var(--dur) var(--ease-smooth), transform var(--dur) var(--ease-bounce);
}
.info-icon svg { display: none; }
.info-icon::after {
  content: '?';
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  font-family: var(--font);
  line-height: 1;
  pointer-events: none;
}
.info-icon:hover,
.credits-info:hover .info-icon,
.info-icon:focus-visible {
  background: var(--teal-dk);
  transform: scale(1.2);
}

.credits-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--nav-dk);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
  transform: translateX(-50%) translateY(4px);
  box-shadow: var(--sh-lg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.credits-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--nav-dk);
}
.credits-info:hover .credits-tooltip,
.credits-info:focus-within .credits-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.ct-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.ct-label { font-size: 11px; color: rgba(255,255,255,.65); font-weight: 400; }
.ct-val   { font-size: 11px; color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; }


/* ── 17. TESTIMONIALS ───────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px 28px;
  box-shadow: var(--sh-lg), var(--sh-inset);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
/* Giant decorative quote mark */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -14px; right: 20px;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal);
  opacity: 0.08;
  pointer-events: none;
  font-family: Georgia, serif;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.12), 0 8px 32px var(--teal-glow);
  border-color: rgba(3,184,162,.2);
}

.testi-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testi-card blockquote {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--nav));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(3,184,162,.2), 0 0 0 5px rgba(3,184,162,.08);
}

.testi-footer cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testi-footer cite span {
  font-weight: 500;
  color: var(--muted);
}

/* ── 17b. TESTIMONIAL SLIDER ────────────────────────────────── */
.testi-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.testi-viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
  flex: 1 1 auto;
}

.testi-track {
  display: flex;
  transition: transform 550ms var(--ease-smooth);
  will-change: transform;
}

.testi-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide variant of .testi-card: centered, larger, no hover-lift (it's already the focal point) */
.testi-slide .testi-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 5vw, 56px);
  cursor: default;
}
.testi-slide .testi-card::before {
  left: 50%;
  right: auto;
  top: -18px;
  transform: translateX(-50%);
}
.testi-slide .testi-card:hover {
  transform: none;
  box-shadow: var(--sh-lg), var(--sh-inset);
  border-color: var(--border);
}
.testi-slide .testi-stars { justify-content: center; }
.testi-slide .testi-card blockquote { font-size: var(--text-lg); }
.testi-slide .testi-footer { justify-content: center; border-top: none; padding-top: 8px; }

.testi-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--sh-md);
  transition:
    transform var(--dur) var(--ease-bounce),
    box-shadow var(--dur) var(--ease-smooth),
    border-color var(--dur) var(--ease-smooth),
    color var(--dur) var(--ease-smooth),
    background var(--dur) var(--ease-smooth);
}
.testi-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--sh-teal);
}
.testi-arrow:active { transform: translateY(-1px) scale(0.98); }
.testi-arrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease-smooth), width var(--dur) var(--ease-smooth);
}
.testi-dot:hover { background: var(--teal-lt); }
.testi-dot.is-active {
  width: 26px;
  border-radius: var(--r-full);
  background: var(--teal);
}
.testi-dot:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

@media (max-width: 640px) {
  .testi-slider { gap: 6px; }
  .testi-arrow { width: 38px; height: 38px; }
  .testi-slide .testi-card { padding: 28px 20px; }
  .testi-slide .testi-card blockquote { font-size: var(--text-base); }
}


/* ── 18. CONTACT / DEMO ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
}

.contact-info h2 { font-size: var(--text-2xl); margin-bottom: 14px; }
.contact-info > p { font-size: var(--text-base); color: var(--body); line-height: 1.65; margin-bottom: 24px; }

.contact-list {
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--body);
}
.contact-list li svg { flex-shrink: 0; margin-top: 2px; }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--sh-xl), var(--sh-inset);
}

.demo-form { display: grid; gap: 16px; }

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) { .field-group { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--dur) var(--ease-smooth), box-shadow var(--dur) var(--ease-smooth);
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3,184,162,.14);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
}
.form-alert.success { background: var(--teal-lt); color: var(--teal-dk); border: 1px solid rgba(3,184,162,.2); }
.form-alert.error   { background: rgba(244,63,94,.08); color: #c0142a; border: 1px solid rgba(244,63,94,.2); }

/* Honeypot - off-screen, not display:none (some bots skip hidden fields
   entirely; this stays in the accessibility tree as unreachable instead,
   which is the more effective trap while remaining invisible to sighted
   users and unreachable by keyboard). */
.field-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cf-turnstile { margin-top: 2px; }


/* ── 19. FINAL CTA ──────────────────────────────────────────── */
.final-cta {
  position: relative;
  background: linear-gradient(148deg, #1c2633 0%, #2f4056 50%, #0d2030 100%);
  padding-block: clamp(5rem, 7vw, 9rem);
  text-align: center;
  overflow: hidden;
}
.final-cta .container { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-content p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.6);
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.65;
}
.cta-content .cta-row { justify-content: center; }
.cta-content small {
  display: block;
  margin-top: 20px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.35);
}


/* ── 20. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #080f18;
  padding-block: clamp(3rem, 4vw, 5rem);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer-brand { display: inline-block; margin-bottom: 24px; }
.footer-logo {
  height: 39px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease-smooth);
}
.footer-logo:hover { opacity: 1; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.45);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-smooth), background var(--dur) var(--ease-smooth);
}
.footer-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.3);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 12px;
  line-height: 1.65;
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.2);
}
.footer-copy a {
  color: var(--teal);
  transition: color var(--dur) var(--ease-smooth);
}
.footer-copy a:hover { color: var(--teal-dk); }


/* ── 21. COOKIE BANNER ──────────────────────────────────────── */
/* ── COOKIE CONSENT BANNER ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(780px, calc(100vw - 32px));
  background: rgba(15, 25, 38, 0.97);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(3, 184, 162, 0.25);
  border-radius: var(--r-xl);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.45),
    0 0 0 1px rgba(3,184,162,0.1),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 9000;
  opacity: 0;
  transition:
    opacity 0.45s cubic-bezier(0.16,1,0.3,1),
    transform 0.45s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* Teal top glow line */
.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}

.cookie-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(3,184,162,0.14);
  border: 1px solid rgba(3,184,162,0.25);
  display: grid;
  place-items: center;
  color: var(--teal);
  flex-shrink: 0;
}

.cookie-copy {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.cookie-copy p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

.cookie-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-learn {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  white-space: nowrap;
  transition: color var(--dur) var(--ease-smooth);
}
.cookie-learn:hover { color: var(--teal); }

.cookie-btn {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--r-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease-smooth);
  border: 1.5px solid transparent;
  font-family: var(--font);
}
.cookie-btn-decline {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}
.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cookie-btn-accept {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px var(--teal-glow);
}
.cookie-btn-accept:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--teal-glow);
}

@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-btns { width: 100%; justify-content: flex-end; }
  .cookie-icon-wrap { display: none; }
}


/* ── 22. REVEAL ANIMATIONS ──────────────────────────────────── */
/*
 * Robust reveal: content is ALWAYS VISIBLE by default.
 * The animation plays as enhancement when .is-visible is added by
 * IntersectionObserver. If JS/observer fails, nothing is ever hidden.
 */
html.js .reveal.is-visible {
  animation: reveal-up 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Stagger for children inside reveal-stagger containers (set via JS animationDelay) */

/* ── Hero entry - CSS animation (no JS needed, no flash) ─────── */
.hero-copy {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-visual {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}


/* ── 23. RESPONSIVE - TABLET & MOBILE ──────────────────────────────── */

/* Prevent 300ms tap delay on all interactive elements */
a, button, [role="button"], input, select, textarea, label {
  touch-action: manipulation;
}

/* Horizontal scroll safety on the comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 800px) {
  .compare-table { min-width: 460px; }
}

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {
  /* Problem cards: 2-col */
  .cards-row    { grid-template-columns: repeat(2, 1fr); }

  /* Pricing: 2-col is cleaner than auto-fit orphan rows on tablet */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-popular { transform: none; }

  /* Testimonials: 2-col */
  .testi-grid { grid-template-columns: repeat(2, 1fr); }

}

/* ── LARGE MOBILE / PHABLET (≤ 767px) ── */
@media (max-width: 767px) {
  /* Prevent compare-card min-width causing horizontal scroll */
  .compare-card { min-width: 0; }

  /* Timeline highlight: stack icon + text vertically */
  .tl-highlight { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Steps: 2-col on large phones and landscape */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  /* Audience: 2-col */
  .audience-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials: single col on phones */
  .testi-grid { grid-template-columns: 1fr; }

  /* Section spacing */
  .section { padding-block: clamp(3rem, 5vw, 5rem); }

  /* Contact form internal padding */
  .contact-form-wrap { padding: clamp(20px, 5vw, 32px); }
}

/* ── SMALL MOBILE (≤ 580px) ── */
@media (max-width: 580px) {
  .cards-row    { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-popular { transform: none; margin-top: 0; }
  .addons-grid  { grid-template-columns: 1fr; max-width: 100%; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }

  .compare-row { flex-direction: column; }
  .compare-arrow svg { transform: rotate(90deg); }

  .trust-strip { flex-direction: column; align-items: flex-start; }

  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .cta-content .cta-row { align-items: center; }
  .cta-content .btn { max-width: 320px; }

  .hero-visual { gap: 10px; }
  .compare-card { padding: 20px 18px; }
}

/* ── VERY SMALL PHONES (≤ 400px) ── */
@media (max-width: 400px) {
  .audience-grid { grid-template-columns: 1fr; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 0.08em; }
  .hero-hook { padding: 8px 14px; font-size: var(--text-xs); }
}

@media (min-width: 1440px) {
  :root { --text-base: 1.05rem; }
  .container { max-width: 1260px; }
}

@media (min-width: 1920px) {
  .container { max-width: 1380px; }
}

/* ── 24. REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-copy, .hero-visual {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ── 25. DESIGN POLISH ──────────────────────────────────────── */

/* Subtle dot-grid pattern on bg-alt sections */
.bg-alt {
  position: relative;
}
.bg-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(3,184,162,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.bg-alt > .container { position: relative; z-index: 1; }

/* Problem cards - danger icon rings */
.icon-danger {
  position: relative;
}
.icon-danger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px dashed rgba(244,63,94,.3);
  animation: spin-slow 12s linear infinite;
  pointer-events: none;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Enhanced timeline-intro with gradient accent */
.timeline-intro {
  background: linear-gradient(135deg, #ffffff 70%, rgba(3,184,162,.04) 100%);
  border-left: 3px solid var(--teal);
}

/* Audience cards - teal icon ring on hover */
.aud-card {
  position: relative;
  overflow: hidden;
}
.aud-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
.aud-card:hover::after { opacity: 1; }
.aud-icon {
  position: relative;
  z-index: 1;
  transition: transform var(--dur) var(--ease-bounce);
}
.aud-card:hover .aud-icon { transform: scale(1.12) rotate(-5deg); }

/* Before/After cards - subtle glow on hover */
.compare-card {
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.compare-after:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 8px 28px var(--teal-glow);
}
.compare-before:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 8px 24px rgba(244,63,94,.12);
}

/* Stat items - subtle top border glow */
.stat-item::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
  margin: 0 auto 18px;
}


/* Final CTA - stronger gradient with noise texture feel */
.final-cta {
  background: linear-gradient(148deg, #0d1f2e 0%, #1c2f45 40%, #0a2a35 70%, #091a28 100%);
}
.final-cta .cta-content h2 {
  font-size: var(--text-3xl);
}

/* Form inputs - teal focus ring */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3,184,162,.15);
}

/* Footer logo - slightly larger */
.footer-logo {
  height: 39px;
}

/* Scroll progress bar - gradient shimmer */
.scroll-progress {
  background: linear-gradient(90deg, var(--teal-dk), var(--teal), #10b981, var(--teal));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
}
@keyframes progress-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}


/* ═══════════════════════════════════════════════════════════════
   25. MOBILE HARDENING

   Appended last so it wins over the rules above without touching them.
   Everything here fixes something measured on a real 375px viewport:
   a squeezed logo, tap targets under the 44px guideline, text down to
   9.6px inside the hero mockup, and a drawer that ignored the notch.
═══════════════════════════════════════════════════════════════ */

/* ── The overlay must obey the hidden attribute ──────────────── */
/* The mobile block sets `display: block`, which otherwise beats the
   browser default for [hidden] and leaves the overlay in the a11y tree. */
.nav-overlay[hidden] { display: none !important; }

/* ── Logo keeps its proportions at every width ───────────────── */
/* The brand was compressing to 34x28 from a 4:1 source because both the
   link and the image were allowed to shrink inside the flex row. */
.nav-brand { flex-shrink: 0; }
.nav-logo {
  flex-shrink: 0;
  width: auto;
  height: 28px;
  max-width: none;
}

/* ── Drawer polish ──────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Respect the notch and the home indicator. */
  .nav-menu {
    padding: max(32px, env(safe-area-inset-top) + 16px)
             max(20px, env(safe-area-inset-right))
             max(40px, env(safe-area-inset-bottom) + 24px)
             20px;
    justify-content: flex-start;
    gap: 0;
  }

  /* Leave room for the close button instead of sitting under it. */
  .nav-menu .nav-links { margin-top: 56px; }

  /* 44px is the Apple and Google minimum for a touch target. */
  .nav-close {
    width: 44px;
    height: 44px;
    top: 14px;
    right: 12px;
  }
  .nav-close svg { width: 20px; height: 20px; }

  .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
  }

  .nav-cta {
    min-height: 50px;
    font-size: var(--text-base);
  }

  /* The panel scrolls on short screens in landscape. */
  .nav-menu { overscroll-behavior: contain; }
}

/* ── Readable text on small screens ─────────────────────────── */
/* The hero mockup mimics the app UI and its labels bottomed out at
   9.6px, which is below what most people can read on a phone. */
@media (max-width: 640px) {
  .hero-visual .crit-counter-badge,
  .hero-visual .hero-rec-desc,
  .hero-visual .ct-label,
  .hero-visual .ct-val { font-size: 0.78rem; }

  .hero-visual [class*="badge"],
  .hero-visual [class*="tag"],
  .hero-visual [class*="chip"] { font-size: 0.72rem; }

  /* Nothing decorative should force the page wider than the screen. */
  .hero-visual { max-width: 100%; }
}

/* ── Comfortable tap targets across the page ────────────────── */
@media (max-width: 900px) {
  .btn { min-height: 48px; }
  .btn-sm { min-height: 44px; }

  /* Footer and inline links sit close together on a phone. */
  .footer-nav a,
  .site-footer a { padding-block: 6px; display: inline-block; }
}

/* ── Safe-area padding for the page itself ──────────────────── */
@supports (padding: max(0px)) {
  @media (max-width: 900px) {
    .container {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }
  }
}

/* ── Guard against accidental sideways scroll ───────────────── */
/* A single overflowing decoration otherwise lets the whole page slide,
   which reads as broken on a phone. */
html, body { overflow-x: clip; }
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* ── The last few labels that fell below a readable size ────── */
@media (max-width: 640px) {
  .eyebrow          { font-size: 0.75rem; }
  .hero-eval-label  { font-size: 0.75rem; }
  .priority-high,
  .priority-medium,
  .priority-low     { font-size: 0.72rem; }
}

/* ── Drawer opens on the compositor, not on the main thread ──── */
/* A full-screen backdrop-filter over a 19,000px document costs Safari
   hundreds of milliseconds per frame, which showed up as the panel
   lagging a beat behind the tap. The blur is gone and both layers are
   promoted with translateZ so the slide and the fade never touch layout.

   `will-change` is deliberately absent: it holds a compositor layer for
   as long as it is set, and translateZ already gives these two elements
   the layer they need without keeping two full-screen surfaces alive on
   every page for the life of the session. */
@media (max-width: 900px) {
  .nav-menu {
    transform: translateX(100%) translateZ(0);
    backface-visibility: hidden;
    contain: layout paint;
  }
  .nav-menu.is-open { transform: translateX(0) translateZ(0); }

  .nav-overlay {
    transform: translateZ(0);
    backface-visibility: hidden;
    /* Never intercept taps while it is fading out. */
    pointer-events: none;
  }
  .nav-overlay.is-open { pointer-events: auto; }

  /* The page underneath is held still by a touchmove guard in app.js, not
     by pinning the body. This just stops the rubber-band at the edges,
     which on iOS would otherwise drag the whole page behind the panel. */
  html.nav-open,
  html.nav-open body {
    overscroll-behavior: none;
  }
}

/* The sticky bar blurs whatever scrolls under it, which is the one
   backdrop-filter worth keeping. It is not worth keeping while the
   drawer is open and the page behind is frozen. */
@media (max-width: 900px) {
  .site-nav.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ════════════════════════════════════
   WATCH IT WORK - YouTube facades
   The iframe is only created on click, so nothing is requested from
   YouTube (and no cookies are set) until someone actually presses play.
════════════════════════════════════ */
.vid-block {
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
.vid-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}
.vid-head h3 {
  font-size: var(--text-xl);
  margin-top: 14px;
}
.vid-head p {
  font-size: var(--text-sm);
  color: var(--body);
  margin-top: 10px;
}
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .vid-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}
.vid-card h4 {
  font-size: var(--text-base);
  margin-top: 16px;
}
.vid-card p {
  font-size: var(--text-sm);
  color: var(--body);
  margin-top: 6px;
}
.vid-embed {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--nav-dk);
  cursor: pointer;
  box-shadow: var(--sh-lg);
  transition: transform var(--dur) var(--ease-smooth), box-shadow var(--dur) var(--ease-smooth);
}
.vid-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vid-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vid-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: var(--r-full);
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-teal);
  transition: transform var(--dur) var(--ease-bounce), background var(--dur) var(--ease-smooth);
}
.vid-play svg { margin-left: 3px; }
.vid-embed:hover { transform: translateY(-3px); box-shadow: var(--sh-xl); }
.vid-embed:hover .vid-play { transform: translate(-50%, -50%) scale(1.08); background: var(--teal-dk); }
.vid-embed:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.vid-embed.is-playing { cursor: default; }
.vid-embed.is-playing:hover { transform: none; box-shadow: var(--sh-lg); }
.vid-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .vid-embed, .vid-play { transition: none; }
  .vid-embed:hover { transform: none; }
}

/* ════════════════════════════════════
   FOOTER SOCIAL
════════════════════════════════════ */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  margin-bottom: 26px;
}
.footer-social-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur) var(--ease-smooth),
              border-color var(--dur) var(--ease-smooth),
              transform var(--dur) var(--ease-smooth);
}
.social-btn svg { flex: none; opacity: .9; }
@media (max-width: 420px) {
  .social-btn { flex-direction: column; gap: 6px; padding: 12px 14px; font-size: var(--text-xs); }
}
.social-btn:hover {
  background: rgba(3,184,162,.18);
  border-color: var(--teal);
  transform: translateY(-2px);
}
.social-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* "More videos on YouTube" under the video grid */
.vid-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.vid-actions .btn { gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  .social-btn { transition: none; }
  .social-btn:hover { transform: none; }
}

/* ════════════════════════════════════
   TUTORIALS PAGE (/tutorials) and the homepage teaser
   Same click-to-play facade as the videos above: nothing is requested
   from YouTube until someone presses play.
════════════════════════════════════ */
.tut-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(1100px 620px at 18% 0%, #1b3246 0%, #111c29 55%, #0b1119 100%);
  padding: clamp(7.5rem, 6rem + 6vw, 10rem) 0 clamp(8rem, 7rem + 5vw, 11rem);
}
.tut-hero-glow {
  position: absolute; right: -220px; bottom: -380px; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(3,184,162,.30), rgba(3,184,162,0) 100%);
  pointer-events: none;
}
.tut-hero .container { position: relative; }
.tut-crumb { display: flex; gap: 8px; font-size: var(--text-xs); color: rgba(255,255,255,.55); margin-bottom: 22px; }
.tut-crumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.tut-crumb a:hover { color: #5eead4; }
.tut-eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #5eead4; border: 1px solid rgba(3,184,162,.45); background: rgba(3,184,162,.10);
  padding: 8px 16px; border-radius: var(--r-full);
}
.tut-hero h1 {
  font-size: var(--text-hero); font-weight: 900; letter-spacing: -.03em; line-height: 1.05;
  margin-top: 20px; max-width: 820px; color: #fff;
}
.tut-lead { font-size: var(--text-lg); color: #b4c2d3; margin-top: 18px; max-width: 680px; line-height: 1.6; }
.tut-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding: 0; list-style: none; }
.tut-facts li {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: var(--r-full);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #d6e0ea; font-size: var(--text-sm); font-weight: 500;
}
.tut-facts b { color: #fff; font-weight: 800; }

.tut-main { margin-top: clamp(-7rem, -5rem - 3vw, -5rem); position: relative; z-index: 2; padding-bottom: clamp(3rem, 5vw, 5rem); }
.tut-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
@media (max-width: 1080px) { .tut-layout { grid-template-columns: 1fr; } }

.tut-player {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-xl); overflow: hidden; background: #0b1119;
  box-shadow: 0 40px 90px rgba(11,17,25,.35), 0 0 0 1px rgba(255,255,255,.06);
}
.tut-player img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tut-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-play {
  position: absolute; left: clamp(14px, 2.4vw, 26px); bottom: clamp(14px, 2.4vw, 26px);
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: var(--r-full);
  background: var(--teal); color: #fff; box-shadow: 0 12px 34px rgba(3,184,162,.45);
  transition: transform var(--dur) var(--ease-bounce), background var(--dur) var(--ease-smooth);
}
.tut-play span { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.tut-play svg { margin-left: 2px; }
.tut-play em { font-style: normal; font-weight: 700; font-size: var(--text-sm); }
.tut-player:hover .tut-play { transform: scale(1.05); background: var(--teal-dk); }
.tut-player:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.tut-player.is-playing { cursor: default; }

.tut-now { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.tut-now-text { flex: 1 1 380px; min-width: 0; }
.tut-now-num { font-size: var(--text-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.tut-now h2 { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; color: var(--ink); }
.tut-now p { color: var(--body); margin-top: 8px; font-size: var(--text-base); line-height: 1.6; max-width: 640px; }
.tut-now-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tut-now-actions .btn { gap: 8px; }

.tut-list {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); overflow: hidden;
}
@media (min-width: 1081px) { .tut-list { position: sticky; top: 96px; } }
.tut-list-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.tut-list-head h2 { font-size: var(--text-base); font-weight: 700; color: var(--ink); }
.tut-list-head a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 700; color: var(--teal); text-decoration: none; }
.tut-list ol { list-style: none; margin: 0; padding: 8px; }
.tut-item {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 9px; border: 0; background: transparent;
  border-radius: var(--r-md); cursor: pointer; text-align: left; font: inherit;
  transition: background var(--dur) var(--ease-smooth);
}
.tut-item:hover { background: var(--teal-lt); }
.tut-item.is-active { background: rgba(3,184,162,.10); box-shadow: inset 0 0 0 1px rgba(3,184,162,.35); }
.tut-item:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.tut-thumb { position: relative; width: 92px; flex: none; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #0b1119; }
.tut-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tut-thumb b { position: absolute; left: 5px; bottom: 4px; font-size: 10px; font-weight: 800; color: #fff; background: rgba(11,17,25,.78); padding: 1px 5px; border-radius: 4px; }
.tut-item.is-active .tut-thumb { box-shadow: 0 0 0 2px var(--teal); }
.tut-item-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tut-item-title { font-size: var(--text-sm); font-weight: 600; color: var(--ink); line-height: 1.3; }
.tut-item-dur { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-xs); color: var(--muted); }

.tut-grid-wrap { padding-bottom: var(--section); }
.tut-grid-head { font-size: var(--text-xl); font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 26px; }
.tut-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1080px) { .tut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tut-grid { grid-template-columns: 1fr; } }
.tut-card-media {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; background: #0b1119; cursor: pointer; box-shadow: var(--sh-md);
  transition: transform var(--dur) var(--ease-smooth), box-shadow var(--dur) var(--ease-smooth);
}
.tut-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tut-card-media:hover { transform: translateY(-3px); box-shadow: var(--sh-xl); }
.tut-card-media:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.tut-card-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-teal); opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
.tut-card-play svg { margin-left: 2px; }
.tut-card-media:hover .tut-card-play, .tut-card-media:focus-visible .tut-card-play { opacity: 1; }
.tut-card-dur { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(11,17,25,.8); padding: 2px 7px; border-radius: 5px; }
.tut-card-num { display: block; margin-top: 14px; font-size: var(--text-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.tut-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--ink); margin-top: 4px; line-height: 1.3; }
.tut-card p { font-size: var(--text-sm); color: var(--body); margin-top: 6px; line-height: 1.55; }

/* Homepage teaser under "Why Evalora?" */
.tut-teaser {
  margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #16283a 0%, #0f1a26 60%, #0b1119 100%); box-shadow: var(--sh-xl);
}
.tut-teaser::after {
  content: ''; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(3,184,162,.28), rgba(3,184,162,0)); pointer-events: none;
}
.tut-teaser > * { position: relative; z-index: 1; }
.tut-teaser h3 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -.02em; color: #fff; margin-top: 12px; }
.tut-teaser p { color: #b4c2d3; margin-top: 8px; font-size: var(--text-sm); max-width: 560px; }
.tut-teaser .btn { margin-top: 18px; gap: 8px; }
.tut-strip { display: grid; grid-template-columns: repeat(4, 96px); gap: 8px; }
.tut-strip a { display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); transition: transform var(--dur) var(--ease-smooth); }
.tut-strip a:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--teal); }
.tut-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .tut-teaser { grid-template-columns: 1fr; }
  .tut-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .tut-play, .tut-card-media, .tut-card-play, .tut-strip a, .tut-item { transition: none; }
}

/* ── Hero H1 carries the keyword line in the eyebrow style ───── */
h1.eyebrow { line-height: inherit; font-family: inherit; }

/* ── Homepage guides (internal links to the blog) ───────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
@media (min-width: 900px) {
  .guides-grid { grid-template-columns: repeat(3, 1fr); }
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--sh-md), var(--sh-inset);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), var(--sh-inset);
  border-color: rgba(3,184,162,.25);
}
.guide-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.guide-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 14px;
}
.guide-card .guide-more {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--teal-dk);
}
.guides-foot { text-align: center; margin-top: 28px; }
.guides-foot a { font-weight: 700; color: var(--teal-dk); }
