/* ============================================================
   FlowGenixX — site styles
   Built on Flowgenixx Design System tokens (colors_and_type.css)
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

img, svg { display: block; max-width: 100%; }

::selection { background: var(--color-primary); color: #fff; }

/* ============== LAYOUT ============== */

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: var(--space-section) 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--type-caption-uppercase-size);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 20px;
}
.section-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary);
}
.on-dark .section-eyebrow { color: var(--color-on-dark-soft); }

.section-head {
  max-width: 820px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -1.2px;
}
.section-head p {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-body);
  max-width: 640px;
}
.on-dark .section-head p { color: var(--color-on-dark-soft); }

/* ============== NAV ============== */

.nav {
  position: sticky; top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(24, 23, 21, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(250, 249, 245, 0.06);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.4px;
}
.nav-brand .wordmark { display: inline-flex; }
.nav-brand .flow   { color: var(--color-on-dark); }
.nav-brand .genixx { color: var(--color-primary); }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: var(--type-nav-link-size);
  font-weight: 500;
  color: var(--color-on-dark-soft);
  transition: color 200ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav-links a:hover { color: var(--color-on-dark); }
.nav-cta {
  display: inline-flex;
}
@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ============== BUTTONS ============== */

.btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  transition: background 160ms cubic-bezier(0.2, 0.6, 0.2, 1),
              color 160ms cubic-bezier(0.2, 0.6, 0.2, 1),
              border-color 160ms cubic-bezier(0.2, 0.6, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: #d68068; }
.btn-primary:active { background: var(--color-primary-active); }

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-hairline);
}
.btn-secondary:hover { border-color: #c9c0b3; }

.btn-secondary-on-dark {
  background: transparent;
  color: var(--color-on-dark);
  border-color: rgba(250, 249, 245, 0.16);
}
.btn-secondary-on-dark:hover { border-color: rgba(250, 249, 245, 0.32); }

.btn .arrow {
  display: inline-block;
  transition: transform 200ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }

/* ============== HERO ============== */

.hero {
  position: relative;
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(250, 249, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 249, 245, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  left: 50%; top: 20%;
  transform: translate(-50%, -30%);
  background: radial-gradient(circle, rgba(204, 120, 92, 0.22) 0%, rgba(204, 120, 92, 0) 60%);
  filter: blur(20px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate(-58%, -32%); }
  100% { transform: translate(-42%, -28%); }
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 249, 245, 0.06);
  border: 1px solid rgba(250, 249, 245, 0.1);
  color: var(--color-on-dark);
  padding: 6px 14px 6px 10px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 36px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(204, 120, 92, 0.7);
  animation: pulse 2.4s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(204, 120, 92, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(204, 120, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 120, 92, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-on-dark);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -2.2px;
  margin: 0;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--color-primary);
}
.hero h1 .strike {
  text-decoration: line-through;
  text-decoration-color: rgba(250, 249, 245, 0.35);
  text-decoration-thickness: 2px;
  color: var(--color-on-dark-soft);
}

/* line-mask reveal — each .line is a clip container, .line-inner slides up.
   Pure CSS so it works regardless of whether GSAP loads. */
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em; /* breathing room for descenders inside the mask */
}
.hero h1 .line-inner {
  display: block;
  transform: translateY(110%);
  animation: line-mask-reveal 0.95s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  will-change: transform;
}
.hero h1 .line:nth-of-type(1) .line-inner { animation-delay: 0.20s; }
.hero h1 .line:nth-of-type(2) .line-inner { animation-delay: 0.32s; }

@keyframes line-mask-reveal {
  to { transform: translateY(0); }
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-on-dark-soft);
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero proof strip */
.hero-proof {
  margin-top: 88px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 249, 245, 0.08);
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 32px;
  text-align: left;
}
.hero-proof-stat .num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  color: var(--color-on-dark);
  letter-spacing: -0.6px;
  line-height: 1;
}
.hero-proof-stat .label {
  font-size: 13px;
  color: var(--color-on-dark-soft);
  margin-top: 6px;
}
.hero-proof-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 1px solid rgba(250, 249, 245, 0.08);
  padding-left: 32px;
  flex-wrap: wrap;
}
.hero-proof-logos .logo {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.4px;
  color: rgba(250, 249, 245, 0.55);
  font-weight: 400;
}
@media (max-width: 720px) {
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof-logos { border-left: 0; padding-left: 0; }
}

/* ============== PROBLEM ============== */

.problem { background: var(--color-canvas); }
.problem .section-head h2 .strike-ink {
  color: var(--color-muted-soft);
  position: relative;
}
.problem .section-head h2 .strike-ink::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 55%;
  height: 2px;
  background: var(--color-primary);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.problem-card:hover { background: var(--color-surface-cream-strong); }
.problem-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
  color: var(--color-ink);
}
.problem-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-body);
}
@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ============== SOLUTION (steps) ============== */

.solution {
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
}
.solution .section-head h2 { color: var(--color-on-dark); }

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  background: var(--color-surface-dark-elevated);
  border: 1px solid rgba(250, 249, 245, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color 220ms cubic-bezier(0.2, 0.6, 0.2, 1),
              background 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.step:hover {
  border-color: rgba(250, 249, 245, 0.18);
  background: #2a2825;
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-on-dark-soft);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-on-dark);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-on-dark-soft);
  margin: 0;
  flex: 1;
}
.step .deliverable {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 249, 245, 0.08);
  font-size: 12px;
  color: var(--color-primary);
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============== COMPARISON TABLE ============== */

.comparison { background: var(--color-canvas); }

.compare-table-wrap {
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  position: relative;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.compare-table th, .compare-table td {
  padding: 22px 28px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--color-hairline-soft);
  vertical-align: middle;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table thead th {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-muted);
  background: var(--color-surface-soft);
  padding: 18px 28px;
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--color-body-strong);
  font-size: 14px;
  width: 30%;
}
.compare-table td {
  color: var(--color-body);
}
.compare-table .accent-col {
  background: rgba(204, 120, 92, 0.05);
  color: var(--color-ink);
  font-weight: 500;
  position: relative;
  border-left: 2px solid var(--color-primary);
}
.compare-table thead .accent-col {
  background: var(--color-ink);
  color: var(--color-on-dark);
  font-weight: 600;
}
.compare-table thead .accent-col .pill {
  display: inline-block;
  margin-left: 8px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.8px;
  padding: 3px 7px;
  border-radius: 9999px;
  font-weight: 600;
  vertical-align: middle;
}

/* coral accent line is now a border-left on .accent-col cells (above) —
   keeps alignment correct regardless of how the browser distributes
   column widths. */

@media (max-width: 720px) {
  .compare-table th, .compare-table td { padding: 14px; font-size: 13px; }
  .compare-table thead th { padding: 12px 14px; }
}

/* ============== ICP / WHO IT'S FOR ============== */

.icp { background: var(--color-canvas); }
.icp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.icp-card {
  background: var(--color-surface-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: background 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.icp-card:hover { background: var(--color-surface-cream-strong); }
.icp-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  background: rgba(204, 120, 92, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 20px;
}
.icp-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  color: var(--color-ink);
}
.icp-card p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-body);
}
.icp-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-hairline);
  padding-top: 18px;
}
.icp-card li {
  font-size: 13.5px;
  color: var(--color-body);
  padding: 6px 0;
  display: flex;
  gap: 10px;
}
.icp-card li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 9px;
  flex-shrink: 0;
}
@media (max-width: 880px) {
  .icp-grid { grid-template-columns: 1fr; }
}

/* ============== PROOF / RESULTS ============== */

.proof {
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
}
.proof .section-head h2 { color: var(--color-on-dark); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.stat {
  background: var(--color-surface-dark-elevated);
  border: 1px solid rgba(250, 249, 245, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.stat:hover { border-color: rgba(250, 249, 245, 0.18); }
.stat .num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  color: var(--color-on-dark);
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.stat .num .unit {
  font-size: 28px;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
.stat .label {
  font-size: 14px;
  color: var(--color-on-dark-soft);
  line-height: 1.5;
}
@media (max-width: 880px) {
  .stats { grid-template-columns: 1fr; }
}

/* Founder note — single signed message, replaces the testimonial grid */
.founder-note {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-surface-dark-soft);
  border: 1px solid rgba(250, 249, 245, 0.06);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
}
.founder-note blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-on-dark);
}
.founder-note blockquote p {
  margin: 0 0 14px;
  color: var(--color-on-dark);
}
.founder-note blockquote p:last-child { margin-bottom: 0; }
.founder-note .founder-attr {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(250, 249, 245, 0.08);
  padding-top: 18px;
}
.founder-note .signature {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--color-on-dark);
}
.founder-note .role {
  font-size: 13px;
  color: var(--color-on-dark-soft);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .founder-note { padding: 32px 28px; }
  .founder-note blockquote { font-size: 19px; }
}

/* ============== TIMELINE ============== */

.timeline { background: var(--color-canvas); }

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 56px;
}

/* SVG connector — base hairline + animated coral progress, GSAP-controlled */
.timeline-line {
  position: absolute;
  top: 23px;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  overflow: visible;
}
.timeline-base {
  stroke: var(--color-hairline);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.timeline-progress {
  stroke: var(--color-primary);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.milestone {
  position: relative;
  padding-top: 24px;
}
.milestone-dot {
  position: absolute;
  top: -32px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-canvas);
  border: 2px solid var(--color-primary);
  z-index: 2;
  transition: background-color 220ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.milestone .day {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.milestone h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
  color: var(--color-ink);
}
.milestone p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-body);
  margin: 0;
}
@media (max-width: 880px) {
  .timeline-track { grid-template-columns: 1fr; gap: 40px; }
  .timeline-line { display: none; }
  .milestone { padding-left: 24px; padding-top: 0; }
  .milestone-dot { top: 6px; left: 0; }
}

/* ============== FAQ ============== */

.faq { background: var(--color-canvas); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  border-top: 1px solid var(--color-hairline);
}
.faq-item {
  border-bottom: 1px solid var(--color-hairline);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--color-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 240ms cubic-bezier(0.2, 0.6, 0.2, 1),
              background 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.faq-item .toggle::before, .faq-item .toggle::after {
  content: '';
  position: absolute;
  width: 12px; height: 1.5px;
  background: var(--color-ink);
  transition: transform 240ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.faq-item .toggle { position: relative; }
.faq-item .toggle::after { transform: rotate(90deg); }
.faq-item[open] .toggle { background: var(--color-ink); }
.faq-item[open] .toggle::before, .faq-item[open] .toggle::after { background: var(--color-on-dark); }
.faq-item[open] .toggle::after { transform: rotate(0); }
.faq-item .answer {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-body);
  max-width: 92%;
}
@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ============== FINAL CTA ============== */

.final-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 96px 0;
}
.final-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: #fff;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  max-width: 900px;
  margin: 0 0 36px;
}
.final-cta h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
}
.final-cta .btn-primary-on-coral {
  background: var(--color-ink);
  color: #fff;
}
.final-cta .btn-primary-on-coral:hover { background: #000; }

/* ============== FOOTER ============== */

.footer {
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
  padding: 64px 0 40px;
}
.footer .top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 249, 245, 0.08);
}
.footer .brand-block {
  max-width: 320px;
}
.footer .brand-block .tagline {
  margin-top: 16px;
  color: var(--color-on-dark-soft);
  font-size: 14px;
  line-height: 1.55;
}
.footer .col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-on-dark-soft);
  margin: 0 0 16px;
}
.footer .col a {
  display: block;
  color: var(--color-on-dark);
  font-size: 14px;
  padding: 6px 0;
  text-decoration: none;
  transition: color 200ms;
}
.footer .col a:hover { color: var(--color-primary); }

.footer .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .legal {
  font-size: 13px;
  color: var(--color-on-dark-soft);
}
.footer .socials {
  display: flex;
  gap: 16px;
}
.footer .socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(250, 249, 245, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-on-dark-soft);
  transition: color 200ms, border-color 200ms;
}
.footer .socials a:hover { color: var(--color-on-dark); border-color: rgba(250, 249, 245, 0.32); }
@media (max-width: 880px) {
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .brand-block { grid-column: 1 / -1; }
}

/* ============================================================
   SCROLL REVEALS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 400ms; }

/* comparison row stagger */
.compare-table.reveal-rows tbody tr {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 500ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.compare-table.reveal-rows.in-view tbody tr { opacity: 1; transform: translateY(0); }
.compare-table.reveal-rows.in-view tbody tr:nth-child(1) { transition-delay: 100ms; }
.compare-table.reveal-rows.in-view tbody tr:nth-child(2) { transition-delay: 200ms; }
.compare-table.reveal-rows.in-view tbody tr:nth-child(3) { transition-delay: 300ms; }
.compare-table.reveal-rows.in-view tbody tr:nth-child(4) { transition-delay: 400ms; }
.compare-table.reveal-rows.in-view tbody tr:nth-child(5) { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > *, .compare-table.reveal-rows tbody tr,
  .hero h1 .line-inner { opacity: 1; transform: none !important; }
  .timeline-progress { stroke-dashoffset: 0 !important; }
  .milestone-dot { background: var(--color-primary) !important; }
  .hero-glow { animation: none; }
}
