:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5e646f;
  --line: #dfe3ea;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --accent: #0f766e;
  --accent-strong: #174ea6;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--soft);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 55%, #edf2f7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: .95rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 92px);
  padding: 8vh 0 10vh;
  place-items: center;
  text-align: center;
}

.hero-logo {
  width: clamp(138px, 24vw, 220px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
}

.hero h1 {
  margin: 32px 0 12px;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: .95;
  font-weight: 800;
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.content {
  padding: 42px 0 76px;
}

.document {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 0;
}

.document h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1;
}

.document h2 {
  margin: 34px 0 8px;
  font-size: 1.15rem;
}

.document p,
.document li {
  color: #28313f;
  font-size: 1rem;
  line-height: 1.75;
}

.document ul {
  padding-left: 22px;
}

.document hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 9vh 0 12vh;
  }
}
