/* ShuffleIn website - the approved app look (previews/final-look.html): off-white, ink, hairlines, pills,
   a black primary button, Inter. One stylesheet for the landing page and every legal page. */
:root {
  --bg: #fafaf9;
  --ink: #111111;
  --white: #ffffff;
  --muted: #6b7280;
  --muted2: #4b5563;
  --faint: #9ca3af;
  --soft: #f1f1ef;
  --hair: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.1);
  --danger: #b91c1c;
  --max: 1100px;
  --gutter: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--muted2); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header ---- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 249, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.mark { width: 34px; height: 34px; border-radius: 11px; background: var(--ink); display: grid; place-items: center; color: #fff; flex: 0 0 auto; }
.mark svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--border); background: var(--white); color: var(--ink); white-space: nowrap; }
.btn:hover { color: var(--ink); background: var(--soft); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 12px; }
@media (max-width: 760px) {
  .nav nav { display: none; }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav nav:has(.nav-links.open) { display: block; position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--hair); padding: 10px var(--gutter) 16px; }
  .nav-links.open { flex-direction: column; gap: 6px; }
  .nav-links.open a { display: block; padding: 10px 0; font-size: 16px; color: var(--ink); }
}

/* ---- document pages (privacy, terms, banned items, delete account, child safety) ---- */
.doc-hero { padding: 44px 0 10px; }
.doc-hero h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 10px; font-weight: 600; }
.doc-meta { color: var(--muted); font-size: 14px; max-width: 760px; }
.doc-meta code { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); padding: 1px 6px; border-radius: 6px; }
.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.doc-nav a { font-size: 13px; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); }
.doc-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc { max-width: 760px; margin: 0 auto; padding: 10px var(--gutter) 70px; }
.doc h2 { font-size: 20px; letter-spacing: -0.02em; margin: 36px 0 10px; font-weight: 600; }
.doc h3 { font-size: 16px; margin: 22px 0 6px; font-weight: 600; }
.doc p, .doc li { color: var(--ink); }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--hair); }
.doc th { font-weight: 600; color: var(--muted2); font-size: 13px; }
.note, .warn { padding: 14px 16px; border-radius: 16px; margin: 16px 0; font-size: 15px; }
.note { background: var(--soft); }
.warn { background: #fff; border: 1px solid rgba(185, 28, 28, 0.25); }
.muted { color: var(--muted); }
.k { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---- landing (early access) ---- */
.hero { padding: 72px 0 40px; text-align: center; }
.hero .mark { width: 72px; height: 72px; border-radius: 24px; margin: 0 auto 22px; }
.hero .mark svg { width: 30px; height: 30px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 14px; font-weight: 600; }
.hero p { max-width: 560px; margin: 0 auto 26px; color: var(--muted2); font-size: 17px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--hair); font-size: 13px; font-weight: 500; color: var(--muted2); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); display: inline-block; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 40px auto 0; max-width: 860px; }
.step { background: var(--white); border: 1px solid var(--hair); border-radius: 22px; padding: 22px 20px; text-align: left; min-width: 0; }
.step b { display: block; font-size: 15px; margin-bottom: 4px; }
.step span { color: var(--muted2); font-size: 14px; }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; margin-bottom: 12px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .hero { padding: 56px 0 30px; } }

/* ---- footer ---- */
footer.site { border-top: 1px solid var(--hair); margin-top: 40px; padding: 36px 0 44px; font-size: 14px; color: var(--muted2); }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
footer.site h4 { margin: 0 0 10px; font-size: 13px; color: var(--ink); }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 6px 0; }
footer.site a { text-decoration: none; color: var(--muted2); }
footer.site a:hover { color: var(--ink); }
footer.site .about { max-width: 360px; margin: 12px 0 0; }
footer.site .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }
