/*
  WeHale — Homepage v0
  Goals: mobile-first, cinematic restraint, high contrast, large type + negative space.
*/

:root {
  /* Backgrounds — matched to app tokens (colors.ts) */
  --bg: #090F1D;
  --bg-2: #0E1529;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  /* Text — warm off-white to match app (#F2F0ED) */
  --text: #F2F0ED;
  --muted: rgba(242, 240, 237, 0.55);
  --faint: rgba(242, 240, 237, 0.35);
  --accent: #96C9B8; /* sage light — matches app accentLight */
  --accent-2: #7CB5A2; /* sage — matches app accent */
  --warm: #E8A84E;   /* gold — matches app */
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);

  /* Radii — matched to app (16px card, 12px button) */
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;

  /* Vertical rhythm + spacing scale */
  --gutter: clamp(1.25rem, 3.2vw, 2.25rem);
  --section-y: clamp(6rem, 7.5vw, 7.5rem);      /* 96–120px */
  --subsection-gap: clamp(3rem, 4.6vw, 4rem);    /* 48–64px */
  --grid-gap: 1.25rem;                           /* 20px base */

  /* Card system */
  --card-pad: 2rem;                              /* 32px */
  --card-pad-lg: 2.25rem;                        /* 36px */
  --card-title-gap: 0.875rem;                    /* 14px */
  --card-meta-gap: 0.625rem;                     /* 10px */

  --step--1: clamp(0.92rem, 0.88rem + 0.2vw, 1.0rem);
  --step-0: clamp(1.0rem, 0.95rem + 0.35vw, 1.12rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.6vw, 1.35rem);
  --step-2: clamp(1.35rem, 1.2rem + 1.0vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.8vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.7vw, 3.6rem);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Avenir Next", "Avenir", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  /* Single, calm base below hero; hero provides the drama. */
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

main { background: var(--bg); }

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: #0E1529;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(9, 15, 29, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Add a very subtle separator between sections without changing background */
.section + .section {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.2px;
}

/* Optional logo image. If present, it replaces the dot+wordmark. */
.brand-logo {
  height: 22px;
  width: auto;
  display: block;
}
.brand.has-logo .brand-mark,
.brand.has-logo .brand-name {
  display: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.75);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.nav {
  display: none;
  gap: 1rem;
  color: var(--muted);
  font-size: var(--step--1);
}

/* Show homepage section nav on desktop only */
@media (min-width: 780px) {
  .home .nav { display: inline-flex; }
}

.nav-link { opacity: 0.9; }
.nav-link:hover { opacity: 1; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Mobile header: keep homepage navbar minimal */
@media (max-width: 739px) {
  .home .header-cta .btn { display: none; }
  .home .header-cta .btn-support { display: inline-flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: var(--step--1);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  border-color: rgba(232, 168, 78, 0.45);
  background: linear-gradient(180deg, rgba(232, 168, 78, 0.22), rgba(232, 168, 78, 0.10));
  box-shadow: 0 10px 40px rgba(232, 168, 78, 0.12);
}

.btn-primary:hover {
  border-color: rgba(232, 168, 78, 0.70);
  background: linear-gradient(180deg, rgba(232, 168, 78, 0.26), rgba(232, 168, 78, 0.10));
}

/* App Store CTA: same warmth, slightly more "badge" feel */
.btn-appstore {
  border-color: rgba(232, 168, 78, 0.55);
  background: linear-gradient(180deg, rgba(232, 168, 78, 0.26), rgba(232, 168, 78, 0.12));
  box-shadow: 0 14px 50px rgba(232, 168, 78, 0.14);
}

.btn-appstore:hover {
  border-color: rgba(232, 168, 78, 0.80);
  background: linear-gradient(180deg, rgba(232, 168, 78, 0.30), rgba(232, 168, 78, 0.12));
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.90);
}

.btn-icon svg { width: 18px; height: 18px; display: block; }

.btn-quiet {
  background: rgba(255,255,255,0.03);
}

/* Sections */
.section {
  position: relative;
  padding-block: var(--section-y);
}

/* Subtle section "stage": add depth without obvious stripes.
   We apply a faint gradient wash + vignette so each section feels intentional.
   (Hero/CTA have their own backgrounds.) */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 15% 20%, rgba(124, 181, 162, 0.05), transparent 60%),
    radial-gradient(700px 420px at 85% 10%, rgba(232, 168, 78, 0.035), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0.0) 28%, rgba(0,0,0,0.0) 72%, rgba(0,0,0,0.25));
  opacity: 0.55;
}

/* Alternate sections: slightly cooler + darker wash, still very subtle. */
.section.section-alt::before {
  background:
    radial-gradient(1000px 560px at 18% 18%, rgba(124, 181, 162, 0.03), transparent 62%),
    radial-gradient(760px 420px at 82% 30%, rgba(255,255,255,0.014), transparent 64%),
    linear-gradient(180deg, rgba(14, 21, 41, 0.26), rgba(9, 15, 29, 0.0) 42%, rgba(9, 15, 29, 0.20));
  opacity: 0.75;
}

/* Keep section content above the background wash */
.section > .container {
  position: relative;
  z-index: 1;
}

/* Softer separators than hard borders: a faint gradient line */
.section + .section {
  border-top: none;
}
.section + .section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.00) 0%,
    rgba(255,255,255,0.05) 18%,
    rgba(255,255,255,0.09) 50%,
    rgba(255,255,255,0.05) 82%,
    rgba(255,255,255,0.00) 100%
  );
}

/* Ensure the last element in a section doesn't visually collide with the section boundary */
.section .container > :last-child {
  margin-bottom: 0;
}

.section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: var(--subsection-gap);
}

.section-title {
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

/* Hero */
.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  padding: 5.8rem 0 3.2rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  /* Prevent flash of underlying content while media/background loads */
  background-color: rgba(9, 15, 29, 1);
  /* Fallback background if video fails */
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(232, 168, 78, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(9, 15, 29, 0.35) 0%, rgba(9, 15, 29, 0.74) 60%, rgba(9, 15, 29, 0.93) 100%),
    url('/assets/images/ui/home-feed.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* .media-fade transitions are in animate.css */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Stronger overlay at bottom for legibility */
  background:
    radial-gradient(900px 520px at 25% 20%, rgba(124, 181, 162, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(9, 15, 29, 0.20) 0%, rgba(9, 15, 29, 0.72) 62%, rgba(9, 15, 29, 0.94) 100%);
}

.hero-grain {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.055;
  mix-blend-mode: overlay;
  transform: rotate(8deg);
}

.hero-inner {
  position: relative;
  padding-top: 2rem;
  /* match later section comfort: add a touch of inner padding */
  padding-inline: 0.25rem;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.hero-title {
  margin: 0;
  font-size: var(--step-4);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 18px 80px rgba(0,0,0,0.65);
}

.hero-subtitle {
  margin: 1rem 0 1.4rem;
  max-width: 62ch;
  font-size: var(--step-1);
  color: rgba(255,255,255,0.74);
  text-shadow: 0 12px 60px rgba(0,0,0,0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem; /* 24–32px extra room before highlights */
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.0rem;
  color: var(--faint);
  font-size: var(--step--1);
}

.hero-trust li {
  padding-left: 1rem;
  position: relative;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(124,181,162,0.55);
}

/* Pillars */
.pillars {
  display: grid;
  gap: var(--grid-gap);
}

/* Pillar card icons */
.card-icon {
  display: block;
  margin-bottom: 1rem;
  opacity: 0.85;
}

/* Category-specific top border accents */
.card-activate { border-top: 2px solid rgba(232, 168, 78, 0.35); }
.card-balance  { border-top: 2px solid rgba(124, 181, 162, 0.35); }
.card-calm     { border-top: 2px solid rgba(147, 165, 207, 0.35); }

.card-activate:hover { border-top-color: rgba(232, 168, 78, 0.6); }
.card-balance:hover  { border-top-color: rgba(124, 181, 162, 0.6); }
.card-calm:hover     { border-top-color: rgba(147, 165, 207, 0.6); }

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  padding: var(--card-pad);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 168, 78, 0.22);
  background: linear-gradient(180deg, rgba(232,168,78,0.06), rgba(255,255,255,0.03));
}

.card-title {
  margin: 0 0 var(--card-title-gap);
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.card-body {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
}

/* Use cases */
.usecases {
  display: grid;
  gap: calc(var(--grid-gap) + 0.25rem);
  padding-bottom: 0.75rem;
}

.usecase {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  padding: var(--card-pad);
}

.usecase-title {
  margin: 0;
  font-size: var(--step-1);
}

.usecase-body {
  margin: 0 0 var(--card-meta-gap);
  color: var(--muted);
}

.usecase-meta {
  margin: 0;
  color: var(--faint);
  font-size: var(--step--1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Category color dots */
.cat-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
.cat-activate { background: rgba(232, 168, 78, 0.7); }
.cat-balance  { background: rgba(124, 181, 162, 0.7); }
.cat-calm     { background: rgba(147, 165, 207, 0.7); }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem); /* 24–32px */
  counter-reset: step;
}

.step {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: var(--card-pad);
  position: relative;
}

.step::after {
  content: "";
  position: absolute;
  left: var(--card-pad);
  right: var(--card-pad);
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
  opacity: 0;
}

.step-title {
  margin: 0;
  font-size: var(--step-1);
}

.step-title::before {
  counter-increment: step;
  content: counter(step) ". ";
  color: rgba(232,168,78,0.78);
  font-weight: 700;
}

.step-body {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.note {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.02);
}

.note-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: var(--step--1);
  color: rgba(255,255,255,0.78);
}

.note-body {
  margin: 0;
  color: var(--faint);
  font-size: var(--step--1);
}

/* Phone Slideshow */
.section-showcase {
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 8rem);
}

.section-head-center {
  text-align: center;
  justify-items: center;
}

.showcase-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(124,181,162,0.08) 0%, rgba(232,168,78,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Slider layout */
.phone-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  position: relative;
  z-index: 1;
}

.slider-stage {
  width: clamp(180px, 22vw, 260px);
  flex-shrink: 0;
}

/* Phone device frame */
.phone-frame-hero {
  position: relative;
  background: #1c1c22;
  border-radius: clamp(28px, 3.5vw, 40px);
  padding: clamp(6px, 0.8vw, 10px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 0 3px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.6),
    0 10px 30px rgba(0,0,0,0.4),
    0 0 60px rgba(124,181,162,0.06);
  overflow: hidden;
}

/* Dynamic Island notch */
.phone-notch {
  position: absolute;
  top: clamp(10px, 1.4vw, 16px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(48px, 7vw, 72px);
  height: clamp(14px, 2vw, 22px);
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

/* Slider track */
.slider-track {
  position: relative;
  border-radius: clamp(22px, 2.8vw, 32px);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
}

.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slider-slide picture { display: contents; }

.slider-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Arrow buttons */
.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  cursor: pointer;
  transition: all 250ms ease;
  flex-shrink: 0;
}

.slider-arrow:hover {
  border-color: rgba(124,181,162,0.35);
  color: var(--text);
  background: rgba(124,181,162,0.08);
}

/* Caption */
.slider-caption {
  text-align: center;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: var(--step-0);
  min-height: 1.5em;
  transition: opacity 300ms ease;
}

/* Dots */
.slider-dots, .testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.slider-dot, .testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  padding: 0;
  transition: all 300ms ease;
}

.slider-dot.active, .testimonial-dot.active {
  background: var(--accent-2);
  width: 24px;
}

.slider-dot:hover, .testimonial-dot:hover {
  background: rgba(255,255,255,0.30);
}

.slider-dot.active:hover, .testimonial-dot.active:hover {
  background: var(--accent);
}

@media (max-width: 559px) {
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow svg { width: 14px; height: 14px; }
}

@media (max-width: 400px) {
  .slider-arrow { display: none; }
}

/* Two-col */
.two-col {
  display: grid;
  gap: 1.2rem;
}

.list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}

.list li { margin: 0.55rem 0; }

.quote {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(124,181,162,0.08), rgba(255,255,255,0.02));
  padding: var(--card-pad-lg);
}

.quote-body {
  margin: 0 0 1.1rem;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

.quote-meta {
  margin: 0;
  color: var(--faint);
  font-size: var(--step--1);
}

/* Testimonial Carousel */
.testimonial {
  max-width: 640px;
  margin-inline: auto;
}

.testimonial-inner {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  padding: var(--card-pad-lg);
  padding-top: 3.6rem;
  min-height: 200px;
}

.testimonial-mark {
  position: absolute;
  top: 0.3rem;
  left: var(--card-pad-lg);
  font-size: 5rem;
  line-height: 1;
  color: rgba(124, 181, 162, 0.20);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.testimonial-track {
  position: relative;
}

.testimonial-slide {
  opacity: 0;
  transition: opacity 500ms ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.testimonial-quote {
  margin: 0 0 1.25rem;
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.55;
}

.testimonial-meta {
  margin: 0;
  color: var(--faint);
  font-size: var(--step--1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-meta::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: rgba(124, 181, 162, 0.4);
}

/* CTA */
.cta {
  position: relative;
  padding-block: clamp(4.6rem, 7vw, 6.2rem);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-media {
  position: absolute;
  inset: 0;
  /* Marketing photography backdrop with deep overlay */
  background:
    radial-gradient(900px 520px at 18% 25%, rgba(124, 181, 162, 0.07), transparent 60%),
    radial-gradient(720px 460px at 82% 20%, rgba(232, 168, 78, 0.045), transparent 62%),
    linear-gradient(180deg, rgba(9, 15, 29, 0.78) 0%, rgba(9, 15, 29, 0.88) 45%, rgba(9, 15, 29, 0.96) 100%),
    url('/assets/images/cta-bg.jpg');
  background-size: cover;
  background-position: center 30%;
}

.cta-grain {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  transform: rotate(-6deg);
}

.cta-inner {
  position: relative;
  padding-top: 0.5rem;
}

.cta-title {
  margin: 0;
  font-size: var(--step-3);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  margin: 0.75rem 0 1.25rem;
  color: var(--muted);
  max-width: 60ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-fineprint {
  margin: 1.2rem 0 0;
  color: var(--faint);
  font-size: var(--step--1);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.4rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.6rem;
}

.footer-tagline { margin: 0.35rem 0 0; color: var(--muted); max-width: 52ch; }
.footer-nav { display: flex; gap: 1rem; color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

.small { margin: 0.2rem 0; color: var(--faint); font-size: var(--step--1); }

/* Responsive */
@media (min-width: 780px) {
  .nav { display: inline-flex; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 0.8fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
