/* Shared look for the static site. Same violet and blue as the app. Generated by scripts/seo/build_site.py. */
:root {
  --bg: #faf8ff; --bg-soft: #f3effe; --card: #ffffff; --line: #e8e2f5;
  --text: #16132a; --muted: #4b4863; --faint: #6e6a85;
  --brand: #7c3aed; --brand-strong: #5b21b6; --link: #6d28d9;
  --grad: linear-gradient(100deg, #6d28d9, #a21caf, #e11d48);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120e24; --bg-soft: #1c1635; --card: #1f1939; --line: #352c5a;
    --text: #f4f3fb; --muted: #c2c0d8; --faint: #9a98b4;
    --brand: #a78bfa; --brand-strong: #c4b5fd; --link: #b9a6ff;
  }
}
html { color-scheme: light dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1, h2, h3, strong, summary { color: var(--text); }
h1 { letter-spacing: -0.025em; line-height: 1.12; }
h2 { letter-spacing: -0.015em; }
p, li, td, th, details p, ol.steps { color: var(--muted); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 18px 56px; box-sizing: border-box; }
.crumbs, .meta, .foot { color: var(--faint); }
.card, .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card:hover { border-color: var(--brand); }
th, td { border-bottom-color: var(--line); }
details { border-bottom-color: var(--line); }
.tbl { overflow-x: auto; }
.cta, a.cta { display: inline-block; background: var(--grad); color: #fff; padding: 13px 20px; border-radius: 12px;
  font-weight: 700; box-shadow: 0 6px 18px rgba(124, 58, 237, .28); }
.cta:hover { background: var(--grad); filter: brightness(1.07); text-decoration: none; }
.i18n-langs, footer:not(.site-footer) { border-top-color: var(--line) !important; color: var(--faint); }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-bar { max-width: 1040px; margin: 0 auto; padding: 10px 18px; display: flex; align-items: center; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: var(--text); letter-spacing: -0.01em; }
.site-brand:hover { text-decoration: none; }
.site-brand img { border-radius: 8px; display: block; }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--muted); }
.site-nav a.site-cta { background: var(--grad); color: #fff; padding: 8px 13px; border-radius: 10px; white-space: nowrap; }
.site-nav a.site-cta:hover { text-decoration: none; filter: brightness(1.07); }
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 24px; }
.site-footer div { max-width: 1040px; margin: 0 auto; padding: 22px 18px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; color: var(--faint); }
.site-footer a { color: var(--muted); }
.site-footer span { margin-inline-start: auto; }
@media (max-width: 560px) { .site-nav .site-hide { display: none; } .site-footer span { margin-inline-start: 0; width: 100%; } }

/* Home page */
.home.wrap { max-width: 1040px; padding-top: 0; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 44px 0 30px; }
.hero h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 16px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 19px; line-height: 1.5; margin: 0 0 22px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.stores a { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--text); }
.phones { position: relative; height: 430px; }
.phones img { position: absolute; width: 58%; height: auto; border-radius: 22px; box-shadow: 0 18px 44px rgba(20, 10, 60, .28); }
.phones img:nth-child(1) { inset-inline-start: 0; top: 34px; transform: rotate(-4deg); }
.phones img:nth-child(2) { inset-inline-end: 0; top: 0; transform: rotate(3deg); z-index: 1; }
.points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.points li { color: var(--muted); }
.points li::before { content: "✓"; color: var(--brand); margin-inline-end: 7px; font-weight: 800; }
ol.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; counter-reset: s; }
ol.steps li { counter-increment: s; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; font-size: 16px; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 10px; }
ol.steps li strong { display: block; margin-bottom: 4px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-top: 28px; } .phones { height: 380px; max-width: 380px; margin: 0 auto; width: 100%; } }

/* Template gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 18px 0; padding: 0; list-style: none; }
.gallery li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.gallery h3 { margin: 0 0 4px; font-size: 18px; }
.gallery p { margin: 0 0 10px; font-size: 15px; }
.gallery .ask { font-weight: 700; color: var(--text); }
.gallery .opts { color: var(--faint); font-size: 14px; }
.gallery a { margin-top: auto; font-weight: 700; }

/* Poll question library (scripts/seo/build_poll_questions.py) */
.pq-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--faint); margin: 0 0 18px; padding: 0; list-style: none; }
.pq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.pq-toc a { display: inline-block; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
ol.polls { list-style: none; padding: 0; margin: 14px 0 26px; display: grid; gap: 12px; }
.poll { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; }
.poll .q { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.35; }
.poll .q span { color: var(--faint); font-weight: 700; margin-inline-end: 6px; }
.poll .opts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.poll .opts li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 5px 10px; font-size: 14px; color: var(--muted); margin: 0; }
.poll .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14px; font-weight: 700; }
.poll .acts button { font: inherit; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.poll .tag { font-weight: 600; color: var(--faint); }
.pq-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 26px 0; }
.pq-box p { margin: 0 0 12px; }
.pq-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 14px 0 26px; padding: 0; list-style: none; }
.pq-cards li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0; }
.pq-cards a { font-weight: 700; display: block; margin-bottom: 4px; }
.pq-cards p { margin: 0; font-size: 14px; color: var(--faint); }
.gen { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0 26px; }
.gen label { font-weight: 700; color: var(--text); display: block; margin-bottom: 6px; }
.gen select { font: inherit; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); max-width: 100%; }
.gen .poll { margin-top: 16px; }
.gen button.cta { border: 0; cursor: pointer; font: inherit; font-weight: 700; margin-top: 12px; }
