/* Covenant Systems website: landing, privacy policy, support. No external fonts, scripts or trackers. */
:root {
  --bg: #ffffff; --bg-alt: #f5f7fb; --card: #ffffff; --text: #0f172a; --muted: #5b6577; --line: #e3e8f0;
  --brand: #1d4ed8; --brand-dark: #1e40af; --brand-soft: #e8efff; --navy: #0f1b2d; --navy-2: #16243b;
  --radius: 14px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 28px rgba(15,23,42,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1220; --bg-alt: #0f1829; --card: #111b2e; --text: #e6eaf2; --muted: #9aa6ba; --line: #22304a;
    --brand: #5b8ef7; --brand-dark: #7aa4fa; --brand-soft: #16264a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.35); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* header */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 18px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 650; font-size: 16px; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn.ghost:hover { border-color: var(--brand); }
.nav .btn { padding: 9px 16px; font-size: 15px; }
.logo, .nav .btn { white-space: nowrap; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }
@media (max-width: 460px) { .nav .btn { display: none; } .nav-links { gap: 0; } }

/* hero */
.hero { padding: 72px 0 40px; background: radial-gradient(1200px 500px at 70% -10%, var(--brand-soft), transparent 70%); overflow: hidden; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; max-width: 14ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shots { position: relative; margin-top: 56px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.browser .bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.phone { position: absolute; right: -6px; bottom: -40px; width: 24%; min-width: 150px; max-width: 250px; border-radius: 30px; overflow: hidden; border: 8px solid var(--navy); box-shadow: var(--shadow); background: #fff; }
@media (max-width: 760px) { .phone { position: relative; right: auto; bottom: auto; margin: -60px 12px 0 auto; width: 44%; } .hero-shots { margin-bottom: 0; } }

/* sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 14px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ico svg { width: 22px; height: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.band { background: var(--navy); color: #e6eaf2; border-radius: 20px; padding: 56px 40px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #b7c2d6; font-size: 19px; margin: 0 auto 26px; max-width: 56ch; }

/* legal / support pages */
.doc { padding: 56px 0 88px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 44px); max-width: none; }
.doc .updated { color: var(--muted); margin: -6px 0 32px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; }
.doc h3 { font-size: 18px; margin: 26px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--bg-alt); font-weight: 650; }
.doc .table-wrap { overflow-x: auto; }
.note { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 18px 0; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 8px; }
.toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--muted); }
