/* Homepage and signup. 8px spacing scale. Loaded as home.css?v=1 so it cannot be served from the old styles.css cache. */
.site {
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --line: rgba(28, 20, 15, 0.08);
  --shadow: 0 1px 2px rgba(28, 20, 15, 0.04), 0 18px 50px rgba(28, 20, 15, 0.1);
  margin: 0;
  background: #fff;
  color: var(--ink);
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #e64e16; }

.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn-lg { min-height: 56px; padding: 0 28px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 72px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c140f;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark span { color: #1c140f; }

.mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange);
}

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

.hero {
  background: #fff;
  color: var(--ink);
  padding: var(--s10) 0 var(--s12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s8);
  align-items: center;
}

.eyebrow {
  margin: 0 0 var(--s2);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lede {
  margin: var(--s3) 0 0;
  max-width: 34rem;
  color: #3d342e;
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-actions { margin-top: var(--s4); }

.fine-note {
  margin: var(--s2) 0 0;
  color: #5c534c;
  font-size: 0.95rem;
  line-height: 1.45;
}

.fine-note a { color: var(--ink); }

.issue {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.issue-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--orange);
  color: #fff;
}

.dots { display: flex; gap: 6px; }

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.issue-top strong { font-size: 0.95rem; letter-spacing: -0.02em; }

.issue-top em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issue-body { padding: 8px 8px 12px; }

.issue article {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.issue article:last-child { border-bottom: 0; }

.race-kicker {
  margin: 0 0 4px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issue h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.issue p { margin: 6px 0 0; color: #3d342e; font-size: 0.92rem; line-height: 1.45; }

.issue-foot {
  margin: 0;
  padding: 4px 20px 16px;
  color: #5c534c;
  font-size: 0.8rem;
}

.section { padding: var(--s12) 0; }

.section-muted { background: #f6f3ef; }

.section h2 {
  margin: 0 0 var(--s4);
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cards,
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2);
}

.card {
  margin: 0;
  padding: var(--s3);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(28, 20, 15, 0.04), 0 10px 28px rgba(28, 20, 15, 0.06);
}

.card h3,
.steps h3 {
  margin: 0 0 var(--s1);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.card p,
.steps p { margin: 0; color: #3d342e; line-height: 1.5; }

.steps { list-style: none; padding: 0; gap: var(--s4); }

.step-num {
  display: block;
  margin-bottom: var(--s2);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.close {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: var(--s12) 0;
}

.close h2 {
  margin: 0 auto var(--s3);
  max-width: 14em;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.close .fine-note { color: rgba(255, 255, 255, 0.72); }

.site-foot {
  border-top: 1px solid var(--line);
  padding: var(--s4) 0;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  color: #5c534c;
  font-size: 0.95rem;
}

.foot-inner a { color: var(--ink); }

.foot-inner p { margin: 0; }

body.signup {
  background: #f6f3ef;
  color: var(--ink);
  min-height: 100vh;
}

body.signup .signup-main {
  display: flex;
  justify-content: center;
  padding: var(--s8) 20px var(--s12);
}

body.signup .stack {
  width: min(100%, 440px);
  margin: 0;
  padding: var(--s5) var(--s4) var(--s4);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: left;
}

body.signup h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

body.signup .sub {
  margin: var(--s2) 0 0;
  max-width: none;
  color: #3d342e;
  text-align: left;
}

body.signup form { margin-top: var(--s3); }

body.signup input[type="email"] {
  height: 56px;
  border: 1px solid #e4ddd6;
  border-radius: 12px;
}

body.signup input[type="email"]:focus-visible { outline-color: var(--orange); }

body.signup button {
  height: 56px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

body.signup button:hover { background: #e64e16; }

body.signup .fine,
body.signup .more { color: #5c534c; text-align: left; }

body.signup .more a { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .js-motion .rise { animation: rise 0.7s ease; }

  .js-motion .cards .rise:nth-child(2),
  .js-motion .steps .rise:nth-child(2) { animation-delay: 0.08s; }

  .js-motion .cards .rise:nth-child(3),
  .js-motion .steps .rise:nth-child(3) { animation-delay: 0.16s; }
}

@keyframes rise {
  from { transform: translateY(12px); }
  to { transform: none; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .hero h1 { max-width: 14em; }
  .issue { max-width: 560px; }
}

@media (max-width: 800px) {
  .cards,
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(1120px, calc(100% - 32px)); }
  .hero { padding: var(--s5) 0 var(--s8); }
  .hero h1 { font-size: 2.5rem; }
  .lede { font-size: 1.05rem; }
  .section { padding: var(--s8) 0; }
  .topbar .btn { min-height: 40px; padding: 0 12px; font-size: 1rem; }
  body.signup .stack { padding: var(--s3) 20px var(--s3); }
}
