/* LiftDay brand colors (docs/brand-guidelines.md in the app repo).
   The site is dark-only, like the app. */
:root {
  --carbon: #0E0F11;
  --surface: #17191C;
  --separator: #2A2D32;
  --chalk: #F2F3F0;
  --text-secondary: #9A9FA6;
  --lime: #D4FF3A;
  --lime-soft: rgba(212, 255, 58, 0.12);
  color-scheme: dark;
}

@font-face {
  font-family: "Archivo Condensed";
  src: url("/fonts/ArchivoCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

* { box-sizing: border-box; }

html { background: var(--carbon); }

body {
  margin: 0;
  background: var(--carbon);
  color: var(--chalk);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--lime); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header: the horizontal wordmark, never retyped as text. */
.site-header { padding: 24px 0 8px; }
.site-header a { display: inline-block; line-height: 0; }
.site-header img { width: 160px; height: auto; }

main { padding: 40px 0 64px; }

h1, h2 {
  font-family: "Archivo Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

h1 { font-size: clamp(2.6rem, 9vw, 4.2rem); margin: 0 0 20px; }
h2 { font-size: 1.6rem; margin: 2.2em 0 0.4em; }
h1 .accent { color: var(--lime); }

p, ul { margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

.lede { font-size: 1.2rem; color: var(--chalk); }
.muted { color: var(--text-secondary); }

/* Plain status text, not a button: there's no store or beta link yet. */
.status {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}
.status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 1px;
}

/* Homepage */
.wrap-wide { max-width: 960px; }
.wrap-wide main { padding-top: 28px; }

.hero {
  display: grid;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.hero h1 .accent { display: block; }
.hero .lede { max-width: 34ch; }

.recommendation {
  width: min(100%, 240px);
  margin: 0;
  justify-self: center;
}
.recommendation img, .first-workout img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.recommendation figcaption {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.first-workout {
  display: grid;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: 16px;
}
.first-workout h2 { margin: 0 0 8px; }
.first-workout p { margin: 0; }
.first-workout img { max-width: 208px; justify-self: center; }

.features {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.features li {
  margin: 0;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: 14px;
}
.features strong { display: block; margin-bottom: 2px; }
.features span { color: var(--text-secondary); }

@media (min-width: 700px) {
  .wrap-wide main { padding-top: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 264px); gap: 32px; }
  .recommendation { width: 100%; }
  .first-workout { grid-template-columns: minmax(0, 1fr) minmax(0, 208px); padding: 24px; }
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Privacy policy */
.policy h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
.policy strong { color: var(--chalk); }

footer {
  border-top: 1px solid var(--separator);
  padding: 20px 0 40px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer p { margin: 0; }
