:root {
  color-scheme: light;
  --ink: #172026;
  --muted: #5d6b73;
  --line: #dde6e4;
  --paper: #fbfaf6;
  --white: #ffffff;
  --mint: #eaf6ef;
  --teal: #11746a;
  --green: #2f8f4e;
  --blue: #2456a6;
  --gold: #d59a2f;
  --coral: #d96755;
  --shadow: 0 20px 60px rgba(23, 32, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav,
.container,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 29, 30, 0.86), rgba(13, 29, 30, 0.6) 54%, rgba(13, 29, 30, 0.16)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 580px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 74px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #d9f3e4;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 6vw, 5.55rem);
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #eef8f1;
  font-size: 1.14rem;
}

.hero-copy a {
  color: #ffffff;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.light {
  background: var(--white);
  color: var(--green);
}

.summary-strip {
  position: relative;
  z-index: 2;
  margin-top: -54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.summary-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.summary-strip div:last-child {
  border-right: 0;
}

.summary-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.summary-strip strong {
  display: block;
  margin-top: 7px;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.15;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--mint);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.section-head p,
.card p,
.rank-card p,
.article-body p,
.article-body li,
.contact-card p,
.note p {
  color: var(--muted);
}

.section-head p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

.rank-list {
  display: grid;
  gap: 16px;
}

.rank-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 38, 0.06);
}

.rank {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
}

.rank-card:first-child .rank {
  background: var(--gold);
  color: #1f1b12;
}

.rank-card h3 {
  font-size: 1.25rem;
}

.rank-card p {
  margin: 8px 0 0;
}

.grid-3,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card,
.post-card,
.contact-card,
.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card,
.contact-card {
  padding: 24px;
}

.card h3,
.post-card h3,
.contact-card h3 {
  font-size: 1.12rem;
}

.post-card {
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 32px rgba(23, 32, 38, 0.07);
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card div {
  padding: 22px;
}

.post-card p {
  margin: 10px 0 0;
}

.note {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 26px;
  padding: 34px;
  background: #17272a;
  color: var(--white);
}

.note p {
  margin: 12px 0 0;
  color: #dce9e6;
}

.article-hero {
  background: var(--mint);
  border-bottom: 1px solid var(--line);
}

.article-hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
  padding: 56px 0;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-hero h1 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.1rem);
}

.article-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: start;
}

.article-body {
  max-width: 760px;
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 38px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.article-body p,
.article-body ul {
  margin: 16px 0 0;
}

.article-body li + li {
  margin-top: 8px;
}

.sidebar {
  position: sticky;
  top: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.sidebar p {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.disclaimer {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  color: #5c4a1f;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(13, 29, 30, 0.88), rgba(13, 29, 30, 0.58)),
      url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1000&q=80") center / cover;
  }

  .summary-strip,
  .grid-3,
  .grid-2,
  .post-grid,
  .note,
  .article-hero .container,
  .article-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .summary-strip {
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .summary-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-strip div:last-child {
    border-bottom: 0;
  }

  .rank-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .rank-card .button {
    grid-column: 1 / -1;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    width: calc(100vw - 28px);
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.84rem;
  }

  .nav-links a {
    min-height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    text-align: center;
  }

  .hero-inner,
  .container,
  .footer-inner {
    width: calc(100vw - 48px);
    max-width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0 60px;
  }

  h1 {
    max-width: 310px;
    font-size: 1.72rem;
  }

  .hero-copy,
  .section-head,
  .article-body,
  .contact-card p {
    max-width: 310px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }

  .card,
  .contact-card,
  .note,
  .sidebar,
  .rank-card {
    padding: 20px;
  }

  .article-hero .container {
    padding: 38px 0;
  }

  .article-hero h1,
  .section-head h2,
  .note h2,
  .contact-card h2 {
    font-size: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}
