:root {
  color-scheme: light;
  --bg: #f6fbff;
  --paper: #fff8e8;
  --paper-2: #ffffff;
  --ink: #3b2417;
  --muted: #725d4b;
  --line: #8a4d24;
  --sky: #3f9fd0;
  --mint: #5ba66a;
  --coral: #e86c47;
  --gold: #f7b92f;
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.75) 0 80px, transparent 82px),
    radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.62) 0 120px, transparent 122px),
    linear-gradient(180deg, #b9e9ff 0%, var(--bg) 58%, #f9f4e8 100%);
  color: var(--ink);
  min-height: 100vh;
}

a {
  color: var(--sky);
  text-decoration-thickness: 2px;
}

.shell {
  width: min(100% - 36px, 960px);
  margin: 0 auto;
  padding: 42px 0 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  color: #fff;
  box-shadow: 0 4px 0 rgba(59, 36, 23, 0.18);
}

.nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.hero {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 5px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 9px 0 rgba(59, 36, 23, 0.16);
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 8px;
  font-size: 1.15rem;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.lede {
  max-width: 720px;
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card,
.doc {
  border: 4px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 0 rgba(59, 36, 23, 0.12);
}

.card {
  display: grid;
  gap: 12px;
  padding: 22px;
  min-height: 180px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sky);
  color: #fff;
  font-weight: 900;
}

.card:nth-child(2) .card-icon {
  background: var(--mint);
}

.card:nth-child(3) .card-icon {
  background: var(--gold);
}

.card h2 {
  font-size: 1.35rem;
}

.card p {
  margin: 0;
}

.button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 3px solid #2e6f43;
  border-radius: 12px;
  background: var(--mint);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.doc {
  margin-top: 26px;
  padding: 30px;
}

.meta {
  color: var(--muted);
  font-weight: 800;
}

.notice {
  padding: 16px 18px;
  border: 3px solid rgba(232, 108, 71, 0.9);
  border-radius: 14px;
  background: rgba(232, 108, 71, 0.1);
  color: var(--ink);
  font-weight: 800;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 26px, 960px);
    padding-top: 24px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .doc {
    padding: 22px;
  }

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