/* ═══════════════════════════════════════════════════════════════════════
   Worddy — Word Search · Stylesheet
   Palette and type mirror the Flutter app (Baloo 2 + Nunito, cozy paper).
   ═══════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@500;600;700;800&display=swap');

:root {
  /* Core palette — from the app's theme.dart */
  --cream: #FCE7C8;
  --cream-2: #F8D9C6;
  --cream-3: #F3C9BE;
  --paper: #FFF9EF;
  --panel: #FFFFFF;
  --panel-soft: #FBF3E2;

  --orange: #F4A259;
  --orange-dark: #D6803B;
  --orange-light: #F9C978;
  --rose: #C9756B;
  --rose-dark: #B45E54;
  --green: #8FC98A;
  --green-dark: #6BA968;
  --blue: #7BA7D9;
  --blue-dark: #5C87BA;
  --purple: #B79BD6;
  --purple-dark: #9E82C4;
  --relax: #5FAFC9;
  --relax-light: #8FCDE0;

  --brown: #6B4A2F;
  --brown-soft: #5A4632;
  --tan: #9C7A5C;
  --tan-light: #A98A6C;
  --tan-mute: #B79A7C;

  --text: #5A4632;
  --muted: #9C7A5C;
  --border: #EFE1C9;
  --shadow: rgba(120, 80, 40, .18);
  --shadow-strong: rgba(120, 80, 40, .32);
  --glass: rgba(255, 255, 255, .72);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Typography */
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-normal: 400ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  /* Without this, the width/height attributes kept for layout stability are
     treated as a fixed CSS height, and any rule that sets only `width` ends up
     stretching the image. */
  height: auto;
  display: block;
}

a {
  color: var(--rose);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--rose-dark);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

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

/* ── Chunky button — the app's `box-shadow: 0 Npx 0` press effect ─────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 30px;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 0 var(--orange-dark);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--orange-dark);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 var(--orange-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--rose);
  box-shadow: 0 6px 0 #E6D3C4;
}

.btn-secondary:hover {
  color: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #E6D3C4;
}

.btn-secondary:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #E6D3C4;
}

/* ── Navigation ──────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), padding var(--transition-fast);
}

.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px -6px var(--shadow);
  padding: 8px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brown);
  letter-spacing: -0.5px;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: none;
  color: var(--brown);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--tan);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brown);
}

.nav-links a:not(.nav-download-btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  transition: width var(--transition-fast);
}

.nav-links a:hover:not(.nav-download-btn)::after,
.nav-links a.active:not(.nav-download-btn)::after {
  width: 100%;
}

.nav-download-btn {
  padding: 10px 22px;
  font-size: .95rem;
  color: #fff !important;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-2) 48%, var(--cream-3) 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-blob-1 {
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, .38);
}

.hero-blob-2 {
  bottom: -60px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(247, 196, 115, .38);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-logo {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 10px 24px -8px var(--shadow-strong);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--brown);
  margin-bottom: var(--space-md);
}

.hero h1 .highlight {
  display: block;
  color: var(--rose);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--tan);
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, .78);
  color: var(--brown-soft);
  font-weight: 800;
  font-size: .82rem;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 0 rgba(0, 0, 0, .05);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Letter tiles floating above the phone, echoing the app's home screen */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-tiles {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.tile {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  animation: floaty 4s ease-in-out infinite;
}

.tile-a {
  background: var(--orange);
  box-shadow: 0 6px 0 var(--orange-dark);
  transform: rotate(-8deg);
}

.tile-b {
  background: var(--green);
  box-shadow: 0 6px 0 var(--green-dark);
  transform: rotate(5deg) translateY(10px);
  animation-delay: .3s;
}

.tile-c {
  background: var(--blue);
  box-shadow: 0 6px 0 var(--blue-dark);
  transform: rotate(-4deg);
  animation-delay: .6s;
}

@keyframes floaty {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

/* ── Phone frame ─────────────────────────────────────────────────────── */
.phone {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 10px;
  background: #FFF9EF;
  box-shadow:
    0 30px 60px -22px var(--shadow-strong),
    0 0 0 1px rgba(255, 255, 255, .7) inset;
}

.phone img {
  border-radius: 30px;
  width: 100%;
}

/* ── Sections ────────────────────────────────────────────────────────── */
section {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brown);
  text-align: center;
  letter-spacing: -0.8px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--tan);
  max-width: 60ch;
  margin: 0 auto var(--space-3xl);
  font-size: 1.05rem;
}

.divider {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: var(--space-md) 0;
}

.divider span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--border);
}

.divider span:nth-child(2) {
  background: var(--orange);
}

.divider span:nth-child(3) {
  background: var(--green);
}

.divider span:nth-child(4) {
  background: var(--blue);
}

.divider span:nth-child(5) {
  background: var(--rose);
}

/* ── Features ────────────────────────────────────────────────────────── */
.features {
  background: var(--paper);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 0 rgba(0, 0, 0, .05);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  margin-bottom: var(--space-md);
  color: #fff;
  background: var(--orange);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--green);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--blue);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--rose);
}

.feature-card:nth-child(5) .feature-icon {
  background: var(--purple);
}

.feature-card:nth-child(6) .feature-icon {
  background: var(--relax);
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--brown-soft);
  margin-bottom: var(--space-sm);
}

.feature-text {
  color: var(--tan);
  font-size: .97rem;
}

/* ── Modes ───────────────────────────────────────────────────────────── */
.modes {
  background: linear-gradient(170deg, #EDE7F5, #F6EFDD);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.mode-card {
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mode-easy {
  background: linear-gradient(140deg, #AFD9A2, #8CC07E);
  box-shadow: 0 6px 0 #74a368;
}

.mode-normal {
  background: linear-gradient(140deg, #F6D385, #E6B85E);
  box-shadow: 0 6px 0 #c29a4f;
}

.mode-hard {
  background: linear-gradient(140deg, #F2AEC2, #DD8FA9);
  box-shadow: 0 6px 0 #ba788e;
}

.mode-relax {
  background: linear-gradient(140deg, var(--relax-light), var(--relax));
  box-shadow: 0 6px 0 #4E97AF;
}

.mode-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, .28);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1);
  margin-bottom: var(--space-xs);
}

.mode-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
}

.mode-sub {
  font-weight: 700;
  font-size: .92rem;
  color: rgba(255, 255, 255, .94);
}

.mode-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: var(--space-xs);
}

.mode-chip {
  background: rgba(255, 255, 255, .28);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

/* ── Categories ──────────────────────────────────────────────────────── */
.categories {
  background: linear-gradient(170deg, #EAF3E4, #F6EFDD);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
}

.cat-card {
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  transition: transform var(--transition-fast);
}

.cat-card:hover {
  transform: translateY(-4px);
}

.cat-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .1);
}

.cat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}

.cat-count {
  font-size: .76rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* ── Showcase (screenshots) ──────────────────────────────────────────── */
.showcase {
  background: var(--paper);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-xl);
}

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.shot-frame {
  border-radius: 30px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 18px 34px -18px var(--shadow-strong);
  transition: transform var(--transition-normal);
}

.shot-frame:hover {
  transform: translateY(-6px);
}

.shot-frame img {
  border-radius: 24px;
  width: 100%;
}

.shot-caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown-soft);
  text-align: center;
  display: block;
}

.shot-text {
  font-size: .9rem;
  color: var(--tan);
  text-align: center;
  max-width: 34ch;
}

/* ── Stats band ──────────────────────────────────────────────────────── */
.stats {
  background: linear-gradient(140deg, var(--orange-light), var(--orange));
  padding: var(--space-3xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  line-height: 1;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .12);
}

.stat-label {
  font-weight: 800;
  font-size: .9rem;
  color: rgba(255, 255, 255, .95);
  margin-top: 6px;
}

/* ── Collection / how to play ────────────────────────────────────────── */
.howto {
  background: linear-gradient(170deg, #FBEBDA, #F6EFDD);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  counter-reset: step;
}

.step {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .05);
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brown-soft);
  margin-bottom: 6px;
}

.step p {
  color: var(--tan);
  font-size: .95rem;
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .05);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--tan);
  font-size: .96rem;
}

/* ── Download CTA ────────────────────────────────────────────────────── */
.download {
  background: linear-gradient(170deg, #E6F3DE, #FBEFCF);
  text-align: center;
}

.download .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.download img {
  width: 110px;
  height: 110px;
  border-radius: 26px;
  box-shadow: 0 12px 26px -10px var(--shadow-strong);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  background: var(--brown);
  color: var(--cream);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--cream);
  font-weight: 700;
  font-size: .93rem;
  opacity: .85;
}

.footer-links a:hover {
  color: #fff;
  opacity: 1;
}

.footer-text {
  font-size: .86rem;
  color: rgba(252, 231, 200, .7);
}

/* ── Language switcher ───────────────────────────────────────────────── */
.lang-switcher {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px -8px var(--shadow-strong);
}

.lang-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 14px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--tan);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-btn:hover {
  color: var(--brown);
}

.lang-btn.active {
  background: var(--orange);
  color: #fff;
}

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.reveal-delay-4 {
  transition-delay: 320ms;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-badges,
  .hero-cta {
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    box-shadow: 0 12px 24px -12px var(--shadow-strong);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .nav-links.open {
    max-height: 80vh;
  }

  .nav-links a {
    padding: 14px var(--space-lg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-download-btn {
    margin: var(--space-md);
    justify-content: center;
    border-bottom: none !important;
  }
}

@media (max-width: 640px) {
  section {
    padding: var(--space-3xl) 0;
  }

  .lang-switcher {
    right: 12px;
    bottom: 12px;
    flex-direction: row;
  }
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Print ───────────────────────────────────────────────────────────── */
@media print {

  .navbar,
  .lang-switcher,
  .hero-cta,
  .footer-links {
    display: none;
  }

  body {
    background: #fff;
  }
}