/* The public site (/welcome, /pricing, /terms, /privacy, /signup). No external assets. Light and dark follow the system setting. */

:root {
  color-scheme: light dark;
  --bg: #f6f7f4; --surface: #ffffff; --text: #17211b; --muted: #55625a; --border: #d8ded7; --accent: #1d6b4f;
  --accent-text: #ffffff; --soft: #e3efe8; --live: #d9782d;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111613; --surface: #1a211d; --text: #e6ece8; --muted: #9caaa2; --border: #2f3a34; --accent: #63c49b;
    --accent-text: #0c1a13; --soft: #1d2f27; --live: #f0a164;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); overflow-wrap: anywhere; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.top, main, .foot { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
nav a { color: var(--text); text-decoration: none; padding: 8px 0; }
nav .signin { border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; background: var(--surface); }
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; margin: 36px 0 8px; text-wrap: balance; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 0 24px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 40px 0 48px; }
.demo { display: grid; gap: 12px; }
.say { justify-self: end; max-width: 88%; margin: 0; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--accent); color: var(--accent-text); }
figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
figure img { display: block; width: 100%; height: auto; }
figcaption { padding: 14px 16px 16px; color: var(--muted); }
figcaption b { display: block; color: var(--text); }
.made { justify-self: start; width: 92%; box-shadow: 0 12px 40px rgb(0 0 0 / 14%); }
.made figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.made figcaption b { flex: 1 0 100%; }
.made figcaption span { border: 1px solid var(--border); border-radius: 999px; padding: 3px 12px; font-size: 0.85rem; color: var(--text); }
.made figcaption span:nth-of-type(1) { background: var(--soft); border-color: transparent; }
.sub { color: var(--muted); margin: 0 0 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tools { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tools li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; color: var(--muted); font-size: 0.95rem; }
.tools b { display: block; color: var(--text); font-size: 1rem; }
.band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin-top: 40px; padding: 12px 32px 32px; border-radius: 20px; background: var(--soft); }
.band p { margin: 0; }
.end { text-align: center; padding: 48px 0 8px; }
.end h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 18px; }
main > section.end > p { max-width: none; }
.price-page { padding-top: 24px; }
.card.wide { margin: 8px 0 0; }
.checks { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 8px; }
.checks li { padding-left: 1.7em; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 0.85em; height: 0.4em; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.button, button { display: inline-block; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600; padding: 12px 24px; text-decoration: none; cursor: pointer; }
.plain { display: inline-block; padding: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps article, .card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; }
.steps h2 { margin: 0 0 6px; }
.steps h2 span { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; margin-right: 6px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 0.85em; }
.steps p { margin: 0; color: var(--muted); }
.grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.grid li { color: var(--muted); }
.grid b { display: block; color: var(--text); }
.card { margin: 40px 0; max-width: 640px; }
.card h1, .card h2 { margin-top: 0; }
.price { font-size: 2.2rem; font-weight: 700; margin: 0; }
label { display: block; font-weight: 600; margin: 14px 0 4px; }
input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
textarea { resize: vertical; }
button { margin-top: 18px; }
.away { position: absolute; left: -9999px; }
.muted { color: var(--muted); font-weight: 400; }
.small { font-size: 0.9rem; }
main > p, main > ul, main > section > p { max-width: 68ch; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--border); margin-top: 48px; padding-top: 20px; padding-bottom: 40px; }
.foot a { color: var(--muted); }

.lead-in { padding: 32px 0 40px; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.wide { margin-top: 12px; box-shadow: 0 12px 40px rgb(0 0 0 / 14%); }
.mark { border-left: 5px solid var(--accent); padding-left: 14px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.steps.down { grid-template-columns: minmax(0, 1fr); }
.steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.steps h3 span { display: inline-grid; place-items: center; width: 2em; height: 2em; margin-right: 8px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-size: 0.8em; }
.after { margin: 18px 0 0; }
.cards:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tools:has(> :nth-child(10)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .cards:has(> :nth-child(4)), .tools:has(> :nth-child(10)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .hero, .steps, .grid, .cards, .band, .pair, .cards:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 20px 0 32px; }
  .band { padding: 4px 20px 24px; }
}

/* A finger needs 44 px (Build room 884, the workability sweep S8): on a touch screen the brand, the nav, the footer's links and
   the buttons of the public pages are at least that tall. With a mouse nothing changes. */
@media (pointer: coarse) {
  .brand, nav a, .foot a { min-height: 44px; display: inline-flex; align-items: center; }
  .button, button { min-height: 44px; }
}
