:root {
  --ink: #11181f;
  --muted: #5c6870;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #d9dfdc;
  --brand: #0f4b49;
  --brand-2: #225c73;
  --accent: #ffb84d;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px min(5vw, 64px);
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 64px min(5vw, 64px) 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(44px, 8vw, 88px);
  max-width: 820px;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: 23px;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: transparent;
}

.hero img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(17, 24, 31, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(17, 24, 31, 0.16);
}

.notice {
  margin: 0 min(5vw, 64px);
  padding: 18px 20px;
  background: #fff7e3;
  border: 1px solid #efd28c;
  border-radius: 8px;
  color: #49360f;
}

.section {
  padding: 72px min(5vw, 64px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: grid;
  gap: 16px;
  min-height: 300px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
}

.tool-card a {
  align-self: end;
  font-weight: 800;
}

.tag {
  width: fit-content;
  height: 28px;
  padding: 4px 10px;
  background: #e5f0ed;
  color: var(--brand);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.guide-list {
  background: #e9efec;
}

.guide-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid #c6d2ce;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}

.guide-link small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.setup {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 40px;
}

.setup ol {
  margin: 0;
  padding-left: 24px;
  font-size: 20px;
}

footer {
  padding: 28px min(5vw, 64px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

footer p {
  margin: 0;
  max-width: 960px;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  color: white;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px min(5vw, 28px);
}

.article-body h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.article-body h2 {
  margin-top: 46px;
  font-size: clamp(28px, 4vw, 40px);
}

.article-body p,
.article-body li {
  color: #29343c;
  font-size: 19px;
}

.article-body table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
}

.article-body th,
.article-body td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: #e9efec;
}

.article-cta {
  margin: 36px 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-cta a {
  font-weight: 800;
}

.plain-list {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .hero,
  .setup {
    grid-template-columns: 1fr;
  }

  .matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .guide-link {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 42px;
  }
}
