/* Palette lifted from the app's own tokens (src/theme/tokens.ts) so the site
   and the product read as one thing: purple-black ground, cream text, the
   brand red for accents. */
:root {
  --bg: #171022;
  --bg-deep: #110b18;
  --surface: rgba(251, 237, 206, 0.06);
  --text: #fbedce;
  --text-dim: rgba(251, 237, 206, 0.62);
  --text-quiet: rgba(251, 237, 206, 0.4);
  --red: #fa4c56;
  --green: #4fd98a;
  --hairline: rgba(251, 237, 206, 0.12);
  --measure: 42rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

h1,
h2,
.display {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 3rem 0 0.75rem;
}

p {
  margin: 0 0 1.1rem;
  color: var(--text-dim);
}

a {
  color: var(--text);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1.25rem;
}

.lede {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 2rem;
}

.mark {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: block;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card strong {
  color: var(--text);
}

ul {
  color: var(--text-dim);
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

.meta {
  color: var(--text-quiet);
  font-size: 0.85rem;
}

footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-quiet);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

footer a {
  color: var(--text-quiet);
}

.nav-back {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--text-quiet);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-back:hover {
  color: var(--red);
}
