/* thirdpartyriskreport.com: the public homepage, in the app's colors (reportcard/static/app.css) */
:root {
  --bg: #f5f7fb; --surface: #ffffff; --surface-2: #f0f3f9; --border: #e1e6ef; --text: #0f172a; --muted: #526077;
  --faint: #8592a8; --brand: #3d5afe; --brand-ink: #2b45d9; --brand-soft: #eaeeff; --brand-2: #8b5cf6;
  --g-a: #16a34a; --g-b: #65a30d; --g-c: #d97706; --g-review: #7c3aed;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 18px 48px rgba(15, 23, 42, .10);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f1e; --surface: #111831; --surface-2: #172042; --border: #232f55; --text: #e8ecf8; --muted: #a2adc8;
    --faint: #7480a0; --brand: #7b8cff; --brand-ink: #9aa7ff; --brand-soft: #1d2654; --brand-2: #a78bfa;
    --g-a: #34d399; --g-b: #a3e635; --g-c: #fbbf24; --g-review: #a78bfa;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .35), 0 24px 60px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f1e; --surface: #111831; --surface-2: #172042; --border: #232f55; --text: #e8ecf8; --muted: #a2adc8;
  --faint: #7480a0; --brand: #7b8cff; --brand-ink: #9aa7ff; --brand-soft: #1d2654; --brand-2: #a78bfa;
  --g-a: #34d399; --g-b: #a3e635; --g-c: #fbbf24; --g-review: #a78bfa;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { border-bottom: 1px solid var(--border); background: var(--surface); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 17px; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.logo small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14.5px; }
.top nav a:not(.btn) { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px;
  font-weight: 650; font-size: 15px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.btn:hover { text-decoration: none; border-color: var(--brand); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn-sm { padding: 7px 14px; font-size: 14px; }

/* hero */
.hero { padding: 64px 0 56px;
  background: radial-gradient(60% 80% at 80% 0%, color-mix(in srgb, var(--brand-2) 14%, transparent), transparent 70%),
              radial-gradient(50% 70% at 10% 10%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hero h1 { font-size: clamp(32px, 5vw, 48px); margin-top: 12px; }
.lede { font-size: 18px; color: var(--muted); margin-top: 18px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* example report card */
.sample { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; }
.sample-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 800;
  color: var(--g-b); border: 5px solid color-mix(in srgb, var(--g-b) 35%, transparent); flex: none; }
.sample-head strong { display: block; font-size: 16px; }
.sample-head span { font-size: 13px; color: var(--muted); }
.rows { list-style: none; margin: 12px 0 0; padding: 0; }
.rows li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: 14.5px; }
.rows li + li { border-top: 1px dashed var(--border); }
.chip { min-width: 52px; text-align: center; padding: 2px 10px; border-radius: 999px; font-weight: 750; font-size: 13px;
  background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.c-a { --c: var(--g-a); } .c-b { --c: var(--g-b); } .c-c { --c: var(--g-c); } .c-r { --c: var(--g-review); }
.sample-foot { margin-top: 12px; font-size: 12.5px; color: var(--faint); }

/* sections */
section.block { padding: 64px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.block h2 { font-size: clamp(24px, 3.4vw, 32px); }
.block .intro { color: var(--muted); margin-top: 10px; max-width: 680px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
section.alt .card { background: var(--bg); box-shadow: none; }
.card h3 { font-size: 16.5px; }
.card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--brand-soft); color: var(--brand); }
.icon svg { width: 20px; height: 20px; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 750; margin-bottom: 14px; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.sources li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; color: var(--muted); }
.principles { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; padding: 0; list-style: none; }
.principles li { padding-left: 26px; position: relative; color: var(--muted); font-size: 15px; }
.principles li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--g-a); border-bottom: 2.5px solid var(--g-a); transform: rotate(-45deg); }
.principles strong { color: var(--text); }

/* call to action and footer */
.cta { text-align: center; }
.cta .intro { margin: 10px auto 0; }
.cta .actions { justify-content: center; }
footer { padding: 32px 0 40px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

/* privacy and other text pages */
.page { padding: 48px 0 24px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: 34px; margin-top: 10px; }
.page h2 { font-size: 20px; margin: 32px 0 8px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 10px; }
.page ul { padding-left: 20px; margin: 8px 0 0; }
.page li + li { margin-top: 6px; }
.updated { font-size: 13.5px; color: var(--faint); margin-top: 8px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .top nav a.hide-sm { display: none; }
  section.block { padding: 48px 0; }
}
