:root {
  --lime: #8fb91c;
  --lime-dark: #6f9212;
  --purple: #7451b3;
  --purple-dark: #5b3f93;
  --ink: #26262a;
  --muted: #5d5d66;
  --paper: #f7f6f2;
  --card: #ffffff;
  --line: #e4e2da;
  --radius: 16px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--purple-dark); }
a:hover { color: var(--purple); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: .2px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--lime-dark); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.15; margin: 0 0 16px; }
h1 span { color: var(--purple); }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.logo-card { background: #ecebe6; border-radius: 24px; padding: 18px; border: 1px solid var(--line); }
.logo-card img { border-radius: 14px; width: 100%; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); color: #fff; }
.btn-lime { background: var(--lime); color: #1d2a00; }
.btn-lime:hover { background: var(--lime-dark); color: #fff; }

/* Sections */
section { padding: 48px 0; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 40em; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.dot.l { background: var(--lime); }
.dot.p { background: var(--purple); }

.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 16px 58px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: #1d2a00; font-weight: 800; display: grid; place-items: center; }

.contact-box { display: grid; gap: 10px; }
.contact-box p { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #d8d8de; padding: 32px 0; font-size: .92rem; }
.site-footer a { color: #e9e3ff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.site-footer ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }

/* Legal pages */
.doc { padding: 40px 0 56px; max-width: 760px; }
.doc h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.doc h2 { margin-top: 32px; font-size: 1.25rem; }
.doc .updated { color: var(--muted); font-size: .92rem; }

@media (max-width: 760px) {
  .hero { padding: 32px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .logo-card { order: -1; }
  nav ul { gap: 14px; }
  .brand span { display: none; }
  section { padding: 36px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
