.content-page {
  background: linear-gradient(180deg, #f7fbf8 0, #ffffff 42%, #eef7f3 100%);
  min-height: 100vh;
  padding-top: var(--header-height);
}

.page-hero {
  --text: #f7fffc;
  --muted: #b7c9c2;
  --accent: #72f5c6;
  --accent-rgb: 114,245,198;
  --accent-strong: #f0c47d;
  --line: rgba(255,255,255,.14);
  background:
    linear-gradient(rgba(114,245,198,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,245,198,.11) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(255,255,255,.035) 8px 9px),
    linear-gradient(145deg, #08100e, #0f251f 62%, #101414);
  background-size: 42px 42px, 42px 42px, auto, auto;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(114,245,198,.34), transparent 72%),
    linear-gradient(180deg, transparent, rgba(240,196,125,.2));
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.page-hero::after {
  background:
    radial-gradient(circle at 70% 28%, rgba(114,245,198,.18), transparent 28rem),
    radial-gradient(circle at 88% 62%, rgba(240,196,125,.14), transparent 18rem);
  content: "";
  inset: 0;
  opacity: .9;
  pointer-events: none;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-kicker {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
  gap: .65rem;
  letter-spacing: .1em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.page-kicker::before {
  background: currentColor;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .75);
  content: "";
  height: 8px;
  width: 8px;
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 550;
  letter-spacing: 0;
  line-height: .98;
  max-width: 980px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-hero p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
  margin-top: 1.5rem;
  max-width: 720px;
}

.document-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.document-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 6vw, 5.5rem);
  grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr);
}

.document-aside {
  background: rgba(255,255,255,.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22,50,42,.06);
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.document-aside a {
  align-items: center;
  background: #10201c;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 750;
  gap: .6rem;
  min-height: 44px;
  padding: .4rem .8rem;
  transition: background 180ms ease, transform 180ms ease;
}

.document-aside a span:first-child {
  color: var(--accent);
  font-family: var(--mono);
}

.document-aside a:hover {
  background: #14342c;
  transform: translateY(-2px);
}

.document-meta {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.65;
  margin-top: 1rem;
  padding-top: 1rem;
}

.document-article {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(22,50,42,.08);
  max-width: 900px;
  min-width: 0;
  overflow: hidden;
}

.document-block {
  border-bottom: 1px solid var(--line);
  padding: clamp(1.5rem, 3.6vw, 2.4rem);
  position: relative;
}

.document-block:last-child {
  border-bottom: 0;
}

.document-block::before {
  background: var(--accent);
  content: "";
  height: 100%;
  left: 0;
  opacity: .72;
  position: absolute;
  top: 0;
  width: 2px;
}

.document-block h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: .85rem;
  text-wrap: balance;
}

.document-block p,
.document-block li {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.78;
}

.document-block a {
  color: var(--accent-strong);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.identity-card {
  background: #10201c;
  border: 1px solid rgba(114,245,198,.25);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22,50,42,.14);
  display: grid;
  gap: .6rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
}

.identity-card p {
  color: #dceae5;
  font-size: .9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.identity-card strong {
  color: #72f5c6;
}

.identity-card a {
  color: #f0c47d;
}

.simple-page {
  align-items: center;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  padding-block: 5rem;
}

.simple-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 840px;
  padding: clamp(2rem, 6vw, 5rem);
}

.simple-card h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.simple-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 1.4rem 0 2rem;
  max-width: 650px;
}

@media (max-width: 760px) {
  .page-hero {
    background-size: 34px 34px, 34px 34px, auto, auto;
    padding-block: clamp(3.75rem, 16vw, 5.5rem);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
    line-height: 1;
  }

  .page-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .document-section {
    padding-block: 3.5rem;
  }

  .document-layout {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .document-aside {
    position: static;
  }

  .document-meta {
    margin-top: .75rem;
  }

  .document-block p,
  .document-block li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .simple-page {
    padding-block: 2rem;
  }

  .simple-card {
    padding: clamp(1.4rem, 7vw, 2.2rem);
  }

  .simple-card h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }
}

@media (max-width: 380px) {
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .document-aside,
  .identity-card {
    padding: 1rem;
  }
}
