:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --ink: #111827;
  --muted: #52606d;
  --accent: #f06449;
  --border: #d8d2c7;
  --shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(240, 100, 73, 0.11), transparent 34rem),
    var(--bg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

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

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

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
}

.hero {
  padding: clamp(72px, 12vw, 132px) 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.8);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

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

h1 {
  max-width: 820px;
  margin-top: 24px;
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.card {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card h2 {
  margin-top: 36px;
  font-size: 1.25rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  margin-bottom: 96px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.trust h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

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

.document {
  width: min(760px, calc(100% - 40px));
  margin: 56px auto 100px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document h1 {
  margin-top: 12px;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.document h2 {
  margin-top: 2.4em;
  font-size: 1.45rem;
}

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

.document .meta {
  margin-top: 18px;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  font-weight: 700;
  text-decoration: none;
}

.site-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.88rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1040px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 54px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

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