/* The Hundred Club: site styles.
   Brand colors match the iOS app. Gold buttons and badges always use
   near-black text, never white. */

:root {
  --bg: #1C1A1B;
  --surface: #3B2D47;
  --surface-raised: #4E3862;
  --gold: #E0C038;
  --gold-bright: #E8CC48;
  --text: #F4F1EA;
  --text-on-gold: #1C1A1B;
  --muted: #B3B2B1;
  --line: #7A7578;
  --dim: #2A2728;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Saira", "Segoe UI", sans-serif;
  --wrap: 68rem;
  --prose: 42rem;
  --header-h: 4.25rem;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-bright);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.35em;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  background: var(--gold);
  color: var(--text-on-gold);
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  z-index: 100;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(28, 26, 27, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 192, 56, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
  padding-block: 0.65rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--gold-bright);
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  box-shadow: 0 0 0 1px rgba(224, 192, 56, 0.35);
}

.nav {
  display: flex;
  gap: 0.35rem 1.15rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

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

main {
  flex: 1;
}

/* Hero */

.hero {
  position: relative;
  padding: 2.75rem 0 3.25rem;
  overflow: hidden;
}

.hero::before {
  content: "100";
  position: absolute;
  right: -0.05em;
  top: -0.15em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(10rem, 34vw, 22rem);
  line-height: 0.8;
  color: rgba(224, 192, 56, 0.05);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 40rem;
}

.hero-icon {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.25rem;
  box-shadow:
    0 0 0 1px rgba(224, 192, 56, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.hero h1 {
  margin: 0;
  color: var(--text);
}

.hero h1 span {
  color: var(--gold);
  display: block;
}

.stick {
  display: block;
  width: 11rem;
  height: 0.7rem;
  margin: 0.15rem 0 0.35rem;
}

.pitch {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--text-on-gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem 0.5rem;
  border-radius: 999px;
  line-height: 1.2;
}

.byline {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Features */

.features-section {
  padding: 0 0 4rem;
}

.features {
  display: grid;
  gap: 1rem;
}

.tile {
  background: var(--dim);
  border: 1px solid rgba(224, 192, 56, 0.18);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}

.tile-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--gold);
}

.tile h2 {
  font-size: 1.35rem;
  margin: 0;
  color: var(--gold);
}

.tile p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

/* Interior pages */

.page {
  padding: 2.25rem 0 4rem;
}

.page-head {
  margin-bottom: 2rem;
  max-width: var(--prose);
}

.page-head h1 {
  font-size: clamp(2.15rem, 6vw, 3.5rem);
  margin-bottom: 0.4em;
}

.lede,
.updated {
  color: var(--muted);
  margin: 0 0 0.5em;
}

.prose {
  max-width: var(--prose);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.7em;
  color: var(--gold);
}

.prose h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5em;
}

.prose strong {
  font-weight: 600;
  color: var(--text);
}

/* Build 4 review callout: gold border, near-black label text on gold */

.review {
  margin: 2rem 0;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 2px solid var(--gold);
  border-radius: 1rem;
  background: #241f16;
}

.review > .label {
  display: inline-block;
  background: var(--gold);
  color: var(--text-on-gold);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem 0.22rem;
  border-radius: 0.25rem;
  margin-bottom: 0.85rem;
}

.review h2 {
  margin-top: 0;
  color: var(--gold);
}

.review p,
.review li {
  color: var(--text);
}

/* Support */

.contact-card {
  background: var(--dim);
  border: 1px solid rgba(224, 192, 56, 0.22);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  margin: 0 0 2.25rem;
  max-width: var(--prose);
}

.contact-card h2 {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 1.35rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0 0 0.65rem;
}

.contact-list span.kind {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.placeholder {
  display: inline-block;
  background: var(--surface);
  color: var(--gold);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
}

.faq {
  max-width: var(--prose);
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--dim);
  border: 1px solid rgba(224, 192, 56, 0.16);
  border-radius: 0.85rem;
  padding: 1.1rem 1.15rem 1.15rem;
}

.faq-item h2 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  color: var(--gold);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.note {
  max-width: var(--prose);
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(224, 192, 56, 0.22);
  padding: 1.75rem 0 2rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.footer-brand:hover {
  color: var(--gold-bright);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .wrap {
    width: min(100% - 3.5rem, var(--wrap));
  }

  .hero {
    padding: 4.25rem 0 4.5rem;
  }

  .hero-icon {
    width: 6.75rem;
    height: 6.75rem;
    border-radius: 1.5rem;
  }

  .pitch {
    font-size: 1.2rem;
  }

  .features {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .tile {
    padding: 1.6rem 1.5rem 1.65rem;
  }

  .page {
    padding: 3rem 0 5rem;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
}
