/* ============ Tokens ============ */
:root {
  --green: #22B241;
  --green-dark: #1E9E3A;
  --green-glow: rgba(34, 178, 65, 0.18);

  --bg: #0A0A0A;
  --bg-elevated: #0F0F0F;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.62);
  --text-3: rgba(255, 255, 255, 0.38);

  --blue: #1D9BF0;
  --orange: #FF9500;
  --red: #E53935;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 12vw, 140px);

  --nav-scrim: rgba(10, 10, 10, 0.72);
  --overlay-scrim: rgba(10, 10, 10, 0.97);
  --grid-line: rgba(255, 255, 255, 0.06);
}

:root[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-elevated: #F7F8F7;
  --surface: #F4F5F4;
  --surface-2: #ECEDEC;
  --border: rgba(10, 10, 10, 0.09);
  --border-hover: rgba(10, 10, 10, 0.18);

  --text: #0A0A0A;
  --text-2: rgba(10, 10, 10, 0.64);
  --text-3: rgba(10, 10, 10, 0.42);

  --green-glow: rgba(34, 178, 65, 0.12);
  --shadow: 0 8px 40px rgba(10, 10, 10, 0.10);
  --shadow-lg: 0 24px 80px rgba(10, 10, 10, 0.16);

  --nav-scrim: rgba(255, 255, 255, 0.78);
  --overlay-scrim: rgba(255, 255, 255, 0.98);
  --grid-line: rgba(10, 10, 10, 0.05);
}

body { transition: background .35s var(--ease), color .35s var(--ease); }

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
section[id] { scroll-margin-top: 90px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 14px 0 16px;
}
.section-head p {
  color: var(--text-2);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #06210D;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-2);
  background: transparent;
  border-radius: 999px;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ============ Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: var(--nav-scrim);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
}
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-3);
  transition: .25s var(--ease);
}
.lang-switch button.active {
  background: var(--surface-2);
  color: var(--text);
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.theme-switch button {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--text-3);
  transition: .25s var(--ease);
}
.theme-switch button svg { width: 14px; height: 14px; }
.theme-switch button.active {
  background: var(--surface-2);
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 18px; height: 18px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--overlay-scrim);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px var(--gutter);
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--text-2);
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 56px 0 40px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-bg::before {
  top: -180px; left: -160px;
  background: var(--green-glow);
}
.hero-bg::after {
  bottom: -220px; right: -160px;
  width: 520px; height: 520px;
  background: rgba(29, 155, 240, 0.10);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 64px);
  opacity: 0.025;
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 30% 30%, #000 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-glow);
  border: 1px solid rgba(34, 178, 65, 0.3);
  border-radius: 999px;
  padding: 7px 16px 7px 12px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 178, 65, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 178, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 178, 65, 0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--green) 0%, #6EE894 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.hero-sub {
  color: var(--text-2);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.store-badge {
  height: 54px;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.1); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.85rem;
}
.hero-meta .sep { opacity: 0.5; }

.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.phone {
  width: 300px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 10px solid #1c1c1e;
  background: #000;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  animation: float 6s ease-in-out infinite alternate;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float {
  from { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(0); }
  to   { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-12px); }
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-meta { justify-content: center; }
  .hero-visual { order: 2; margin-top: 32px; }
  .phone { transform: none; animation: none; }
}

/* ============ Stats strip ============ */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 32px 12px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}
.stat .label {
  margin-top: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
@media (max-width: 640px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
}

/* ============ Features (bento) ============ */
.features { padding: var(--section-y) 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 20px;
}
.bento-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: .35s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px var(--green-glow);
}
.bento-card.wide { grid-column: span 2; }
.bento-card.full { grid-column: span 3; display: flex; align-items: center; gap: 28px; }
.bento-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.bento-card.full .bento-icon { margin-bottom: 0; }
.bento-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transform-origin: center;
  transition: transform .4s var(--ease);
  animation: icon-live 2.6s ease-in-out infinite;
}
.bento-card:hover .bento-icon svg { animation-play-state: paused; transform: rotate(-6deg) scale(1.15); }

@keyframes icon-live {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-2px) rotate(-4deg) scale(1.06); }
}
.bento-card:nth-child(1) .bento-icon svg { animation-delay: 0s; }
.bento-card:nth-child(2) .bento-icon svg { animation-delay: .35s; }
.bento-card:nth-child(3) .bento-icon svg { animation-delay: .7s; }
.bento-card:nth-child(4) .bento-icon svg { animation-delay: 1.05s; }
.bento-card:nth-child(5) .bento-icon svg { animation-delay: 1.4s; }
.bento-card:nth-child(6) .bento-icon svg { animation-delay: 1.75s; }
.bento-card h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.bento-card p { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.wide { grid-column: span 2; }
  .bento-card.full { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide, .bento-card.full { grid-column: span 1; }
  .bento-card.full { flex-direction: column; text-align: center; }
}

/* ============ Screens gallery ============ */
.gallery { padding-bottom: var(--section-y); }
.gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px var(--gutter) 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: center;
  opacity: 0.55;
  transform: scale(1);
  transition: .4s var(--ease);
}
.gallery-item.is-center { opacity: 1; transform: scale(1.06); }
.gallery-item .phone { width: 100%; margin: 0 auto; animation: none; transform: none; }
@media (max-width: 640px) {
  .gallery-item { width: 200px; opacity: 1; }
  .gallery-item.is-center { transform: none; }
}

/* ============ How it works ============ */
.how { padding-bottom: var(--section-y); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.how-step { position: relative; padding: 0 12px; }
.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px; left: calc(50% + 46px); right: calc(-50% + 46px);
  border-top: 1px dashed var(--border);
}
.how-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.how-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.how-step p { color: var(--text-2); font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-step:not(:last-child)::after { display: none; }
}

/* ============ FAQ ============ */
.faq { padding-bottom: var(--section-y); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform .3s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--text-2);
  transition: .3s var(--ease);
}
.faq-q .plus::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a p { color: var(--text-2); font-size: 0.95rem; line-height: 1.7; padding-bottom: 22px; max-width: 620px; }
.faq-a a { color: var(--green); }

/* ============ Download CTA band ============ */
.cta-band-wrap { padding-bottom: var(--section-y); }
.cta-band {
  background: linear-gradient(135deg, #12351E 0%, #0A0A0A 55%);
  border: 1px solid rgba(34, 178, 65, 0.22);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 80px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(closest-side, rgba(34,178,65,0.5), transparent);
  filter: blur(20px);
}
.cta-band h2 {
  position: relative;
  color: #FFFFFF;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-band p {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  margin-bottom: 34px;
}
.cta-band .hero-ctas { position: relative; justify-content: center; }

/* ============ Contact ============ */
.contact { padding-bottom: var(--section-y); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.contact-info > p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-channel:last-child { border-bottom: 1px solid var(--border); }
.contact-channel .ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-channel .ico svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 1.8; }
.contact-channel .label { font-size: 0.78rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-channel .value { font-size: 0.95rem; font-weight: 600; }
.contact-channel a.value:hover { color: var(--green); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: .25s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
  outline: none;
}
.form-submit {
  width: 100%;
  height: 52px;
  background: var(--green);
  color: #06210D;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  transition: .3s var(--ease);
}
.form-submit:hover { background: var(--green-dark); }

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  background: var(--green-glow);
  border: 1px solid rgba(34,178,65,0.35);
  border-radius: var(--radius);
  padding: 22px;
}
.form-success.show { display: flex; }
.form-success svg { width: 24px; height: 24px; stroke: var(--green); flex-shrink: 0; }
.form-success p { font-weight: 600; font-size: 0.95rem; }
.contact-form.hidden { display: none; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .nav-brand img { width: 28px; height: 28px; }
.footer-brand p { color: var(--text-2); font-size: 0.9rem; max-width: 260px; }
.footer-badges { display: flex; gap: 10px; margin-top: 4px; }
.footer-badges img { height: 38px; }
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-2); font-size: 0.9rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  color: var(--text-3);
  font-size: 0.85rem;
  text-align: center;
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Legal / policy page ============ */
.legal { padding: calc(var(--section-y) * 0.6) 0 calc(var(--section-y) * 0.7); }
.legal-container { max-width: 760px; }
.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 14px 0 8px;
}
.legal-updated { color: var(--text-3); font-size: 0.85rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; margin: 40px 0 14px; }
.legal h3 { font-size: 1.02rem; font-weight: 700; margin: 26px 0 10px; }
.legal p { color: var(--text-2); font-size: 0.98rem; line-height: 1.75; margin-bottom: 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: var(--text-2); font-size: 0.98rem; line-height: 1.75; margin-bottom: 8px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); font-weight: 700; }
.legal-nav .container { justify-content: space-between; }
.legal-nav .back-short { display: none; }

@media (max-width: 640px) {
  .legal-nav .container { height: 64px; gap: 8px; }
  .legal-nav .nav-brand { font-size: 0.88rem; gap: 6px; }
  .legal-nav .nav-brand img { width: 24px; height: 24px; }
  .legal-nav .nav-right { gap: 8px; }
  .legal-nav .btn-ghost { height: 38px; padding: 0 12px; font-size: 0.8rem; }
  .legal-nav .back-full { display: none; }
  .legal-nav .back-short { display: inline; }
  .legal { padding: calc(var(--section-y) * 0.4) 0 calc(var(--section-y) * 0.5); }
  .legal h1 { margin-top: 4px; }
  .legal h2 { margin: 32px 0 12px; }
}
