/* ===================================================
   SQUARED AWAY LANDING PAGE — Brand System
   =================================================== */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;900&family=Inter:wght@400;500;600&display=swap');

/* --- TOKENS --- */
:root {
  /* Brand Colors */
  --brand-green:   #39D353;
  --brand-purple:  #7C3AED;
  --brand-gold:    #F0C94E;
  --brand-dark:    #1C2733;
  --brand-light:   #EAF1F4;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem + 0.25vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw,  1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw,    1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem + 1.25vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem + 2.5vw,   3.5rem);
  --text-hero: clamp(3rem,     1.5rem + 5vw,     6rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --content-default: 1100px;
  --content-narrow:  680px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   150ms var(--ease-out);
  --t-base:   220ms var(--ease-out);
  --t-slow:   380ms var(--ease-out);

  /* Fonts */
  --font-display: 'Orbitron', 'Courier New', monospace;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* --- DARK THEME (default per brand) --- */
:root,
[data-theme="dark"] {
  --color-bg:              #1C2733;
  --color-bg-rgb:          28, 39, 51;
  --color-surface:         #283848;
  --color-surface-2:       #22303E;
  --color-surface-offset:  #1A2530;
  --color-border:          #35485A;
  --color-divider:         #243342;
  --color-text:            #EAF1F4;
  --color-text-muted:      #A9C3D4;
  --color-text-faint:      #6B8A9E;
  --color-primary:         #39D353;
  --color-primary-rgb:     57, 211, 83;
  --color-primary-hover:   #5CE075;
  /* Were three hardcoded literals in landing.ejs's inline alert/link
     styles (#10b981/#ef4444 and their rgba() decompositions) — added
     here, matching those values exactly, so they're a real token
     instead of a duplicated magic number. */
  --color-success:         #10b981;
  --color-success-rgb:     16, 185, 129;
  --color-danger:          #ef4444;
  --color-danger-rgb:      239, 68, 68;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 60px rgba(57,211,83,0.15);
}

[data-theme="light"] {
  --color-bg:              #f5f5f4;
  --color-bg-rgb:          245, 245, 244;
  --color-surface:         #ffffff;
  --color-surface-2:       #fafaf9;
  --color-surface-offset:  #f0f0ee;
  --color-border:          #e2e2e0;
  --color-divider:         #eaeaea;
  --color-text:            #111111;
  --color-text-muted:      #666666;
  --color-text-faint:      #aaaaaa;
  --color-primary:         #1ea33a;
  --color-primary-rgb:     30, 163, 58;
  --color-primary-hover:   #178a30;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 60px rgba(57,211,83,0.08);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f5f5f4;
    --color-bg-rgb:         245, 245, 244;
    --color-surface:        #ffffff;
    --color-surface-2:      #fafaf9;
    --color-surface-offset: #f0f0ee;
    --color-border:         #e2e2e0;
    --color-divider:        #eaeaea;
    --color-text:           #111111;
    --color-text-muted:     #666666;
    --color-text-faint:     #aaaaaa;
    --color-primary:        #1ea33a;
    --color-primary-rgb:    30, 163, 58;
    --color-primary-hover:  #178a30;
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 60px rgba(57,211,83,0.08);
  }
}

/* --- BASE RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  min-height: 100dvh;
  transition: background var(--t-slow), color var(--t-slow);
}
img, svg { display: block; max-width: 100%; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1,h2,h3,h4 { line-height: 1.1; font-family: var(--font-display); }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(57,211,83,0.25); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

/* --- LAYOUT UTILS --- */
.container {
  width: min(var(--content-default), 100% - var(--space-8));
  margin-inline: auto;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-base);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--color-primary);
  color: #0D0D0D;
}
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-text-muted); color: var(--color-text); }
.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }
.btn-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--t-fast);
}
.btn-icon:hover { background: var(--color-surface-offset); color: var(--color-text); }
/* Extra separation from the Sign in/Start free pair — .nav__actions'
   shared gap alone reads as "one more item in the row" rather than a
   distinct control, so the toggle needs its own breathing room. */
[data-theme-toggle] { margin-right: var(--space-4); }

/* --- SECTION LABELS --- */
.section-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.section-heading {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 18ch;
}
.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-12);
}

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--color-bg-rgb), 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--t-base), background var(--t-slow);
}
.nav--scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  height: 64px;
  width: min(var(--content-default), 100% - var(--space-8));
  margin-inline: auto;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: opacity var(--t-fast);
}
.nav__logo:hover { opacity: 0.8; }
.nav__logo-img {
  display: block;
  height: 44px;
  width: auto;
  border-radius: var(--radius-md);
  /* the PNG bakes in its own dark backdrop — a hairline border keeps it
     reading as a badge on the light theme instead of a floating dark slab */
  border: 1px solid var(--color-divider);
}
.nav__brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
}
.nav__links {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--color-text); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* --- SECTION RHYTHM --- */
/* Extra breathing room between major page sections, on top of each
   section's own padding (~40-80px depending on viewport). */
main > section + section {
  margin-top: clamp(2.5rem, 4vw, 5rem);
}

/* --- HERO --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-20), 10vw, var(--space-32)) 0 clamp(var(--space-16), 8vw, var(--space-24));
}
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(57,211,83,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero__text {
  min-width: 0;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__heading {
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}
.text-accent { color: var(--color-primary); }
.hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.hero__social-proof {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.hero__preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

/* --- HERO SLIDESHOW --- */
.hero-slideshow {
  position: relative;       /* anchor for the absolutely-positioned images inside */
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;      /* reserves square space so the page doesn't jump while loading */
  animation: float 6s ease-in-out infinite;
}
.hero-slideshow img {
  position: absolute;       /* stack all 5 images in the same spot */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;               /* everyone hidden by default... */
  transition: opacity 0.9s ease;
}
.hero-slideshow img.is-active {
  opacity: 1;               /* ...except the one JS marks active */
}

/* --- HERO VIDEO (replaces slideshow) --- */
.hero-video {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;             /* screen-recording ratio; adjust if your source differs */
  object-fit: cover;                 /* fill the frame cleanly, crop edges if needed */
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  background: var(--color-surface);  /* shows while the first frame loads */
  animation: float 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { animation: none; }   /* respect OS "reduce motion" setting */
}

/* --- 3-STEPS STRIP --- */
.steps-strip {
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--color-border);
}
.steps-strip__heading {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
  margin-bottom: var(--space-10);
  letter-spacing: -0.01em;
}
.steps-strip__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.step-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
}
.step-card__num {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.12);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
}
.step-card__icon {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  margin: var(--space-4) auto var(--space-4);
}
.step-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}
.step-card__body {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 720px) {
  .steps-strip__grid { grid-template-columns: 1fr; }
}

/* --- CHECKLIST CARDS --- */
.checklist-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  animation: float 6s ease-in-out infinite;
}
.checklist-card--sm {
  animation: float 6s ease-in-out infinite reverse;
  animation-delay: -3s;
  opacity: 0.85;
  transform: translateX(var(--space-4));
  max-width: calc(100% - var(--space-4));
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.checklist-card--sm {
  animation: float-sm 6s ease-in-out infinite reverse;
  animation-delay: -3s;
}
@keyframes float-sm {
  0%,100% { transform: translateX(var(--space-4)) translateY(0); }
  50% { transform: translateX(var(--space-4)) translateY(-6px); }
}
.checklist-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.checklist-card__icon {
  width: 26px; height: 26px;
  background: color-mix(in srgb, var(--color-primary) 15%, transparent);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.checklist-card__icon--purple {
  background: color-mix(in srgb, #7C3AED 15%, transparent);
  color: #7C3AED;
}
[data-theme="dark"] .checklist-card__icon--purple { color: #a78bfa; background: rgba(124,58,237,0.2); }
.checklist-card__recur {
  margin-left: auto;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.checklist-card__recur--purple {
  color: #7C3AED;
  background: rgba(124,58,237,0.1);
}
[data-theme="dark"] .checklist-card__recur--purple { color: #a78bfa; background: rgba(124,58,237,0.2); }
.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.checklist-items li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.checklist-items li.checked {
  color: var(--color-text-faint);
  text-decoration: line-through;
}
.checklist-items li.checked svg { color: var(--color-primary); }
.checklist-items li.checking {
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}
.checklist-items li.checking svg { color: var(--color-primary); }
.check-box {
  width: 14px; height: 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.check-box--active {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.check-box--done {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-bg);
}
.checklist-card--demo { cursor: default; }
.checklist-card__hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
  font-style: italic;
}
.checklist-items[data-demo-list] li {
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.checklist-items[data-demo-list] li:hover {
  background: color-mix(in srgb, var(--color-primary) 6%, transparent);
  color: var(--color-text);
}
.checklist-items[data-demo-list] .check-box:not(.check-box--done):hover {
  border-color: var(--color-primary);
}
.checklist-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
}

/* --- INDUSTRIES --- */
.industries {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--t-fast);
}
.industry-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.industry-card:hover .industry-card__icon { transform: scale(1.08); }
.industry-card__icon { font-size: var(--text-2xl); display: block; margin-bottom: var(--space-3); transition: transform var(--t-fast); }
.industry-card__icon img { width: 4.5rem; height: 4.5rem; object-fit: contain; }
.industry-card h3 { font-size: var(--text-base); color: var(--color-text); margin-bottom: var(--space-1); }
.industry-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

.industries-layout { display: flex; flex-direction: column; gap: var(--space-8); }
.industries-visuals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}
.industries-visual {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: block;
}

/* --- REASSURANCE --- */
.reassurance {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  text-align: center;
  border-block: 1px solid var(--color-divider);
}
.reassurance__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}
.reassurance-list {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}
.reassurance-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.reassurance-list li svg { color: var(--color-primary); flex-shrink: 0; }

/* --- FEATURES --- */
.features {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--t-base);
}
.feature-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
}
.feature-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.feature-card--large {
  grid-column: span 2;
}
.feature-card--accent {
  background: rgba(var(--color-primary-rgb), 0.08);
  border-color: rgba(var(--color-primary-rgb), 0.25);
}
.feature-card__icon {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
  transition: transform var(--t-fast);
}
.feature-card__icon img {
  width: 28px; height: 28px;
  object-fit: contain;
}
.feature-card__icon--purple {
  background: rgba(124,58,237,0.12);
  color: #7C3AED;
}
.feature-card__icon--gold {
  background: rgba(240,201,78,0.12);
  color: #d4a017;
}
[data-theme="dark"] .feature-card__icon--purple { color: #a78bfa; }
[data-theme="dark"] .feature-card__icon--gold { color: var(--brand-gold); }
.feature-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.feature-card__visual {
  margin-top: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.feature-card__visual--image img {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 40px rgba(var(--color-primary-rgb), 0.18));
}
.schedule-demo { display: flex; flex-direction: column; gap: var(--space-2); }
.sched-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}
.sched-row.active {
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
  color: var(--color-primary);
  font-weight: 600;
}
.sched-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.sched-dot--purple { background: #7C3AED; }
[data-theme="dark"] .sched-dot--purple { background: #a78bfa; }
.sched-dot--gold { background: #d4a017; }
[data-theme="dark"] .sched-dot--gold { background: var(--brand-gold); }

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-divider);
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: var(--space-12);
  position: relative;
}
.step {
  flex: 1;
  padding: var(--space-6);
}
.step__connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--brand-purple));
  align-self: center;
  margin-top: -var(--space-8);
  position: relative;
  top: -24px;
  opacity: 0.5;
}
.step__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.step__icon {
  width: 52px; height: 52px;
  background: color-mix(in srgb, var(--color-primary) 12%, transparent);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.how-it-works__visual {
  margin-top: var(--space-12);
  text-align: center;
}
.how-it-works__visual img {
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--t-base);
}
.testimonial:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testimonial--featured {
  background: rgba(var(--color-primary-rgb), 0.06);
  border-color: rgba(var(--color-primary-rgb), 0.2);
}
.testimonial p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  font-style: italic;
}
.testimonial--featured p { color: var(--color-text); }
.testimonial footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial footer strong { font-size: var(--text-sm); color: var(--color-text); font-style: normal; }
.testimonial footer span { font-size: var(--text-xs); color: var(--color-text-faint); font-style: normal; }

/* --- PRICING --- */
.pricing {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-surface);
  border-block: 1px solid var(--color-divider);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}
.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: all var(--t-base);
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-glow);
}
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #0D0D0D;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-card__header { margin-bottom: var(--space-6); }
.pricing-card__header h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-text);
}
.price-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-card__header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.pricing-features svg { color: var(--color-primary); flex-shrink: 0; }
.pricing-note {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* --- FAQ --- */
.faq-hero {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0 clamp(var(--space-10), 5vw, var(--space-16));
  text-align: center;
}
.faq-hero .hero__badge { margin-inline: auto; }
.faq-hero__heading {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin: var(--space-4) 0;
}
.faq-hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
}
.container--narrow {
  width: min(var(--content-narrow), 100% - var(--space-8));
  margin-inline: auto;
}
.faq-section {
  padding: clamp(var(--space-10), 5vw, var(--space-16)) 0;
}
.faq-section .section-heading { max-width: none; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: border-color var(--t-fast);
}
.faq-item:hover { border-color: var(--color-text-faint); }
.faq-item[open] { border-color: var(--color-primary); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--color-primary); text-decoration: underline; }

/* --- FINAL CTA --- */
.cta-final {
  padding: clamp(var(--space-20), 10vw, var(--space-32)) 0;
}
.cta-final__inner {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}
.cta-final__heading {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  margin-top: var(--space-6);
  color: var(--color-text);
}
.cta-final p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-16) 0 var(--space-8);
}
.footer__top {
  display: flex;
  /* With only one link column (Product), space-between stretched brand
     and links to opposite edges with a large dead gap between — looks
     sparse rather than balanced. flex-start keeps them together on the
     left, which also degrades gracefully if more columns come back later. */
  justify-content: flex-start;
  align-items: flex-start;
  gap: var(--space-16);
  flex-wrap: wrap;
  padding-bottom: var(--space-12);
}
.footer__logo-img {
  display: block;
  height: 44px;
  width: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.footer__tagline {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}
.footer__cols {
  display: flex;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 100px;
}
.footer__col h4 {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--color-text); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  flex-wrap: wrap;
}
.footer__social {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}
.footer__social a {
  color: var(--color-text-faint);
  display: inline-flex;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover {
  color: var(--brand-green);
  transform: translateY(-2px);
}
.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__text { grid-column: 1; }
  .hero__preview { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: var(--space-2); }
  .step__connector { width: 2px; height: 40px; align-self: flex-start; margin-left: var(--space-8); top: 0; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* --- SQUARED AWAY NAV LOGO UPDATES --- */
.nav__sa-mark {
  flex-shrink: 0;
}
.nav__brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav__brand {
  font-family: 'Raleway', var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-text);
  line-height: 1;
}
.nav__tagline {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1;
}

/* --- FREE TRIAL BANNER SECTION --- */
.trial-banner {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  background: linear-gradient(135deg,
    rgba(var(--color-primary-rgb), 0.08) 0%,
    var(--color-bg) 60%
  );
  border-block: 1px solid rgba(var(--color-primary-rgb), 0.2);
  position: relative;
  overflow: hidden;
}
.trial-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(57,211,83,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.trial-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.trial-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(var(--color-primary-rgb), 0.1);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  width: fit-content;
}
.trial-banner__heading {
  font-family: 'Raleway', var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.trial-banner__body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.trial-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.trial-banner__right {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-shrink: 0;
}
.trial-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
}
.trial-stat__num {
  font-family: 'Raleway', var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.trial-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.trial-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

/* --- FOOTER NAME/TAGLINE --- */
.footer__name {
  display: block;
  font-family: 'Raleway', var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text);
  line-height: 1.2;
}
.footer__tagline-text {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 500;
}

/* --- TRIAL BANNER RESPONSIVE --- */
@media (max-width: 768px) {
  .trial-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .trial-banner__right {
    width: 100%;
    justify-content: space-between;
    gap: var(--space-4);
  }
  .trial-stat__num {
    font-size: 2rem;
  }
}

/* --- UNAVAILABLE PRICING FEATURE --- */
.pricing-feature--unavailable {
  opacity: 0.4;
  text-decoration: line-through;
}
.pricing-feature--unavailable svg {
  color: var(--color-text-faint);
}

/* --- HOW IT WORKS ANIMATION: STEP 2 --- */
.schedule-stage { width: 100%; display: grid; place-items: center; padding: clamp(18px, 4vw, 56px); }
.schedule-art { width: min(100%, 700px); height: auto; overflow: visible; }
.calendar-shell, .calendar-shadow, .calendar-panel, .selection-one, .selection-two, .selection-three, .tick-one, .tick-two, .tick-three, .cursor-one, .cursor-two, .cursor-three, .pulse-one, .pulse-two, .pulse-three, .repeat-group, .saved-state { transform-box: fill-box; transform-origin: center; }
.calendar-shell { animation: shell-enter 7.4s cubic-bezier(.22,.8,.25,1) infinite; }
.calendar-shadow { animation: shadow-enter 7.4s ease-in-out infinite; }
.calendar-panel { animation: panel-open 7.4s cubic-bezier(.2,.82,.25,1) infinite; }
.selection-one { animation: select-one 7.4s ease-out infinite; }
.selection-two { animation: select-two 7.4s ease-out infinite; }
.selection-three { animation: select-three 7.4s ease-out infinite; }
.tick-one { animation: tick-one 7.4s cubic-bezier(.2,1.25,.35,1) infinite; }
.tick-two { animation: tick-two 7.4s cubic-bezier(.2,1.25,.35,1) infinite; }
.tick-three { animation: tick-three 7.4s cubic-bezier(.2,1.25,.35,1) infinite; }
.cursor-one { animation: cursor-one 7.4s cubic-bezier(.2,.8,.2,1) infinite; }
.cursor-two { animation: cursor-two 7.4s cubic-bezier(.2,.8,.2,1) infinite; }
.cursor-three { animation: cursor-three 7.4s cubic-bezier(.2,.8,.2,1) infinite; }
.pulse-one { animation: pulse-one 7.4s ease-out infinite; }
.pulse-two { animation: pulse-two 7.4s ease-out infinite; }
.pulse-three { animation: pulse-three 7.4s ease-out infinite; }
.repeat-group { animation: repeat-spin 7.4s ease-in-out infinite; }
.saved-state { animation: saved-state 7.4s cubic-bezier(.2,1.15,.35,1) infinite; }
@keyframes shell-enter { 0%, 4% { opacity: 0; transform: translateY(20px) scale(.95); } 12%, 88% { opacity: 1; transform: translateY(0) scale(1); } 97%, 100% { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes shadow-enter { 0%, 4% { opacity: 0; transform: scale(.78); } 12%, 88% { opacity: .28; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.86); } }
@keyframes panel-open { 0%, 11% { opacity: 0; transform: translateY(22px) scaleY(.88); } 18%, 88% { opacity: 1; transform: translateY(0) scaleY(1); } 97%, 100% { opacity: 0; } }
@keyframes select-one { 0%, 25% { fill: #17221f; stroke: rgba(255,255,255,.14); } 29%, 88% { fill: #22c55e; stroke: #22c55e; } 97%, 100% { fill: #17221f; stroke: rgba(255,255,255,.14); } }
@keyframes select-two { 0%, 38% { fill: #17221f; stroke: rgba(255,255,255,.14); } 42%, 88% { fill: #22c55e; stroke: #22c55e; } 97%, 100% { fill: #17221f; stroke: rgba(255,255,255,.14); } }
@keyframes select-three { 0%, 51% { fill: #17221f; stroke: rgba(255,255,255,.14); } 55%, 88% { fill: #22c55e; stroke: #22c55e; } 97%, 100% { fill: #17221f; stroke: rgba(255,255,255,.14); } }
@keyframes tick-one { 0%, 28% { opacity: 0; transform: scale(.25); } 32%, 88% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.25); } }
@keyframes tick-two { 0%, 41% { opacity: 0; transform: scale(.25); } 45%, 88% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.25); } }
@keyframes tick-three { 0%, 54% { opacity: 0; transform: scale(.25); } 58%, 88% { opacity: 1; transform: scale(1); } 97%, 100% { opacity: 0; transform: scale(.25); } }
@keyframes cursor-one { 0%, 17% { opacity: 0; transform: translate(82px,46px) scale(.82); } 21%, 25% { opacity: 1; transform: translate(0,0) scale(1); } 27% { opacity: 1; transform: translate(2px,3px) scale(.92); } 31%, 100% { opacity: 0; transform: translate(12px,12px) scale(.84); } }
@keyframes cursor-two { 0%, 30% { opacity: 0; transform: translate(76px,40px) scale(.82); } 34%, 38% { opacity: 1; transform: translate(0,0) scale(1); } 40% { opacity: 1; transform: translate(2px,3px) scale(.92); } 44%, 100% { opacity: 0; transform: translate(12px,12px) scale(.84); } }
@keyframes cursor-three { 0%, 43% { opacity: 0; transform: translate(72px,34px) scale(.82); } 47%, 51% { opacity: 1; transform: translate(0,0) scale(1); } 53% { opacity: 1; transform: translate(2px,3px) scale(.92); } 57%, 100% { opacity: 0; transform: translate(12px,12px) scale(.84); } }
@keyframes pulse-one { 0%, 23% { opacity: 0; transform: scale(.35); } 26% { opacity: .9; transform: scale(.62); } 31%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes pulse-two { 0%, 36% { opacity: 0; transform: scale(.35); } 39% { opacity: .9; transform: scale(.62); } 44%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes pulse-three { 0%, 49% { opacity: 0; transform: scale(.35); } 52% { opacity: .9; transform: scale(.62); } 57%, 100% { opacity: 0; transform: scale(1.45); } }
@keyframes repeat-spin { 0%, 60% { transform: rotate(0deg); } 69% { transform: rotate(360deg); } 88%, 100% { transform: rotate(360deg); } }
@keyframes saved-state { 0%, 69% { opacity: 0; transform: scale(.45); } 74%, 88% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) {
  .calendar-shell, .calendar-shadow, .calendar-panel, .selection-one, .selection-two, .selection-three, .tick-one, .tick-two, .tick-three, .repeat-group, .saved-state { animation: none !important; }
  .calendar-shell, .calendar-shadow, .calendar-panel, .tick-one, .tick-two, .tick-three, .saved-state { opacity: 1; }
  .selection-one, .selection-two, .selection-three { fill: #22c55e; stroke: #22c55e; }
  .cursor-one, .cursor-two, .cursor-three, .pulse-one, .pulse-two, .pulse-three { display: none; }
}

/* --- INLINE STYLES EXTRACTED --- */
.w-33 { width: 33%; }
.w-66 { width: 66%; }
.w-100 { width: 100%; }
.step-image {
  width: 100%;
  border-radius: 8px;
  margin-top: 16px;
  display: block;
}
.why-built {
  padding: 96px 0;
}
.container-narrow {
  max-width: 680px;
}
.text-center {
  text-align: center;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-40 {
  margin-bottom: 40px;
}
.founder-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px 36px;
  margin-top: 32px;
}
.founder-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}
.founder-card p:last-child {
  margin: 0;
}
.founder-card a {
  color: var(--color-primary);
}
.contact-section {
  padding: 80px 0;
}
.container-contact {
  max-width: 560px;
}
.contact-alert-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  color: #10b981;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.contact-alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 12px;
  padding: 20px 24px;
  color: #ef4444;
  font-weight: 500;
  margin-bottom: 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  color: var(--color-text);
  font-family: inherit;
  box-sizing: border-box;
}
textarea.contact-input {
  resize: vertical;
}
.contact-submit {
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 1rem;
}

/* ===================================================
   MOTION LAYER — premium, subtle animation system.
   Overrides live at the end of the sheet so the base
   design above stays untouched. Transform/opacity only.
   =================================================== */

:root {
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 700ms;
}

/* --- AMBIENT PAGE BACKGROUND (slow-drifting radial glow) --- */
body::before {
  content: '';
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(640px circle at 30% 25%, rgba(var(--color-primary-rgb), 0.06), transparent 65%);
  animation: bg-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bg-drift {
  0%   { transform: translate3d(-4%, -3%, 0) scale(1); }
  50%  { transform: translate3d(5%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 6%, 0) scale(1); }
}

/* --- HERO ENTRANCE (headline → paragraph → CTAs, 150ms apart) --- */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge,
.hero__heading,
.hero__sub,
.hero__cta,
.hero__social-proof,
.hero__preview {
  animation: hero-rise var(--reveal-duration) var(--ease-reveal) both;
}
.hero__badge        { animation-delay: 0ms; }
.hero__heading      { animation-delay: 100ms; }
.hero__sub          { animation-delay: 250ms; }
.hero__cta          { animation-delay: 400ms; }
.hero__social-proof { animation-delay: 500ms; }
.hero__preview      { animation-delay: 300ms; }

/* --- HERO BACKDROP: breathing glow + slowly panning grid --- */
.hero__glow {
  animation: hero-glow-breathe 9s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes hero-glow-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.06); }
}
.hero__bg-grid {
  inset: -48px 0 0 -48px;   /* one tile of slack so the pan never exposes an edge */
  animation: grid-pan 30s linear infinite alternate;
  will-change: transform;
}
@keyframes grid-pan {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(48px, 48px, 0); }
}

/* --- HERO VIDEO: slower, deeper float (8s, ~10px) --- */
.hero-video {
  animation: float-slow 8s ease-in-out infinite;
  will-change: transform;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* --- CHECKLIST CARD: float + 1° tilt + breathing glow shadow --- */
.checklist-card {
  animation: float-tilt 8s ease-in-out infinite;
}
@keyframes float-tilt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(1deg); }
}

/* --- SCROLL REVEALS (driven by main.js IntersectionObserver) --- */
/* !important lets the reveal win over per-component hover transitions
   (e.g. .feature-card); main.js removes the classes once the reveal
   finishes, restoring the component's own faster transitions. */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--reveal-duration) var(--ease-reveal) var(--reveal-delay, 0ms),
    transform var(--reveal-duration) var(--ease-reveal) var(--reveal-delay, 0ms) !important;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* No JS / no IO fallback: content stays visible */
.no-js .reveal, .no-io .reveal { opacity: 1; transform: none; }

/* --- FEATURE CARDS: lift, scale, soft shadow, icon tilt --- */
.feature-card {
  transition:
    transform 300ms var(--ease-reveal),
    box-shadow 300ms var(--ease-reveal),
    border-color 300ms var(--ease-reveal);
  will-change: transform;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon { transition: transform 300ms var(--ease-reveal); }
.feature-card:hover .feature-card__icon { transform: scale(1.06) rotate(5deg); }
.industry-card { transition: transform 300ms var(--ease-reveal), border-color 300ms var(--ease-reveal), box-shadow 300ms var(--ease-reveal); }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* --- BUTTONS --- */
.btn {
  transition:
    transform 300ms var(--ease-reveal),
    box-shadow 300ms var(--ease-reveal),
    background 300ms var(--ease-reveal),
    border-color 300ms var(--ease-reveal),
    color 300ms var(--ease-reveal);
}
.btn--primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-md), 0 0 28px rgba(var(--color-primary-rgb), 0.35);
}
.btn--primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: var(--shadow-sm), 0 0 12px rgba(var(--color-primary-rgb), 0.25);
  transition-duration: 120ms;
}
.btn--outline:hover,
.btn--ghost:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
  box-shadow: 0 0 0 1px rgba(var(--color-primary-rgb), 0.25), 0 0 18px rgba(var(--color-primary-rgb), 0.12);
}
.btn--outline:active,
.btn--ghost:active { transform: scale(0.97); transition-duration: 120ms; }

/* --- PRICING CARDS --- */
.pricing-card {
  transition: transform 300ms var(--ease-reveal), box-shadow 300ms var(--ease-reveal), border-color 300ms var(--ease-reveal);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card--featured { animation: featured-breathe 6s ease-in-out infinite; }
@keyframes featured-breathe {
  0%, 100% { box-shadow: 0 0 0 1px var(--color-primary), 0 0 40px rgba(var(--color-primary-rgb), 0.10); }
  50%      { box-shadow: 0 0 0 1px var(--color-primary), 0 0 64px rgba(var(--color-primary-rgb), 0.20); }
}

/* --- FAQ: smooth open --- */
.faq-answer { transform-origin: top; }
.faq-item[open] .faq-answer { animation: faq-open 350ms var(--ease-reveal); }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- MICROINTERACTIONS --- */
/* Animated focus ring */
:focus-visible { animation: focus-ring-in 250ms var(--ease-reveal); }
@keyframes focus-ring-in {
  from { outline-offset: 7px; }
  to   { outline-offset: 3px; }
}
/* Link underline slide (nav + footer) */
.nav__links a,
.footer__col a {
  position: relative;
}
.nav__links a::after,
.footer__col a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms var(--ease-reveal);
}
.nav__links a:hover::after,
.footer__col a:hover::after { transform: scaleX(1); }
/* Inputs: border + glow on focus (!important beats the inline styles on the contact form) */
#contact input,
#contact textarea,
.contact-input {
  transition: border-color 250ms var(--ease-reveal), box-shadow 250ms var(--ease-reveal);
}
#contact input:focus,
#contact textarea:focus,
.contact-input:focus {
  outline: none;
  border-color: rgba(var(--color-primary-rgb), 0.6) !important;
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.12);
}
/* Images fade in once loaded (class applied by main.js) */
img.img-fade { opacity: 0; transition: opacity 600ms ease; }
img.img-fade.img-loaded { opacity: 1; }

/* ===================================================
   HOW IT WORKS — connected workflow (Create → Schedule
   → Team completes). Choreography is keyed off .hiw-in,
   added by main.js via IntersectionObserver; .hiw-armed
   is added by JS on init so nothing is hidden without JS
   or under prefers-reduced-motion.
   =================================================== */

.how-it-works {
  position: relative;
  overflow: hidden;
}
/* Ambient backdrop: faint grid + radial glow + three drifting particle dots,
   all under 5% opacity. Two pseudos, transform-only animation. */
.how-it-works::before {
  content: '';
  position: absolute;
  inset: -48px 0 0 -48px;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px),
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(var(--color-primary-rgb), 0.35), transparent 70%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  opacity: 0.045;
  animation: grid-pan 30s linear infinite alternate;
  pointer-events: none;
}
.how-it-works::after {
  content: '';
  position: absolute;
  top: 20%; left: 15%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 28vw 18vh 0 -1px var(--color-primary), 55vw 6vh 0 0 var(--color-primary);
  opacity: 0.04;
  animation: hiw-particles 24s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hiw-particles {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(3vw, -4vh, 0); }
}
.how-it-works .container { position: relative; z-index: 1; }

/* Breathing room: heading block ↔ workflow, titles ↔ copy */
.how-it-works .steps { margin-top: var(--space-16); }
.how-it-works .step h3 { margin-bottom: var(--space-4); }

/* --- GLASS STEP CARDS --- */
.step {
  position: relative;
  background: rgba(var(--color-bg-rgb), 0.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step:hover {
  transform: translateY(-6px) scale(1.02);
  /* elevated, not floating */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22), 0 0 24px rgba(var(--color-primary-rgb), 0.08);
  border-color: rgba(var(--color-primary-rgb), 0.5);
}
.step__icon { transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.step:hover .step__icon { transform: translateY(-3px); }
.step h3 { transition: color 300ms ease; }
.step:hover h3 { color: var(--color-primary); }

/* "lights up" glow layer — a pre-painted glow ring whose OPACITY animates
   (not box-shadow itself), so the one-shot flourish stays composite-only. */
.step::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 32px rgba(var(--color-primary-rgb), 0.28);
  border: 1px solid rgba(var(--color-primary-rgb), 0.65);
  opacity: 0;
  pointer-events: none;
}

/* --- STEP NUMBERS: smaller, brighter, outlined --- */
.step__number {
  font-size: calc(var(--text-xl) * 0.95);
  opacity: 0.48;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary);
}

/* --- ICONS: the focal point of each card --- */
.step__icon {
  width: 60px;
  height: 60px;
}
.step__icon svg {
  width: 32px;
  height: 32px;
}

/* --- CONNECTORS: glow, travelling dot, arrowhead --- */
.step__connector {
  position: relative;
  top: -24px;
  overflow: visible;
  /* the line itself softly illuminates in sync with the dot passing over it */
  animation: connector-illuminate 5.5s ease-in-out infinite;
}
/* travelling dot — glides left→right every ~5.5s, the line brightening as it passes */
.step__connector::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px 3px rgba(var(--color-primary-rgb), 0.65);
  opacity: 0;
  animation: connector-pulse 5.5s ease-in-out infinite;
}
/* dot glides for ~85% of the cycle so the flow reads clearly */
@keyframes connector-pulse {
  0%   { opacity: 0; transform: translateX(0); }
  10%  { opacity: 1; }
  85%  { opacity: 1; transform: translateX(62px); }
  100% { opacity: 0; transform: translateX(66px); }
}
/* line brightens while the dot travels across it, dims once it's passed */
@keyframes connector-illuminate {
  0%, 8%   { opacity: 0.7; filter: drop-shadow(0 0 6px rgba(var(--color-primary-rgb), 0.35)); }
  15%, 80% { opacity: 1;   filter: drop-shadow(0 0 14px rgba(var(--color-primary-rgb), 0.55)); }
  100%     { opacity: 0.7; filter: drop-shadow(0 0 6px rgba(var(--color-primary-rgb), 0.35)); }
}
/* hover: both the dot and the line's illumination hurry up briefly */
.step__connector:hover,
.step__connector:hover::before { animation-duration: 1.8s; }
/* arrowhead */
.step__connector::after {
  content: '';
  position: absolute;
  right: -1px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-top: 2px solid var(--brand-purple);
  border-right: 2px solid var(--brand-purple);
  transform: rotate(45deg);
}

/* --- STATUS TAGS (replaced the ambiguous progress bars) --- */
.step__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
  border: 1px solid rgba(var(--color-primary-rgb), 0.25);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  width: fit-content;
}
.step__tag svg { flex-shrink: 0; }

/* --- ASSEMBLY CHOREOGRAPHY (armed by JS, fired on .hiw-in) --- */
.how-it-works.hiw-armed .section-label,
.how-it-works.hiw-armed .section-heading,
.how-it-works.hiw-armed .section-sub,
.how-it-works.hiw-armed .step,
.how-it-works.hiw-armed .step__number {
  opacity: 0;
  transition: opacity 700ms var(--ease-reveal), transform 700ms var(--ease-reveal);
}
.how-it-works.hiw-armed .section-heading,
.how-it-works.hiw-armed .step { transform: translateY(30px); }
.how-it-works.hiw-armed .step__number { transform: translateY(10px); }
.how-it-works.hiw-armed .step__connector {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 500ms var(--ease-reveal);
}
.how-it-works.hiw-armed .step__connector::before,
.how-it-works.hiw-armed .step__connector::after { opacity: 0; transition: opacity 400ms ease; }
.how-it-works.hiw-armed .step__tag {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-reveal), transform 500ms var(--ease-reveal);
}

.how-it-works.hiw-in .section-label,
.how-it-works.hiw-in .section-sub { opacity: 1; }
.how-it-works.hiw-in .section-heading { opacity: 1; transform: translateY(0); }
.how-it-works.hiw-in .section-label   { transition-delay: 0ms; }
.how-it-works.hiw-in .section-heading { transition-delay: 100ms; }
.how-it-works.hiw-in .section-sub     { transition-delay: 250ms; }

/* NOTE: .step and .step__connector alternate as sibling <div>s, so
   nth-of-type counts them together: steps are 1/3/5, connectors 2/4. */
.how-it-works.hiw-in .step { opacity: 1; transform: translateY(0); }
.how-it-works.hiw-in .step__number { opacity: 0.48; transform: translateY(0); }
.how-it-works.hiw-in .step:nth-of-type(1) { transition-delay: 200ms; }
.how-it-works.hiw-in .step:nth-of-type(3) { transition-delay: 550ms; }
.how-it-works.hiw-in .step:nth-of-type(5) { transition-delay: 900ms; }
.how-it-works.hiw-in .step:nth-of-type(1) .step__number { transition-delay: 350ms; }
.how-it-works.hiw-in .step:nth-of-type(3) .step__number { transition-delay: 700ms; }
.how-it-works.hiw-in .step:nth-of-type(5) .step__number { transition-delay: 1050ms; }

/* connectors grow between the cards they join */
.how-it-works.hiw-in .step__connector { transform: scaleX(1); }
.how-it-works.hiw-in .step__connector:nth-of-type(2) { transition-delay: 400ms; }  /* after step 1 */
.how-it-works.hiw-in .step__connector:nth-of-type(4) { transition-delay: 750ms; }  /* after step 2 */
.how-it-works.hiw-in .step__connector::after { opacity: 1; transition-delay: 900ms; }
.how-it-works.hiw-in .step__connector::before { opacity: 0; }  /* pulse keyframes own opacity from here */

/* status tags settle in once their card has landed */
.how-it-works.hiw-in .step__tag { opacity: 1; transform: translateY(0); }
.how-it-works.hiw-in .step:nth-of-type(1) .step__tag { transition-delay: 900ms; }
.how-it-works.hiw-in .step:nth-of-type(3) .step__tag { transition-delay: 1250ms; }
.how-it-works.hiw-in .step:nth-of-type(5) .step__tag { transition-delay: 1600ms; }

/* "lights up" as each card lands, then all three glow together once
   the whole workflow has assembled — the finishing flourish. Only
   ::after's opacity animates, so this stays composite-only (no repaint). */
@keyframes step-light { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.how-it-works.hiw-in .step:nth-of-type(1)::after { animation: step-light 550ms ease-out 950ms both, step-light 400ms ease-out 2000ms both; }
.how-it-works.hiw-in .step:nth-of-type(3)::after { animation: step-light 550ms ease-out 1300ms both, step-light 400ms ease-out 2000ms both; }
.how-it-works.hiw-in .step:nth-of-type(5)::after { animation: step-light 550ms ease-out 1650ms both, step-light 400ms ease-out 2000ms both; }

/* --- ICON ONE-SHOTS (play once when the section reveals) --- */
.hiw-check-path { stroke-dasharray: 24; }
.how-it-works.hiw-armed .hiw-check-path { stroke-dashoffset: 24; }
.how-it-works.hiw-in .hiw-check-path { animation: hiw-check-draw 600ms var(--ease-reveal) 900ms forwards; }
@keyframes hiw-check-draw { to { stroke-dashoffset: 0; } }

.step__icon--calendar svg { transform-origin: center 20%; }
.how-it-works.hiw-in .step__icon--calendar svg { animation: hiw-cal-flip 700ms var(--ease-reveal) 1250ms both; }
@keyframes hiw-cal-flip {
  0%   { transform: perspective(300px) rotateX(-85deg); opacity: 0; }
  100% { transform: perspective(300px) rotateX(0deg); opacity: 1; }
}

.how-it-works.hiw-in .step__icon--team svg { animation: hiw-team-pulse 600ms ease-out 1600ms both; }
@keyframes hiw-team-pulse {
  0%, 100% { transform: scale(1); }
  45%      { transform: scale(1.18); }
}

/* ===================================================
   SIGNATURE VISUAL — the section's centerpiece: a
   self-looping illustration of the product working
   (create → schedule → complete → dashboard updates).
   One shared 13s cycle; every element's own keyframes
   idle at 0%/100% and each element is phase-shifted into
   place with animation-delay, so nothing ever drifts out
   of sync. Transform + opacity only, aside from the SVG
   stroke-dashoffset draws (same technique already used
   on the step 1 checkmark above). Paused off-screen and
   under prefers-reduced-motion via main.js. */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hiw-signature {
  --hiw-cycle: 13s;
  margin-top: var(--space-16);
  background: rgba(var(--color-bg-rgb), 0.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--space-8) var(--space-8) var(--space-10);
}
.hiw-signature__eyebrow {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-8);
}
.hiw-signature__track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  /* masks the loop's reset so it reads as an intentional fade, not a glitch */
  animation: hiw-track-loop var(--hiw-cycle) ease-in-out infinite;
}
@keyframes hiw-track-loop {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  93%  { opacity: 1; }
  100% { opacity: 0; }
}

/* --- NODES --- */
.hiw-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  width: 130px;
  flex-shrink: 0;
}
.hiw-node__icon {
  position: relative;
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hiw-icon-pop var(--hiw-cycle) ease-in-out infinite;
}
.hiw-node__icon::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 22px rgba(var(--color-primary-rgb), 0.5);
  border: 1px solid rgba(var(--color-primary-rgb), 0.7);
  opacity: 0;
  pointer-events: none;
  animation: hiw-glow-fade var(--hiw-cycle) ease-in-out infinite;
}
.hiw-node__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}
/* shared shape: a brief pop / glow, then idle for the rest of the cycle —
   animation-delay places each node's moment at its point in the story */
@keyframes hiw-icon-pop {
  0%, 100% { transform: scale(1); }
  4%, 9%   { transform: scale(1.08); }
}
@keyframes hiw-glow-fade {
  0%, 100% { opacity: 0; }
  4%, 9%   { opacity: 1; }
}
.hiw-node--checklist .hiw-node__icon,
.hiw-node--checklist .hiw-node__icon::after { animation-delay: 0s; }
.hiw-node--schedule .hiw-node__icon,
.hiw-node--schedule .hiw-node__icon::after { animation-delay: 3s; }
.hiw-node--employee .hiw-node__icon,
.hiw-node--employee .hiw-node__icon::after { animation-delay: 6s; }
.hiw-node--dashboard .hiw-node__icon,
.hiw-node--dashboard .hiw-node__icon::after { animation-delay: 9.5s; }

/* --- CONNECTORS: base track + animated fill + travelling dot --- */
.hiw-signature__connector {
  position: relative;
  flex: 1 1 auto;
  min-width: 28px;
  max-width: 64px;
  height: 2px;
  align-self: center;
  margin-top: 25px; /* centers on the icon row, ignoring the label below */
  background: var(--color-border);
  border-radius: var(--radius-full);
  overflow: visible;
}
.hiw-signature__connector-fill {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hiw-connector-fill var(--hiw-cycle) ease-in-out infinite;
}
.hiw-signature__connector-dot {
  position: absolute;
  top: 50%; left: 0;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px 2px rgba(var(--color-primary-rgb), 0.6);
  opacity: 0;
  animation: hiw-connector-dot var(--hiw-cycle) ease-in-out infinite;
}
@keyframes hiw-connector-fill {
  0%, 100% { transform: scaleX(0); }
  9%, 17%  { transform: scaleX(1); }
}
@keyframes hiw-connector-dot {
  0%, 100% { opacity: 0; transform: translateX(0); }
  2%       { opacity: 1; }
  16%      { opacity: 1; transform: translateX(calc(100% - 7px)); }
  18%      { opacity: 0; transform: translateX(calc(100% - 7px)); }
}
.hiw-signature__connector[data-seg="1"] .hiw-signature__connector-fill,
.hiw-signature__connector[data-seg="1"] .hiw-signature__connector-dot { animation-delay: 1s; }
.hiw-signature__connector[data-seg="2"] .hiw-signature__connector-fill,
.hiw-signature__connector[data-seg="2"] .hiw-signature__connector-dot { animation-delay: 4s; }
.hiw-signature__connector[data-seg="3"] .hiw-signature__connector-fill,
.hiw-signature__connector[data-seg="3"] .hiw-signature__connector-dot { animation-delay: 7.5s; }

/* --- EMPLOYEE NODE: progress ring completes, checkmark draws once --- */
.hiw-node__icon--ring { background: transparent; border: none; }
.hiw-ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.hiw-ring__track { stroke: var(--color-border); }
.hiw-ring__fill {
  stroke: var(--color-primary);
  stroke-dasharray: 97.4; /* 2 * PI * r(15.5) */
  stroke-dashoffset: 97.4;
  animation: hiw-ring-fill var(--hiw-cycle) ease-in-out infinite;
  animation-delay: 6s;
}
@keyframes hiw-ring-fill {
  0%, 100% { stroke-dashoffset: 97.4; }
  10%      { stroke-dashoffset: 97.4; }
  19%      { stroke-dashoffset: 0; }
}
.hiw-node__check {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: hiw-check-fade var(--hiw-cycle) ease-in-out infinite;
  animation-delay: 6s;
}
.hiw-node__check-path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: hiw-node-check-draw var(--hiw-cycle) ease-in-out infinite;
  animation-delay: 6s;
}
@keyframes hiw-check-fade {
  0%, 100% { opacity: 0; }
  13%, 22% { opacity: 1; }
}
@keyframes hiw-node-check-draw {
  0%, 12%  { stroke-dashoffset: 20; }
  20%,100% { stroke-dashoffset: 0; }
}

/* --- DASHBOARD NODE: metric increments, notification toast --- */
.hiw-node__metric {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  height: 1.2em;
  overflow: hidden;
}
.hiw-node__metric-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}
.hiw-node__metric-num--from {
  animation: hiw-metric-out var(--hiw-cycle) ease-in-out infinite;
  animation-delay: 9.5s;
}
.hiw-node__metric-num--to {
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateY(100%);
  animation: hiw-metric-in var(--hiw-cycle) ease-in-out infinite;
  animation-delay: 9.5s;
}
@keyframes hiw-metric-out {
  0%, 100% { opacity: 1; transform: translateY(0); }
  8%       { opacity: 1; transform: translateY(0); }
  13%,100% { opacity: 0; transform: translateY(-100%); }
}
@keyframes hiw-metric-in {
  0%, 100% { opacity: 0; transform: translateY(100%); }
  8%       { opacity: 0; transform: translateY(100%); }
  13%,92%  { opacity: 1; transform: translateY(0); }
}
.hiw-node__metric-unit {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.hiw-node__toast {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.10);
  border: 1px solid rgba(var(--color-primary-rgb), 0.3);
  border-radius: var(--radius-full);
  padding: 3px var(--space-3);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  animation: hiw-toast var(--hiw-cycle) ease-in-out infinite;
  animation-delay: 9.5s;
}
@keyframes hiw-toast {
  0%, 100% { opacity: 0; transform: translateY(6px); }
  11%      { opacity: 0; transform: translateY(6px); }
  15%,26%  { opacity: 1; transform: translateY(0); }
  32%,100% { opacity: 0; transform: translateY(-4px); }
}

/* Ambient loop is paused unless in view (main.js toggles this on scroll,
   and never adds it at all under prefers-reduced-motion). */
.hiw-signature__track,
.hiw-signature__track * {
  animation-play-state: paused;
}
.hiw-signature--playing .hiw-signature__track,
.hiw-signature--playing .hiw-signature__track * {
  animation-play-state: running;
}

/* --- RESPONSIVE: vertical connectors drop the pulse/arrow --- */
@media (max-width: 900px) {
  .step__connector { top: 0; }
  .step__connector::before, .step__connector::after { display: none; }
  .how-it-works.hiw-armed .step__connector { transform-origin: top center; transform: scaleY(0); }
  .how-it-works.hiw-in .step__connector { transform: scaleY(1); }

  .hiw-signature__track { flex-direction: column; align-items: center; gap: 0; }
  .hiw-signature__connector {
    width: 2px;
    height: 28px;
    min-width: 0;
    max-width: none;
    margin: 4px 0;
  }
  .hiw-signature__connector-fill { transform: scaleY(0); transform-origin: top center; }
  .hiw-signature__connector-dot { top: 0; left: 50%; margin: 0 0 0 -3.5px; }
  @keyframes hiw-connector-fill {
    0%, 100% { transform: scaleY(0); }
    9%, 17%  { transform: scaleY(1); }
  }
  @keyframes hiw-connector-dot {
    0%, 100% { opacity: 0; transform: translateY(0); }
    2%       { opacity: 1; }
    16%      { opacity: 1; transform: translateY(calc(100% - 7px)); }
    18%      { opacity: 0; transform: translateY(calc(100% - 7px)); }
  }
}

/* --- REDUCED MOTION: switch the whole layer off --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before,
  .hero__badge, .hero__heading, .hero__sub, .hero__cta, .hero__social-proof, .hero__preview,
  .hero__glow, .hero__bg-grid, .hero-video, .checklist-card,
  .pricing-card--featured, .faq-item[open] .faq-answer,
  .how-it-works::before, .how-it-works::after, .step__connector, .step__connector::before,
  .hiw-signature__track, .hiw-signature__connector-fill, .hiw-signature__connector-dot,
  .hiw-node__icon, .hiw-node__icon::after, .hiw-ring__fill, .hiw-node__check,
  .hiw-node__check-path, .hiw-node__metric-num--from, .hiw-node__metric-num--to, .hiw-node__toast {
    animation: none !important;
  }
  /* signature visual: freeze on the completed frame instead of the idle one,
     so the static illustration still tells the whole story */
  .hiw-signature__connector-fill { transform: scaleX(1) !important; }
  .hiw-signature__connector-dot { opacity: 0 !important; }
  .hiw-ring__fill { stroke-dashoffset: 0 !important; }
  .hiw-node__check { opacity: 1 !important; }
  .hiw-node__check-path { stroke-dashoffset: 0 !important; }
  .hiw-node__metric-num--from { display: none !important; }
  .hiw-node__metric-num--to { opacity: 1 !important; transform: none !important; position: static !important; }
  .hiw-node__toast { opacity: 1 !important; transform: none !important; }
  @media (max-width: 900px) {
    .hiw-signature__connector-fill { transform: scaleY(1) !important; }
  }
  .step:hover { transform: none; }
  .step:hover .step__icon { transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature-card, .feature-card__icon, .industry-card, .pricing-card, .btn {
    transition-property: background, border-color, color, box-shadow;
  }
  .feature-card:hover, .industry-card:hover, .pricing-card:hover, .btn--primary:hover { transform: none; }
  .feature-card:hover .feature-card__icon { transform: none; }
  img.img-fade { opacity: 1; transition: none; }
}
