/* Learn AI Simple: static "coming soon" landing page.
   Plain CSS, served from /landing/ and allowed by the SWA CSP (style-src 'self'). */

:root {
  --bg: #f5f8f1;
  --bg-2: #e6f1df;
  --surface: #ffffff;
  --surface-2: #fbfdf9;
  --border: rgba(22, 61, 40, 0.1);
  --border-strong: rgba(22, 61, 40, 0.18);
  --text: #13261c;
  --muted: #4a5f53;
  --forest: #127a4d;
  --forest-dark: #0c5c3a;
  --leaf: #3fa66b;
  --lime: #8cc63f;
  --teal: #0f8b7e;
  --coral: #e2603a;
  --coral-text: #b9461f;
  --sun: #f0b429;
  --live: #22a55a;
  --grad: linear-gradient(100deg, #127a4d 0%, #2f9e62 45%, #5c9a1e 100%);
  --radius: 20px;
  --shadow: 0 24px 60px -28px rgba(19, 38, 28, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Inter',
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
canvas {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow {
  max-width: 820px;
}

.gradient-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ---------- Background: aurora + grain + scroll progress ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--bg-2), var(--bg) 60%);
}

.blob {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
  will-change: transform;
}
.blob-1 {
  background: #bfe6c8;
  top: -20vmax;
  left: -15vmax;
  animation: drift-1 26s ease-in-out infinite alternate;
}
.blob-2 {
  background: #e1f0b0;
  top: 10vmax;
  right: -25vmax;
  opacity: 0.6;
  animation: drift-2 32s ease-in-out infinite alternate;
}
.blob-3 {
  background: #ffd9c4;
  bottom: -30vmax;
  left: 20vmax;
  opacity: 0.5;
  animation: drift-3 38s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  to {
    transform: translate(18vmax, 12vmax) scale(1.15);
  }
}
@keyframes drift-2 {
  to {
    transform: translate(-16vmax, 18vmax) scale(0.9);
  }
}
@keyframes drift-3 {
  to {
    transform: translate(-12vmax, -16vmax) scale(1.2);
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition:
    padding 0.3s var(--ease),
    background-color 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
  padding: 10px 0;
  background: rgba(245, 248, 241, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 6px 14px rgba(18, 122, 77, 0.35));
  transition: transform 0.6s var(--ease);
}
.brand:hover .brand-mark {
  transform: rotate(-12deg) scale(1.08);
}
.brand-name strong {
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill.large {
  margin-top: 32px;
  padding: 10px 20px;
  font-size: 1rem;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 12px var(--live);
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
  animation: ping 1.8s var(--ease) infinite;
}
@keyframes ping {
  80%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(90deg, rgba(18, 122, 77, 0.1), rgba(140, 198, 63, 0.14));
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--forest-dark);
}
.eyebrow-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(var(--forest), var(--lime), var(--sun), var(--coral), var(--forest));
  box-shadow: 0 0 14px rgba(63, 166, 107, 0.55);
  animation: spin 6s linear infinite;
  background-size: 200% 200%;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  margin-top: 28px;
  font-size: clamp(2.7rem, 8.4vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-rotate {
  margin-top: 28px;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 500;
  color: var(--text);
}

.rotator {
  position: relative;
  display: inline-block;
  min-width: 1ch;
  font-weight: 700;
  background: linear-gradient(90deg, #c2410c, var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rotator::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 12%;
  bottom: 12%;
  width: 3px;
  border-radius: 3px;
  background: var(--coral);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}

.hero-sub {
  margin-top: 20px;
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  text-wrap: pretty;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--forest-dark), var(--forest) 55%, #1f9a5e);
  box-shadow:
    0 10px 28px -10px rgba(18, 122, 77, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  box-shadow:
    0 16px 36px -10px rgba(18, 122, 77, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-ghost {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
}

/* Hero entrance: pure CSS, so it works without JS. */
.rise {
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 110ms + 100ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }
}

/* Floating example chips around the hero (desktop only). */
.floating-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.chip {
  position: absolute;
  padding: 9px 15px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  animation:
    chip-in 1s var(--ease) forwards,
    float 7s ease-in-out infinite alternate;
}
.chip-1 { top: 20%; left: 6%; animation-delay: 0.9s, 0s; }
.chip-2 { top: 64%; left: 4%; animation-delay: 1.1s, -2s; }
.chip-3 { top: 82%; left: 22%; animation-delay: 1.3s, -4s; }
.chip-4 { top: 18%; right: 6%; animation-delay: 1s, -1s; }
.chip-5 { top: 58%; right: 3%; animation-delay: 1.2s, -3s; }
.chip-6 { top: 82%; right: 20%; animation-delay: 1.4s, -5s; }

@keyframes chip-in {
  to {
    opacity: 1;
  }
}
@keyframes float {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(10px);
  }
}
@media (max-width: 1100px) {
  .floating-chips {
    display: none;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.scroll-cue:hover {
  opacity: 1;
}
.scroll-cue-mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  position: relative;
}
.scroll-cue-wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--text);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: #2d4a3a;
  white-space: nowrap;
}
.marquee-track span::after {
  content: '✦';
  font-size: 0.8em;
  color: var(--coral);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 12vw, 140px) 0;
  scroll-margin-top: 40px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  text-wrap: balance;
}
.kicker {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-text);
}
.section-lead {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* Scroll reveal: elements are only hidden once JS marks them as pending (below the fold). */
.reveal {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
}

/* ---------- Audience cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  --accent: var(--forest);
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.72));
  box-shadow: 0 18px 40px -30px rgba(19, 38, 28, 0.35);
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    opacity 0.9s var(--ease),
    transform 0.5s var(--ease),
    border-color 0.3s,
    filter 0.9s var(--ease);
}
.card.is-pending {
  transform: perspective(900px) translateY(40px);
}
.card::before {
  /* Spotlight that follows the cursor. */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    color-mix(in srgb, var(--accent) 12%, transparent),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.card:hover::before {
  opacity: 1;
}
.card > * {
  position: relative;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  box-shadow: 0 10px 24px -14px var(--accent);
  margin-bottom: 22px;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
}

.card-icon svg,
.step-icon svg,
.pillar svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
}

/* ---------- Steps ---------- */

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.steps::before {
  /* Connecting line that draws in when the section reveals. */
  content: '';
  position: absolute;
  top: 44px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--forest), var(--lime), var(--coral));
  transform-origin: 0 50%;
  transition: transform 1.4s var(--ease) 0.3s;
  opacity: 0.6;
}
.steps.is-pending::before {
  transform: scaleX(0);
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .steps::before {
    display: none;
  }
}

.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.step-num {
  position: absolute;
  top: -8px;
  left: 50%;
  margin-left: 22px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  z-index: 1;
}
.step-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(160deg, #ffffff, #edf6e8);
  border: 1px solid var(--border-strong);
  color: var(--forest);
  box-shadow: 0 18px 36px -20px rgba(18, 122, 77, 0.55);
  transition: transform 0.5s var(--ease);
}
.step-icon svg {
  width: 34px;
  height: 34px;
}
.step:hover .step-icon {
  transform: translateY(-6px) rotate(4deg);
}
.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto;
}

/* ---------- Pillars ---------- */

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}
.pillar {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    opacity 0.9s var(--ease),
    transform 0.5s var(--ease),
    filter 0.9s var(--ease),
    border-color 0.3s,
    background-color 0.3s;
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 122, 77, 0.35);
  background: var(--surface-2);
}
.pillar svg {
  width: 30px;
  height: 30px;
  color: var(--forest);
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.pillar p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    border-color 0.3s,
    background-color 0.3s;
}
.faq details[open] {
  border-color: rgba(18, 122, 77, 0.35);
  background: var(--surface-2);
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: -2px;
}
.faq details p {
  padding: 0 22px 22px;
  color: var(--muted);
}
/* Smooth open/close where supported (progressive enhancement). */
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size 0.4s var(--ease),
    content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content {
  block-size: auto;
}

/* ---------- Closing ---------- */

.closing {
  position: relative;
  padding: clamp(90px, 14vw, 160px) 0;
  text-align: center;
  overflow: hidden;
}
.closing .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  max-width: 120vw;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #9fd9ae, #d6ec8f, #ffd27a, #ffb79a, #9fd9ae);
  filter: blur(110px);
  opacity: 0.55;
  z-index: -1;
  animation: spin 18s linear infinite;
}
.closing h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 5.6vw, 4rem);
  font-weight: 800;
  text-wrap: balance;
}
.closing p {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.12rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}
.footer-link {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(18, 122, 77, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.footer-link:hover {
  text-decoration-color: currentColor;
}

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 0 16px;
  }
  .topbar .status-pill {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .brand-name {
    font-size: 0.98rem;
  }
  .hero {
    padding: 110px 0 96px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .scroll-progress {
    display: none;
  }
  .rotator::after {
    display: none;
  }
  .card {
    transform: none !important;
  }
}

/* Stagger delay while an element reveals (higher specificity than per-component transitions). */
.reveal.is-entering {
  transition-delay: calc(var(--d, 0) * 90ms);
}
