:root {
  color-scheme: light;
  --ink: #111111;
  --body: #475569;
  --orange: #ff6d00;
  --warm: #fff3e0;
  --alt: #f8fafc;
  --line: #e2e8f0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: white;
  color: var(--body);
  font: 1rem/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, .brand { color: var(--ink); font-family: Outfit, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.6rem, 5.6vw, 5.1rem); line-height: 1.01; letter-spacing: -.055em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; line-height: 1.2; }
a { color: #a63c00; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a63c00; outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap, .site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.4rem; font-weight: 900; text-decoration: none; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-header nav a, .site-footer nav a { color: var(--body); font-weight: 600; }
.hero { background: linear-gradient(145deg, white 35%, var(--warm)); border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 90px);
  padding-block: clamp(36px, 7vw, 92px);
}
.hero-image { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 18px 48px #92400e1a; }
.hero-image--wide { aspect-ratio: 1; object-fit: cover; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin-top: 22px; max-width: 40ch; }
.lead span { display: block; }
.lead span + span { margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #ff872e; }
.workflow, .related { padding-block: clamp(40px, 7vw, 76px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 24px; padding: 0; list-style: none; margin: 26px 0 0; }
.steps li { padding: 20px 0 0; border-top: 2px solid var(--orange); }
.steps p, .example p, .prose p { margin-top: 10px; }
.channel-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 24px; text-align: left; }
.channel-table th, .channel-table td { padding: 14px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.channel-table thead { background: var(--warm); color: var(--ink); }
.channel-table th:first-child { width: 22%; }
.statistic { color: #a63c00; font-size: clamp(4rem, 11vw, 8rem); }
.example { background: var(--alt); border-block: 1px solid var(--line); padding-block: 42px; }
.example .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px 40px; }
.related ul { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 0; margin: 18px 0 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--alt); font-size: .9rem; }
.resource-directory { padding-block: clamp(40px, 8vw, 88px); }
.resource-list { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.resource-list ul { display: grid; gap: 8px; padding-left: 1.2rem; }
.prose { width: min(720px, calc(100% - 40px)); margin-inline: auto; padding-block: 38px; }
.prose section + section { margin-top: 36px; }
.calculator { background: var(--alt); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 5vw, 28px); }
.calculator form { display: grid; gap: 14px; margin-top: 18px; }
.calculator label { display: grid; gap: 4px; font-weight: 650; }
.calculator input { width: 100%; border: 1px solid #94a3b8; border-radius: 8px; padding: 10px; font: inherit; }
.calculator button { justify-self: start; }
.calculator output { color: var(--ink); font-weight: 750; }
@media (max-width: 760px) {
  .hero .wrap, .example .wrap, .steps { grid-template-columns: 1fr; }
  .hero-image { max-width: 520px; }
  .channel-table th, .channel-table td { padding: 8px; font-size: .875rem; }
  .channel-table th:first-child { width: 24%; }
}
