:root {
    --rcp-primary: #4F46E5; --rcp-primary-light: #EEF2FF; --rcp-warning: #D97706;
    --rcp-bg: #F8FAFC; --rcp-surface: #FFFFFF; --rcp-border: #E2E8F0;
    --rcp-text: #0F172A; --rcp-muted: #64748B;
    --rcp-radius-lg: 24px; --rcp-radius-sm: 14px;
    --rcp-shadow-lg: 0 4px 10px rgba(15,23,42,0.04), 0 20px 40px -12px rgba(15,23,42,0.10);
  }
  * { box-sizing: border-box; }
  html, body { overflow-x: hidden; }
  body { margin: 0; background: var(--rcp-bg); color: var(--rcp-text); font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
  h1 { font-family: 'Plus Jakarta Sans', sans-serif; margin: 0; }
  p { margin: 0; line-height: 1.65; }
  .rcp-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: var(--rcp-primary-light); color: var(--rcp-primary); font-weight: 700; font-size: 12.5px; }
  .rcp-hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--rcp-primary); }
  .rcp-page-hero { padding: 64px 24px 40px; text-align: center; }
  .rcp-page-hero h1 { font-size: 36px; font-weight: 800; margin: 18px 0 8px; }
  .rcp-accent { color: var(--rcp-primary); }
  .rcp-page-hero p { color: var(--rcp-muted); font-size: 16px; }
  .rcp-cf-section { padding: 16px 24px 96px; }
  .rcp-cf-card { background: var(--rcp-surface); border: 1px solid var(--rcp-border); border-radius: var(--rcp-radius-lg); padding: 36px; max-width: 560px; margin: 0 auto; box-shadow: var(--rcp-shadow-lg); }
  .rcp-cf-field { margin-bottom: 18px; }
  .rcp-cf-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
  .rcp-cf-field input, .rcp-cf-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rcp-border); background: var(--rcp-surface); color: var(--rcp-text); border-radius: 12px; font-family: inherit; font-size: 14px; }
  .rcp-cf-field textarea { min-height: 120px; resize: vertical; }
  .rcp-cf-note { font-size: 13px; color: var(--rcp-muted); margin-bottom: 14px; }
  .rcp-cf-note.rcp-note-ok { color: var(--rcp-primary); }
  .rcp-cf-note.rcp-note-error { color: var(--rcp-warning); }
  .rcp-cf-submit { width: 100%; background: var(--rcp-primary); color: #fff; border: none; padding: 14px; border-radius: var(--rcp-radius-sm); font-weight: 800; font-size: 15px; font-family: inherit; cursor: pointer; transition: background-color 0.18s ease, transform 0.18s ease; }
  .rcp-cf-submit:hover { background: #4338CA; transform: translateY(-2px); }
  .rcp-cf-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
  /* ---- Shared header/nav/footer styling (self-contained — does not rely
     on the external css/style.css file loading) ---- */
  .rc2-nav { position: sticky; top: 0; z-index: 50; padding: 16px 24px; background: rgba(255,255,255,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #E2E8F0; }
  .rc2-nav-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .rc2-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
  .rc2-logo-box { width: 40px; height: 40px; background: #4F46E5; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; font-size: 18px; }
  .rc2-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #0F172A; font-family: 'Plus Jakarta Sans', sans-serif; }
  .rc2-logo-text span { color: #4F46E5; }
  .rc2-logo-img { height: 38px; width: auto; display: block; }
  .rc2-nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
  .rc2-nav-links a { color: #475569; text-decoration: none; transition: color 0.15s ease; }
  .rc2-nav-links a:hover, .rc2-nav-links a[aria-current="page"] { color: #4F46E5; }
  .rc2-nav-actions { display: flex; align-items: center; gap: 12px; }
  .rc2-btn-login { font-size: 14px; font-weight: 600; color: #334155; text-decoration: none; }
  .rc2-btn-login:hover { color: #4F46E5; }
  .rc2-btn-pill { background: #4F46E5; color: #fff; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 20px -8px rgba(79,70,229,0.45); transition: background 0.15s ease; display: inline-block; }
  .rc2-btn-pill:hover { background: #4338CA; }
  .rc2-menu-btn { display: none; width: 36px; height: 36px; border: 1px solid #E2E8F0; border-radius: 8px; align-items: center; justify-content: center; background: none; cursor: pointer; font-size: 18px; }
  .rc2-mobile-menu { display: none; position: fixed; inset: 0; z-index: 40; background: #fff; padding: 96px 24px 24px; }
  .rc2-mobile-menu.open { display: block; }
  .rc2-mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid #E2E8F0; font-weight: 600; color: #334155; text-decoration: none; }
  .rc2-mobile-menu a[aria-current="page"] { color: #4F46E5; }
  .rc2-mobile-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
  .rc2-mobile-actions a { text-align: center; border-radius: 999px; padding: 14px; border: 1px solid #E2E8F0; font-weight: 700; text-decoration: none; color: #0F172A; }
  .rc2-mobile-actions a.rc2-btn-pill { border: none; color: #fff; }
  @media (max-width: 860px) {
    .rc2-nav-links { display: none; }
    .rc2-btn-login { display: none; }
    .rc2-btn-pill { display: none; }
    .rc2-menu-btn { display: flex; }
    .rc2-footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
  }
  @media (max-width: 480px) {
    .rc2-footer-grid { grid-template-columns: 1fr !important; }
  }
  /* ---- Light/Dark mode: same variable names, dark values only kick in
     when <html data-theme="dark">. Header stays light and footer stays
     dark always (by design, and so the logo — which has no light variant —
     always sits on a background it's visible against). ---- */
  :root[data-theme="dark"] {
    --rcp-bg: #0B1220;
    --rcp-surface: #131C2E;
    --rcp-text: #F1F5F9;
    --rcp-muted: #94A3B8;
    --rcp-muted-light: #64748B;
    --rcp-border: #263449;
  }
  .rcp-theme-toggle { width: 36px; height: 36px; border-radius: 999px; border: 1px solid #E2E8F0; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; flex-shrink: 0; margin-right: 4px; }
  [data-theme="dark"] .rcp-theme-toggle .rcp-sun { display: none; }
  .rcp-theme-toggle .rcp-moon { display: none; }
  [data-theme="dark"] .rcp-theme-toggle .rcp-moon { display: inline; }
