/* =========================================================================
   Vokibi — landing styles
   Single shared stylesheet for all 7 language pages.
   Tokens mirror DESIGN.md. 8-point grid. Light-first. Plus Jakarta Sans.
   ========================================================================= */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Brand */
  --primary: #6C63FF;
  --primary-light: #9B94FF;
  --primary-dark: #4A42D4;
  --secondary: #FF6584;
  --accent-cyan: #2BCDEE;
  --accent-cyan-dark: #1AA8C4;
  --on-primary: #FFFFFF;

  /* Surfaces */
  --background: #F8F9FD;
  --surface: #FFFFFF;
  --surface-variant: #F1F3F9;
  --screen-bg: #FAFAFA;

  /* Text */
  --text-heading: #111827;
  --text-primary: #2C2C2C;
  --text-secondary: #6B7280;
  --text-disabled: #9CA3AF;

  /* Borders & dividers */
  --border: #E5E7EB;
  --divider: #F3F4F6;
  --disabled: #D1D5DB;
  --disabled-bg: #F9FAFB;

  /* Semantic feedback (light pairs only — saturated bases reserved) */
  --success-light: #DCFCE7;
  --success-dark: #15803D;
  --info-light: #DBEAFE;
  --info-dark: #1E40AF;
  --warning-light: #FEF3C7;
  --warning-dark: #B45309;

  /* CEFR colours */
  --cefr-a1: #22C55E;
  --cefr-a2: #84CC16;
  --cefr-b1: #FBBF24;
  --cefr-b2: #FB923C;
  --cefr-c1: #F472B6;
  --cefr-c2: #C084FC;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-xxl: 32px;
  --r-xxxl: 40px;
  --r-pill: 9999px;

  /* Spacing (8-point grid + 4px half-step) */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-xxl: 32px;
  --s-xxxl: 40px;
  --s-section: 96px;

  /* Shadows (named presets) */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-sm: 0 2px 4px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.06), 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 12px 28px rgba(17, 24, 39, 0.08), 0 2px 4px rgba(17, 24, 39, 0.04);
  --shadow-xl: 0 24px 56px rgba(17, 24, 39, 0.12), 0 4px 8px rgba(17, 24, 39, 0.05);
  --shadow-glass:
    0 1px 2px rgba(108, 99, 255, 0.08),
    0 12px 32px rgba(17, 24, 39, 0.08),
    0 24px 64px rgba(108, 99, 255, 0.12);

  /* Container */
  --container: 1200px;

  /* Header */
  --header-h: 72px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Allow anchor links to clear the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

ul, ol { list-style: none; }

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

/* --- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--s-section); }
.section--tight { padding-block: 64px; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-xxl);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(108, 99, 255, 0.08);
  color: var(--primary);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: var(--s-lg);
}

h1, h2, h3, h4 {
  font-family: inherit;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }

.lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 56ch;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--on-primary);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(108, 99, 255, 0.40);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 14px;
}
.btn-ghost:hover {
  background: var(--surface-variant);
  color: var(--text-heading);
}

/* --- Store buttons (disabled "coming soon" state) ----------------------- */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-xl);
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--text-heading);
  color: var(--on-primary);
  border-radius: var(--r-md);
  font-weight: 600;
  min-height: 56px;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  cursor: not-allowed;
  opacity: 0.92;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.store-btn[aria-disabled="true"] { cursor: not-allowed; }

.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.store-btn .store-line-1 {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 3px;
}

.store-btn .store-line-2 {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.store-btn .store-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-cyan);
  color: #064658;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.4px;
  box-shadow: var(--shadow-sm);
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1875rem;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--primary); }

.site-nav {
  display: flex;
  gap: 4px;
}
.site-nav a {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--r-md);
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { color: var(--text-heading); background: var(--surface-variant); }

.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language dropdown */
.lang {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-variant);
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid transparent;
  min-height: 40px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-toggle:hover { background: #E7EAF3; }
.lang-toggle[aria-expanded="true"] { border-color: var(--primary); background: var(--surface); }
.lang-toggle img { width: 18px; height: 18px; border-radius: var(--r-pill); object-fit: cover; }
.lang-toggle .chev { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.2s ease; }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 180px;
  display: none;
  list-style: none;
}
.lang-menu[data-open="true"] { display: block; }

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}
.lang-menu a:hover { background: var(--surface-variant); color: var(--text-heading); }
.lang-menu a[aria-current="true"] { background: rgba(108, 99, 255, 0.08); color: var(--primary); }
.lang-menu img { width: 20px; height: 20px; border-radius: var(--r-pill); object-fit: cover; }
.lang-menu .lang-native {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--text-heading);
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle:hover { background: var(--surface-variant); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 80px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(108, 99, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 92% 78%, rgba(43, 205, 238, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 60% 110%, rgba(255, 101, 132, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero h1 {
  margin: 16px 0 20px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 50ch;
}

.hero-bullets {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  position: relative;
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(108, 99, 255, 0.25));
  transform: rotate(-2deg);
  animation: phone-float 7s ease-in-out infinite;
}

.hero-phone img {
  width: 100%;
  border-radius: var(--r-xxl);
  display: block;
}

@keyframes phone-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-14px); }
}

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* --- Value strip (Why Vokibi) ------------------------------------------- */
.values {
  background: var(--surface);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-icon svg { width: 28px; height: 28px; }

.value-icon--primary { background: rgba(108, 99, 255, 0.12); color: var(--primary); }
.value-icon--cyan { background: rgba(43, 205, 238, 0.14); color: var(--accent-cyan-dark); }
.value-icon--pink { background: rgba(255, 101, 132, 0.12); color: var(--secondary); }

.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.6; }

/* --- Feature showcase (zigzag) ------------------------------------------ */
.features {
  background: var(--background);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
}

.feature-row + .feature-row { border-top: 1px solid var(--divider); }

.feature-row[data-reverse="true"] .feature-text { order: 2; }
.feature-row[data-reverse="true"] .feature-visual { order: 1; }

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-tag svg { width: 14px; height: 14px; color: var(--primary); }

.feature-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}
.feature-text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.feature-text ul {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.feature-text ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-primary);
  font-size: 0.9375rem;
}
.feature-text ul li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-light);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
  margin-top: 2px;
}

.feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  max-width: 320px;
  width: 100%;
  border-radius: var(--r-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: transform 0.35s ease;
}

.phone-frame img { width: 100%; display: block; }

.feature-row:hover .phone-frame { transform: translateY(-6px) rotate(-1deg); }
.feature-row[data-reverse="true"]:hover .phone-frame { transform: translateY(-6px) rotate(1deg); }

/* --- Languages grid ----------------------------------------------------- */
.langs {
  background: var(--surface);
}

.langs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lang-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lang-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.lang-card .flag {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

.lang-card .name {
  font-weight: 700;
  color: var(--text-heading);
  font-size: 1rem;
}
.lang-card .native {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(108, 99, 255, 0.25);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--text-heading);
  min-height: 64px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-variant);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: rgba(108, 99, 255, 0.12);
}

.faq-body {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}
.faq-body p + p { margin-top: 12px; }
.faq-body a { color: var(--primary); font-weight: 600; }
.faq-body a:hover { text-decoration: underline; }

/* --- CTA band ----------------------------------------------------------- */
.cta {
  padding: 80px 0 96px;
  background: var(--background);
}

.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--on-primary);
  padding: 64px 56px;
  border-radius: var(--r-xxxl);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(108, 99, 255, 0.30);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(43, 205, 238, 0.30) 0%, transparent 45%);
  pointer-events: none;
}

.cta-band > * { position: relative; }

.cta-mascot {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
  animation: mascot-bob 5s ease-in-out infinite;
}

.cta-band h2 {
  color: var(--on-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 auto 16px;
  max-width: 22ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
  margin-bottom: 28px;
  max-width: 52ch;
  margin-inline: auto;
}

.cta-band .store-row { justify-content: center; }
.cta-band .store-btn {
  background: var(--surface);
  color: var(--text-heading);
}
.cta-band .store-btn .store-line-1 { color: var(--text-secondary); }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 32ch;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9375rem;
}
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

/* --- Reveal animation -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .feature-row { gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .langs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --s-section: 72px; }
  .container { padding-inline: 20px; }

  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 16px;
    right: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    border-radius: var(--r-lg);
    padding: 12px;
    gap: 2px;
  }
  .site-nav.is-open a { padding: 14px 16px; min-height: 48px; display: flex; align-items: center; }

  .hero { padding-top: 48px; padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-bullets { justify-content: center; }
  .store-row { justify-content: center; }
  .hero-phone { max-width: 280px; }

  .values-grid { grid-template-columns: 1fr; gap: 16px; }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  .feature-row[data-reverse="true"] .feature-text,
  .feature-row[data-reverse="true"] .feature-visual { order: initial; }
  .feature-row .feature-visual { order: -1; }
  .phone-frame { max-width: 240px; }

  .langs-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band { padding: 48px 28px; border-radius: var(--r-xxl); }
  .cta-mascot { width: 64px; height: 64px; top: 8px; right: 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .store-btn { min-width: 0; flex: 1; padding: 12px 14px; }
  .store-btn .store-line-2 { font-size: 0.9375rem; }
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-phone, .cta-mascot { animation: none; }
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-header, .cta, .site-footer { display: none; }
}
