:root {
  --bg: #f7f6f2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #4e5565;
  --line: rgba(33, 43, 66, 0.09);
  --green: #197a57;
  --green-soft: #d8efe6;
  --gold: #d7aa32;
  --gold-soft: #fff2c2;
  --shadow: 0 28px 80px rgba(29, 36, 51, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 170, 50, 0.16), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(25, 122, 87, 0.14), transparent 18%),
    linear-gradient(180deg, #fbfaf7 0%, #f2f5f8 100%);
}

a {
  color: var(--green);
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 40px 0 28px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 235, 0.9));
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.hero-card,
.hero-card h1,
.hero-card .brand,
.hero-card .lead,
.hero-card .button,
.hero-card .button.primary,
.hero-card .button.secondary {
  color: var(--text) !important;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero-card::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: -40px;
  background: radial-gradient(circle, rgba(255, 223, 133, 0.35), transparent 68%);
}

.hero-card::after {
  width: 180px;
  height: 180px;
  bottom: -45px;
  left: -25px;
  background: radial-gradient(circle, rgba(25, 122, 87, 0.14), transparent 70%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(215, 170, 50, 0.22);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe39c, #d7aa32);
  box-shadow: 0 0 0 6px rgba(255, 227, 156, 0.14);
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  color: var(--text);
}

.lead {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
}

.button.primary,
.primary {
  color: var(--text);
  background: linear-gradient(135deg, var(--gold-soft), #ebcc6f);
  border-color: rgba(215, 170, 50, 0.24);
}

.button.secondary,
.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.content {
  padding-bottom: 56px;
}

.grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.panel,
.article {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel {
  position: sticky;
  top: 18px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.panel h2,
.article h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--text);
}

.panel p,
.article p,
.article li {
  color: var(--muted);
  line-height: 1.72;
}

.meta-list,
.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a,
.meta-item {
  display: block;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  text-decoration: none;
}

.meta-item strong,
.quick-links a strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.quick-links a span,
.meta-item span {
  color: var(--muted);
  font-size: 14px;
}

.article {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.article section + section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer {
  padding: 18px 0 38px;
  color: var(--muted);
  font-size: 14px;
}

.footer-card {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

ul {
  padding-left: 20px;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(25, 122, 87, 0.08);
  color: var(--green);
  font-family: Consolas, monospace;
}

@media (max-width: 920px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .panel {
    position: static;
  }

  .hero-card,
  .article,
  .panel {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .article,
  .panel,
  .hero-card {
    border-radius: 22px;
  }
}
