/* Shared premium + accessible baseline */
:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --text: #12202a;
  --muted: #425564;
  --line: #d5dde3;
  --accent: #112735;
  --accent-2: #177e89;
}

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(1000px 420px at -10% -25%, #d8f2ef 0%, transparent 70%),
    radial-gradient(760px 320px at 110% -18%, #fde8c8 0%, transparent 68%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif !important;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
}

p, li, .muted {
  color: var(--muted);
}

.logo {
  font-family: "Source Serif 4", Georgia, serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  letter-spacing: .01em !important;
}

header {
  background: rgba(245, 247, 248, .92) !important;
  border-bottom: 1px solid #e6ecef !important;
  backdrop-filter: blur(8px) !important;
}

.navlinks a,
header a {
  color: #223a4b;
}

.btn {
  border-radius: 12px !important;
  border: 1px solid var(--accent) !important;
  font-weight: 800 !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(12, 31, 47, .14);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: linear-gradient(130deg, #112735 0%, #1f4d63 60%, #177e89 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.card, details {
  background: var(--surface);
  border-color: var(--line) !important;
  box-shadow: 0 8px 26px rgba(15, 41, 57, .06);
}

.section {
  border-top-color: #e6ecef !important;
}

.muted {
  color: var(--muted) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #0c66e4;
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
