/* brillor.app: one stylesheet for every page. Brand: coral #E8553A (icon tile), navy #13123F (mark). */
:root {
  --coral: #E8553A;
  --coral-dark: #C8432B;
  --coral-soft: #FDEDE9;
  --navy: #13123F;
  --text: #2B2A45;
  --muted: #5F5E75;
  --line: #E7E3E0;
  --bg: #FFFFFF;
  --bg-warm: #FBF8F6;
  --radius: 14px;
  --wrap: 1040px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--coral-dark); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.25rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; display: block; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-dark); }

/* Home */
.hero { background: linear-gradient(180deg, var(--coral-soft) 0%, var(--bg) 100%); padding: 64px 0 48px; }
.hero p.lead { font-size: 1.2rem; color: var(--text); max-width: 680px; }
.hero .note { color: var(--muted); font-size: .97rem; margin-top: 18px; }
.button { display: inline-block; background: var(--coral); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; }
.button:hover { background: var(--coral-dark); color: #fff; }
section.block { padding: 48px 0; }
section.block.alt { background: var(--bg-warm); }
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 24px; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .card { counter-increment: step; }
.steps .card::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.example { margin-top: 26px; max-width: 640px; }
.example .q { font-weight: 600; color: var(--navy); }
.example dl { margin: 14px 0 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.example dt { color: var(--muted); font-size: .9rem; }
.example dd { margin: 0 0 10px; }
.example .small { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.plans { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan h3 { margin-bottom: .2em; }
.plan .count { font-size: 1.6rem; font-weight: 700; color: var(--coral-dark); margin: 0; }
.plan .count small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan ul { margin: 10px 0 0; padding-left: 18px; font-size: .95rem; }
.honest { border-left: 4px solid var(--coral); padding: 4px 0 4px 18px; max-width: 760px; }

/* Legal and support pages */
.page { padding: 44px 0 56px; }
.page .wrap { max-width: 780px; }
.page .updated { color: var(--muted); font-size: .95rem; }
.page h2 { margin-top: 1.8em; font-size: 1.35rem; }
.page h3 { margin-top: 1.4em; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: .4em; }
.page table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 10px 0 18px; }
.page th, .page td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 8px 8px 8px 0; }
.page th { color: var(--navy); }
.table-scroll { overflow-x: auto; }
.contact-card { margin: 18px 0 26px; }
.contact-card .email { font-size: 1.25rem; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .93rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Install CTAs (tools/render.py: link when site.json listing_live, plain "Coming soon" text before) */
.kicker { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--coral-dark); background: #fff; border: 1px solid #F6C9BE; border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 24px 0 8px; }
.cta-row.center { justify-content: center; }
.button.small { padding: 8px 16px; font-size: .95rem; }
.soon { display: inline-block; border: 1px dashed var(--coral); color: var(--navy); background: #fff; font-weight: 600; padding: 11px 20px; border-radius: 10px; }
.soon.small { padding: 6px 12px; font-size: .9rem; }
.appstore-badge { display: inline-block; padding: 0; line-height: 0; }
.appstore-badge img { height: 44px; width: auto; display: block; }   /* never below 30 px; clear space = gap (22 px = half the height) */
.header-cta { white-space: nowrap; }
.site-header .nav { margin-left: auto; }
.cta-band { background: var(--navy); color: #fff; padding: 52px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E6E4F0; max-width: 620px; margin: 0 auto 6px; }
.cta-band .soon { background: transparent; color: #fff; border-color: #F39A86; }
@media (max-width: 599px) {
  .wide-only { display: none; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
  .site-header .nav { order: 3; width: 100%; margin-left: 0; }
  .brand { margin-right: auto; }
}
