/* StopSIBO — white, tan, red */
:root {
  --red: #9e1b1b;
  --red-dark: #741414;
  --tan: #e8d8be;
  --tan-light: #f7f1e6;
  --line: #e2d3bc;
  --ink: #2b241c;
  --muted: #5e5348;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--red); }
a:hover { color: var(--red-dark); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 8px;
  top: 8px;
  background: var(--white);
  padding: 6px 10px;
  z-index: 5;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.masthead { background: var(--white); }

.masthead-inner {
  display: flex;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 58px;
  height: 58px;
  display: block;
}

.brand-name {
  font-family: "Source Serif 4", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 650;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.01em;
}

.site-nav {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--red);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover { color: var(--red); }

.site-nav a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -3px 0 var(--red);
}

main { padding: 48px 0 80px; }

h1, h2, h3 {
  font-family: "Source Serif 4", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 560;
  line-height: 1.2;
}

h1 {
  font-size: 2.6rem;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.45rem;
  color: var(--red);
  margin: 36px 0 10px;
}

p { margin: 0 0 14px; }

.lede {
  font-size: 1.18rem;
  max-width: 38rem;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-figure { margin: 0; }

.hero-figure img,
.page-photo img,
.product > img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-figure img {
  height: 380px;
}

.page-photo {
  margin: 0 0 28px;
}

.page-photo img { height: 340px; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 12px;
}

.split .page-photo { margin: 0; }
.split .page-photo img { height: 300px; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.card,
.panel {
  background: var(--tan-light);
  border: 1px solid var(--line);
  padding: 22px 24px;
}

.card h2,
.panel h2 { margin-top: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 11px 18px;
  border: 1px solid var(--red-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

.btn:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn-plain {
  background: var(--white);
  color: var(--red);
  border: 1px solid var(--red);
}

.btn-plain:hover {
  background: var(--tan-light);
  color: var(--red-dark);
}

.product {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--line);
  margin-top: 12px;
  background: var(--white);
}

.product > img { height: 100%; min-height: 320px; }

.product-body { padding: 28px 28px 32px; }

.product-body h2 {
  margin: 0 0 8px;
  color: var(--ink);
}

.price {
  font-family: "Source Serif 4", Palatino, Georgia, serif;
  font-size: 2rem;
  color: var(--red);
  margin: 0 0 8px;
}

.price span {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.price .member-price {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

dl.facts {
  margin: 18px 0;
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 8px 12px;
}

dl.facts dt { font-weight: 600; color: var(--muted); }
dl.facts dd { margin: 0; }

ol.steps { padding-left: 1.2rem; }
ol.steps li { margin-bottom: 8px; }

.note { font-size: 0.92rem; color: var(--muted); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.site-footer {
  background: var(--tan-light);
  border-top: 3px solid var(--red);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 32px 0 40px;
}

.site-footer p { margin: 0 0 8px; }

.site-footer nav { margin-bottom: 12px; }

.site-footer nav a {
  color: var(--ink);
  margin-right: 16px;
  text-decoration: none;
  font-weight: 600;
}

.site-footer nav a:hover { color: var(--red); }

.fine { font-size: 0.82rem; }

@media (max-width: 760px) {
  .hero,
  .cards,
  .product,
  .split { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img,
  .page-photo img,
  .product > img,
  .split .page-photo img { height: 240px; }
  h1 { font-size: 2rem; }
  .brand-name { font-size: 1.45rem; }
  dl.facts { grid-template-columns: 1fr; }
}

/* Community page */
.feature-list {
  list-style: none;
  margin: 8px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.feature-list li {
  background: var(--tan-light);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-weight: 600;
}

.offer {
  margin: 28px 0 20px;
  padding: 28px 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.offer h2 { margin-top: 0; }

@media (max-width: 760px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}

.page-photo-short img { height: 220px; }
