/* Evolve Assessment test — theme matched to evolve.es's actual brand, pulled directly
   from their theme stylesheet (wp-content/themes/evolve/style.css):
   white background, near-black text (#1a1a1a), Plus Jakarta Sans for
   headings, Inter for body text, solid-black buttons as the dominant CTA
   style, #0066ff (--evolve-primary) as the accent/link/focus color. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7f7;
  --line: #e6e6e6;
  --ink: #1a1a1a;
  --muted: #666666;
  --accent: #0066ff;
  --accent-hover: #0052cc;
  --accent-ink: #ffffff;
  --accent-soft: #e8f0ff;
  --cta: #1a1a1a;
  --cta-hover: #333333;
  --cta-ink: #ffffff;
  --basic: #b5690a;
  --basic-soft: #fdf1e2;
  --advanced: #5b3dd6;
  --advanced-soft: #eee9fd;
  --danger: #dc3545;
  --danger-soft: #fbe9eb;
  --ok: #198754;
  --code-bg: #14171d;
  --code-ink: #dfe4ea;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 28px -14px rgba(0,0,0,.14);
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.mono { font-family: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace; }

h1, h2, h3, h4 { font-family: "Plus Jakarta Sans", "Inter", sans-serif; font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; }
p { margin: 0 0 14px; color: var(--ink); }
p.muted, .muted { color: var(--muted); }

/* ---- top nav ---- */
.topnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 20px;
  padding: 16px 28px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topnav .brand img { height: 26px; width: auto; display: block; }
.topnav .brand .brand-sub { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 15px; color: var(--ink); letter-spacing: -.01em; line-height: 1; }
.topnav nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.topnav nav a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 7px;
}
.topnav nav a:hover { color: var(--ink); background: var(--surface-2); }
.topnav nav a.active { color: var(--ink); }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; width: 100%; }
main { flex: 1; padding-bottom: 80px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Inter", sans-serif; font-size: 14.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, opacity .15s;
  text-decoration: none;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover:not(:disabled) { background: var(--cta-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-2); border-color: #ccc; }
.btn-block { width: 100%; }

/* ---- forms ---- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
  padding: 11px 13px; border-radius: 8px; font-size: 15px; font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--accent); }

/* ---- cards ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.card-tight { padding: 16px 18px; }

.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ---- badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.basic { background: var(--basic-soft); color: var(--basic); }
.badge.advanced { background: var(--advanced-soft); color: var(--advanced); }

/* ---- alerts ---- */
.alert { border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--danger-soft); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 25%, var(--line)); }
.alert-info { background: var(--accent-soft); color: var(--accent-hover); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); }

footer {
  border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

code.inline {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: 13.5px;
}
