/* Shared look for the front page, account page and policy pages — same palette as the app. */
:root {
  --ground: #eef1f0; --paper: #ffffff; --ink: #15201d; --muted: #5b6965; --line: #d3dad8;
  --accent: #0d6e5f; --accent-ink: #ffffff; --accent-soft: #d8ece8; --warn: #9a5b00; --warn-soft: #fbefd9;
  --bad: #a52a1c; --bad-soft: #f8e1dd;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0f1514; --paper: #18211f; --ink: #e6eeeb; --muted: #97a6a1; --line: #2c3a37;
    --accent: #3fb8a3; --accent-ink: #062520; --accent-soft: #163a34; --warn: #f0b45a; --warn-soft: #3a2c14;
    --bad: #f08a7c; --bad-soft: #3d1c17; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0f1514; --paper: #18211f; --ink: #e6eeeb; --muted: #97a6a1; --line: #2c3a37;
  --accent: #3fb8a3; --accent-ink: #062520; --accent-soft: #163a34; --warn: #f0b45a; --warn-soft: #3a2c14;
  --bad: #f08a7c; --bad-soft: #3d1c17; color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 15px/1.55 var(--body); }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 48px; display: grid; gap: 18px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand small { display: block; font: 500 12px var(--body); color: var(--muted); letter-spacing: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { flex: none; width: 40px; height: 40px; display: block; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 8px; }
h3 { font-size: 15px; margin: 16px 0 4px; }
p { margin: 0 0 10px; }
.lead { font-size: 17px; color: var(--muted); max-width: 58ch; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font: 600 15px var(--body); text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn:disabled { opacity: .55; cursor: default; }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.grid2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feat li { padding-left: 22px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 6px; background: var(--paper); }
.plan.pick { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.price { font-family: var(--display); font-size: 30px; font-weight: 800; }
.price small { font: 500 14px var(--body); color: var(--muted); }
.muted { color: var(--muted); }
.note { padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); }
.note.warn { background: var(--warn-soft); color: var(--ink); }
.note.bad { background: var(--bad-soft); color: var(--ink); }
.chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); font-weight: 600; font-size: 13px; }
.chip.warn { background: var(--warn-soft); }
.chip.bad { background: var(--bad-soft); }
label.f { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
input[type=tel] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 16px var(--body); width: 100%; max-width: 260px; }
.foot { border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.foot nav { display: flex; gap: 14px; flex-wrap: wrap; }
.doc h2 { margin-top: 18px; }
.doc ul { padding-left: 20px; margin: 0 0 10px; }
table.orders { width: 100%; border-collapse: collapse; font-size: 14px; }
table.orders th, table.orders td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.orders td:last-child { white-space: normal; word-break: break-all; font-family: var(--mono); font-size: 12px; }

/* Feature list as tap-to-open sections */
.fxs { display: grid; gap: 8px; }
.fx { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.fx summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 12px 14px; min-height: 52px; }
.fx summary::-webkit-details-marker { display: none; }
.fx summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: 0 4px 4px; transition: transform .15s; }
.fx[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.fx summary:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 2px; border-radius: 10px; }
.fx-t { font-weight: 700; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.fx-s { grid-column: 1; color: var(--muted); font-size: 14px; }
.fx .feat { padding: 2px 14px 14px; }
.fx[open] { border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .fx summary::after { transition: none; } }
.lead p { margin: 0 0 12px; }
.rings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rings li { position: relative; padding-left: 24px; }
.rings li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; }
.fx-flat .fx-sum { display: grid; padding: 12px 14px; min-height: 52px; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: var(--accent-ink); }
.btn.ghost.danger { background: transparent; color: var(--bad); }
input.word { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 16px var(--mono); width: 100%; max-width: 220px; }

/* Businesses (account page, Version 32) */
.bizl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bizl > li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 10px; background: var(--paper); }
.biz-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.biz-top .nm { font-weight: 700; font-size: 16px; }
.biz-top .st { color: var(--muted); font-size: 14px; }
.biz-top .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.bdot { flex: none; width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.swatches button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--paper) inset; }
input.txtf, textarea.txtf { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: 16px var(--body); width: 100%; max-width: 420px; box-sizing: border-box; }
textarea.txtf { min-height: 84px; font-family: var(--mono); font-size: 14px; }
.subbox { display: grid; gap: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
.subbox[hidden] { display: none; }
select.txtf { min-height: 44px; }
