/* The public pages (landing and help, ADR-012). Bakey colours and Poppins from the app's design system; no app code. */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/landing/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/landing/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("/landing/fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  --app: #2a2a2a; --rail: #303030; --card: #363636; --control: #3d3d3d; --raised: #4a4a4a;
  --text: #ffffff; --secondary: #c6c6c6; --muted: #aeaeae;
  --orange: #e0702f; --orange-text: #ec9a62; --primary: #a64c19; --primary-hover: #b3531c; --selected: #5a3b2b;
  --danger-text: #f29690; --raised-hover: #555; --alt-card: var(--control); --input-border: #5e5e5e;
  --notice: #4a2b28; --footer: #262626; --shadow: rgb(0 0 0 / 0.35);
  color-scheme: dark;
}
/* Cream light mode for light-mode devices, the app's palette (N140, N141). No script on these pages, so no selector. */
@media (prefers-color-scheme: light) {
  :root {
    --app: #faf5ec; --rail: #f2e9da; --card: #fffdf8; --control: #efe6d6; --raised: #e6dac6;
    --text: #2b211a; --secondary: #4f4238; --muted: #685a4e;
    --orange-text: #94400f; --selected: #f7dcc4; --danger-text: #b3261e;
    --raised-hover: #dccdb6; --alt-card: var(--card); --input-border: #c9b9a1;
    --notice: #fbe3df; --footer: #ede3d2; --shadow: rgb(70 45 20 / 0.15);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--app); color: var(--text); font: 400 16px/1.6 "Poppins", ui-sans-serif, system-ui, sans-serif; }
a { color: var(--orange-text); }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; top: 0.75rem; background: var(--raised); color: var(--text); padding: 0.6rem 1rem; border-radius: 10px; z-index: 10; }
.skip:focus { left: 0.75rem; }
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }

.site-header { background: var(--rail); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.25rem; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 0.25rem 1.25rem; flex-wrap: wrap; }
.site-nav a { color: var(--secondary); text-decoration: none; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 12px; font: 600 1rem/1 "Poppins", ui-sans-serif, system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--raised); color: var(--text); }
.btn-secondary:hover { background: var(--raised-hover); }
.site-nav .btn { color: #fff; min-height: 44px; padding: 0 1rem; }
/* "Coming soon to Etsy": the buy buttons until the listing exists (gate/src/landing.ts). Plain text, not a control. */
.btn.soon, .site-nav .btn.soon { background: var(--selected); color: var(--text); cursor: default; }

.notice { background: var(--notice); border-left: 4px solid var(--danger-text); }
.notice p { max-width: 72rem; margin: 0 auto; padding: 1rem; }
.notice a { color: var(--text); font-weight: 600; }

.hero { padding: 3.5rem 0 2.5rem; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
.kicker { color: var(--orange-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 0.75rem; }
.lede { color: var(--secondary); font-size: 1.15rem; max-width: 36rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0.75rem; }
.fine { color: var(--muted); font-size: 0.9rem; }
.shot { border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: 0 20px 60px var(--shadow); }
.shot figcaption { color: var(--muted); font-size: 0.85rem; padding: 0.6rem 1rem; }

.section { padding: 3.5rem 0; }
.section.alt { background: var(--rail); }
.section-intro { color: var(--secondary); max-width: 44rem; margin-bottom: 2rem; }
.grid { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border-radius: 20px; padding: 1.5rem; }
.section.alt .card { background: var(--alt-card); }
.card p { color: var(--secondary); margin: 0; }
.shots { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--card); border-radius: 20px; padding: 1.5rem; color: var(--secondary); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--selected); color: var(--text); font-weight: 800; margin-bottom: 0.75rem; }
.steps strong { color: var(--text); display: block; }

.faq details { background: var(--card); border-radius: 14px; padding: 0 1.25rem; margin-bottom: 0.75rem; }
.faq summary { cursor: pointer; font-weight: 600; min-height: 3.25rem; display: flex; align-items: center; }
.faq details p { color: var(--secondary); }

.unlock { background: var(--card); border-radius: 20px; padding: 1.75rem; max-width: 44rem; }
.unlock label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.unlock input { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--input-border); background: var(--control); color: var(--text); font: 400 1rem "Poppins", ui-sans-serif, system-ui, sans-serif; padding: 0 0.9rem; }
.unlock input[aria-invalid="true"] { border-color: var(--danger-text); }
.unlock__hint { color: var(--muted); font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.unlock__error { color: var(--danger-text); margin: 0.5rem 0 1rem; }

.site-footer { background: var(--footer); color: var(--muted); font-size: 0.9rem; padding: 2rem 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; }
.site-footer a { color: var(--secondary); display: inline-flex; min-height: 44px; align-items: center; }

/* Help page */
.help-main { padding: 2.5rem 0 3.5rem; }
.toc { background: var(--card); border-radius: 20px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2.5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc li { margin: 0.35rem 0; }
.topic { background: var(--card); border-radius: 20px; padding: 1.5rem; margin-bottom: 1.25rem; scroll-margin-top: 1rem; }
.topic h2 { font-size: 1.4rem; }
.topic ol, .topic ul { color: var(--secondary); padding-left: 1.25rem; }
.topic li { margin: 0.35rem 0; }
.topic .note { background: var(--selected); border-radius: 12px; padding: 0.9rem 1rem; color: var(--text); }
