:root {
  color-scheme: light;

  /* Four-tier green system over a warm cream canvas */
  --font-display: "Arial Black", "Avenir Next Condensed", "Helvetica Neue",
    Arial, "Hiragino Sans", sans-serif;
  --cream-canvas: #f7f2e8;
  --cream-surface: #fffaf2;
  --cream-tint: #efe5d3;
  --green-deep: #123c2f;
  --green-brand: #1e5a43;
  --green-soft: #5c836f;
  --green-mist: #dce8df;
  --text-strong: #1e2a24;
  --text-muted: #5f6f65;
  --line-soft: #d9d0c1;
  --shadow-soft: 0 18px 40px rgba(18, 60, 47, 0.08);
  --shadow-card: 0 12px 28px rgba(18, 60, 47, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    sans-serif;
  line-height: 1.7;
  color: var(--text-strong);
  background:
    radial-gradient(circle at top right, rgba(30, 90, 67, 0.08), transparent 26%),
    linear-gradient(180deg, #faf4e8 0%, var(--cream-canvas) 55%, #f3ecde 100%);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--green-brand);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--green-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid rgba(217, 208, 193, 0.8);
}

.site-header__inner,
.site-main,
.site-footer__inner {
  width: min(1040px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

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

.site-brand__mark {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(18, 60, 47, 0.18);
}

.site-brand__wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 0.84;
  text-transform: uppercase;
}

.site-brand__kicker,
.site-brand__name,
.hero-brand__kicker,
.hero-brand__name {
  font-family: var(--font-display);
  font-weight: 900;
}

.site-brand__kicker {
  color: var(--green-soft);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
}

.site-brand__name {
  color: var(--green-deep);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.hero-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
}

.hero-brand__mark {
  width: clamp(78px, 12vw, 112px);
  height: clamp(78px, 12vw, 112px);
  flex: none;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(18, 60, 47, 0.18);
}

.hero-brand__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero-brand__kicker {
  color: var(--green-soft);
  font-size: clamp(0.84rem, 1.6vw, 1.08rem);
  letter-spacing: 0.5em;
}

.hero-brand__name {
  color: var(--green-deep);
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(30, 90, 67, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(30, 90, 67, 0.32);
  box-shadow: 0 8px 18px rgba(18, 60, 47, 0.08);
}

.site-main {
  padding: 56px 0 84px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(30, 90, 67, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(30, 90, 67, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 232, 0.96));
  box-shadow: var(--shadow-soft);
}

.hero::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-brand), var(--green-deep));
  box-shadow: 0 18px 36px rgba(18, 60, 47, 0.18);
  opacity: 0.96;
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin: 0 0 16px;
  border-radius: 999px;
  background: var(--green-mist);
  color: var(--green-deep);
  font-size: 0.88rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  line-height: 1.28;
  margin: 0 0 16px;
  letter-spacing: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--green-deep);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-top: 44px;
  color: var(--green-deep);
}

h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  color: var(--green-deep);
}

p,
li {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 1.3rem;
}

.lede {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.section-block {
  margin-top: 56px;
}

.section-lede {
  max-width: 48rem;
  margin-bottom: 22px;
  color: var(--text-muted);
}

.cta-row,
.link-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.cta-row {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.link-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel {
  padding: 22px 22px 24px;
  border: 1px solid rgba(30, 90, 67, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.panel h3 {
  margin-top: 0;
}

.panel p:last-child,
.panel ul:last-child,
.panel ol:last-child {
  margin-bottom: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-brand), var(--green-deep));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(18, 60, 47, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.button-link:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(18, 60, 47, 0.24);
  filter: saturate(1.06);
}

.button-link--secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-deep);
  box-shadow: none;
  border: 1px solid rgba(30, 90, 67, 0.18);
}

.button-link--secondary:hover {
  color: var(--green-deep);
  box-shadow: 0 10px 18px rgba(18, 60, 47, 0.12);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.note {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(30, 90, 67, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(30, 90, 67, 0.94) 0, rgba(30, 90, 67, 0.94) 10px, transparent 10px),
    rgba(255, 250, 242, 0.72);
  color: var(--text-muted);
  box-shadow: var(--shadow-card);
}

.note strong {
  color: var(--green-deep);
}

.article {
  padding: 30px 32px 36px;
  max-width: 820px;
  border: 1px solid rgba(30, 90, 67, 0.12);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow-soft);
}

.article h2 {
  padding-top: 10px;
  border-top: 1px solid rgba(30, 90, 67, 0.1);
}

.article h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.article code {
  padding: 0.16em 0.44em;
  border-radius: 999px;
  background: var(--green-mist);
  color: var(--green-deep);
  font-size: 0.92em;
}

.meta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin: 0 0 28px;
  border-radius: 999px;
  background: var(--green-mist);
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 700;
}

.back-link::before {
  content: "←";
}

.split-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.step-list li,
.check-list li {
  margin-bottom: 12px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(30, 90, 67, 0.12);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(30, 90, 67, 0.1);
}

.data-table th {
  background: rgba(220, 232, 223, 0.7);
  color: var(--green-deep);
  font-size: 0.95rem;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table code {
  padding: 0.14em 0.36em;
  border-radius: 999px;
  background: var(--green-mist);
  color: var(--green-deep);
  font-size: 0.9em;
}

.site-footer {
  border-top: 1px solid rgba(217, 208, 193, 0.9);
  background: rgba(255, 250, 242, 0.8);
}

.site-footer__inner {
  padding: 22px 0 34px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .hero::after {
    width: 110px;
    height: 110px;
    right: -18px;
    top: -18px;
  }

  .article {
    padding: 24px 22px 28px;
    border-radius: 22px;
  }

  .site-main {
    padding-top: 32px;
  }

  .data-table {
    min-width: 640px;
  }

  .site-brand__name {
    font-size: 1.18rem;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .site-main,
  .site-footer__inner {
    width: min(100vw - 20px, 1040px);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.72rem, 9vw, 2.4rem);
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a,
  .foot-links a {
    width: 100%;
  }

  .cta-row,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    gap: 14px;
  }

  .hero-brand__mark {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .hero-brand__kicker {
    letter-spacing: 0.34em;
  }
}
