/* Benji Dog static site. Colours are the app's "Paper" palette (apps/mobile/src/lib/theme.ts). System fonts: no webfont download. */
:root {
  --ink: #1B1714; --paper: #FBF8F2; --paper2: #F2ECE1; --line: #E3DACB; --muted: #5E564E; --sun: #F2B416;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 600 16px/1.5 var(--font); }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 2; }
.skip:focus { left: 8px; }

.top { padding-top: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }

main { flex: 1; padding-top: 12px; padding-bottom: 40px; }
h1, h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(32px, 9vw, 44px); }
h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.01em; margin-top: 28px; }
p, ul { margin: 10px 0 0; }
ul { padding-left: 22px; }
li { margin-top: 6px; }
.updated { color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 10px; }
.lede { font-size: 19px; line-height: 1.45; color: var(--ink); margin-top: 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Landing and invite share a centred stack. */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.hero .icon { width: 128px; height: 128px; border-radius: 28px; border: 1px solid var(--line); }
.hero h1 { margin-top: 22px; }
.hero .lede { max-width: 30em; }
.landing main { display: flex; flex-direction: column; justify-content: center; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font: 800 17px/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-sun { background: var(--sun); }
.btn:active { transform: translateY(1px); }
.stores .btn { flex: 1 1 200px; max-width: 280px; }

.code-block { margin-top: 22px; width: 100%; max-width: 360px; background: var(--paper2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 20px; }
.label { font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin: 0; }
.code { margin: 6px 0 0; font: 800 clamp(40px, 13vw, 56px)/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; padding-left: .12em; user-select: all; }
.code-row { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.copied { min-height: 1.4em; margin: 0; font-size: 14px; color: var(--muted); }
.step { margin-top: 22px; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 800; font-size: 17px; }
.faq details p { margin: 0 0 14px; }

footer { border-top: 1px solid var(--line); padding: 18px 0 28px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
footer p { margin: 6px 0 0; }

@media (min-width: 640px) {
  .code-row { flex-direction: row; align-items: center; justify-content: center; }
  .top { padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
