/* =========================================================================
   locq – Static Landing Page
   Self-contained stylesheet (no external CDN / build step required).
   Mirrors the design of the Next.js / Tailwind source app.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-500: #3b82f6;
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --indigo-600: #4f46e5;
  --indigo-500: #6366f1;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --chat-bg: #eceef2;
  --chat-user: #aed4f5;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.25);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, Arial, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container { max-width: 80rem; margin: 0 auto; }
.section { padding: 5rem 1rem; position: relative; }
@media (min-width: 640px) { .section { padding: 5rem 1.5rem; } }
@media (min-width: 1024px) { .section { padding: 5rem 2rem; } }
.section--gray { background: var(--gray-50); }
.divider-top::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-200), transparent);
}
.text-gradient {
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500), var(--indigo-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-brand {
  background: linear-gradient(90deg, var(--blue-600), var(--indigo-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .25rem .75rem; border-radius: 9999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  background: var(--blue-50); color: var(--blue-600);
  border: 1px solid var(--blue-200);
}
.badge::before {
  content: ""; width: .375rem; height: .375rem; border-radius: 9999px;
  background: currentColor; opacity: .7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; transition: all .2s; border: 0; white-space: nowrap;
}
.btn svg { width: 1rem; height: 1rem; }
.btn--primary {
  background: var(--blue-600); color: #fff;
  box-shadow: 0 4px 6px rgba(37,99,235,.2);
}
.btn--primary:hover { background: var(--blue-700); box-shadow: 0 6px 10px rgba(37,99,235,.3); }
.btn--outline {
  background: transparent; color: var(--blue-600); border: 1px solid var(--blue-600);
}
.btn--outline:hover { background: var(--blue-50); }
.btn--sm { padding: .5rem 1rem; font-size: .875rem; border-radius: var(--radius-xl); }
.btn--md { padding: .625rem 1.25rem; font-size: .875rem; border-radius: var(--radius-xl); }
.btn--lg { padding: .875rem 1.75rem; font-size: 1rem; border-radius: var(--radius-xl); }
.btn--full { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all .3s; background: transparent;
}
.navbar.is-scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.navbar__inner {
  max-width: 80rem; margin: 0 auto; height: 4rem;
  padding: 0 1rem; display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 640px) { .navbar__inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .navbar__inner { padding: 0 2rem; } }
.brand { display: inline-flex; align-items: center; gap: .625rem; }
.brand__mark {
  width: 2.25rem; height: 2.25rem; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 6px rgba(37,99,235,.25);
}
.brand__name { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); }
.navbar__links { display: none; align-items: center; gap: .25rem; }
.navbar__link {
  padding: .5rem .75rem; font-size: .875rem; font-weight: 500; color: var(--gray-600);
  border-radius: var(--radius-xl); transition: all .2s;
}
.navbar__link:hover { color: var(--blue-600); background: var(--blue-50); }
.navbar__right { display: none; align-items: center; gap: .75rem; }
.navbar__toggle {
  display: inline-flex; padding: .5rem; border-radius: var(--radius-xl);
  background: transparent; border: 0; color: var(--gray-600);
}
.navbar__toggle:hover { background: var(--gray-100); color: var(--gray-900); }
.navbar__toggle svg { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) {
  .navbar__links, .navbar__right { display: flex; }
  .navbar__toggle { display: none; }
}
.navbar__mobile { display: none; background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
.navbar__mobile.is-open { display: block; }
.navbar__mobile-inner { padding: 1rem; display: flex; flex-direction: column; gap: .25rem; }
.navbar__mobile .navbar__link { display: block; padding: .625rem .75rem; color: var(--gray-700); }
@media (min-width: 768px) { .navbar__mobile { display: none !important; } }

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: .25rem; padding: .25rem;
  border-radius: var(--radius-xl); background: var(--gray-100); border: 1px solid var(--gray-200);
}
.lang-switch a {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .25rem .625rem; border-radius: .375rem;
  font-size: .75rem; font-weight: 600; color: var(--gray-500); transition: all .2s;
}
.lang-switch a:hover { color: var(--gray-800); background: #fff; }
.lang-switch a.is-active { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 4rem; overflow: hidden; background: #fff;
}
.hero__bg-grid {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__glow-1 {
  position: absolute; top: 0; right: 0; width: 600px; height: 600px;
  background: radial-gradient(circle at center, var(--blue-50), transparent 70%);
  border-radius: 9999px; transform: translate(25%, -25%); pointer-events: none;
}
.hero__glow-2 {
  position: absolute; bottom: 0; left: 0; width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(239,246,255,.6), transparent 70%);
  border-radius: 9999px; transform: translate(-25%, 25%); pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 10; width: 100%;
  max-width: 80rem; margin: 0 auto; padding: 0 1rem;
}
@media (min-width: 640px) { .hero__inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .hero__inner { padding: 0 2rem; } }
.hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero__copy { text-align: center; }
@media (min-width: 1024px) { .hero__copy { text-align: left; } }
.hero__title {
  font-size: clamp(2.75rem, 7vw, 4.5rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -.02em; margin: 1.5rem 0;
}
.hero__title span { display: block; color: var(--gray-900); }
.hero__title span.accent { color: transparent;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500), var(--indigo-500));
  -webkit-background-clip: text; background-clip: text; }
.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem); color: var(--gray-600);
  line-height: 1.7; margin-bottom: 2rem; max-width: 36rem;
}
@media (max-width: 1023px) { .hero__subtitle { margin-left: auto; margin-right: auto; } }
.hero__actions {
  display: flex; flex-direction: column; gap: .75rem; margin-bottom: 3rem;
  justify-content: center;
}
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
@media (min-width: 1024px) { .hero__actions { justify-content: flex-start; } }
.hero__stats { display: flex; justify-content: center; gap: 2rem; }
@media (min-width: 640px) { .hero__stats { gap: 3rem; } }
@media (min-width: 1024px) { .hero__stats { justify-content: flex-start; } }
.hero__stat-value { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; }
.hero__stat-label { font-size: .75rem; color: var(--gray-500); margin-top: .125rem; }
@media (min-width: 640px) { .hero__stat-label { font-size: .875rem; } }

/* Phone mockup */
.hero__visual { display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero__visual { justify-content: flex-end; } }
.phone {
  position: relative; width: 100%; max-width: 20rem;
  background: #fff; border-radius: var(--radius-3xl); overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 40px rgba(37,99,235,.15), var(--shadow-2xl);
  animation: float 6s ease-in-out infinite;
}
.phone__title { padding: 1rem 1rem .25rem; }
.phone__title h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.phone__subbar {
  padding: 0 1rem .75rem; display: flex; align-items: center; justify-content: space-between;
}
.phone__subbar-left { display: flex; align-items: center; gap: .75rem; }
.phone__subbar-left svg { width: 1.25rem; height: 1.25rem; color: var(--gray-700); }
.phone__energy {
  padding: .25rem .625rem; border-radius: .375rem; background: var(--green-500);
  color: #fff; font-size: .75rem; font-weight: 700;
}
.phone__messages {
  background: var(--chat-bg); padding: 1rem .75rem; min-height: 300px;
  display: flex; flex-direction: column; gap: .75rem;
}
.bubble-name { font-size: .625rem; color: var(--gray-400); margin-bottom: .25rem; }
.bubble-row { display: flex; }
.bubble-row.right { justify-content: flex-end; }
.bubble-row.right + .bubble-name, .bubble.right .bubble-name { text-align: right; }
.bubble { animation: chat-appear .4s ease-out forwards; opacity: 0; }
.bubble.right .bubble-name { text-align: right; margin-right: .25rem; }
.bubble.left .bubble-name { margin-left: .25rem; }
.bubble:nth-child(1) { animation-delay: .3s; }
.bubble:nth-child(2) { animation-delay: 1.2s; }
.bubble:nth-child(3) { animation-delay: 2.4s; }
.bubble:nth-child(4) { animation-delay: 3.6s; }
.bubble__text {
  border-radius: var(--radius-2xl); padding: .5rem .875rem; font-size: .75rem;
  color: var(--gray-800); max-width: 78%; line-height: 1.6;
}
.bubble.right .bubble__text { background: var(--chat-user); }
.bubble.left .bubble__text { background: #fff; box-shadow: var(--shadow-sm); }
.phone__input { background: #fff; padding: .75rem .75rem .5rem; display: flex; flex-direction: column; gap: .5rem; }
.phone__voice {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem; border-radius: var(--radius-xl); background: var(--green-500);
  color: #fff; font-size: .875rem; font-weight: 600; border: 0; transition: background .2s;
}
.phone__voice:hover { background: var(--green-600); }
.phone__voice svg { width: 1rem; height: 1rem; }
.phone__textrow { display: flex; align-items: center; gap: .5rem; }
.phone__textfield {
  flex: 1; background: var(--gray-100); border-radius: var(--radius-xl);
  padding: .625rem .75rem; font-size: .75rem; color: var(--gray-400);
}
.phone__send { width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; color: var(--blue-500); background: none; border: 0; }
.phone__send svg { width: 1.25rem; height: 1.25rem; }
.phone__nav {
  background: #fff; border-top: 1px solid var(--gray-100); padding: .5rem;
  display: flex; align-items: center; justify-content: space-around;
}
.phone__nav-item { display: flex; flex-direction: column; align-items: center; gap: .125rem; color: var(--gray-400); }
.phone__nav-item.active { color: var(--blue-500); }
.phone__nav-item svg { width: 1.25rem; height: 1.25rem; }
.phone__nav-item span { font-size: .625rem; }
.phone__nav-item.active span { font-weight: 600; }

/* ---------- Section headers ---------- */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .badge { margin-bottom: 1rem; }
.section-head h2 {
  font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; color: var(--gray-900);
  letter-spacing: -.02em; margin-bottom: 1rem;
}
.section-head p { font-size: 1.125rem; color: var(--gray-600); max-width: 42rem; margin: 0 auto; }

/* ---------- Features ---------- */
.features__grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-2xl);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: all .3s;
}
.feature:hover { box-shadow: var(--shadow-md); border-color: var(--blue-200); }
@media (min-width: 1024px) {
  .features__grid .feature:nth-child(2),
  .features__grid .feature:nth-child(4) { transform: translateY(1rem); }
}
.feature__icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-xl);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1.25rem; transition: transform .3s;
}
.feature:hover .feature__icon { transform: scale(1.1); }
.feature__line { width: 2rem; height: 2px; border-radius: 2px; margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--blue-500), transparent); }
.feature h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.feature p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }

.cta-strip {
  margin-top: 4rem; border-radius: var(--radius-2xl); padding: 2rem;
  background: linear-gradient(90deg, var(--blue-600), var(--indigo-600));
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1.5rem; box-shadow: 0 10px 25px rgba(37,99,235,.2);
}
@media (min-width: 640px) { .cta-strip { flex-direction: row; } }
.cta-strip__title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.cta-strip__text { font-size: .875rem; color: var(--blue-100); }
.cta-strip__flags { display: flex; align-items: center; gap: 1rem; font-size: 2.25rem; }
.cta-strip__flags .slash { color: rgba(255,255,255,.6); font-size: 1.125rem; font-weight: 300; }

/* ---------- Pricing ---------- */
.pricing__plans { display: flex; justify-content: center; }
.plan {
  position: relative; width: 100%; max-width: 24rem;
  background: #fff; border: 2px solid var(--blue-500); border-radius: var(--radius-2xl);
  padding: 1.5rem; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 4px rgba(219,234,254,.5);
}
.plan__name { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: .25rem; }
.plan__desc { font-size: .875rem; color: var(--gray-500); margin-bottom: 1rem; }
.plan__price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: 1.5rem; }
.plan__price .amount { font-size: 2.25rem; font-weight: 800; color: var(--gray-900); }
.plan__price .period { font-size: .875rem; color: var(--gray-400); }
.plan__features { display: flex; flex-direction: column; gap: .625rem; flex: 1; margin-bottom: 1.5rem; }
.plan__features li { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--gray-600); }
.plan__features svg { width: 1rem; height: 1rem; color: var(--blue-500); flex-shrink: 0; margin-top: .125rem; }
.price-note {
  text-align: center; font-size: .75rem; color: var(--gray-400);
  margin-top: 1rem; display: flex; align-items: center; justify-content: center; gap: .25rem;
}
.price-note svg { width: .875rem; height: .875rem; flex-shrink: 0; }
.store-note {
  text-align: center; font-size: .75rem; color: var(--gray-400);
  margin-top: 1.5rem; display: flex; align-items: center; justify-content: center; gap: .375rem;
}
.store-note svg { width: .875rem; height: .875rem; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.faq__head h2 { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; color: var(--gray-900); letter-spacing: -.02em; margin: 1rem 0; }
.faq__head p { color: var(--gray-600); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
@media (min-width: 1024px) { .faq__head { position: sticky; top: 6rem; } }
.contact-card {
  background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  border-radius: var(--radius-2xl); padding: 1.25rem;
}
.contact-card__row { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.contact-card__icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius-xl); background: var(--blue-50);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.contact-card__title { font-size: .875rem; font-weight: 600; color: var(--gray-900); }
.contact-card__hours { font-size: .75rem; color: var(--gray-500); }
.contact-card__mail {
  display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem;
  color: var(--blue-600); font-weight: 500;
}
.contact-card__mail:hover { color: var(--blue-700); }
.contact-card__mail svg { width: .875rem; height: .875rem; }
.faq__list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  overflow: hidden; transition: all .3s;
}
.faq-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; text-align: left; background: none; border: 0;
}
.faq-item__q-text { font-size: .9375rem; font-weight: 600; color: var(--gray-900); transition: color .2s; }
.faq-item:hover .faq-item__q-text { color: var(--blue-600); }
.faq-item__chevron {
  flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: .5rem;
  border: 1px solid var(--gray-200); color: var(--gray-400);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.faq-item__chevron svg { width: 1rem; height: 1rem; }
.faq-item.is-open .faq-item__chevron { background: var(--blue-50); border-color: var(--blue-200); color: var(--blue-600); transform: rotate(180deg); }
.faq-item__a { max-height: 0; opacity: 0; overflow: hidden; transition: all .3s ease-in-out; }
.faq-item.is-open .faq-item__a { max-height: 24rem; opacity: 1; }
.faq-item__a-inner { padding: 0 1.25rem 1.25rem; border-top: 1px solid var(--gray-100); padding-top: 1rem; margin-top: 0; }
.faq-item__a-inner p { font-size: .875rem; color: var(--gray-600); line-height: 1.7; }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--gray-200); background: #fff; padding: 4rem 1rem 2rem; }
@media (min-width: 640px) { .footer { padding: 4rem 1.5rem 2rem; } }
@media (min-width: 1024px) { .footer { padding: 4rem 2rem 2rem; } }
.footer__inner { max-width: 80rem; margin: 0 auto; }
.footer__grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; max-width: 20rem; margin: 1rem 0 1.5rem; }
.footer__socials { display: flex; gap: .75rem; }
.footer__social {
  width: 2.25rem; height: 2.25rem; border-radius: .5rem; border: 1px solid var(--gray-200);
  background: #fff; display: flex; align-items: center; justify-content: center; color: var(--gray-500); transition: all .2s;
}
.footer__social:hover { color: var(--blue-600); border-color: var(--blue-200); }
.footer__social svg { width: 1rem; height: 1rem; }
.footer__col h3 { font-size: .75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer__col a { font-size: .875rem; color: var(--gray-500); transition: color .2s; }
.footer__col a:hover { color: var(--gray-900); }
.footer__langs { margin-top: 1.5rem; display: flex; gap: .5rem; }
.footer__lang {
  font-size: .75rem; padding: .25rem .625rem; border-radius: .375rem;
  border: 1px solid var(--gray-200); color: var(--gray-500); transition: all .2s;
}
.footer__lang:hover { color: var(--gray-900); border-color: var(--gray-300); }
.footer__lang.is-active { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.footer__bottom {
  padding-top: 2rem; border-top: 1px solid var(--gray-100);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 640px) { .footer__bottom { flex-direction: row; } }
.footer__bottom p { font-size: .75rem; color: var(--gray-400); }

/* ---------- Legal pages ---------- */
.legal-header { border-bottom: 1px solid var(--gray-200); background: #fff; }
.legal-header__inner {
  max-width: 56rem; margin: 0 auto; padding: 1rem; display: flex;
  align-items: center; justify-content: space-between;
}
.legal-back { font-size: .875rem; color: var(--gray-500); display: inline-flex; align-items: center; gap: .25rem; transition: color .2s; }
.legal-back:hover { color: var(--gray-900); }
.legal-back svg { width: 1rem; height: 1rem; }
.legal-tabs { border-bottom: 1px solid var(--gray-200); background: #fff; }
.legal-tabs__inner { max-width: 56rem; margin: 0 auto; padding: 0 1rem; display: flex; gap: .25rem; overflow-x: auto; }
.legal-tab {
  white-space: nowrap; padding: .625rem 1rem; font-size: .875rem; font-weight: 500;
  color: var(--gray-500); border-radius: .375rem .375rem 0 0; transition: all .2s;
}
.legal-tab:hover { color: var(--gray-900); background: var(--gray-50); }
.legal-tab.is-active { color: var(--blue-600); border-bottom: 2px solid var(--blue-600); background: var(--blue-50); }
.legal-main { max-width: 56rem; margin: 0 auto; padding: 3rem 1rem; }
@media (min-width: 640px) { .legal-header__inner, .legal-tabs__inner, .legal-main { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .legal-header__inner, .legal-tabs__inner, .legal-main { padding-left: 2rem; padding-right: 2rem; } }
.legal-main h1.legal-title { font-size: clamp(1.875rem, 4vw, 2.25rem); font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.legal-version { font-size: .875rem; color: var(--gray-400); margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.legal-content h1 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: var(--gray-900); margin: 2.5rem 0 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--gray-200); }
.legal-content h1:first-child { margin-top: 0; }
.legal-content h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 600; color: var(--gray-900); margin: 2rem 0 1rem; }
.legal-content p { color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: var(--gray-600); display: flex; flex-direction: column; gap: .5rem; }
.legal-content li { line-height: 1.7; }
.legal-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { font-weight: 600; color: var(--gray-800); }
.legal-footer { border-top: 1px solid var(--gray-200); margin-top: 4rem; background: #fff; }
.legal-footer__inner {
  max-width: 56rem; margin: 0 auto; padding: 1.5rem 1rem; display: flex; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 1rem; font-size: .75rem; color: var(--gray-400);
}
@media (min-width: 640px) { .legal-footer__inner { flex-direction: row; } }
.legal-footer__links { display: flex; gap: 1rem; }
.legal-footer__links a:hover { color: var(--gray-600); }

/* ---------- Animations ---------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes chat-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fade-in-up .6s ease-out forwards; }
.d-100 { animation-delay: .1s; } .d-200 { animation-delay: .2s; }
.d-300 { animation-delay: .3s; } .d-500 { animation-delay: .5s; }
.animate-up { opacity: 0; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,.6); }
