/* Perennial: the same system as the app. Sage ground, white panels, dark
   green ink, three flat family colours, one typeface. */
:root {
  --ground: #edf1e8;
  --surface: #ffffff;
  --ink: #0e2a1f;
  --muted: #56685e;
  --line: #d3dbcf;
  --stars: #ffb703;
  --balance: #3f5ff0;
  --paint: #e5432b;
  --green: #15965a;
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 18px/1.55 var(--display);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--balance); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.top nav a { margin-left: 22px; font-weight: 600; font-size: 16px; text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 28px 0 56px; }
h1 { font-size: clamp(52px, 9vw, 104px); line-height: 0.94; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 22px; }
.lead { font-size: 22px; line-height: 1.4; color: var(--muted); max-width: 30em; margin: 0 0 28px; }
.button { display: inline-block; padding: 17px 30px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.button.soon { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.facts { margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 16px; font-weight: 600; }
.facts li { display: inline; }
.facts li + li::before { content: ", "; }
.phone { justify-self: center; width: min(100%, 340px); border-radius: 44px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; }
.phone img { display: block; width: 100%; height: auto; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 14px; }
.intro { color: var(--muted); font-size: 20px; max-width: 34em; margin: 0 0 30px; }

/* The three families, each on its colour */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kind { border-radius: 30px; padding: 26px 24px 28px; }
.kind h3 { font-size: 38px; line-height: 1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 12px; }
.kind p { margin: 0 0 10px; font-weight: 500; }
.kind .aka { font-size: 15px; opacity: 0.82; margin: 0; }
.kind.stars { background: var(--stars); }
.kind.balance { background: var(--balance); color: #fff; }
.kind.paint { background: var(--paint); color: #fff; }

/* A day, as real steps */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { background: var(--surface); border-radius: 26px; padding: 22px; }
.steps li::before { counter-increment: step; content: counter(step); display: block; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; margin-bottom: 10px; }
.steps b { display: block; font-size: 20px; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 16px; }

/* Screens */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; }
.shots figcaption { font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 8px; }

/* Split: text beside a panel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.panel { background: var(--surface); border-radius: 30px; padding: 28px; }
.panel ul { margin: 0; padding-left: 1.1em; }
.panel li { margin: 8px 0; }
.quote { border: 2px solid var(--ink); border-radius: 24px; padding: 20px 22px; font-weight: 600; font-size: 19px; background: var(--surface); margin: 0 0 12px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { background: var(--surface); border-radius: 22px; padding: 4px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; padding: 16px 0; list-style-position: outside; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 48px; color: var(--muted); font-size: 16px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; }
footer a { font-weight: 600; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }

/* Legal and support pages */
.doc { max-width: 720px; padding: 8px 0 40px; }
.doc h1 { font-size: clamp(40px, 7vw, 64px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 8px; }
.doc p, .doc li { margin: 8px 0; }
.doc .date { color: var(--muted); margin: 0 0 24px; }
.doc a { text-decoration: underline; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .kinds { grid-template-columns: 1fr; }
  .steps, .shots { grid-template-columns: repeat(2, 1fr); }
  .top nav a:not(.keep) { display: none; }
  section { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
