:root {
  --forest: #1B4332;
  --amber: #D4A017;
  --charcoal: #1A1A1A;
  --cream: #F5F0E6;
  --cream-dark: #E8E0D0;
  --muted: #4A5568;
  --max: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 18px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
}

a { color: var(--forest); }
a:hover { color: var(--amber); }

.site-header {
  background: var(--forest);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  object-fit: cover;
  flex-shrink: 0;
}

.brand {
  flex: 1;
  min-width: 10rem;
}

.brand-name {
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 0.1rem;
}

.nav {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  border: 1px solid transparent;
}

.nav a:hover, .nav a[aria-current="page"] {
  border-color: var(--amber);
  color: var(--amber);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.disclosure {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  background: var(--cream-dark);
  border-left: 4px solid var(--amber);
  padding: 0.75rem 1rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

h1 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--forest);
  margin: 0 0 1rem;
}

h2 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.2rem;
  color: var(--forest);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--cream-dark);
}

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; }
li { margin-bottom: 0.4rem; }

hr {
  border: none;
  border-top: 1px solid var(--cream-dark);
  margin: 1.5rem 0;
}

.cta-wrap {
  margin: 1.75rem 0;
  text-align: center;
}

.cta {
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--forest);
  color: var(--cream) !important;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  border-bottom: 3px solid var(--amber);
  transition: background 0.15s ease;
}

.cta:hover {
  background: #163528;
  color: var(--cream) !important;
}

.cta-note {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.related {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--cream-dark);
  border-radius: 4px;
}

.related h2 {
  margin-top: 0;
  border: none;
  font-size: 1rem;
}

.related ul { margin-bottom: 0; }

.site-footer {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
  border-top: 1px solid var(--cream-dark);
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
}

.site-footer a { color: var(--forest); }

strong { color: var(--charcoal); }

@media (max-width: 600px) {
  html { font-size: 17px; }
  h1 { font-size: 1.45rem; }
  .nav { width: 100%; }
}

/* Comparison tables */
main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0 1.5rem;
  font-family: system-ui, -apple-system, sans-serif;
}
main th,
main td {
  border: 1px solid var(--cream-dark);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
main th {
  background: var(--forest);
  color: #fff;
  font-weight: 600;
}
main tbody tr:nth-child(even) {
  background: var(--cream-dark);
}

ul.checklist {
  list-style: none;
  padding-left: 0;
}
ul.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
}
ul.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
}

.fit-box {
  background: var(--cream-dark);
  border-left: 4px solid var(--amber);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  border-radius: 0 6px 6px 0;
}
.fit-box h2 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--forest);
}
.fit-box ul { margin: 0.35rem 0 0.6rem; padding-left: 1.2rem; }
.fit-box .fit-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.55rem;
}
.door-grid {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.95rem;
}
.door-grid a { text-decoration: underline; text-underline-offset: 2px; }
