/* Made by Zo — shared styles for every page.
   Colors live in the variables below; change them here and the whole site updates. */

:root {
  --bg: #fbf6ef;          /* warm cream page */
  --surface: #ffffff;     /* cards */
  --text: #2b2118;        /* deep brown */
  --muted: #6e5f52;
  --accent: #d2603a;      /* terracotta */
  --accent-text: #ffffff;
  --accent-soft: #f6e3d6;
  --border: #eadfd2;
  --link: #b54b27;
  --radius: 18px;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1814;
    --surface: #27211c;
    --text: #f3ebe2;
    --muted: #b8a999;
    --accent: #e7794f;
    --accent-text: #1d1814;
    --accent-soft: #3a2a20;
    --border: #3a3029;
    --link: #f0936c;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 18px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Type */
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin: 0.2em 0 0.4em; }
h2 { font-size: 1.5rem; margin: 2em 0 0.5em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 0.3em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.eyebrow { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; margin: 0; }

/* Hero */
.hero { padding: 40px 0 16px; }
/* Hand-drawn doodles (inline SVGs in index.html). They draw themselves in on load. */
.doodle { color: var(--accent); display: block; overflow: visible; }
.doodle .fill { fill: var(--accent-soft); }
.icon .doodle { width: 46px; height: 46px; }
.doodle-hi { display: inline-block; width: 0.95em; height: 0.95em; vertical-align: -0.08em; margin-left: 0.12em; }
@media (prefers-reduced-motion: no-preference) {
  .doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s ease-out forwards; }
  .doodle .fill { fill-opacity: 0; animation: draw 0.9s ease-out forwards, fill-in 0.5s ease-out 0.8s forwards; }
  .doodle path:nth-child(2) { animation-delay: 0.25s; }
  .doodle path:nth-child(3) { animation-delay: 0.45s; }
  .doodle path:nth-child(4) { animation-delay: 0.6s; }
  .grid .card:nth-child(2) .doodle path { animation-delay: 0.3s; }
  .grid .card:nth-child(3) .doodle path { animation-delay: 0.6s; }
  /* Steam: draws in after the mug, then drifts up and fades on a slow loop */
  .doodle-hi .steam { animation: draw 0.6s ease-out forwards, steam 3.2s ease-in-out 1.6s infinite; }
  .doodle-hi .steam:nth-child(4) { animation-delay: 0.7s, 1.6s; }
  .doodle-hi .steam:nth-child(5) { animation-delay: 0.85s, 2.1s; }
  .doodle-hi .steam:nth-child(6) { animation-delay: 1s, 2.6s; }
  @keyframes steam { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-2.5px); opacity: 0.35; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fill-in { to { fill-opacity: 1; } }
}

/* Hero photo: sits beside the text on wide screens, above it on phones */
.hero-with-photo { display: flex; align-items: center; gap: 32px; }
.hero-text { flex: 1; }
.hero-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; border: 4px solid var(--surface); box-shadow: 0 6px 24px rgba(43,33,24,0.15); }
@media (max-width: 600px) {
  .hero-with-photo { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .hero-photo { width: 112px; height: 112px; }
}

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 18px 0; }
.card h2, .card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 18px 0; }
.grid .card { margin: 0; }
.icon { font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }

.coming { background: var(--accent-soft); border-color: transparent; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 600; }
.btn:hover { filter: brightness(1.05); text-decoration: none; }

/* Long-form legal text */
.prose h2 { font-size: 1.3rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.35em 0; }
.updated { color: var(--muted); font-size: 0.95rem; }

/* FAQ */
details { border-top: 1px solid var(--border); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { margin-top: 64px; padding: 28px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

main { min-height: 50vh; }
