:root {
  --ink: #12161c;
  --ink-soft: #2a313c;
  --muted: #5c6573;
  --paper: #f3f5f8;
  --line: rgba(18, 22, 28, 0.12);
  --accent: #0e7c6b;
  --accent-deep: #0a5c4f;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 800px;
  --max-wide: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 500px at 8% -8%, rgba(14, 124, 107, 0.07), transparent 55%),
    linear-gradient(180deg, #eef1f5 0%, var(--paper) 45%, #f7f8fa 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  width: min(100% - 2.5rem, var(--max-wide));
  margin-inline: auto;
}

.site-header {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 248, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

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

.legal-main {
  flex: 1;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-main .wrap {
  width: min(100% - 2.5rem, var(--max));
}

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.legal-intro {
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 48ch;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 2rem 0 0.65rem;
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.legal-content a {
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(14, 124, 107, 0.35);
  font-weight: 500;
}

.legal-content a:hover { border-bottom-color: var(--accent-deep); }

.legal-content address {
  font-style: normal;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

.back-link {
  display: inline-flex;
  margin-top: 2.5rem;
  font-weight: 600;
  color: var(--accent-deep);
  border-bottom: 1px solid rgba(14, 124, 107, 0.35);
}

.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.site-footer .wrap {
  display: grid;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a:hover { color: var(--ink); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .nav { display: none; }
}
