/* AkmaCam marketing — CamWatch neumorphism (matches login + dashboard) */

:root {
  color-scheme: light;
  --bg-deep: #e8eaf0;
  --bg-panel: #e8eaf0;
  --text-primary: rgba(50, 55, 85, 0.88);
  --text-secondary: rgba(100, 108, 145, 0.72);
  --text-muted: rgba(120, 128, 165, 0.55);
  --heading: rgba(42, 47, 92, 0.85);
  --accent: #2563eb;
  --accent-soft: #5b8def;
  --accent-deep: #0a84ff;
  --accent-mint: #7ed8c8;
  --accent-mint-soft: #a8edda;
  --success: #1db954;
  --neu-dark: rgba(180, 185, 210, 0.55);
  --neu-light: rgba(255, 255, 255, 0.92);
  --shadow-card:
    6px 6px 16px var(--neu-dark),
    -6px -6px 16px var(--neu-light);
  --shadow-card-sm:
    4px 4px 10px rgba(180, 185, 210, 0.5),
    -4px -4px 10px rgba(255, 255, 255, 0.9);
  --shadow-inset:
    inset 4px 4px 10px rgba(180, 185, 210, 0.5),
    inset -4px -4px 10px rgba(255, 255, 255, 0.88);
  --shadow-cta: 0 6px 18px rgba(37, 99, 235, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  --radius-pill: 999px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Legacy aliases so any leftover lg-* token refs stay coherent */
  --lg-ink: var(--heading);
  --lg-ink-soft: var(--text-secondary);
  --lg-ink-mute: var(--text-muted);
  --lg-accent: var(--accent);
  --lg-accent-deep: var(--accent);
  --lg-mint: var(--accent-mint);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg-deep);
}

html,
body.landing-page {
  margin: 0;
  padding: 0;
}

body.landing-page {
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.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;
}

/* ── Atmosphere (soft orbs like login) — full viewport ── */
.lg-atmosphere {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.lg-atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.75;
}

.lg-atmosphere__orb--1 {
  width: 320px;
  height: 320px;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(126, 216, 200, 0.22);
}

.lg-atmosphere__orb--2 {
  width: 240px;
  height: 240px;
  top: 28%;
  right: -70px;
  background: rgba(91, 141, 239, 0.16);
}

.lg-atmosphere__orb--3 {
  width: 220px;
  height: 220px;
  bottom: 18%;
  left: -60px;
  background: rgba(143, 207, 238, 0.14);
}

.lg-atmosphere__spec {
  display: none;
}

.lg-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Stretch main so short pages (privacy) still fill the screen */
.lg-shell > main,
.legal-main {
  flex: 1 1 auto;
  width: 100%;
}

/* ── Neumorph surfaces (replace glass) ── */
.glass,
.glass--strong,
.glass--soft {
  background: var(--bg-panel);
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-card);
}

.glass--soft {
  box-shadow: var(--shadow-card-sm);
}

.glass--strong {
  box-shadow:
    8px 8px 20px rgba(170, 175, 205, 0.52),
    -8px -8px 20px rgba(255, 255, 255, 0.94),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

/* ── Nav ── */
.lg-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: calc(10px + var(--safe-top)) 16px 0;
  transition: padding 0.2s var(--ease);
}

.lg-nav.is-scrolled {
  padding-top: calc(8px + var(--safe-top));
}

.lg-nav__bar {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 56px;
  padding: 8px 12px 8px 14px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
}

.lg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lg-brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.lg-nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.lg-nav__links a {
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.lg-nav__links a:hover,
.lg-nav__links a[aria-current="page"] {
  color: var(--heading);
  background: var(--bg-panel);
  box-shadow: var(--shadow-inset);
}

.lg-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lg-nav__links + .lg-nav__actions {
  margin-left: 0;
}

.lg-nav__menu {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card-sm);
}

.lg-nav__menu span,
.lg-nav__menu span::before,
.lg-nav__menu span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: rgba(100, 108, 165, 0.7);
  border-radius: 2px;
  position: relative;
}

.lg-nav__menu span::before,
.lg-nav__menu span::after {
  content: "";
  position: absolute;
  left: 0;
}

.lg-nav__menu span::before { top: -5px; }
.lg-nav__menu span::after { top: 5px; }

.lg-nav-drawer {
  display: none;
  max-width: 1120px;
  margin: 8px auto 0;
  padding: 12px;
  border-radius: 20px;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card);
}

.lg-nav.is-open .lg-nav-drawer {
  display: flex;
}

.lg-nav-drawer a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.lg-nav-drawer a:hover,
.lg-nav-drawer a[aria-current="page"] {
  color: var(--heading);
  box-shadow: var(--shadow-inset);
  background: var(--bg-panel);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), opacity 0.18s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(145deg, #5b8def 0%, #2563eb 100%);
  color: #fff;
  box-shadow: var(--shadow-cta);
  border: none;
}

.btn--primary:hover {
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.42);
}

.btn--glass {
  background: var(--bg-panel);
  color: var(--heading);
  box-shadow: var(--shadow-card-sm);
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn--glass:hover {
  box-shadow: var(--shadow-card);
}

.btn--glass:active {
  box-shadow: var(--shadow-inset);
}

.btn--lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 1rem;
  border-radius: 18px;
}

.btn--block {
  width: 100%;
}

/* ── Hero ── */
.lg-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 40px;
  display: grid;
  gap: 36px;
  align-items: center;
}

.lg-hero__copy {
  max-width: 34rem;
}

.lg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(37, 99, 235, 0.78);
  margin-bottom: 18px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-card-sm);
}

.lg-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-mint-soft), var(--accent-mint));
  box-shadow: 0 0 8px rgba(126, 216, 200, 0.55);
  animation: lg-pulse 1.6s var(--ease) infinite;
}

@keyframes lg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.lg-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--heading);
}

.lg-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #5b8def 0%, #2563eb 55%, #0a84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-hero__lead {
  margin: 0 0 24px;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 500;
}

.lg-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.lg-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lg-hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lg-hero__proof svg {
  width: 14px;
  height: 14px;
  color: var(--accent-mint);
  flex-shrink: 0;
}

.lg-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.lg-phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 216, 200, 0.22) 0%, rgba(91, 141, 239, 0.12) 45%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.lg-float-chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.lg-float-chip strong {
  color: var(--heading);
  font-weight: 800;
}

.lg-float-chip--a {
  top: 14%;
  left: 4%;
}

.lg-float-chip--b {
  bottom: 18%;
  right: 2%;
}

.lg-phone {
  position: relative;
  z-index: 2;
  width: min(260px, 72vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 36px;
  padding: 10px;
  background: var(--bg-panel);
  box-shadow:
    10px 10px 28px rgba(155, 160, 198, 0.55),
    -10px -10px 28px rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.lg-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(38, 42, 65, 0.95) 0%, transparent 65%),
    linear-gradient(155deg, #1e2235, #14172a 50%, #1a1e30);
  box-shadow: inset 3px 3px 10px rgba(0, 0, 0, 0.4);
}

.lg-phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  border-radius: 12px;
  background: #0c0e16;
  z-index: 4;
}

.lg-phone__live,
.lg-phone__rec {
  position: absolute;
  top: 38px;
  z-index: 4;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 8px;
}

.lg-phone__live {
  left: 12px;
  color: #fff;
  background: rgba(255, 59, 48, 0.88);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lg-phone__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: lg-pulse 1.2s ease-in-out infinite;
}

.lg-phone__rec {
  right: 12px;
  color: rgba(168, 237, 218, 0.92);
  background: rgba(20, 24, 40, 0.55);
  border: 1px solid rgba(126, 216, 200, 0.28);
}

.lg-phone__scene {
  position: absolute;
  inset: 0;
}

.lg-phone__room {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(40, 55, 90, 0.35) 0%, transparent 40%),
    linear-gradient(90deg, rgba(30, 40, 70, 0.5) 0%, transparent 30%, transparent 70%, rgba(30, 40, 70, 0.45) 100%),
    radial-gradient(ellipse at 50% 70%, rgba(90, 120, 180, 0.25), transparent 55%);
}

.lg-phone__scan {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-mint), transparent);
  box-shadow: 0 0 12px rgba(126, 216, 200, 0.55);
  animation: lg-scan 2.4s ease-in-out infinite;
}

@keyframes lg-scan {
  0% { top: 28%; opacity: 0.35; }
  50% { top: 72%; opacity: 1; }
  100% { top: 28%; opacity: 0.35; }
}

.lg-phone__footer {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(232, 234, 240, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(230, 235, 250, 0.85);
  font-size: 0.7rem;
  font-weight: 600;
}

.lg-phone__ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(20, 30, 55, 0.85);
  background: linear-gradient(135deg, var(--accent-mint-soft), var(--accent-mint));
}

/* ── Specialty ── */
.lg-specialty {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 28px;
}

.lg-specialty__card {
  border-radius: var(--radius-lg);
  padding: 28px 22px;
}

.lg-specialty__grid {
  display: grid;
  gap: 22px;
}

.lg-specialty__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--heading);
  line-height: 1.2;
}

.lg-specialty__copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.lg-specialty__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.lg-stat {
  border-radius: 18px;
  padding: 16px 12px;
  text-align: center;
  display: grid;
  gap: 4px;
}

.lg-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.lg-stat span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ── Sections ── */
.lg-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px;
}

.lg-section__head {
  max-width: 36rem;
  margin-bottom: 22px;
}

.lg-section__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.lg-section__head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.lg-steps {
  display: grid;
  gap: 14px;
}

.lg-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
}

.lg-step__num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #5b8def 0%, #2563eb 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.lg-step h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--heading);
}

.lg-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
}

.lg-features {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.lg-feature {
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.lg-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: rgba(37, 99, 235, 0.78);
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.22), rgba(37, 99, 235, 0.12));
  box-shadow: var(--shadow-card-sm);
}

.lg-feature__icon svg {
  width: 20px;
  height: 20px;
}

.lg-feature h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
}

.lg-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
}

.lg-feature--soon {
  position: relative;
}

.lg-feature--soon::after {
  content: "Soon";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(37, 99, 235, 0.75);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-inset);
}

/* ── Privacy section ── */
.lg-privacy {
  display: grid;
  gap: 14px;
}

.lg-privacy__card {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.lg-privacy__card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.lg-privacy__card > p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.55;
}

.lg-privacy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lg-privacy__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
}

.lg-privacy__list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-mint);
}

/* ── FAQ ── */
.lg-faq {
  display: grid;
  gap: 10px;
}

.lg-faq details {
  border-radius: 18px;
  padding: 4px 4px;
  overflow: hidden;
}

.lg-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 750;
  color: var(--heading);
  font-size: 0.98rem;
}

.lg-faq summary::-webkit-details-marker {
  display: none;
}

.lg-faq summary::after {
  content: "+";
  float: right;
  color: var(--text-muted);
  font-weight: 700;
}

.lg-faq details[open] summary::after {
  content: "–";
}

.lg-faq details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

/* ── CTA ── */
.lg-cta {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 28px;
}

.lg-cta__card {
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
}

.lg-cta__card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.025em;
}

.lg-cta__card > p {
  margin: 0 auto 20px;
  max-width: 40ch;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.55;
}

.lg-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ── Footer ── */
.lg-footer {
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 0 20px calc(28px + var(--safe-bottom));
}

.lg-footer__card {
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: grid;
  gap: 18px;
}

.lg-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lg-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.lg-footer__links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lg-footer__links a:hover {
  color: var(--accent);
}

.lg-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border-top: 1px solid rgba(180, 185, 210, 0.28);
  padding-top: 14px;
}

.lg-footer__meta a {
  color: var(--text-secondary);
  font-weight: 600;
}

.lg-footer__meta a:hover {
  color: var(--accent);
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ── Legal / Privacy Policy ── */
.legal-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.legal-main > .legal-card {
  width: 100%;
  max-width: 860px;
}

.legal-card {
  border-radius: var(--radius-lg);
  padding: 28px 22px 32px;
}

.legal-header h1 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--heading);
}

.legal-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(37, 99, 235, 0.75);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
}

.legal-lead {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
}

.legal-toc {
  margin: 28px 0 8px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  box-shadow: var(--shadow-inset);
}

.legal-toc h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

.legal-toc a {
  color: var(--accent);
  font-weight: 600;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-section {
  margin-top: 28px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.legal-section h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 750;
  color: var(--heading);
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 500;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  display: grid;
  gap: 6px;
}

.legal-section a {
  color: var(--accent);
  font-weight: 700;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 12px 0 16px;
  border-radius: 16px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-inset);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(180, 185, 210, 0.28);
  color: var(--text-secondary);
  font-weight: 500;
}

.legal-table th {
  font-weight: 800;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.35);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-note {
  margin-top: 32px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-panel);
  box-shadow: var(--shadow-inset);
}

.legal-note p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Responsive ── */
@media (min-width: 900px) {
  .lg-nav__links {
    display: flex;
  }

  .lg-nav__menu {
    display: none;
  }

  .lg-nav.is-open .lg-nav-drawer {
    display: none;
  }

  .lg-hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .lg-specialty__grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .lg-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg-step {
    grid-template-columns: 1fr;
    min-height: 100%;
  }

  .lg-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg-privacy {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .legal-card {
    padding: 40px 44px 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
