/*
 * Boosted pages (design brief v1.0, 7 Oct 2026): one sans-serif family, calm hierarchy, a quiet
 * surface, one clear action. Dark values follow the brief; light mode keeps the same structure with
 * the darker brand teal so text and buttons stay at 4.5:1 or better.
 */
:root {
  --bg: #f3f7f8; --card: #fff; --text: #12191c; --muted: #4f5d63; --accent: #1f7a85; --accent-text: #fff;
  --border: #dbe4e6; --danger: #b42318; --ok: #067647; --ok-bg: #ecfdf3; --code-bg: #eef4f5; --focus: #1f7a85;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1214; --card: #111b1e; --text: #f3f7f6; --muted: #afbfbe; --accent: #67dcc5; --accent-text: #082721;
    --border: #243236; --danger: #ff8a7a; --ok: #6ce9a6; --ok-bg: #0b2a1c; --code-bg: #18262a; --focus: #67dcc5;
  }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 16px/24px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 16px 24px 40px; -webkit-font-smoothing: antialiased; }
main { width: 100%; max-width: 580px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; margin-bottom: 24px; }
h1 { font-size: 33px; line-height: 39px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 12px; text-wrap: balance; }
h2 { font-size: 18px; line-height: 26px; margin: 0 0 12px; }
.sub { color: var(--muted); margin: 0 0 24px; font-size: 16px; line-height: 24px; }
p { margin: 0 0 16px; }
label { display: block; font-size: 14px; line-height: 20px; font-weight: 600; margin: 16px 0 8px; }
.hint { font-size: 14px; line-height: 20px; color: var(--muted); margin: 8px 0 0; }
input, select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: transparent; color: inherit; }
select option { color: #12191c; }
.row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
button { flex: 1; min-width: 120px; min-height: 48px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600; cursor: pointer; }
a.button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-text); font-weight: 600; text-decoration: none; }
button.secondary { background: transparent; color: var(--text); border-color: var(--border); }
button.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
button.link { flex: 0; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; color: var(--accent); font-weight: 500; text-decoration: underline; }
button:disabled { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.note { font-size: 14px; line-height: 20px; color: var(--muted); }
.error { color: var(--danger); font-size: 14px; line-height: 20px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ok); background: var(--ok-bg); border-radius: 999px; padding: 2px 10px; margin-bottom: 16px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 8px; font-size: 15px; }
dt { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
ol { margin: 0 0 16px; padding-left: 20px; }
ol li { margin-bottom: 8px; }
ul { margin: 0 0 16px; padding-left: 20px; }
code.url { display: block; background: var(--code-bg); border-radius: 10px; padding: 12px 14px; font-size: 14px; overflow-wrap: anywhere; margin-bottom: 12px; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
.top h1 { flex: 1 1 280px; }
a { color: var(--accent); }
.center { text-align: center; }

/* Boosted logo, shown once above the card */
.brand { display: flex; justify-content: center; margin: 0 0 24px; }
.brand img { display: block; height: 44px; width: auto; }

/* SmartMoving -> Claude integration badges (text until approved brand assets exist) */
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--code-bg); font-size: 14px; line-height: 20px; font-weight: 600; }
.chip svg, .flow-arrow { color: var(--accent); flex: none; }

/* Three evenly spaced setup steps (home page) */
.steps-flow { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.steps-flow li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 10px; border: 1px solid var(--border); border-radius: 12px; font-size: 13px; line-height: 18px; font-weight: 600; }
.dot { width: 24px; height: 24px; border-radius: 50%; background: var(--code-bg); color: var(--accent); border: 1px solid var(--border); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* Read-only reassurance under the action */
.secure { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.secure svg { color: var(--ok); flex: none; margin-top: 2px; }

/* Footer links under the card */
.footer-links { display: flex; justify-content: center; gap: 24px; font-size: 14px; line-height: 20px; margin: 0; padding: 16px 0 8px; border-top: 1px solid var(--border); }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

/* Setup guide */
.step { position: relative; padding-left: 80px; }
.step-number { position: absolute; left: 32px; top: 38px; width: 32px; height: 32px; border-radius: 50%; background: var(--code-bg); color: var(--accent); border: 1px solid var(--border); font-weight: 700; display: grid; place-items: center; }
details.help { margin: 12px 0 0; font-size: 14px; line-height: 20px; }
details.help summary { cursor: pointer; color: var(--accent); }
details.help[open] summary { margin-bottom: 8px; }
.prompts { list-style: none; padding-left: 0; }
.prompts li { margin-bottom: 8px; }
.prompt { font-weight: 600; }
.greeting { margin: 0; font-size: 14px; color: var(--ok); }
.consent { margin-top: 16px; }
.warning { font-size: 14px; line-height: 20px; color: var(--danger); }
.shot { display: block; width: 100%; height: auto; margin: 8px 0 16px; border: 1px solid var(--border); border-radius: 10px; }
.shot-small { max-width: 360px; }

/* Plain-language pages (privacy and data access) */
.doc h2 { margin-top: 28px; }
.doc ul li { margin-bottom: 6px; }

@media (max-width: 560px) {
  body { padding: 12px 20px 24px; }
  .card { padding: 24px; }
  h1 { font-size: 28px; line-height: 34px; }
  .steps-flow { grid-template-columns: 1fr; }
  .steps-flow li { flex-direction: row; align-items: center; }
  .step { padding-left: 24px; padding-top: 72px; }
  .step-number { top: 24px; left: 24px; }
}

/* Setup-time note under the main button (measured: one setup took about 4 minutes; new owners also find their key) */
.cta-note { text-align: center; font-size: 13px; line-height: 18px; color: var(--muted); margin: 8px 0 0; }
.secure a { white-space: nowrap; }
