/* =========================================================
   lesverites.ch — landing (maquette 2)
   ========================================================= */

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

:root {
  --blue: #3056d3;
  --blue-deep: #2546b8;
  --blue-soft: #eef2ff;
  --violet: #6d4aff;
  --ink: #0f172a;
  --slate: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --mist: #f8fafc;
  --true: #3056d3;
  --false: #6d4aff;
  --unknown: #64748b;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 50px rgba(15, 23, 42, 0.12), 0 8px 18px rgba(15, 23, 42, 0.06);
  --container: 1120px;

  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 8px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: #cbd5e1;
  background: var(--mist);
}

.btn-lg {
  min-height: 50px;
  padding: 0 24px;
  font-size: 0.98rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--slate);
  transition: background 0.2s ease, color 0.2s ease;
}
.icon-btn:hover {
  background: var(--mist);
  color: var(--ink);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

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

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-tld {
  color: var(--blue);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
}

.site-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-ghost,
.header-actions .btn-primary {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 10px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: #334155;
}
.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("images/hero-vu.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.82) 34%,
      rgba(255, 255, 255, 0.28) 62%,
      rgba(255, 255, 255, 0) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 24px 80px;
  max-width: 680px;
  margin-left: max(0px, calc((100% - var(--container)) / 2));
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(238, 242, 255, 0.92);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 0.7s ease 0.1s forwards;
}

.hero-cat {
  font-weight: 600;
  opacity: 0.8;
}

.vote-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  opacity: 0;
  animation: rise 0.8s ease 0.2s forwards;
}

.quote-mark {
  color: #a5b4fc;
  margin-right: 4px;
}

.hero-prompt {
  font-size: 1.15rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 28px;
  opacity: 0;
  animation: rise 0.8s ease 0.32s forwards;
}

.vote {
  opacity: 0;
  animation: rise 0.85s ease 0.42s forwards;
}

.vote-actions {
  display: grid;
  gap: 12px;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 420px;
  min-height: 64px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vote-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.vote-btn[aria-pressed="true"] {
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

.vote-btn.is-true[aria-pressed="true"] {
  background: linear-gradient(180deg, #f5f8ff, #fff);
  border-color: rgba(48, 86, 211, 0.35);
}
.vote-btn.is-false[aria-pressed="true"] {
  background: linear-gradient(180deg, #f7f4ff, #fff);
  border-color: rgba(109, 74, 255, 0.35);
}
.vote-btn.is-unknown[aria-pressed="true"] {
  background: linear-gradient(180deg, #f8fafc, #fff);
  border-color: rgba(100, 116, 139, 0.35);
}

.vote-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.vote-btn.is-true .vote-ico {
  background: var(--true);
  box-shadow: 0 8px 18px rgba(48, 86, 211, 0.28);
}
.vote-btn.is-false .vote-ico {
  background: var(--false);
  box-shadow: 0 8px 18px rgba(109, 74, 255, 0.28);
}
.vote-btn.is-unknown .vote-ico {
  background: #94a3b8;
  box-shadow: 0 8px 18px rgba(100, 116, 139, 0.22);
}

.vote-label {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.vote-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
}

.vote-note svg {
  flex-shrink: 0;
  opacity: 0.75;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(1.55rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.link-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Categories ---------- */

.categories {
  background: var(--mist);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 128px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.cat-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.cat-ico svg {
  width: 22px;
  height: 22px;
}

.cat-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.tone-blue { background: #e8efff; color: #3056d3; }
.tone-orange { background: #fff1e7; color: #ea580c; }
.tone-indigo { background: #ebe9ff; color: #4f46e5; }
.tone-violet { background: #f1e8ff; color: #7c3aed; }
.tone-teal { background: #e6f7f4; color: #0f766e; }
.tone-amber { background: #fff6e5; color: #d97706; }
.tone-green { background: #e8f8ee; color: #15803d; }
.tone-rose { background: #ffe9f0; color: #db2777; }
.tone-lime { background: #eef9e8; color: #65a30d; }
.tone-purple { background: #f3e8ff; color: #9333ea; }

/* ---------- Popular ---------- */

.pop-list {
  display: grid;
  gap: 12px;
}

.pop-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pop-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.pop-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pop-ico svg {
  width: 20px;
  height: 20px;
}

.pop-text {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.pop-cat {
  grid-column: 2;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
}

.pop-arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
}

/* ---------- Deposit CTA ---------- */

.deposit {
  padding-top: 24px;
}

.deposit-banner {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 55%, #f8fafc 100%);
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-lg);
}

.deposit-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(48, 86, 211, 0.12);
}

.deposit-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.deposit-copy p {
  color: #475569;
  font-weight: 500;
}

.deposit-banner .btn {
  width: 100%;
}

.submit-form {
  margin-top: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.submit-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.submit-form textarea,
.submit-form select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
  resize: vertical;
}

.submit-form textarea:focus,
.submit-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(48, 86, 211, 0.12);
}

.submit-row {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.submit-feedback {
  margin-top: 12px;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.2em;
}

@media (min-width: 640px) {
  .submit-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ---------- Values ---------- */

.values {
  padding-top: 40px;
  padding-bottom: 88px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.value-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1.5px solid rgba(48, 86, 211, 0.35);
  margin-bottom: 14px;
}
.value-ico svg {
  width: 22px;
  height: 22px;
}

.value h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.value p {
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 28ch;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  background: #fff;
}

.footer-inner {
  display: grid;
  gap: 18px;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #475569;
  font-weight: 500;
  font-size: 0.92rem;
}
.footer-nav a:hover {
  color: var(--blue);
}

.footer-copy {
  color: #94a3b8;
  font-size: 0.88rem;
}

/* ---------- Results sheet ---------- */

.results-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
}
.results-sheet[hidden] {
  display: none;
}

.results-panel {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  position: relative;
  animation: sheet-up 0.35s ease;
}

.results-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.4rem;
  color: var(--slate);
}
.results-close:hover {
  background: var(--mist);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.results-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.results {
  display: grid;
  gap: 16px;
}

.result-top {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.bar {
  height: 10px;
  background: #eef2f7;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.bar-fill.is-true { background: var(--true); }
.bar-fill.is-false { background: var(--false); }
.bar-fill.is-unknown { background: #94a3b8; }

.results-total {
  margin-top: 20px;
  text-align: center;
  color: var(--slate);
  font-weight: 500;
  font-size: 0.92rem;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media,
  .hero-badge,
  .hero-quote,
  .hero-prompt,
  .vote,
  .reveal,
  .results-panel,
  .bar-fill {
    animation: none !important;
    transition: none !important;
  }
  .hero-badge,
  .hero-quote,
  .hero-prompt,
  .vote,
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .vote-actions {
    gap: 14px;
  }

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

  .pop-item {
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
  }

  .pop-cat {
    grid-column: auto;
    min-width: 110px;
    text-align: right;
  }

  .pop-arrow {
    grid-row: auto;
    grid-column: auto;
  }

  .deposit-banner {
    grid-template-columns: auto 1fr auto;
    padding: 32px 36px;
  }

  .deposit-banner .btn {
    width: auto;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .results-sheet {
    place-items: center;
  }
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
  }

  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero-inner {
    padding: 96px 24px 110px;
  }

  .cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }

  .cat-card {
    min-height: 140px;
  }

  .values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (max-width: 480px) {
  .header-actions .icon-btn {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.78) 48%,
        rgba(255, 255, 255, 0.35) 100%
      );
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Legal pages (privacy / terms) ---------- */

.legal-body {
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(48, 86, 211, 0.08), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(109, 74, 255, 0.06), transparent 55%),
    var(--mist);
  min-height: 100vh;
}

.legal-main {
  padding: 40px 0 80px;
}

.legal-wrap {
  max-width: 760px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.legal-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 500;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.legal-content section + section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft, #eef2f7);
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal-content p,
.legal-content li {
  color: #475569;
  line-height: 1.7;
}

.legal-content p + p {
  margin-top: 10px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 600;
}
.legal-content a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.88em;
  background: var(--blue-soft);
  color: var(--blue-deep);
  padding: 2px 6px;
  border-radius: 6px;
}

.footer-nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}
