/* Poofed — shared styles
   Palette derived from the app: warm near-black, cream text, tan accent. */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Space+Mono:wght@400;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:        #100c0a;
  --bg-warm:   #1c1512;
  --panel:     #171210;
  --ink:       #efe7d8;   /* cream text */
  --muted:     #a1928380; /* soft warm grey (used with opacity) */
  --muted-2:   #9c8d7f;
  --tan:       #cba46a;   /* the wordmark period / poof icon */
  --tan-soft:  #e6c88f;
  --line:      #2a201b;
  --radius:    16px;
  --maxw:      680px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 620px at 50% -8%, #2a1d16 0%, rgba(42,29,22,0) 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 55%, #160f0c 100%);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.1px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- header / wordmark ---- */
header.site {
  padding: 46px 0 8px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}
.brand .dot { color: var(--tan); }

/* ---- eyebrow label (mono, echoes the app) ---- */
.eyebrow {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--muted-2);
  margin: 0 0 14px;
}

/* ---- headings ---- */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
h1 .dot { color: var(--tan); }

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.3px;
  margin: 40px 0 10px;
  color: var(--ink);
}

.lede {
  font-size: 19px;
  color: #d8cdbc;
  margin: 0 0 8px;
}

main { padding: 18px 0 40px; }

p { margin: 0 0 16px; color: #d6cabb; }
a { color: var(--tan-soft); text-decoration: none; border-bottom: 1px solid #cba46a55; }
a:hover { border-bottom-color: var(--tan); }
strong { color: var(--ink); font-weight: 600; }

ul { padding-left: 20px; margin: 0 0 16px; }
li { margin: 7px 0; color: #d6cabb; }

/* ---- landing hero buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.btn {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.btn.primary { background: var(--tan); color: #1a120b; border-color: var(--tan); }
.btn.primary:hover { background: var(--tan-soft); border-color: var(--tan-soft); }
.btn:hover { border-color: #3a2c24; }

/* ---- code chip ---- */
.chip {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  letter-spacing: 1px;
  background: #201813;
  border: 1px solid var(--line);
  color: var(--tan-soft);
  padding: 2px 9px;
  border-radius: 8px;
  font-size: 0.92em;
}

/* ---- FAQ ---- */
.faq { margin: 22px 0 8px; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: 'Space Mono', monospace;
  color: var(--tan);
  font-size: 20px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 18px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---- callout ---- */
.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--tan);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 22px 0;
}
.note p:last-child { margin-bottom: 0; }

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 26px 0 60px;
  color: var(--muted-2);
  font-size: 14px;
}
footer.site .row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted-2); border-bottom: none; font-size: 14px; }
footer.site a:hover { color: var(--ink); }
.muted { color: var(--muted-2); }

/* accessibility */
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
