/* Shared FloorMitra legal-page theme: navy, mint, coral and soft paper. */
:root {
  color-scheme: light;
  --ink: #08131f;
  --ink-soft: #52606f;
  --paper: #f7faf8;
  --white: #ffffff;
  --line: #dce8e1;
  --teal: #0f766e;
  --teal-dark: #0b5c56;
  --mint: #d9f7e7;
  --coral: #ff8a68;
  --navy: #07131f;
  --shadow: 0 24px 70px rgba(7, 19, 31, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--teal-dark); text-underline-offset: .2em; }
a:hover { color: var(--teal); }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 10px; color: var(--navy); background: var(--mint); font-weight: 800; }
.skip-link:focus { top: 12px; }
.legal-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: relative; z-index: 2; color: var(--white); background: var(--navy); }
.site-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: 1.1rem; font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.brand:hover { color: var(--mint); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: var(--navy); background: var(--mint); font-size: 1.15rem; font-weight: 900; box-shadow: inset 0 -4px rgba(7, 19, 31, .08); }
.site-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 24px; color: rgba(255,255,255,.76); font-size: .9rem; }
.site-links a { color: inherit; text-decoration: none; }
.site-links a:hover, .site-links a[aria-current="page"] { color: var(--mint); }
.legal-hero { position: relative; overflow: hidden; padding: 48px 0 88px; color: var(--white); background: var(--navy); }
.legal-hero::after { content: ""; position: absolute; width: 540px; height: 540px; top: -300px; right: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.35), rgba(20,184,166,0) 68%); pointer-events: none; }
.legal-hero-inner { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -.075em; }
.last-updated { margin: 0; color: rgba(255,255,255,.66); font-size: .92rem; }
.legal-main { position: relative; z-index: 1; width: min(900px, calc(100% - 40px)); margin: -42px auto 72px; }
.legal-card { padding: clamp(24px, 6vw, 64px); border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.legal-card p, .legal-card li { color: var(--ink-soft); }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card strong { color: var(--ink); }
.legal-card h2 { margin: 34px 0 10px; color: var(--ink); font-size: clamp(1.12rem, 2.6vw, 1.38rem); line-height: 1.35; letter-spacing: -.025em; }
.legal-card ul { padding-left: 1.35rem; }
.legal-card li { padding-left: .15rem; margin: .45rem 0; }
.legal-card .notice { margin: 0 0 28px; padding: 16px 19px; border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; color: var(--ink-soft); background: #e9fbf0; }
.legal-card .notice strong { color: var(--ink); }
.site-footer { padding: 28px 0 36px; color: rgba(255,255,255,.64); background: var(--navy); font-size: .86rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-weight: 800; text-decoration: none; }
.footer-mark { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: var(--navy); background: var(--mint); font-size: .76rem; font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer-links a:hover { color: var(--mint); }
.footer-note { margin: 0; }
@media (max-width: 640px) {
  .legal-shell { width: min(100% - 28px, 1160px); }
  .site-nav { min-height: 72px; align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; gap: 12px; }
  .site-links { justify-content: flex-start; gap: 10px 18px; font-size: .82rem; }
  .legal-hero { padding: 38px 0 72px; }
  .legal-main { width: min(100% - 28px, 900px); margin-bottom: 42px; }
  .legal-card { border-radius: 20px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
