/* base: tokens, lean nav, footer, legal prose */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  :root {
    --ink: #0A0A0A;
    --primary: #000000;
    --body: #5E5E5E;
    --yellow: #FFD500;
    --gold: #FBBC05;
    --white: #FFFFFF;
    --soft: #F6F8FA;
    --divider: #E2E8F0;
    --link: #0066FF;
    --radius-pill: 999px;
  }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white); color: var(--ink);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    line-height: 1.5; overflow-x: clip;
  }
  h1, h2, h3 { font-family: 'Inter', sans-serif; color: var(--ink); letter-spacing: -0.02em; }

  /* ── Nav (matches landing page) ── */
  .nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(10,10,10,0.06); }
  .nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .nav-logo img { height: 26px; width: auto; display: block; }
  .nav-back { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; opacity: 0.85; display: inline-flex; align-items: center; gap: 7px; transition: opacity 120ms ease; }
  .nav-back:hover { opacity: 1; }

  /* ── Legal content ── */
  .legal { padding: 64px 0 96px; }
  .legal-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
  .legal-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 14px; }
  .legal-title { font-size: clamp(34px, 5vw, 44px); font-weight: 800; line-height: 1.1; }
  .legal-meta { margin-top: 14px; font-size: 15px; color: var(--body); }
  .legal-intro { margin-top: 24px; font-size: 18px; color: var(--body); line-height: 1.7; }
  .legal-body { margin-top: 8px; }
  .legal-body h2 { font-size: 22px; font-weight: 700; margin-top: 40px; line-height: 1.3; }
  .legal-body h3 { font-size: 18px; font-weight: 700; margin-top: 26px; }
  .legal-body p { font-size: 17px; color: var(--body); line-height: 1.75; margin-top: 14px; }
  .legal-body ul { margin: 14px 0 0 0; padding-left: 22px; }
  .legal-body li { font-size: 17px; color: var(--body); line-height: 1.75; margin-top: 8px; }
  .legal-body strong { color: var(--ink); font-weight: 700; }
  .legal-body a { color: var(--link); text-decoration: none; }
  .legal-body a:hover { text-decoration: underline; }
  .legal-note { margin-top: 40px; padding: 18px 20px; background: var(--soft); border: 1px solid var(--divider); border-radius: 12px; font-size: 14px; color: var(--body); line-height: 1.6; }

  /* Footer styling lives in footer.css (loaded on every page). */
  @media (max-width: 560px) {
    .nav-inner, .legal-inner { padding-left: 20px; padding-right: 20px; }
    .legal { padding: 48px 0 64px; }
  }

/* blog index: header + post grid */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  :root {
    --ink: #0A0A0A;
    --primary: #000000;
    --body: #5E5E5E;
    --hairline: #8A8A8A;
    --yellow: #FFD500;
    --gold: #FBBC05;
    --white: #FFFFFF;
    --soft: #F6F8FA;
    --divider: #E2E8F0;
    --radius: 16px;
    --radius-pill: 999px;
  }

  body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; }
  h1, h2, h3 { font-family: 'Inter', sans-serif; color: var(--ink); letter-spacing: -0.02em; }

  /* ── Nav (lean) ── */
  .nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(10,10,10,0.06); }
  .nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .nav-logo img { height: 26px; width: auto; display: block; }
  .nav-back { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; opacity: 0.85; display: inline-flex; align-items: center; gap: 7px; transition: opacity 120ms ease; }
  .nav-back:hover { opacity: 1; }

  /* ── Blog header ── */
  .blog-head { max-width: 1100px; margin: 0 auto; padding: 72px 32px 48px; }
  .blog-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 14px; }
  .blog-head h1 { font-size: clamp(38px, 5.5vw, 56px); font-weight: 800; line-height: 1.08; }
  .blog-head p { margin-top: 16px; font-size: 18px; color: var(--body); line-height: 1.7; max-width: 560px; }

  /* ── Post grid ── */
  .post-grid { max-width: 1100px; margin: 0 auto; padding: 0 32px 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform 120ms ease, border-color 120ms ease; }
  .post-card:hover { transform: translateY(-2px); border-color: var(--yellow); }
  .post-thumb { height: 190px; display: flex; align-items: flex-end; padding: 16px; background: var(--soft) center / cover no-repeat; }
  .post-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); background: rgba(255,255,255,0.85); padding: 6px 12px; border-radius: var(--radius-pill); }
  .post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .post-title { font-size: 21px; font-weight: 700; line-height: 1.25; }
  .post-excerpt { font-size: 16px; color: var(--body); line-height: 1.6; }
  .post-meta { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--hairline); }

  /* Footer styling lives in footer.css (loaded on every page). */
  @media (max-width: 768px) {
    .post-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .nav-inner, .blog-head, .post-grid { padding-left: 20px; padding-right: 20px; }
    .blog-head { padding-top: 48px; }
  }

/* blog post: article + cta */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  :root {
    --ink: #0A0A0A;
    --primary: #000000;
    --body: #5E5E5E;
    --hairline: #8A8A8A;
    --yellow: #FFD500;
    --gold: #FBBC05;
    --white: #FFFFFF;
    --soft: #F6F8FA;
    --divider: #E2E8F0;
    --link: #0066FF;
    --radius: 16px;
    --radius-pill: 999px;
  }

  body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; }
  h1, h2, h3 { font-family: 'Inter', sans-serif; color: var(--ink); letter-spacing: -0.02em; }

  /* ── Nav (lean) ── */
  .nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(10,10,10,0.06); }
  .nav-inner { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .nav-logo img { height: 26px; width: auto; display: block; }
  .nav-back { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; opacity: 0.85; display: inline-flex; align-items: center; gap: 7px; transition: opacity 120ms ease; }
  .nav-back:hover { opacity: 1; }

  /* ── Article ── */
  .article { padding: 56px 0 96px; }
  .article-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
  .article-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 16px; }
  .article-title { font-size: clamp(32px, 5vw, 46px); font-weight: 800; line-height: 1.08; }
  .article-meta { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--body); }
  .article-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(150deg, var(--yellow), var(--gold)); flex-shrink: 0; }
  .article-meta .sep { color: var(--divider); }
  .article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 36px 0 8px; display: block; }

  .article-body { margin-top: 24px; }
  .article-body p { font-size: 18px; color: #2E2E2E; line-height: 1.8; margin-top: 22px; }
  .article-body h2 { font-size: 26px; font-weight: 700; margin-top: 44px; line-height: 1.25; }
  .article-body h3 { font-size: 20px; font-weight: 700; margin-top: 30px; }
  .article-body ul { margin: 22px 0 0 0; padding-left: 24px; }
  .article-body li { font-size: 18px; color: #2E2E2E; line-height: 1.8; margin-top: 10px; }
  .article-body strong { color: var(--ink); font-weight: 700; }
  .article-body a { color: var(--link); text-decoration: none; }
  .article-body a:hover { text-decoration: underline; }
  .article-body blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--yellow); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.4; }

  /* ── End-of-post CTA ── */
  .article-cta { max-width: 720px; margin: 56px auto 0; padding: 32px; background: var(--soft); border: 1px solid var(--divider); border-radius: var(--radius); text-align: center; }
  .article-cta h3 { font-size: 22px; font-weight: 800; }
  .article-cta p { margin-top: 10px; font-size: 16px; color: var(--body); line-height: 1.6; }
  .btn-primary { display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; background: var(--primary); color: var(--white); font-size: 16px; font-weight: 600; padding: 12px 26px; border-radius: var(--radius-pill); text-decoration: none; transition: background 120ms ease; }
  .btn-primary:hover { background: #1a1a1a; }

  /* Footer styling lives in footer.css (loaded on every page). */
  @media (max-width: 560px) {
    .nav-inner, .article-inner { padding-left: 20px; padding-right: 20px; }
    .article { padding: 40px 0 64px; }
    .article-body p, .article-body li { font-size: 17px; }
  }

  /* ── Join / confirm cards (ISS-1) ─────────────────────────────────────── */
  .p1-join-card { text-align: center; max-width: 520px; margin: 0 auto; }
  .p1-join-status, .p1-confirm-status {
    min-height: 1.4em; margin: 18px 0 0; font-size: 17px; line-height: 1.6;
    color: var(--body, #5E5E5E);
  }
  .p1-join-status.is-success, .p1-confirm-status.is-success { color: #0A0A0A; font-weight: 600; }
  .p1-join-status.is-error, .p1-confirm-status.is-error { color: #C0392B; font-weight: 600; }
  .p1-join-cta { margin: 28px 0 0; }
  .p1-join-cta-label { margin: 0 0 16px; font-size: 16px; color: #5E5E5E; }
  .p1-join-stores { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
  /* Store buttons (mirrors landing.css .store-btn; literals since content.css
     has no design-token :root). */
  .store-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #0A0A0A; color: #FFFFFF; text-decoration: none;
    font-size: 16px; font-weight: 600; padding: 13px 24px; border-radius: 999px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 120ms ease, background 120ms ease; white-space: nowrap;
  }
  .store-btn:hover { background: #1a1f30; }
  .store-btn:active { transform: scale(0.985); }
  .store-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
