
:root {
  --ink: #1c241e;
  --muted: #586257;
  --paper: #fbf8ee;
  --band: #f0eadc;
  --accent: #b65a2a;
  --accent-2: #496f5d;
  --line: #d9cfbd;
  --dark: #14231b;
  --white: #ffffff;
}
* { 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;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}
.skip-link:focus { left: 8px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .93rem;
  color: var(--muted);
  white-space: nowrap;
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12,20,16,.85), rgba(12,20,16,.48), rgba(12,20,16,.22)), var(--hero);
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 96px 20px 58px;
  color: var(--white);
}
.eyebrow {
  margin: 0 0 14px;
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
  color: #f5d9a6;
}
h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.7rem;
  line-height: 1.02;
  letter-spacing: 0;
}
.hero p {
  max-width: 660px;
  margin: 20px 0 0;
  font-size: 1.12rem;
  color: rgba(255,255,255,.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.42);
  text-decoration: none;
  font-weight: 800;
  text-align: center;
}
.button.primary { background: var(--white); color: var(--dark); border-color: var(--white); }
.button.secondary { color: var(--white); }
.section { padding: 60px 20px; }
.section.band { background: var(--band); }
.wrap { max-width: 1180px; margin: 0 auto; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head h2, .article h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
  letter-spacing: 0;
}
.section-head p { max-width: 620px; margin: 0; color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.card .meta {
  color: var(--accent);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}
.card h3 {
  margin: 10px 0 8px;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}
.feature {
  border-left: 4px solid var(--accent);
  padding: 4px 0 4px 18px;
}
.feature h3 { margin: 0 0 6px; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); }
.article-hero {
  background: var(--dark);
  color: var(--white);
  padding: 72px 20px 52px;
}
.article-hero .wrap { max-width: 960px; }
.crumbs {
  font-size: .9rem;
  color: rgba(255,255,255,.74);
  margin-bottom: 16px;
}
.crumbs a { color: rgba(255,255,255,.9); }
.article-hero h1 { font-size: 3rem; }
.article-hero p { max-width: 760px; color: rgba(255,255,255,.88); font-size: 1.08rem; }
.article {
  max-width: 900px;
  margin: 0 auto;
  padding: 46px 20px 70px;
}
.article p { color: #303932; }
.article .note {
  border: 1px solid var(--line);
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px;
  margin: 24px 0;
}
.answer {
  background: var(--band);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 30px;
}
.answer h2 { margin-bottom: 8px; }
.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.panel h3 { margin: 0 0 8px; }
ul, ol { padding-left: 22px; }
li + li { margin-top: 8px; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--band); font-size: .92rem; }
tr:last-child td { border-bottom: 0; }
.related {
  background: var(--band);
  padding: 36px 20px;
}
.related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.82);
  padding: 36px 20px;
}
.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer a { color: #ffffff; }
.notice { font-size: .92rem; max-width: 680px; }
@media (max-width: 860px) {
  .nav { align-items: flex-start; flex-direction: column; gap: 10px; }
  .nav-links { flex-wrap: wrap; white-space: normal; }
  .hero { min-height: 560px; }
  h1 { font-size: 2.55rem; }
  .article-hero h1 { font-size: 2.25rem; }
  .grid, .feature-row, .related .grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .article-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 2.05rem; overflow-wrap: break-word; }
  .hero h1 { max-width: 10.5em; }
  .hero p { max-width: 21rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 320px; }
  .button { width: 100%; white-space: normal; }
  .section-head h2 { font-size: 1.55rem; overflow-wrap: break-word; }
}
@media (max-width: 460px) {
  .hero-inner { padding-top: 76px; }
  h1 { font-size: 1.95rem; overflow-wrap: break-word; }
  .hero h1 { max-width: 10.5em; }
  .hero p { max-width: 21rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 320px; }
  .button { width: 100%; white-space: normal; }
  .section-head h2 { font-size: 1.55rem; overflow-wrap: break-word; }
  .hero p, .article-hero p { font-size: 1rem; }
  .section { padding: 44px 16px; }
  .article { padding-left: 16px; padding-right: 16px; }
  th, td { display: block; width: 100%; }
  th { border-bottom: 1px solid var(--line); }
}
