/* Design tokens: StrongBeyond Brand Guide v1 */
:root {
  --clay: #B4532A;   /* buttons, logo accent, key words */
  --ink: #2B2230;    /* all text on light backgrounds */
  --cream: #F6EFE4;  /* page background */
  --sand: #E7D8C3;   /* cards, answer tiles */
  --sage: #7E9277;   /* shapes and icons only, never small text */
  --gold: #D9A441;   /* Founding member badge only, never text on light */
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --h1: 32px;
  --body: 18px;
  --small: 14px;
}

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-600.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url(/fonts/fraunces-600-italic.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dm-sans-400.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dm-sans-500.woff2) format("woff2"); }

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.5;
}

.wrap {
  max-width: 560px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

h1, h2 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0; }
h1 { font-size: var(--h1); }
h1 em { font-style: italic; color: var(--clay); }

/* Wordmark: live text, "Strong" in ink, "Beyond" in clay italic, clear space = cap height */
.site-header { padding: 20px 0; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  min-width: 120px;
}
.wordmark-symbol { display: block; width: 32px; height: 32px; }
.wordmark-beyond { color: var(--clay); font-style: italic; }

/* Landing */
.hero { padding: 24px 0 40px; }
.hero h1 { margin-bottom: 16px; }
.lede { margin: 0 0 20px; }
.price-line {
  margin: 0 0 24px;
  padding: 14px 16px;
  background: var(--sand);
  border-left: 4px solid var(--clay);
  border-radius: 4px;
}
.price-line strong { font-weight: 500; }

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--body);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #9C4723; }
.button-secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.button-secondary:hover { background: var(--sand); }

/* Legal pages */
.legal article { padding: 8px 0 40px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }
.legal p, .legal li { margin: 0 0 12px; }
.legal ol { padding-left: 24px; margin: 0 0 12px; }
.updated { font-size: var(--small); margin-bottom: 24px !important; }

.placeholder {
  background: var(--gold);
  color: var(--ink);
  padding: 0 4px;
  border-radius: 3px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--sand);
  padding: 24px 0 32px;
  font-size: var(--small);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer p { margin: 0 0 6px; }

@media (min-width: 600px) {
  .hero { padding-top: 48px; }
  .button { width: auto; min-width: 240px; display: inline-flex; }
}
