:root {
  color-scheme: light dark;
  --background: #f5f4f8;
  --surface: #ffffff;
  --text: #17171a;
  --muted: #68676f;
  --accent: #c43b0b;
  --accent-dark: #8e2b09;
  --border: rgba(23, 23, 26, 0.1);
  --shadow: 0 18px 50px rgba(41, 27, 20, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--accent-dark); }

a:hover { color: var(--accent); }

.shell {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

nav { display: flex; gap: 20px; }

nav a { color: var(--muted); font-weight: 650; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 64px;
  min-height: 560px;
  padding: 72px 0 96px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.08; letter-spacing: -0.035em; }

h1 { margin: 16px 0 20px; font-size: clamp(3rem, 8vw, 5.6rem); }

h2 { margin: 42px 0 14px; font-size: clamp(1.6rem, 4vw, 2.15rem); }

.lead { max-width: 640px; color: var(--muted); font-size: 1.25rem; }

.hero-icon {
  width: 100%;
  border-radius: 28%;
  box-shadow: var(--shadow);
}

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.badge {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 84px;
}

.card, .document {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card { padding: 26px; }

.card h2 { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -0.02em; }

.card p { margin: 0; color: var(--muted); }

.document { max-width: 780px; margin: 40px auto 80px; padding: clamp(24px, 6vw, 64px); }

.document h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }

.document p, .document li { color: var(--muted); }

.document strong { color: var(--text); }

.contact {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0; }

@media (max-width: 720px) {
  header, footer { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 54px 0 72px; }
  .hero-icon { grid-row: 1; width: 150px; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101113;
    --surface: #1b1c1f;
    --text: #f7f4f1;
    --muted: #b5b1ad;
    --accent: #f15b24;
    --accent-dark: #ff7542;
    --border: rgba(255, 255, 255, 0.11);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  }
}
