/* Shared chrome for the legal pages: offer, policy, paid.
 *
 * This file used to describe the whole landing as well. The landing now
 * lives in land.css, and everything that only it used (hero, showcase,
 * pricing, steps, stats) was dead weight downloaded on every visit to the
 * offer. What is left is what offer/policy/paid actually reference:
 * design tokens, the wrap, the nav, the brand mark, buttons and the footer.
 *
 * Tokens stay duplicated with land.css rather than shared through a third
 * file: two pages that must not drift apart is a reason to link them, two
 * pages that are allowed to look different is not. */

:root {
  --ink: #1A1D21;
  --ink-2: #5F6570;
  --ink-3: #8A9099;
  --line: #E3E5E9;
  --line-2: #C9CDD4;
  --bg: #FFFFFF;
  --bg-2: #F4F5F7;
  --bg-3: #EDEFF2;
  --accent: #5B4BC4;
  --accent-dark: #4536A8;
  --accent-tint: #F1EFFB;

  --wrap: 1160px;
  --r: 12px;
  --r-sm: 8px;
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.brand__name { font-family: Manrope, sans-serif; font-weight: 800; font-size: 17px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

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

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-3); }

.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 9px 15px; font-size: 14px; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.footer__legal { color: var(--ink-3); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
