/* Fulbeta website. Colours come from the app icon (sage, cream, slate) and
   from the markers in the app (blue hands, orange feet). */
:root {
  --paper: #f6f3ea;
  --card: #fffdf7;
  --ink: #25302a;
  --muted: #55625a;
  --sage: #8fa58a;
  --sage-deep: #5d7659;
  --line: #ddd8c8;
  --hand: #1976d2;
  --foot: #e06c00;
  --rock: #b9b3a4;
  --rock-dark: #8f897b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b211d;
    --card: #232b26;
    --ink: #ecebe2;
    --muted: #b2bbb2;
    --sage: #7d947a;
    --sage-deep: #a9c2a4;
    --line: #37423b;
    --rock: #5d6259;
    --rock-dark: #474c44;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 650; font-size: 1.15rem;
  color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; }
header.site nav { margin-left: auto; display: flex; gap: 20px; font-size: 0.95rem; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--ink); text-decoration: underline; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 40px 24px 72px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 18px;
  letter-spacing: -0.02em; text-wrap: balance; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 26px; max-width: 34ch; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 0.95rem; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage-deep); }
.tour { justify-self: center; width: min(100%, 290px); }
.phone { margin: 0; padding: 10px; border-radius: 40px; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(37, 48, 42, 0.2); }
.screen { position: relative; border-radius: 30px; overflow: hidden; background: var(--line);
  aspect-ratio: 780 / 1688; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s; }
.screen img:first-child { position: relative; display: block; opacity: 1; }
.screen img.on { opacity: 1; }
/* Once the script runs, the first picture fades like the others. */
.screen img:first-child[aria-hidden="true"] { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .screen img { transition: none; } }
.tour-controls { margin-top: 16px; text-align: center; }
.tour-caption { margin: 0 0 10px; min-height: 3.1em; line-height: 1.35; }
.tour-caption strong { display: block; }
.tour-caption span { color: var(--muted); font-size: 0.92rem; }
.tour-buttons { display: flex; align-items: center; justify-content: center; gap: 10px; }
.tour-buttons[hidden] { display: none; }
.tour-dots { display: flex; }
.tour-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none;
  cursor: pointer; display: grid; place-items: center; }
.tour-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--line); transition: transform 0.2s; }
.tour-dots button[aria-current="true"]::before { background: var(--sage-deep); transform: scale(1.25); }
.tour-pause { font: inherit; font-size: 0.82rem; padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.tour-pause:hover { color: var(--ink); }
.tour-dots button:focus-visible, .tour-pause:focus-visible { outline: 2px solid var(--sage-deep);
  outline-offset: 2px; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 { font-size: 1.6rem; margin: 0 0 28px; letter-spacing: -0.01em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none;
  padding: 0; margin: 0; counter-reset: step; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px;
  height: 34px; border-radius: 50%; border: 2.5px solid var(--hand); color: var(--hand);
  font-weight: 700; margin-bottom: 14px; }
.steps li:nth-child(2)::before { border-color: var(--foot); color: var(--foot); }
.steps h3 { margin: 0 0 6px; font-size: 1.08rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 40px; padding: 0;
  margin: 0; list-style: none; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px;
  height: 12px; border-radius: 50%; border: 2.5px solid var(--sage-deep); }
.facts strong { display: block; }
.facts span { color: var(--muted); font-size: 0.98rem; }

.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0;
  list-style: none; font-size: 0.95rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.chip { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid; }
.chip.hand { border-color: var(--hand); background: color-mix(in srgb, var(--hand) 25%, transparent); }
.chip.foot { border-color: var(--foot); background: color-mix(in srgb, var(--foot) 25%, transparent); }
.chip.note { border-color: var(--muted); background: color-mix(in srgb, var(--muted) 25%, transparent); }

.name-story { margin: 0; max-width: 60ch; font-size: 1.1rem; color: var(--muted); }
.name-story em { color: var(--ink); font-style: normal; font-weight: 650; }

article.doc { padding: 24px 0 72px; }
article.doc h1 { font-size: 2rem; margin: 16px 0 6px; letter-spacing: -0.01em; }
article.doc h2 { font-size: 1.2rem; margin: 36px 0 8px; }
article.doc p { margin: 0 0 12px; }
article.doc .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
article.doc ol { padding-left: 22px; }
article.doc li { margin-bottom: 6px; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted);
  font-size: 0.93rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer.site a { color: var(--muted); }
footer.site .by { margin-left: auto; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 24px 24px 56px; }
  .tour { width: min(74%, 280px); }
  .steps, .facts { grid-template-columns: 1fr; }
  footer.site .by { margin-left: 0; width: 100%; }
}
