/* Varavil's static pages (about, pricing, questions and the policies). Same colours as the app: deep teal for trust, one saffron accent. No inline style is
   allowed on the site, so every rule lives here. Works on a phone and in dark mode. */
:root { color-scheme: light dark; --bg: #f5f8f7; --card: #ffffff; --fg: #0e2a33; --muted: #4b6670; --line: #d6e3e2; --brand: #0b4a57; --brand-2: #12806f; --coin: #f2a33a; --soft: #eaf6f3; }
@media (prefers-color-scheme: dark) { :root { --bg: #08191f; --card: #0e2a33; --fg: #eaf1f0; --muted: #a9c0c4; --line: #1e3a44; --brand: #7fd0c0; --brand-2: #3fa798; --soft: #0f3340; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--coin); outline-offset: 2px; }

/* the top bar */
header.top { background: var(--card); border-bottom: 1px solid var(--line); }
.bar, header.top nav, main, footer { max-width: 48rem; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
header.top nav { display: flex; flex-wrap: wrap; gap: 2px 18px; padding-top: 0; padding-bottom: 12px; font-size: 0.93rem; }
header.top nav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
header.top nav a:hover { color: var(--fg); border-bottom-color: var(--line); }
header.top nav a[aria-current="page"] { color: var(--fg); font-weight: 700; border-bottom-color: var(--coin); }

/* buttons */
.btn { display: inline-block; padding: 8px 18px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
@media (prefers-color-scheme: dark) { .btn { color: #08191f; } }
.btn:hover { filter: brightness(1.1); }
.btn.big { padding: 12px 24px; font-size: 1rem; }
.cta-row { margin: 2.2rem 0 0.5rem; padding: 18px 20px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.muted { color: var(--muted); font-size: 0.92rem; }

/* the text */
main { padding-top: 8px; padding-bottom: 8px; }
h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.2; margin: 1.6rem 0 0.4rem; letter-spacing: -0.02em; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.2rem; }
p, ul, ol { margin: 0.65rem 0; }
ul, ol { padding-left: 1.3rem; }
li { margin: 0.3rem 0; }
li::marker { color: var(--brand-2); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.9em; background: var(--soft); padding: 1px 5px; border-radius: 5px; }
strong { font-weight: 700; }
pre { overflow-x: auto; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0.9rem 0; font-size: 0.85rem; line-height: 1.5; }
pre code { background: none; padding: 0; }
.scroll { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 0.95rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* the foot */
footer { margin-top: 3rem; padding-top: 20px; padding-bottom: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
