/* ============================================
   LOCVIA — Design System v3 (Production)
   ============================================ */

:root {
  --navy-950: #0A0E1A;
  --navy-900: #10162A;
  --navy-800: #171F38;
  --indigo-500: #3B6CFF;
  --indigo-400: #6B8CFF;
  --marigold-500: #F5A623;
  --marigold-100: #FFF3DC;
  --cloud-50: #F7F8FC;
  --cloud-100: #EEF1F8;
  --ink-900: #0B0F1A;
  --ink-600: #4B5468;
  --ink-300: #D5D9E6;
  --mist-400: #8D98BE;
  --white: #FFFFFF;
  --radius: 16px;
  --max-width: 1060px;
  --narrow: 780px;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--cloud-50);
  color: var(--ink-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo-500); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 26, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--white); letter-spacing: -.3px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo-500), var(--marigold-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-950); font-weight: 800; font-size: 14px;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--mist-400); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-cta {
  background: var(--indigo-500); color: var(--white) !important;
  padding: 9px 18px; border-radius: 10px; font-size: 13.5px;
}
.nav-cta:hover { background: #2F5CE8; }

/* ── Footer ── */
.site-footer { background: var(--navy-950); padding: 56px 24px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px; padding-bottom: 36px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { color: #5A6489; font-size: 13px; max-width: 240px; line-height: 1.55; }
.footer-col h5 {
  color: var(--white); font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--mist-400); font-size: 13.5px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #5A6489; font-size: 12.5px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 28px; border-radius: 13px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; font-family: var(--font-display);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo-500), #5A7CFF);
  color: var(--white); box-shadow: 0 10px 30px rgba(59,108,255,.34);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(59,108,255,.44); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
}
.btn-ghost:hover { background: rgba(255,255,255,.11); }
.btn-light {
  background: var(--white); color: var(--ink-900); border: 1px solid var(--ink-300);
}
.btn-light:hover { border-color: var(--indigo-500); color: var(--indigo-500); }

/* ── Phone mockup ── */
.phone {
  position: relative; width: 100%; max-width: 264px;
  padding: 7px; border-radius: 44px;
  background: linear-gradient(150deg, #47526F 0%, #1C2439 26%, #0E1424 58%, #333D59 100%);
  box-shadow:
    inset 0 1.5px 2px rgba(255,255,255,.22),
    inset 0 -1.5px 2px rgba(0,0,0,.55),
    0 44px 80px -24px rgba(6,9,18,.72),
    0 16px 34px -14px rgba(6,9,18,.55),
    0 0 0 1px rgba(255,255,255,.06);
}
.phone-screen {
  position: relative; border-radius: 38px; overflow: hidden;
  background: var(--cloud-50);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.28);
}
.phone-screen img { width: 100%; }
.phone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(116deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.06) 20%,
    rgba(255,255,255,0) 44%);
}
.phone-light {
  box-shadow:
    inset 0 1.5px 2px rgba(255,255,255,.22),
    inset 0 -1.5px 2px rgba(0,0,0,.55),
    0 34px 60px -22px rgba(11,15,26,.34),
    0 12px 26px -12px rgba(11,15,26,.22),
    0 0 0 1px rgba(11,15,26,.07);
}
.phone-cap { text-align: center; margin-top: 18px; font-size: 13.5px; font-weight: 600; }

/* ── Ticker ── */
.ticker-strip { background: var(--indigo-500); overflow: hidden; white-space: nowrap; padding: 11px 0; }
.ticker-track {
  display: inline-block; animation: ticker 26s linear infinite;
  color: var(--white); font-weight: 700; font-size: 12.5px; letter-spacing: 1.3px;
}
.ticker-track span { margin: 0 22px; opacity: .95; }
@keyframes ticker { 0% { transform: translateX(0);} 100% { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Section helpers ── */
.section { max-width: var(--max-width); margin: 0 auto; padding: 84px 24px; }
.section-dark { background: var(--navy-950); }
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--indigo-500); margin-bottom: 14px;
}
.eyebrow-light { color: var(--indigo-400); }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.16; }
.section h2 em, h1 em { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--marigold-500); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head p { color: var(--ink-600); font-size: 16px; margin-top: 14px; max-width: 560px; margin-inline: auto; }
.section-dark h2 { color: var(--white); }
.section-dark .section-head p { color: var(--mist-400); }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--ink-300);
  border-radius: var(--radius); padding: 26px;
}
.card-dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 26px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.feature-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--cloud-100); display: flex; align-items: center;
  justify-content: center; font-size: 21px; margin-bottom: 16px;
}
.card h4, .card-dark h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; }
.card p { color: var(--ink-600); font-size: 13.8px; line-height: 1.6; }
.card-dark h4 { color: var(--white); }
.card-dark p { color: var(--mist-400); font-size: 13.8px; line-height: 1.6; }

/* ── Legal / policy pages ── */
.legal-wrap { max-width: var(--narrow); margin: 0 auto; padding: 64px 24px 56px; }
.legal-wrap h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1.2px; margin-bottom: 10px; }
.legal-updated { color: var(--mist-400); font-size: 13px; margin-bottom: 34px; }
.legal-intro { color: var(--ink-600); font-size: 16px; line-height: 1.68; padding-bottom: 8px; }

.legal-section { display: flex; gap: 20px; margin-top: 40px; }
.legal-num {
  flex-shrink: 0; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 13px;
  background: var(--cloud-100); color: var(--indigo-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12.5px; border: 1px solid var(--ink-300); white-space: nowrap;
}
.legal-body { flex: 1; min-width: 0; }
.legal-body h2 { font-size: 18.5px; font-weight: 700; margin-bottom: 11px; letter-spacing: -.3px; }
.legal-body h3 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; color: var(--ink-900); }
.legal-body p, .legal-body li { color: var(--ink-600); font-size: 15px; line-height: 1.7; margin-bottom: 11px; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }
.legal-body strong { color: var(--ink-900); font-weight: 600; }

.callout {
  background: var(--marigold-100); border: 1px solid #F0D9A8;
  border-left: 3px solid var(--marigold-500); border-radius: 10px;
  padding: 16px 18px; margin: 18px 0;
}
.callout p { color: #8A5A0A; margin: 0; font-size: 14px; font-weight: 500; }
.callout-blue {
  background: #EEF3FF; border: 1px solid #C9DAFF; border-left: 3px solid var(--indigo-500);
}
.callout-blue p { color: #1E3E9C; }

/* ── Policy hub ── */
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.policy-card {
  display: block; background: var(--white); border: 1px solid var(--ink-300);
  border-radius: 14px; padding: 22px; transition: border-color .15s ease, transform .15s ease;
}
.policy-card:hover { border-color: var(--indigo-500); transform: translateY(-2px); text-decoration: none; }
.policy-card h4 { color: var(--ink-900); font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.policy-card p { color: var(--ink-600); font-size: 13.5px; line-height: 1.55; }

/* ── Safety tips ── */
.tip {
  display: flex; gap: 16px; background: var(--white);
  border: 1px solid var(--ink-300); border-radius: 14px;
  padding: 20px; margin-bottom: 12px;
}
.tip-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--cloud-100); display: flex; align-items: center;
  justify-content: center; font-size: 19px;
}
.tip h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.tip p { color: var(--ink-600); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .grid-3, .grid-4, .grid-2, .policy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 13px; }
  .nav-links .hide-sm { display: none; }
  .section { padding: 60px 20px; }
  .grid-3, .grid-4, .grid-2, .policy-grid, .footer-cols { grid-template-columns: 1fr; }
  .legal-section { gap: 13px; }
  .legal-num { width: 36px; height: 36px; font-size: 12px; }
  .footer-bottom { flex-direction: column; }
}
