/*
  site.css — styles for the RollGarden page mockup.

  PART 1 is fandonia.app's own stylesheet (styles.css in the website folder, file dated
  2026-10-28), copied without changes so the mockup looks like the live site.
  PART 2, at the bottom, is what this mockup adds. When the page is published on
  fandonia.app, link the site's /styles.css and carry over PART 2 only.
*/

/* ════════════════════════════════════════════════════════════════════
   PART 1 — copied from fandonia.app styles.css, unchanged
   ════════════════════════════════════════════════════════════════════ */
/* Fandonia — shared styles */
:root {
  /* Fandonia palette: warm cream, deep green-black, leaf green */
  --bg: #f2e6d6;          /* warm cream, from the banner background */
  --surface: #fbf6ee;     /* cards, a shade lighter than the page */
  --ink: #0b1f1a;         /* deep green-black, from the wordmark */
  --body: #2a3a31;        /* running text */
  --muted: #5f6659;       /* secondary text — AA on both bg and surface */
  --line: #e0d2be;        /* warm rules and borders */
  --accent: #4a5438;      /* links, buttons — AA on bg (6.5:1) */
  --accent-ink: #ffffff;
  --accent-soft: #e3e7d9; /* badge and callout wash */
  --leaf: #5e664a;        /* the leaf green, sampled */
  --max: 68rem;
  --measure: 38rem;
  --radius: 12px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.01em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.14em;
}
.wordmark:hover { text-decoration: none; }
.wordmark .leaf { width: 0.78em; height: 0.78em; margin-top: -0.24em; flex: none; }
.wordmark .leaf .blade { fill: var(--leaf); }
.wordmark .leaf .vein { stroke: var(--bg); stroke-width: 1.3; fill: none; stroke-linecap: round; }
.site-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a { color: var(--muted); font-size: 0.95rem; }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Hero (home) */
.hero { padding-block: clamp(4rem, 12vw, 8rem) clamp(3rem, 8vw, 5rem); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 1.25rem; max-width: 20ch;
}
.hero p.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: var(--measure); margin: 0 0 2rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.8rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }

/* Feature trio */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; margin-bottom: 4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .num { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem; }

/* Article pages */
.page { padding-block: clamp(2.5rem, 6vw, 4.5rem) 4rem; }
.page header { margin-bottom: 2.25rem; }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1.15; margin: 0 0 0.5rem; }
.page .meta { color: var(--muted); font-size: 0.95rem; margin: 0; }
.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.25rem; margin: 2.25rem 0 0.6rem; }
.prose h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.callout p { margin: 0; color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.contact-list a { font-size: 1.1rem; }

details { border-bottom: 1px solid var(--line); padding-block: 0.9rem; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 1.3rem; }
details[open] summary::after { content: "–"; }
details p { margin: 0.75rem 0 0; color: var(--body); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem 2.5rem; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-block: 1rem; }
  .site-nav { gap: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Badges, per-title page, specs ─────────────────────────────── */
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 0.24rem 0.6rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); vertical-align: middle;
}
.badge-live { background: #dcebdf; color: #1d5b36; }
.badge-soon { background: #f4e7c9; color: #7a5a12; }

/* Per-title page */
.title-head { margin-bottom: 2rem; }
.title-head h1 { margin-bottom: 0.4rem; }
.title-head .tagline { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); margin: 0.6rem 0 0; max-width: var(--measure); }
.store-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.spec { display: grid; grid-template-columns: max-content 1fr; gap: 0.55rem 1.5rem; margin: 0 0 2rem; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec dt { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.spec dd { margin: 0; color: var(--ink); }

.fill { background: #fbf3d4; padding: 0 0.2rem; border-bottom: 1px dashed #b89b00; }

@media (max-width: 520px) {
  .spec { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .spec dd { margin-bottom: 0.9rem; }
}

/* ── Kicker and warning callout ────────────────────────────────── */
.callout-warn { background: #fbefd9; border-left-color: #b46b00; }
.callout-warn p { color: #4a3200; }
.title-head .kicker { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }

/* accessibility (WCAG 2.1 AA) */
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 0.6rem 1rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--accent-ink); }
#main:focus { outline: none; }
/* links inside running text are underlined, so they are not told apart by color alone (1.4.1) */
main p a:not(.btn), main li a:not(.btn), main dd a, main .callout a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Studio home (2026-10) ─────────────────────────────────────── */
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.2; margin: 0 0 1.5rem; }
.band { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(3rem, 7vw, 4.5rem); }
.principles { padding-block: clamp(3rem, 7vw, 4.5rem) 0; }
.principles .trio { margin-bottom: 3rem; }
.kicker { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.feature h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.1rem); line-height: 1.15; margin: 0 0 0.4rem; }
.feature-tagline { font-size: 1.1rem; color: var(--ink); margin: 0 0 1rem; }
.feature-body > p:not(.feature-tagline) { color: var(--body); margin: 0 0 1.5rem; max-width: var(--measure); }
.facts { margin: 0; border-left: 1px solid var(--line); padding-left: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.facts dd { margin: 0; color: var(--ink); font-size: 0.97rem; }
.strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  border-top: 1px solid var(--line); padding-block: 2.5rem 3.5rem;
}
.strip h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 0 0 0.35rem; }
.strip p { margin: 0; color: var(--body); max-width: var(--measure); }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .facts { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
}
/* small layout helpers that replace inline style attributes */
.title-head h1 { margin-top: 0.2rem; }
.title-head .status { margin: 1.25rem 0 0; }
.contact-list .note { margin: 0.35rem 0 0; color: var(--muted); }


/* ════════════════════════════════════════════════════════════════════
   PART 2 — additions for the RollGarden page
   Only the site's own colors are used. Every text/background pair is
   checked by _build/contrast.mjs.
   ════════════════════════════════════════════════════════════════════ */

body { overflow-wrap: break-word; }

/* Tap targets of at least 44px on the header, nav and footer links */
.wordmark { min-height: 44px; }
.site-nav { gap: 0 1.5rem; }
.site-nav a,
.site-footer nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.site-footer nav { gap: 0 1.25rem; }
.site-footer .foot-lines { display: flex; flex-direction: column; gap: 0.25rem; }

/* ── The top: Bill's header art across the full width, the title card over its lower edge ── */
/* The picture has the name lettered into it; the real heading is the h1 in the card. */
.rg-hero-art {
  display: block; width: 100%; height: auto; max-height: 34rem;
  object-fit: cover; object-position: center 45%;
}
.rg-hero-card {
  position: relative; display: flex; gap: clamp(1rem, 3vw, 1.5rem); align-items: flex-start;
  max-width: 46rem; margin-top: clamp(-5rem, -6vw, -2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 14px 36px rgba(11, 31, 26, 0.14);
}
.rg-hero-text { min-width: 0; }
.rg-hero-text h1 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.05; margin: 0.1rem 0 0.5rem;
}
.rg-hero-text .tagline { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--body); margin: 0; max-width: 34rem; }
.rg-hero-text .soon-note { margin-top: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; }
.app-icon { width: 96px; height: 96px; border-radius: 22%; flex: none; box-shadow: 0 2px 10px rgba(11, 31, 26, 0.18); }
@media (max-width: 520px) {
  .rg-hero-card { flex-direction: column; }
  .app-icon { width: 72px; height: 72px; }
}

/* "Coming soon" pills: plain text with a dashed outline, not links and not buttons */
.store-soon { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-soon li {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.2rem;
  border: 1px dashed var(--muted); border-radius: 999px;
  color: var(--body); font-weight: 600; font-size: 0.95rem;
}

/* ── The body of the page ── */
.rg-body { padding-block: clamp(2rem, 5vw, 3rem) 0; }
.rg-section { margin-top: clamp(2.5rem, 6vw, 4rem); }
.rg-section .section-title { margin-bottom: 1.25rem; }
/* inside .prose, keep the section-title size (the site's .prose h2 is smaller) */
.prose h2.section-title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 0; }

/* Short facts in a row */
.rg-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem 2rem;
  margin: 0; padding: 1.25rem 0; border-block: 1px solid var(--line);
}
.rg-facts dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.rg-facts dd { margin: 0.2rem 0 0; color: var(--ink); }

/* Screenshots in phone frames: three across, or a sideways row to swipe on a phone */
.rg-shots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.25rem); }
.rg-shots li { margin: 0; }
.rg-shots figure { margin: 0; }
.phone { padding: 0.5rem; border-radius: 2.2rem; background: var(--ink); box-shadow: 0 16px 34px rgba(11, 31, 26, 0.22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 1.75rem; }
.rg-shots figcaption { margin-top: 0.85rem; font-size: 0.95rem; color: var(--body); }
.rg-shots figcaption strong { display: block; color: var(--ink); }
.rg-shots-note { margin-top: 1rem; }
@media (max-width: 760px) {
  .rg-shots {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(70%, 16rem);
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem 0.25rem 1rem;
  }
  .rg-shots li { scroll-snap-align: center; }
}

/* How it feels: four steps beside the labyrinth drawing */
.rg-feel { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 760px) { .rg-feel { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.rg-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.rg-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.rg-steps h3 { margin: 0 0 0.2rem; font-size: 1.08rem; }
.rg-steps p { margin: 0; color: var(--body); }
.step-icon {
  flex: none; width: 2.9rem; height: 2.9rem; padding: 0.65rem; border-radius: 50%;
  background: var(--accent-soft); fill: none; stroke: var(--accent); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.art { margin: 0; }
.art svg {
  display: block; width: 100%; height: auto; max-width: 22rem; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.art .walls { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.art .goal { fill: var(--accent-soft); }
.art figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; text-align: center; }
.rg-tip { margin-top: 2rem; }
.rg-quiet { color: var(--muted); max-width: var(--measure); margin: 1.25rem 0 0; }

/* What's in it: cards, then the marbles */
.rg-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.rg-cards .card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.45rem; }
.rg-marbles-head { margin: 2rem 0 0; color: var(--body); }
.marbles { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 0.9rem; }
.marbles li { margin: 0; width: 4.5rem; text-align: center; font-size: 0.9rem; color: var(--body); }
.marbles img { display: block; width: 4.5rem; height: 4.5rem; margin-bottom: 0.3rem; }

/* What this app stores: a light band across the page */
.rg-private { margin-top: clamp(3rem, 7vw, 4.5rem); }
.rg-private .section-title { margin-bottom: 1rem; }
.rg-private .prose p { color: var(--body); }

/* Safety, credits and help: smaller and quieter, just above the footer */
.rg-smallprint { margin-top: clamp(3rem, 7vw, 4.5rem); padding-block: 2.5rem; border-top: 1px solid var(--line); background: var(--surface); }
.rg-smallprint-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem 3rem; align-items: start; }
.rg-smallprint h2 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.rg-smallprint p, .rg-smallprint dd { font-size: 0.92rem; color: var(--ink); }
.rg-smallprint .callout { margin: 0 0 1rem; }
.rg-smallprint .callout p { color: #4a3200; }
.credits { margin: 0.75rem 0; }
.credits dt { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.credits dd { margin: 0 0 0.6rem; }
.site-footer { margin-top: 0; }



/* The "back to the app page" link at the top of the privacy and terms pages: a 44px target */
.page .meta a.back { display: inline-flex; align-items: center; min-height: 44px; }
