:root,
[data-gp-theme="dark"] {
  --gp-canvas: #0b0e15;
  --gp-canvas-alt: #101522;
  --gp-surface: rgba(21, 27, 42, 0.78);
  --gp-surface-strong: rgba(24, 31, 48, 0.92);
  --gp-surface-solid: #161d2e;
  --gp-cabinet: #0e1320;
  --gp-ink: #f2efe7;
  --gp-ink-muted: #b6bfd1;
  --gp-ink-faint: #8e99b0;
  --gp-accent: #e2be3e;
  --gp-accent-hover: #efd05d;
  --gp-accent-ink: #111318;
  --gp-secondary: #7da4f8;
  --gp-mint: #66d1b6;
  --gp-violet: #b08ef7;
  --gp-copper: #e89b5b;
  --gp-danger: #f07b7b;
  --gp-border: rgba(148, 174, 232, 0.2);
  --gp-border-brass: rgba(226, 190, 62, 0.34);
  --gp-shadow: 0 18px 46px rgba(3, 6, 14, 0.52);
  --gp-glow: 0 0 0 1px rgba(226, 190, 62, 0.16), 0 14px 36px rgba(6, 10, 22, 0.45);
  --gp-pill-bg: rgba(15, 20, 33, 0.84);
  --gp-radius-sm: 10px;
  --gp-radius: 16px;
  --gp-radius-lg: 22px;
  --gp-container: 1220px;
  --gp-font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --gp-font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-gp-theme="light"] {
  --gp-canvas: #f5f3ec;
  --gp-canvas-alt: #eae6da;
  --gp-surface: rgba(255, 255, 255, 0.86);
  --gp-surface-strong: rgba(255, 255, 255, 0.96);
  --gp-surface-solid: #ffffff;
  --gp-cabinet: #ece8dc;
  --gp-ink: #151924;
  --gp-ink-muted: #424c63;
  --gp-ink-faint: #5b667d;
  --gp-accent: #8c6906;
  --gp-accent-hover: #735504;
  --gp-accent-ink: #ffffff;
  --gp-secondary: #264ca3;
  --gp-mint: #12705a;
  --gp-violet: #5e3ca8;
  --gp-copper: #a65416;
  --gp-danger: #b52b2b;
  --gp-border: rgba(21, 25, 36, 0.14);
  --gp-border-brass: rgba(140, 105, 6, 0.34);
  --gp-shadow: 0 14px 34px rgba(22, 27, 42, 0.08);
  --gp-glow: 0 0 0 1px rgba(140, 105, 6, 0.16), 0 12px 28px rgba(22, 27, 42, 0.07);
  --gp-pill-bg: rgba(255, 255, 255, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.gp-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--gp-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gp-ink);
  background-color: var(--gp-canvas);
  background-image:
    radial-gradient(900px 460px at 14% -5%, rgba(125, 164, 248, 0.11), transparent 65%),
    radial-gradient(760px 420px at 88% 8%, rgba(226, 190, 62, 0.08), transparent 62%);
  overflow-x: hidden;
}

[data-gp-theme="light"] body.gp-body {
  background-image:
    radial-gradient(900px 440px at 14% -5%, rgba(38, 76, 163, 0.06), transparent 65%),
    radial-gradient(760px 420px at 88% 8%, rgba(140, 105, 6, 0.06), transparent 62%);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--gp-font-display);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-top: 0;
  color: var(--gp-ink);
}

h1 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); margin-bottom: 0.7rem; }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.32rem); margin-bottom: 0.45rem; }

p { margin-top: 0; margin-bottom: 1rem; }

a {
  color: var(--gp-secondary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover { color: var(--gp-accent); }

:focus-visible {
  outline: 2.5px solid var(--gp-accent);
  outline-offset: 3px;
}

code {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(125, 164, 248, 0.13);
  border: 1px solid var(--gp-border);
}

.gp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gp-accent);
  color: var(--gp-accent-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}

.gp-skip:focus { left: 12px; top: 12px; border-radius: 10px; }

.gp-main { flex: 1 0 auto; }

.gp-wrap {
  width: 100%;
  max-width: var(--gp-container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.2vw, 32px);
}

.gp-narrow { max-width: 860px; }

.gp-muted { color: var(--gp-ink-muted); }
.gp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gp-accent);
  margin-bottom: 0.7rem;
}

.gp-lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  color: var(--gp-ink-muted);
  max-width: 66ch;
}

.gp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

[data-gp-motion="reduced"] *,
[data-gp-motion="reduced"] *::before,
[data-gp-motion="reduced"] *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
