/* Beagly static site. Colour tokens copied verbatim from replica/design/tokens.css.
   Change them there first, then here. No web fonts: the CSP in _headers allows only 'self'. */

:root {
  --bg: #F7F7F8;
  --surface: #FFFFFF;
  --surface2: #F0F1F3;
  --border: #E5E7EB;
  --borderInput: #767E8B;
  --text: #111318;
  --textMuted: #5B6472;
  --accent: #9A4A1E;
  --onAccent: #FFFFFF;
  --danger: #C62828;
  --onDanger: #FFFFFF;
  --warning: #B45309;
  --success: #1B7F3B;
  --bandExcellent: #1B7F3B;
  --bandGood: #4A7000;
  --bandPoor: #C2410C;
  --bandBad: #C62828;
  --riskFree: #1B7F3B;
  --riskLow: #8A6D00;
  --riskModerate: #C2410C;
  --riskHigh: #C62828;
  --premium: #6D28D9;
  --onPremium: #FFFFFF;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #0F1115;
  --surface: #181B21;
  --surface2: #22262E;
  --border: #2E333D;
  --borderInput: #6B7280;
  --text: #F3F4F6;
  --textMuted: #A4ADBA;
  --accent: #D9A07E;
  --onAccent: #0F1115;
  --danger: #FF6B6B;
  --onDanger: #0F1115;
  --warning: #FBBF24;
  --success: #4ADE80;
  --bandExcellent: #4ADE80;
  --bandGood: #A3E635;
  --bandPoor: #FB923C;
  --bandBad: #FF6B6B;
  --riskFree: #4ADE80;
  --riskLow: #FACC15;
  --riskModerate: #FB923C;
  --riskHigh: #FF6B6B;
  --premium: #C4B5FD;
  --onPremium: #0F1115;
} }

/* ---- base ---------------------------------------------------------------------------------- */
:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --wrap: 1040px;
  color-scheme: light dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3.6vw, 2rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 1.25em; }
li { margin-bottom: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--textMuted); }
.small { font-size: 0.9rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* ---- header / footer ----------------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { color: var(--text); font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.site-nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.95rem; }
.site-nav a { color: var(--textMuted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--border); margin-top: 56px; padding: 28px 0 40px; font-size: 0.92rem; color: var(--textMuted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; }
.site-footer a { color: var(--textMuted); }
.site-footer a:hover { color: var(--text); }

/* ---- landing ------------------------------------------------------------------------------- */
.hero { padding: 48px 0 40px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.2fr 0.8fr; } }
.eyebrow { color: var(--textMuted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 14px; }
.lead { font-size: 1.12rem; color: var(--textMuted); max-width: 36em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.btn {
  font: inherit; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent;
  background: var(--accent); color: var(--onAccent);
}
.btn[aria-disabled="true"] {
  background: var(--surface); color: var(--text); border-color: var(--borderInput); cursor: default;
}
.btn .soon { font-weight: 500; font-size: 0.85rem; color: var(--textMuted); margin-left: 8px; }
.hero-art { justify-self: center; width: min(280px, 100%); }
section.band { padding: 48px 0; border-top: 1px solid var(--border); }
.cards { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.step-no {
  display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--accent); color: var(--onAccent); font-weight: 800; margin-bottom: 10px;
}
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.plans { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.plans th, table.plans td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
table.plans thead th { border-top: 0; background: var(--surface2); font-size: 0.9rem; }
table.plans td:not(:first-child), table.plans th:not(:first-child) { width: 30%; }
.price { margin-top: 14px; font-weight: 600; }
.promise {
  margin: 0; padding: 28px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); border-left: 6px solid var(--accent);
}
.promise p { font-size: clamp(1.25rem, 3.2vw, 1.6rem); font-weight: 750; line-height: 1.35; margin: 0; }
.parts { list-style: none; padding: 0; display: grid; gap: 8px; margin: 16px 0; }
@media (min-width: 720px) { .parts { grid-template-columns: 1fr 1fr; } }
.parts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; margin: 0; }
.parts b { font-variant-numeric: tabular-nums; }

/* ---- document pages ------------------------------------------------------------------------ */
.doc { max-width: 760px; padding-top: 36px; }
.doc h2 { font-size: 1.35rem; margin-top: 34px; }
.doc .updated { color: var(--textMuted); font-size: 0.92rem; }
.doc .part { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0; }
.doc .part h3 { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.doc .part p { color: var(--textMuted); margin: 0; }
.notice { background: var(--surface2); border-radius: 10px; padding: 12px 16px; }
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 4px 0 0; }
