:root {
  --bg: #070711;
  --bg-2: #0c0c1d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --ink: #f5f6ff;
  --ink-soft: #a8abc7;
  --ink-dim: #6e7291;
  --scrim: rgba(7, 7, 17, 0.72);
  --footer-bg: #05050d;
  --accent: #6C63FF;
  --accent-2: #00D9FF;
  --grad: linear-gradient(135deg, #6C63FF, #00D9FF);
  --grad-soft: linear-gradient(135deg, rgba(108,99,255,.35), rgba(0,217,255,.35));
  --glow: 0 0 60px rgba(108, 99, 255, 0.35);
  --radius: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f7ff;
  --bg-2: #eef0ff;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-2: rgba(20, 20, 40, 0.05);
  --border: rgba(20, 20, 60, 0.12);
  --ink: #1a1b2e;
  --ink-soft: #4b4e6b;
  --ink-dim: #7a7da0;
  --scrim: rgba(246, 247, 255, 0.8);
  --footer-bg: #eef0ff;
  --glow: 0 0 60px rgba(108, 99, 255, 0.2);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- Top navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--scrim);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-cta {
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,217,255,.4); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.switchers { display: flex; align-items: center; gap: 8px; }
.lang-switch, .theme-switch {
  display: flex; align-items: center; gap: 2px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px; padding: 3px;
}
.sw-opt {
  border: none; background: transparent; cursor: pointer;
  color: var(--ink-soft); font-size: 12px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; transition: all .2s;
}
.sw-opt:hover { color: var(--ink); }
.sw-opt.active { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(108,99,255,.35); }
.mobile-switchers {
  display: flex; flex-direction: column; gap: 14px; align-items: center; margin-top: 8px;
}
.mobile-switchers .sw-opt { font-size: 15px; padding: 8px 16px; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: 0; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: 20px; font-weight: 600; color: var(--ink); }

/* ---------- Hero (product showcase) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 36px 80px;
  background:
    radial-gradient(circle at 75% 25%, rgba(108, 99, 255, 0.18), transparent 55%),
    radial-gradient(circle at 12% 85%, rgba(0, 217, 255, 0.12), transparent 50%),
    var(--bg);
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(108, 99, 255, 0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-copy h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy p.body {
  font-size: clamp(15px, 1.5vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 22px;
}
.hero-copy .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 296px;
  aspect-ratio: 9 / 19.3;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(160deg, #24244e, #101024);
  box-shadow:
    0 42px 90px rgba(108, 99, 255, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(1.2deg); }
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 98px; height: 26px;
  background: #0a0a18;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #0b0b1e;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.phone-coin {
  position: absolute;
  font-size: 26px;
  filter: drop-shadow(0 4px 10px rgba(255, 209, 102, 0.55));
  animation: floaty 3.6s ease-in-out infinite;
  z-index: 3;
}
.phone-coin.coin-1 { top: 14%; right: -28px; }
.phone-coin.coin-2 { bottom: 16%; left: -32px; animation-delay: 1.3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-14px) rotate(10deg); }
}

/* ---------- Shared UI atoms ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(108,99,255,.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0,217,255,.45); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ---------- Feature cards (below the world) ---------- */
.content-section { position: relative; z-index: 2; padding: 110px 36px; background: var(--bg); }
.content-section.alt { background: var(--bg-2); }
.content-section .wrap { max-width: 1180px; margin: 0 auto; }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-title .eyebrow { justify-content: center; }
.section-title h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-title h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-title p { color: var(--ink-soft); font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(108,99,255,.5); box-shadow: 0 20px 50px rgba(108,99,255,.18); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid var(--border);
  margin-bottom: 18px; font-size: 24px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 14.5px; }
.card .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.chip { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(108,99,255,.14); color: #c9c6ff; border: 1px solid rgba(108,99,255,.3); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.split:last-child { margin-bottom: 0; }
.split.flip .visual { order: 2; }
.split .text h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.split .text h3 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.split .text p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 18px; }
.split .text ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.split .text li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); }
.split .text li::before { content: "✓"; color: var(--accent-2); font-weight: 800; }
.visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--glow); position: relative; padding: 22px; }
.visual img { width: 100%; display: block; }

/* ---------- Product screenshot showcase ---------- */
.phones { display: flex; justify-content: center; gap: 36px; margin: 0 0 56px; flex-wrap: wrap; }
.phone-small { width: 236px; animation: none; }
.phone-small figcaption { text-align: center; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Browser-window mockup (real dashboard screenshots) ---------- */
.browser {
  width: 100%; max-width: 560px; margin: 0 auto;
  border-radius: 14px; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(108, 99, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.35);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-bar .dots span { width: 11px; height: 11px; border-radius: 50%; }
.browser-bar .dots span:nth-child(1) { background: #ff5f57; }
.browser-bar .dots span:nth-child(2) { background: #febc2e; }
.browser-bar .dots span:nth-child(3) { background: #28c840; }
.browser-bar .addr {
  flex: 1; margin-left: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 14px;
  font-size: 12px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.browser-screen { position: relative; line-height: 0; }
.browser-screen img { width: 100%; height: auto; display: block; }
/* theme-aware swap: dark screenshot by default, light screenshot in light mode */
.browser-screen .dash-light,
.phone-screen .dash-light { display: none; }
[data-theme="light"] .browser-screen .dash-dark,
[data-theme="light"] .phone-screen .dash-dark { display: none; }
[data-theme="light"] .browser-screen .dash-light,
[data-theme="light"] .phone-screen .dash-light { display: block; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured { border-color: var(--accent); background: linear-gradient(160deg, rgba(108,99,255,.16), rgba(0,217,255,.08) 60%), var(--surface); }
.price-card .pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 999px; letter-spacing: .06em; }
.price-card h4 { font-size: 15px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.price-card .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.price-card .amount .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-card .per { font-size: 13px; color: var(--ink-dim); margin-bottom: 18px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; flex: 1; }
.price-card li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-soft); }
.price-card li::before { content: "✓"; color: var(--accent-2); font-weight: 800; }
.price-card li.no::before { content: "✕"; color: var(--ink-dim); }

/* CTA band */
.cta-band {
  position: relative; z-index: 2;
  text-align: center; padding: 110px 36px;
  background:
    radial-gradient(900px 400px at 50% 0%, rgba(108,99,255,.28), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.cta-band h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-band p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 34px; font-size: 17px; }
.cta-band .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.store-buttons {
  display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 22px;
}
/* Official store badges — artwork must stay unmodified (Google Play / Apple badge
   guidelines). Only size, spacing and hover lift are applied. */
.store-badge-link {
  display: inline-block;
  margin: 6px; /* clear space required around badges */
  transition: transform .2s ease, filter .2s ease;
}
.store-badge-link:hover { transform: translateY(-3px); filter: brightness(1.08); }
.store-badge { display: block; height: 60px; width: auto; border-radius: 8px; }
.store-badge.apple { height: 48px; box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 10px 26px rgba(0,0,0,.35); }
.cta-band .cta-sub { margin-top: 4px; font-size: 14px; color: var(--ink-dim); }
.cta-band .cta-sub a { color: var(--accent-2); font-weight: 600; }
.cta-band .cta-sub a:hover { text-decoration: underline; }

/* Footer */
footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 46px 36px 60px;
  background: var(--footer-bg);
}
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand p { color: var(--ink-dim); font-size: 13.5px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; font-size: 13px; line-height: 1.5; }
.footer-contact .footer-contact-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
.footer-contact a { color: var(--ink-dim); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact span:last-child { color: var(--ink-dim); }

.text-accent { color: var(--accent-2); }
.text-accent:hover { color: var(--accent-2); text-decoration: underline; }
.footer-cols { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-col h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-dim); font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { max-width: 1180px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; color: var(--ink-dim); font-size: 13px; gap: 20px; flex-wrap: wrap; }
.footer-bottom .footer-social { order: 2; }
.footer-bottom > span:first-child { order: 1; }
.footer-bottom > span:last-child { order: 3; }
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 16px; }
  .footer-bottom .footer-social { order: 3; }
}
.footer-bottom .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }

/* Social links — circular icon buttons */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--ink-dim);
  background: transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease,
              border-color .18s ease, box-shadow .18s ease;
}
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }
.social-btn:hover { transform: translateY(-3px); }
.social-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.social-btn:active { transform: translateY(-1px) scale(.97); }

/* Brand color fills on hover */
.social-btn[data-brand="yt"]:hover  { background:#FF0000; color:#fff; border-color:#FF0000; box-shadow:0 8px 20px rgba(255,0,0,.35); }
.social-btn[data-brand="ig"]:hover  { background:#E1306C; color:#fff; border-color:#E1306C; box-shadow:0 8px 20px rgba(225,48,108,.35); }
.social-btn[data-brand="fb"]:hover  { background:#1877F2; color:#fff; border-color:#1877F2; box-shadow:0 8px 20px rgba(24,119,242,.35); }
.social-btn[data-brand="in"]:hover  { background:#0A66C2; color:#fff; border-color:#0A66C2; box-shadow:0 8px 20px rgba(10,102,194,.35); }

/* Dark-brand platforms (X / Threads / TikTok) — neutral chip that reads on both themes */
.social-btn[data-brand="tt"]:hover,
.social-btn[data-brand="th"]:hover,
.social-btn[data-brand="x"]:hover  { background:#111; color:#fff; border-color:#111; box-shadow:0 8px 20px rgba(0,0,0,.4); }

[data-theme="dark"] .social-btn[data-brand="tt"]:hover,
[data-theme="dark"] .social-btn[data-brand="th"]:hover,
[data-theme="dark"] .social-btn[data-brand="x"]:hover { background:#fff; color:#111; border-color:#fff; box-shadow:0 8px 20px rgba(255,255,255,.2); }

/* Footer-bottom social row placed between copyright and "Made with" */
.footer-bottom .footer-social { justify-content: center; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .price-card, .btn, .nav-cta { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-actions { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.flip .visual { order: 0; }
  .hero { padding: 110px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy .tags, .hero-copy .cta-row { justify-content: center; }
  .hero-copy p.body { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .phone { width: 258px; }
}

/* ============ Subpages (Contact / Legal) ============ */
.page-main { position: relative; z-index: 2; padding: 130px 36px 90px; background: var(--bg); min-height: 72vh; }
.page-main .wrap { max-width: 980px; margin: 0 auto; }
.page-title { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-lede { color: var(--ink-soft); max-width: 620px; margin-bottom: 38px; font-size: 17px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px; display: flex; flex-direction: column; gap: 16px;
}
.contact-card h3 { font-size: 17px; font-weight: 700; margin: 0; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.contact-line a { color: var(--accent-2); font-weight: 600; word-break: break-all; }
.contact-line a:hover { text-decoration: underline; }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 15px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(0,217,255,.15);
}
.form-status { font-size: 14px; color: var(--accent-2); min-height: 20px; }

.legal-body { max-width: 760px; color: var(--ink-soft); line-height: 1.75; font-size: 15.5px; }
.legal-body h3 { color: var(--ink); margin: 26px 0 8px; font-size: 17px; }
.legal-note {
  margin-top: 34px; padding: 18px 22px; border-radius: 14px;
  background: var(--surface); border: 1px dashed var(--border); font-size: 14px;
}
.legal-note a { color: var(--accent-2); font-weight: 600; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ===== LEGAL DOCUMENTS ===== */
.doc-toolbar { display:flex; gap:10px; align-items:center; margin-bottom:26px; flex-wrap:wrap; }
.doc-badge { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent-2); background:rgba(0,217,255,.08); border:1px solid rgba(0,217,255,.25);
  padding:5px 12px; border-radius:999px; }
.doc-lang { margin-left:auto; display:flex; gap:6px; }
.doc-lang button { font:inherit; font-size:13px; font-weight:600; color:var(--ink-soft); background:var(--surface);
  border:1px solid var(--border); padding:6px 14px; border-radius:999px; cursor:pointer; }
.doc-lang button.active { color:#fff; background:var(--grad); border-color:transparent; }
[data-theme="light"] .doc-lang button.active { color:#fff; }
.legal-body h2 { color:var(--ink); font-size:20px; margin:34px 0 10px; letter-spacing:-0.01em; }
.legal-body h2:first-of-type { margin-top:8px; }
.legal-body h3 { color:var(--ink); font-size:16px; margin:22px 0 6px; }
.legal-body ul { margin:6px 0 12px; padding-left:22px; }
.legal-body li { margin-bottom:7px; }
.legal-body table { width:100%; border-collapse:collapse; margin:14px 0; font-size:14px; }
.legal-body th,.legal-body td { border:1px solid var(--border); padding:9px 12px; text-align:left; vertical-align:top; }
.legal-body th { color:var(--ink); background:var(--surface); font-weight:600; }
.ph { background:rgba(255,196,0,.16); border-bottom:2px dotted rgba(255,196,0,.75); padding:0 3px;
  border-radius:3px; color:var(--ink); font-weight:600; white-space:nowrap; }
.doc-updated { font-size:13px; color:var(--ink-dim); margin-bottom:4px; }
.lang-divider { border:none; border-top:1px dashed var(--border); margin:44px 0 10px; position:relative; }
.lang-divider::after { content:"ENGLISH VERSION FOLLOWS"; position:absolute; top:-9px; left:50%; transform:translateX(-50%);
  background:var(--bg); color:var(--ink-dim); font-size:11px; letter-spacing:.14em; padding:0 12px; }
.faq-item { border:1px solid var(--border); border-radius:var(--radius); padding:18px 22px; margin-bottom:12px; background:var(--surface); }
.faq-item h3 { margin:0 0 6px !important; }
.support-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin:20px 0; }
.support-card { border:1px solid var(--border); border-radius:var(--radius); padding:18px; background:var(--surface); }
.support-card h4 { color:var(--ink); margin:0 0 6px; font-size:15px; }
.support-card p { margin:0; font-size:14px; }

/* ---------- Cookie consent banner (Consent Mode v2) ---------- */
#consentBanner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
#consentBanner.consent-hidden { display: none; }
#consentBanner .consent-text { flex: 1 1 260px; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
#consentBanner .consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
#consentBanner .consent-actions .btn { padding: 8px 18px; font-size: 13.5px; white-space: nowrap; }
@media (max-width: 480px) {
  #consentBanner { flex-direction: column; align-items: stretch; text-align: center; }
  #consentBanner .consent-actions { justify-content: center; }
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 10px; }
.blog-card {
  display: flex; flex-direction: column; gap: 8px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 24px 22px; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(108,99,255,.55); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.blog-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.blog-card-date { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.blog-card h3 { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
.blog-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin: 0; flex: 1; }
.blog-card-more { color: var(--accent-2); font-size: 13.5px; font-weight: 600; margin-top: 4px; }

.post-wrap { max-width: 760px; }
.post-title { font-size: clamp(28px, 4.6vw, 40px); margin-top: 8px; }
.post-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-dim); margin-bottom: 18px; }
.post-breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--accent-2); }
.post-breadcrumb .sep { color: var(--ink-dim); }
.post-breadcrumb [aria-current="page"] { color: var(--ink); }
.post-meta { color: var(--ink-dim); font-size: 14px; margin-bottom: 30px; }
.post-body h2 { color: var(--ink); font-size: 20px; margin: 30px 0 10px; letter-spacing: -0.01em; }
.post-body h3 { color: var(--ink); font-size: 16px; margin: 22px 0 6px; }
.post-body blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft); }
.post-body ul, .post-body ol { margin: 8px 0 14px; padding-left: 22px; }
.post-body li { margin-bottom: 6px; }
.post-body code { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-size: 13px; }

.post-cta { margin-top: 22px; padding: 46px 36px; background: var(--grad-soft, rgba(108,99,255,.12)); border-top: 1px solid var(--border); text-align: center; }
.post-cta h3 { font-size: 24px; margin-bottom: 8px; }
.post-cta p { color: var(--ink-soft); margin-bottom: 22px; }
.post-related { margin-top: 60px; padding: 46px 0 60px; border-top: 1px solid var(--border); }
.post-related h3 { font-size: 22px; margin-bottom: 22px; }
