/* Mr. Hoard — base stylesheet. Black on white. Structure locked; visual
   treatment awaits the locked design file (Owner Action: design file). */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-line: #d9d9d9;
  --gray-text: #4a4a4a;
  --focus: #0a0a0a;
  --header-h: 64px;
  --max-w: 960px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-size: 17px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 12px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  min-height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 2px;
}
.site-nav a:hover {
  text-decoration: underline;
}

/* Sections — clear the sticky header on anchor jump */
main section {
  scroll-margin-top: calc(var(--header-h) + 12px);
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-line);
}
main section:last-child {
  border-bottom: none;
}

.hero {
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 16px;
}
.lede {
  font-size: 1.1rem;
  color: var(--gray-text);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 0;
}

.price {
  font-weight: 700;
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 4px;
  border: 2px solid var(--black);
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
}
.btn-primary:hover {
  background: #2a2a2a;
}
.btn-secondary {
  background: var(--white);
  color: var(--black);
}
.btn-secondary:hover {
  background: #f2f2f2;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gray-line);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray-text);
}
.footer-inner nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
}
.footer-inner a {
  color: var(--gray-text);
}

/* Placeholder status message (JS-driven, non-blocking) */
.placeholder-note {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.9rem;
  z-index: 200;
}

/* Responsive: 375px and up is the baseline; this is already fluid,
   these rules tighten spacing on the smallest phones. */
@media (max-width: 480px) {
  body { font-size: 16px; }
  main section { padding: 40px 0; }
  .hero { padding-top: 40px; padding-bottom: 40px; }
}

/* 200% zoom / large text: avoid horizontal scroll from long words */
img, svg { max-width: 100%; height: auto; }
