:root {
  color-scheme: light;
  --ink: #113b3d;
  --muted: #5f7778;
  --soft: #f4fbfa;
  --paper: #fbfefd;
  --line: #d7eeeb;
  --teal: #3bc6bd;
  --teal-deep: #177c78;
  --blue: #d9f3ff;
  --coral: #ff8d78;
  --shadow: 0 24px 80px rgba(17, 59, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(59, 198, 189, 0.16), transparent 32rem),
    linear-gradient(180deg, var(--paper) 0%, var(--soft) 58%, #eef9f8 100%);
  font-family: Avenir Next, Nunito Sans, Segoe UI, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

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

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e8fbf8;
  box-shadow: inset 0 0 0 1px rgba(23, 124, 120, 0.1);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav a {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--teal-deep);
  background: #e5f8f5;
  border-color: rgba(23, 124, 120, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(38px, 8vw, 92px) 0 clamp(28px, 5vw, 56px);
}

.eyebrow {
  color: var(--teal-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 12px 0 18px;
  font-family: Avenir Next Condensed, Avenir Next, Segoe UI, sans-serif;
  font-size: clamp(3.25rem, 11vw, 8.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.86;
}

.dek {
  max-width: 65ch;
  margin: 0;
  color: #355e60;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.mascot {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: end center;
}

.mascot::before {
  content: "";
  position: absolute;
  inset: auto 8% 16px;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 198, 189, 0.24), rgba(217, 243, 255, 0.9));
  filter: blur(4px);
}

.mascot img {
  position: relative;
  width: min(230px, 80%);
  height: auto;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #476b6d;
  font-size: 0.9rem;
  font-weight: 750;
}

.content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px rgba(17, 59, 61, 0.07);
}

.toc strong {
  margin-bottom: 4px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc a {
  padding: 6px 0;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.document {
  min-width: 0;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

section + section {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
}

p {
  max-width: 74ch;
  margin: 0 0 14px;
}

ul,
ol {
  max-width: 74ch;
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 8px;
}

.note {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(23, 124, 120, 0.18);
  border-radius: 20px;
  background: #effbf8;
}

.note strong {
  display: block;
  margin-bottom: 6px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .mascot {
    min-height: 150px;
    place-items: center start;
  }

  .mascot img {
    width: 150px;
  }

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

  .toc {
    position: relative;
    top: auto;
  }

  .document {
    border-radius: 22px;
    padding: 22px;
  }
}
