/* Landing page. Static, no scripts. Phone-first; two columns from 900px. AA contrast in light and dark. */
@font-face { font-family: 'Satoshi'; font-weight: 400; font-display: swap; src: url('/assets/fonts/satoshi-400.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 500; font-display: swap; src: url('/assets/fonts/satoshi-500.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 700; font-display: swap; src: url('/assets/fonts/satoshi-700.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-weight: 900; font-display: swap; src: url('/assets/fonts/satoshi-900.woff2') format('woff2'); }

:root { color-scheme: light dark; --bg: #f6f6f4; --fg: #111111; --muted: #5c5c58; --line: #e2e2dd; --surface: #ffffff; --ink: #111111; --ink-on: #ffffff; --focus: #2f5bd3; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0f0f; --fg: #f1f1ee; --muted: #a2a29c; --line: #262826; --surface: #171818; --ink: #f1f1ee; --ink-on: #111111; --focus: #8fb0ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.5 'Satoshi', -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }

.bar { max-width: 1080px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font-weight: 900; letter-spacing: -0.02em; text-decoration: none; font-size: 1.125rem; min-height: 44px; display: inline-flex; align-items: center; }
.bar__link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; font-weight: 500; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.hero { display: grid; gap: 40px; padding: 24px 0 56px; }
.hero h1 { font-weight: 900; font-size: clamp(2.5rem, 11vw, 4.25rem); line-height: 0.98; letter-spacing: -0.035em; max-width: 12ch; }
.lede { margin-top: 20px; font-size: 1.125rem; color: var(--muted); max-width: 34rem; }
.cta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.note { font-size: 0.875rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1.0625rem; }
.btn--primary { background: var(--ink); color: var(--ink-on); }

/* Example card: the Cover look, drawn statically with Justin's real card content. */
.example { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.example figcaption { font-size: 0.8125rem; color: var(--muted); }
.phone { width: min(320px, 82vw); border-radius: 40px; padding: 10px; background: #1c1f1e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35); }
.card { border-radius: 30px; overflow: hidden; background: #0b0e0d; color: #e9edef; padding-bottom: 14px; }
.card__photo { position: relative; aspect-ratio: 4 / 5; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__photo::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, rgba(11, 14, 13, 0), #0b0e0d); }
.card__name { position: absolute; left: 16px; right: 16px; bottom: 6px; z-index: 1; display: flex; flex-direction: column; font-weight: 900; font-size: 3rem; line-height: 0.92; letter-spacing: -0.03em; }
.outline { color: transparent; -webkit-text-stroke: 1.5px #e9edef; }
.card__role { padding: 6px 18px 0; color: #9aa4a1; font-size: 0.875rem; }
.card__acts { list-style: none; padding: 14px 16px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.card__acts li { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; text-align: center; padding: 9px 0; font-size: 0.6875rem; font-weight: 500; }
.card__tabs { list-style: none; display: flex; gap: 18px; padding: 16px 18px 0; font-size: 0.8125rem; color: #9aa4a1; border-bottom: 1px solid rgba(255, 255, 255, 0.12); margin: 0 0 0; }
.card__tabs li { padding-bottom: 8px; }
.card__tabs .on { color: #e9edef; border-bottom: 2px solid #e9edef; }
.card__line { padding: 12px 18px 0; font-size: 0.875rem; }
.card__save { margin: 16px 16px 0; border-radius: 999px; background: #1b3a33; color: #ffffff; text-align: center; font-weight: 700; padding: 12px; font-size: 0.9375rem; }

.section { padding: 48px 0; border-top: 1px solid var(--line); display: grid; gap: 24px; }
.section h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.section > p { max-width: 40rem; color: var(--muted); font-size: 1.0625rem; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; color: var(--muted); }
.steps li::before { content: counter(s, decimal-leading-zero); font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; grid-row: span 2; padding-top: 1px; }
.steps b { color: var(--fg); display: block; }
.features, .looks { list-style: none; padding: 0; display: grid; gap: 0; }
.features li, .looks li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.features li:first-child, .looks li:first-child { border-top: 0; }
.features span, .looks span { color: var(--muted); }

.plans { display: grid; gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.plan h3 { font-size: 1.125rem; }
.plan__price { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.plan__price span { display: block; font-size: 0.9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { padding-left: 18px; display: grid; gap: 6px; }
.plan--pro { border-color: var(--fg); }

.end { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.foot { max-width: 1080px; margin: 0 auto; padding: 24px 16px calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--muted); }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 48px 0 80px; }
  .features, .looks { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .features li:nth-child(2), .looks li:nth-child(2) { border-top: 0; }
  .plans { grid-template-columns: 1fr 1fr; }
  .section { grid-template-columns: 280px 1fr; align-items: start; }
  .section > .note { grid-column: 2; }
}

/* Privacy and terms */
.legal { max-width: 680px; padding-top: 24px; padding-bottom: 48px; }
.legal h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.legal__date { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.legal h2 { margin-top: 32px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.legal p, .legal ul { margin-top: 12px; line-height: 1.6; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
