/* ═══════════════════════════════════════════════════════════
   Repagify Theme — main.css
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:         #f8f7f4;
  --white:      #ffffff;
  --ink:        #111110;
  --mid:        #6b6b68;
  --soft:       #9a9894;
  --faint:      #e8e6e0;
  --faint2:     #f0eeea;
  --border:     #e2e0da;
  --coral:      #e8470a;
  --coral-h:    #cf3f08;
  --coral-bg:   rgba(232,71,10,0.08);
  --coral-ring: rgba(232,71,10,0.15);
  --amber:      #f5a623;
  --green:      #16a34a;
  --green-bg:   #f0fdf4;
  --blue:       #2563eb;
  --blue-bg:    rgba(37,99,235,0.08);
  --purple:     #7c3aed;
  --purple-bg:  rgba(124,58,237,0.08);
  --red:        #ef4444;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.10), 0 4px 14px rgba(0,0,0,.06);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  22px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--ink); font-family: 'Outfit', sans-serif; font-weight: 400; min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font-family: 'Outfit', sans-serif; }
.rpgfy-hidden { display: none !important; }

/* ── NAV ── */
.rpgfy-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(248,247,244,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.rpgfy-nav-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.rpgfy-nav-dot { width: 28px; height: 28px; background: var(--coral); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; font-weight: 800; flex-shrink: 0; }
.rpgfy-nav-right { display: flex; align-items: center; gap: 16px; }
.rpgfy-nav-user { font-size: 13px; color: var(--mid); font-weight: 500; }
.rpgfy-nav-link { font-size: 13px; color: var(--mid); text-decoration: none; font-weight: 500; transition: color .15s; }
.rpgfy-nav-link:hover { color: var(--ink); }
.rpgfy-nav-btn-outline { background: none; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--mid); cursor: pointer; transition: all .15s; }
.rpgfy-nav-btn-outline:hover { border-color: var(--ink); color: var(--ink); }

/* ── FOOTER ── */
.rpgfy-footer { border-top: 1px solid var(--border); padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mid); margin-top: auto; }
.rpgfy-footer-links { display: flex; gap: 20px; }
.rpgfy-footer-links a { color: var(--mid); text-decoration: none; transition: color .15s; }
.rpgfy-footer-links a:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   HOME / CAPTURE
   ═══════════════════════════════════════════════════════════ */
.rpgfy-hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 88px 24px 72px; text-align: center;
}
.rpgfy-gen-screen, .rpgfy-confirm-screen {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px 60px; text-align: center;
}

.rpgfy-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 14px 5px 10px;
  font-size: 12px; font-weight: 600; color: var(--mid);
  margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.rpgfy-kicker-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: rpgfy-blink 2s ease infinite; flex-shrink: 0; }
@keyframes rpgfy-blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.rpgfy-h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; max-width: 660px; margin-bottom: 16px; }
.rpgfy-h1 em { font-style: normal; color: var(--coral); }
.rpgfy-hero-sub { font-size: 17px; color: var(--mid); max-width: 420px; line-height: 1.65; margin-bottom: 44px; }

/* ── CARD ── */
.rpgfy-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; width: 100%; max-width: 500px; box-shadow: var(--shadow-lg); text-align: left; }

/* ── SECTION LABEL ── */
.rpgfy-section-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.rpgfy-section-label::after { content: ''; flex: 1; height: 1px; background: var(--faint); }

/* ── FIELDS ── */
.rpgfy-field { margin-bottom: 14px; }
.rpgfy-label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--mid); margin-bottom: 6px; }
.rpgfy-req { color: var(--coral); }
.rpgfy-optional { font-weight: 400; color: var(--soft); font-size: 11px; }
.rpgfy-label-link { font-size: 12px; font-weight: 500; color: var(--coral); text-decoration: none; }
.rpgfy-label-link:hover { text-decoration: underline; }
.rpgfy-field-hint { font-size: 11px; color: var(--soft); margin-top: 5px; display: block; }

.rpgfy-input-wrap { display: flex; align-items: center; background: var(--faint2); border: 1.5px solid var(--faint); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .15s, box-shadow .15s, background .15s; }
.rpgfy-input-wrap:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-ring); background: var(--white); }
.rpgfy-input-wrap.rpgfy-err-wrap { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important; }
.rpgfy-input-wrap-disabled { opacity: .6; cursor: not-allowed; }
.rpgfy-input-wrap-disabled input { cursor: not-allowed; }

.rpgfy-prefix { padding: 0 2px 0 14px; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #b8b4ac; white-space: nowrap; user-select: none; flex-shrink: 0; }
.rpgfy-input { flex: 1; background: transparent; border: none; outline: none; padding: 13px 14px; font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 500; color: var(--ink); caret-color: var(--coral); width: 100%; }
.rpgfy-input::placeholder { color: #c5c1b9; font-weight: 400; }
.rpgfy-mono { font-family: 'JetBrains Mono', monospace; }
/* non-mono inputs */
input[type=email].rpgfy-input,
input.rpgfy-input:not(.rpgfy-mono) { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 400; }

.rpgfy-textarea { width: 100%; background: var(--faint2); border: 1.5px solid var(--faint); border-radius: var(--radius-sm); padding: 13px 14px; font-family: 'Outfit', sans-serif; font-size: 14px; color: var(--ink); outline: none; resize: vertical; min-height: 90px; line-height: 1.6; transition: border-color .15s, box-shadow .15s, background .15s; caret-color: var(--coral); }
.rpgfy-textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-ring); background: var(--white); }
.rpgfy-textarea::placeholder { color: #c5c1b9; }
.rpgfy-textarea.rpgfy-err-wrap { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important; }

.rpgfy-err { font-size: 11px; color: var(--red); font-weight: 500; margin-top: 5px; display: none; }
.rpgfy-err.show { display: block; }

/* password toggle */
.rpgfy-pw-wrap { position: relative; }
.rpgfy-pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--soft); padding: 4px; display: flex; align-items: center; }
.rpgfy-pw-toggle:hover { color: var(--mid); }

/* ── PATH TOGGLE ── */
.rpgfy-path-toggle { display: flex; background: var(--faint2); border: 1.5px solid var(--faint); border-radius: var(--radius-sm); overflow: hidden; }
.rpgfy-path-btn { flex: 1; padding: 11px 12px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--mid); cursor: pointer; border: none; background: transparent; transition: background .2s, color .2s; border-right: 1.5px solid var(--faint); }
.rpgfy-path-btn:last-child { border-right: none; }
.rpgfy-path-btn.active { background: var(--white); color: var(--coral); box-shadow: inset 0 1px 3px rgba(0,0,0,.05); }

/* ── EXPAND ── */
.rpgfy-expand { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .3s ease, margin .3s ease; margin-top: 0; }
.rpgfy-expand.open { max-height: 640px; opacity: 1; margin-top: 14px; }
.rpgfy-expand-inner { display: flex; flex-direction: column; gap: 14px; }
.rpgfy-divider { display: flex; align-items: center; gap: 10px; }
.rpgfy-divider-line { flex: 1; height: 1px; background: var(--faint); }
.rpgfy-divider-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #c5c1b9; }

/* ── TONE CHIPS ── */
.rpgfy-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rpgfy-chip { padding: 4px 11px; border-radius: 100px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--border); cursor: pointer; color: var(--mid); transition: all .15s; user-select: none; background: var(--white); }
.rpgfy-chip:hover { border-color: var(--coral); color: var(--coral); }
.rpgfy-chip.on { background: var(--coral-bg); border-color: var(--coral); color: var(--coral); }

/* ── CTA BUTTON ── */
.rpgfy-cta { width: 100%; background: var(--coral); color: #fff; border: none; border-radius: var(--radius-sm); padding: 15px 20px; font-size: 15px; font-weight: 700; letter-spacing: -.01em; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background .15s, transform .1s; margin-top: 6px; }
.rpgfy-cta:hover { background: var(--coral-h); }
.rpgfy-cta:active { transform: scale(.99); }
.rpgfy-cta-text { flex: 1; text-align: center; }
.rpgfy-cta-arrow { width: 30px; height: 30px; background: rgba(255,255,255,.18); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: transform .2s; }
.rpgfy-cta:hover .rpgfy-cta-arrow { transform: translateX(3px); }
.rpgfy-cta-sm { width: auto; padding: 12px 24px; margin-top: 12px; display: inline-flex; }
.rpgfy-footnote { margin-top: 14px; font-size: 12px; color: var(--mid); text-align: center; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* ── BUTTONS (generic) ── */
.rpgfy-btn-primary { background: var(--coral); color: #fff; border: none; border-radius: var(--radius-sm); padding: 12px 20px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s; }
.rpgfy-btn-primary:hover { background: var(--coral-h); }
.rpgfy-btn-danger { background: none; border: 1.5px solid #fca5a5; color: #dc2626; border-radius: var(--radius-sm); padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.rpgfy-btn-danger:hover { background: #fef2f2; border-color: #dc2626; }

/* ── NOTICES ── */
.rpgfy-notice { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.rpgfy-notice-success { background: var(--green-bg); color: var(--green); border: 1px solid rgba(22,163,74,.2); }
.rpgfy-notice-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }

/* ═══════════════════════════════════════════════════════════
   GENERATING
   ═══════════════════════════════════════════════════════════ */
.rpgfy-gen-label { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--mid); background: var(--white); border: 1px solid var(--border); padding: 7px 18px; border-radius: var(--radius-sm); margin-bottom: 44px; }
.rpgfy-gen-label span { color: var(--coral); }
.rpgfy-spinner { width: 88px; height: 88px; position: relative; margin: 0 auto 40px; }
.rpgfy-spinner-ring { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(var(--coral) 0%, var(--amber) 50%, var(--coral) 100%); animation: rpgfy-rot 1.1s linear infinite; }
@keyframes rpgfy-rot { to { transform: rotate(360deg); } }
.rpgfy-spinner-center { position: absolute; inset: 9px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.rpgfy-gen-title { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px; }
.rpgfy-gen-sub { font-size: 14px; color: var(--mid); margin-bottom: 40px; }
.rpgfy-gen-list { display: flex; flex-direction: column; gap: 10px; max-width: 300px; margin: 0 auto; text-align: left; }
.rpgfy-gen-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--mid); opacity: 0; transition: opacity .35s; }
.rpgfy-gen-item.done { opacity: 1; color: var(--ink); }
.rpgfy-gen-item.active { opacity: 1; color: var(--coral); }
.rpgfy-gen-icon { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.rpgfy-gen-item:not(.done):not(.active) .rpgfy-gen-icon { background: var(--faint); color: var(--mid); }
.rpgfy-gen-item.done   .rpgfy-gen-icon { background: var(--green-bg); color: var(--green); }
.rpgfy-gen-item.active .rpgfy-gen-icon { background: var(--coral-bg); color: var(--coral); animation: rpgfy-rot 1s linear infinite; }

/* ═══════════════════════════════════════════════════════════
   CONFIRMATION
   ═══════════════════════════════════════════════════════════ */
.rpgfy-confirm-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--green-bg); border: 1.5px solid rgba(22,163,74,.2); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 28px; animation: rpgfy-pop .5s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes rpgfy-pop { from{opacity:0;transform:scale(.6)} to{opacity:1;transform:scale(1)} }
.rpgfy-confirm-title { font-size: clamp(26px,4vw,42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 14px; max-width: 520px; }
.rpgfy-confirm-title em { font-style: normal; color: var(--coral); }
.rpgfy-confirm-sub { font-size: 16px; color: var(--mid); max-width: 420px; line-height: 1.65; margin-bottom: 40px; }
/* email card */
.rpgfy-email-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); margin-bottom: 32px; text-align: left; }
.rpgfy-email-topbar { background: #f3f1ee; border-bottom: 1px solid var(--border); padding: 9px 14px; display: flex; gap: 6px; align-items: center; }
.rpgfy-edot { width: 9px; height: 9px; border-radius: 50%; }
.rpgfy-email-header { padding: 16px 18px 14px; border-bottom: 1px solid var(--faint); }
.rpgfy-email-from { font-size: 11px; color: var(--mid); margin-bottom: 4px; }
.rpgfy-email-subject { font-size: 14px; font-weight: 700; color: var(--ink); }
.rpgfy-email-body { padding: 14px 18px 18px; }
.rpgfy-email-greeting { font-size: 13px; color: var(--mid); margin-bottom: 12px; line-height: 1.5; }
.rpgfy-email-thumb { background: var(--faint2); border: 1px solid var(--faint); border-radius: 9px; overflow: hidden; margin-bottom: 12px; }
.rpgfy-email-thumb-bar { background: #eceae5; border-bottom: 1px solid var(--faint); padding: 6px 10px; display: flex; align-items: center; gap: 5px; }
.rpgfy-eb-dot { width: 7px; height: 7px; border-radius: 50%; }
.rpgfy-eb-url { flex: 1; background: var(--white); border-radius: 3px; height: 14px; margin: 0 6px; }
.rpgfy-email-thumb-content { padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.rpgfy-esk { display: block; border-radius: 2px; background: var(--faint); animation: rpgfy-sk 2s ease infinite; }
@keyframes rpgfy-sk { 0%,100%{opacity:.6} 50%{opacity:1} }
.rpgfy-email-cta-row { display: flex; gap: 10px; align-items: center; }
.rpgfy-email-btn { background: var(--coral); color: #fff; border: none; border-radius: 7px; padding: 9px 16px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rpgfy-email-btn:hover { background: var(--coral-h); }
.rpgfy-email-note { font-size: 11px; color: var(--soft); line-height: 1.4; }
/* next steps */
.rpgfy-next-steps { width: 100%; max-width: 400px; }
.rpgfy-next-step { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--faint); }
.rpgfy-next-step:last-child { border-bottom: none; }
.rpgfy-next-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.rpgfy-next-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; letter-spacing: -.01em; }
.rpgfy-next-text p { font-size: 13px; color: var(--mid); line-height: 1.5; }
.rpgfy-next-text strong { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   PREVIEW PAGE
   ═══════════════════════════════════════════════════════════ */
.rpgfy-preview-screen { display: flex; flex-direction: column; align-items: center; padding: 88px 24px 80px; }
.rpgfy-prev-header { text-align: center; max-width: 640px; margin-bottom: 40px; }
.rpgfy-prev-badge { display: inline-flex; align-items: center; gap: 7px; background: var(--green-bg); border: 1px solid rgba(22,163,74,.2); border-radius: 100px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--green); margin-bottom: 16px; }
.rpgfy-prev-title { font-size: clamp(26px,4vw,42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.rpgfy-prev-title em { font-style: normal; color: var(--coral); }
.rpgfy-prev-sub { font-size: 15px; color: var(--mid); line-height: 1.6; }
/* browser */
.rpgfy-browser { width: 100%; max-width: 1200px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.rpgfy-browser-bar { background: #f3f1ee; border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.rpgfy-b-dots { display: flex; gap: 5px; }
.rpgfy-b-dot { width: 10px; height: 10px; border-radius: 50%; }
.rpgfy-b-url { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--mid); max-width: 360px; margin: 0 auto; }
.rpgfy-b-url strong { color: var(--ink); font-weight: 500; }
.rpgfy-mock { background: var(--white); min-height: 320px; }
.rpgfy-preview-iframe { display: block; width: 100%; height: 85vh; min-height: 600px; border: none; background: var(--white); }
.rpgfy-mock-placeholder { display: flex; align-items: center; justify-content: center; min-height: 320px; color: var(--mid); font-size: 14px; }
.rpgfy-browser-open-tab { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--mid); text-decoration: none; padding: 4px 10px; border: 1px solid var(--border); border-radius: 5px; background: var(--white); transition: color .15s, border-color .15s; white-space: nowrap; }
.rpgfy-browser-open-tab:hover { color: var(--coral); border-color: var(--coral); }
.rpgfy-browser-open-tab svg { flex-shrink: 0; }
@media (max-width: 600px) { .rpgfy-preview-iframe { height: 70vh; min-height: 400px; } }
.rpgfy-m-nav { display: flex; align-items: center; justify-content: space-between; padding: 13px 24px; border-bottom: 1px solid var(--faint); }
.rpgfy-m-logo { display: flex; align-items: center; gap: 9px; }
.rpgfy-m-logo-sq { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg,var(--coral),var(--amber)); flex-shrink: 0; }
.rpgfy-m-logo-text { display: flex; flex-direction: column; gap: 3px; }
.rpgfy-m-links { display: flex; gap: 14px; }
.rpgfy-sk { background: var(--faint); border-radius: 3px; display: block; animation: rpgfy-sk 2s ease infinite; }
.rpgfy-m-hero { padding: 36px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.rpgfy-m-hero-l { display: flex; flex-direction: column; gap: 9px; }
.rpgfy-m-hero-r { background: linear-gradient(135deg,#fde8df,#fef3ec); border-radius: 11px; height: 130px; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.rpgfy-m-fake-btn { width: 100px; height: 32px; border-radius: 7px; background: var(--coral); opacity: .9; display: block; }
.rpgfy-m-cards { padding: 22px 24px; border-top: 1px solid var(--faint); display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rpgfy-m-card { background: var(--faint2); border-radius: 9px; padding: 13px; display: flex; flex-direction: column; gap: 7px; }
.rpgfy-m-card-icon { width: 26px; height: 26px; border-radius: 6px; }
/* pricing */
.rpgfy-pricing { width: 100%; max-width: 900px; }
.rpgfy-pricing-header { text-align: center; margin-bottom: 28px; }
.rpgfy-pricing-header h3 { font-size: clamp(22px,3vw,32px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.rpgfy-pricing-header p { font-size: 15px; color: var(--mid); }
.rpgfy-price-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.rpgfy-price-grid-2 { grid-template-columns: 1fr 1fr; }
.rpgfy-price-grid-3 { grid-template-columns: repeat(3,1fr); }
.rpgfy-price-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.rpgfy-price-card:hover { box-shadow: var(--shadow-md); }
.rpgfy-price-card-featured { border-color: var(--coral); box-shadow: var(--shadow-md); }
.rpgfy-pc-header { padding: 22px 22px 18px; border-bottom: 1px solid var(--faint); }
.rpgfy-pc-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 3px 9px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.rpgfy-badge-coral   { background: var(--coral-bg); color: var(--coral); }
.rpgfy-badge-purple  { background: var(--purple-bg); color: var(--purple); }
.rpgfy-badge-blue    { background: var(--blue-bg); color: var(--blue); }
.rpgfy-pc-name { font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 5px; }
.rpgfy-pc-desc { font-size: 13px; color: var(--mid); line-height: 1.5; }
.rpgfy-pc-pricing { padding: 18px 22px; border-bottom: 1px solid var(--faint); }
.rpgfy-pc-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 3px; }
.rpgfy-pc-amt { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.rpgfy-pc-per { font-size: 13px; color: var(--mid); }
.rpgfy-pc-orig { font-size: 12px; color: #b0aba3; text-decoration: line-through; margin-bottom: 10px; }
.rpgfy-pc-urgency { display: flex; align-items: center; gap: 6px; background: rgba(245,166,35,.08); border: 1px solid rgba(245,166,35,.2); border-radius: 7px; padding: 7px 10px; font-size: 11px; font-weight: 500; color: #8a6a1a; }
.rpgfy-urgency-purple { background: var(--purple-bg); border-color: rgba(124,58,237,.2); color: var(--purple); }
.rpgfy-urgency-blue   { background: var(--blue-bg); border-color: rgba(37,99,235,.2); color: var(--blue); }
.rpgfy-pc-feats { padding: 18px 22px; flex: 1; }
.rpgfy-pc-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--mid); margin-bottom: 9px; line-height: 1.4; }
.rpgfy-pc-feat:last-child { margin-bottom: 0; }
.rpgfy-pc-check { width: 16px; height: 16px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 8px; flex-shrink: 0; margin-top: 1px; }
.rpgfy-pc-footer { padding: 14px 22px 22px; }
.rpgfy-pc-btn { width: 100%; border: none; border-radius: var(--radius-sm); padding: 13px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background .15s, transform .1s; margin-bottom: 8px; }
.rpgfy-pc-btn:active { transform: scale(.99); }
.rpgfy-pc-btn-coral  { background: var(--coral); color: #fff; } .rpgfy-pc-btn-coral:hover  { background: var(--coral-h); }
.rpgfy-pc-btn-purple { background: var(--purple); color: #fff; } .rpgfy-pc-btn-purple:hover { background: #6d28d9; }
.rpgfy-pc-btn-blue   { background: var(--blue); color: #fff; }  .rpgfy-pc-btn-blue:hover   { background: #1d4ed8; }
.rpgfy-pc-guarantee { font-size: 11px; color: #b0aba3; text-align: center; }
/* trust row */
.rpgfy-trust-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.rpgfy-trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mid); }

/* ═══════════════════════════════════════════════════════════
   AUTH (LOGIN)
   ═══════════════════════════════════════════════════════════ */
.rpgfy-auth-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; }
.rpgfy-auth-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.rpgfy-auth-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; margin-bottom: 32px; }
.rpgfy-auth-title { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.rpgfy-auth-sub { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 28px; }
.rpgfy-auth-footer-note { margin-top: 20px; font-size: 13px; color: var(--mid); text-align: center; }
.rpgfy-auth-footer-note a { color: var(--coral); text-decoration: none; font-weight: 600; }
.rpgfy-auth-footer-note a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════ */
.rpgfy-dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; padding-top: 56px; }

/* Sidebar */
.rpgfy-dash-sidebar { background: var(--white); border-right: 1px solid var(--border); padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 56px; height: calc(100vh - 56px); overflow-y: auto; }
.rpgfy-dash-user { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 24px; }
.rpgfy-dash-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.rpgfy-dash-user-name { font-size: 14px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.rpgfy-dash-user-email { font-size: 11px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.rpgfy-dash-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.rpgfy-dash-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--mid); text-decoration: none; transition: background .15s, color .15s; }
.rpgfy-dash-nav-item:hover { background: var(--faint2); color: var(--ink); }
.rpgfy-dash-nav-item.active { background: var(--coral-bg); color: var(--coral); font-weight: 600; }
.rpgfy-dash-nav-item svg { flex-shrink: 0; }
.rpgfy-dash-badge { margin-left: auto; background: var(--coral); color: #fff; border-radius: 100px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.rpgfy-dash-sidebar-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--faint); }
.rpgfy-dash-new-btn { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 10px; background: var(--coral); color: #fff; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s; }
.rpgfy-dash-new-btn:hover { background: var(--coral-h); }

/* Main area */
.rpgfy-dash-main { padding: 32px; background: var(--bg); min-height: calc(100vh - 56px); }
.rpgfy-dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 32px; }
.rpgfy-stat { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 24px; }
.rpgfy-stat-num { font-size: 32px; font-weight: 800; letter-spacing: -.04em; margin-bottom: 4px; color: var(--ink); }
.rpgfy-stat-label { font-size: 13px; color: var(--mid); font-weight: 500; }
.rpgfy-dash-section { }
.rpgfy-dash-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.rpgfy-dash-section-header h2 { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.rpgfy-dash-action-btn { font-size: 13px; font-weight: 700; color: var(--coral); text-decoration: none; }
.rpgfy-dash-action-btn:hover { text-decoration: underline; }

/* Empty state */
.rpgfy-dash-empty { text-align: center; padding: 60px 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.rpgfy-dash-empty-icon { font-size: 40px; margin-bottom: 16px; }
.rpgfy-dash-empty h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.rpgfy-dash-empty p { font-size: 14px; color: var(--mid); }

/* Designs grid */
.rpgfy-designs-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 20px; }
.rpgfy-design-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .15s; }
.rpgfy-design-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rpgfy-design-card-preview { position: relative; background: var(--faint2); padding: 16px; }
/* mini browser */
.rpgfy-mini-browser { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--white); }
.rpgfy-mini-bar { background: #f3f1ee; border-bottom: 1px solid var(--faint); padding: 6px 10px; display: flex; align-items: center; gap: 7px; }
.rpgfy-mini-dots { display: flex; gap: 4px; }
.rpgfy-mini-dots span { width: 7px; height: 7px; border-radius: 50%; }
.rpgfy-mini-url { flex: 1; font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpgfy-mini-content { padding: 10px; }
.rpgfy-mini-hero { display: flex; gap: 8px; align-items: flex-start; }
.rpgfy-mini-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.rpgfy-sk-accent { background: rgba(232,71,10,.14) !important; height: 6px; width: 50%; }
.rpgfy-sk { height: 8px; width: 100%; }
.rpgfy-mini-btn { display: block; width: 56px; height: 18px; background: var(--coral); opacity: .8; border-radius: 4px; margin-top: 4px; }
.rpgfy-mini-img { width: 44px; height: 44px; border-radius: 6px; background: linear-gradient(135deg,#fde8df,#fef3ec); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.rpgfy-design-type-pill { position: absolute; top: 20px; right: 20px; font-size: 10px; font-weight: 700; border-radius: 100px; padding: 3px 9px; }
.rpgfy-pill-coral  { background: var(--coral-bg); color: var(--coral); }
.rpgfy-pill-purple { background: var(--purple-bg); color: var(--purple); }
.rpgfy-design-card-body { padding: 14px 16px; flex: 1; }
.rpgfy-design-card-title  { font-size: 14px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpgfy-design-card-domain { font-size: 11px; color: var(--soft); font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; }
.rpgfy-design-card-meta   { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.rpgfy-design-date { font-size: 11px; color: var(--soft); }
.rpgfy-design-card-plan   { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--green); font-weight: 500; }
/* status pills */
.rpgfy-status-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; border-radius: 100px; padding: 2px 9px; }
.rpgfy-status-processing { background: rgba(245,166,35,.12); color: #8a6a1a; }
.rpgfy-status-ready      { background: rgba(37,99,235,.1);  color: var(--blue); }
.rpgfy-status-purchased  { background: var(--green-bg);     color: var(--green); }
.rpgfy-status-hosted     { background: var(--purple-bg);    color: var(--purple); }
.rpgfy-design-card-footer { padding: 10px 16px 14px; display: flex; gap: 8px; border-top: 1px solid var(--faint); }
.rpgfy-card-btn-primary  { flex: 1; text-align: center; background: var(--coral); color: #fff; border-radius: var(--radius-sm); padding: 9px 12px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background .15s; }
.rpgfy-card-btn-primary:hover { background: var(--coral-h); }
.rpgfy-card-btn-outline  { flex: 1; text-align: center; border: 1.5px solid var(--border); color: var(--ink); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .15s; }
.rpgfy-card-btn-outline:hover { border-color: var(--mid); }
.rpgfy-card-btn-disabled { flex: 1; text-align: center; background: var(--faint); color: var(--soft); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 13px; font-weight: 600; }

/* Billing */
.rpgfy-billing-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
.rpgfy-billing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.rpgfy-billing-card-label { font-size: 12px; font-weight: 600; color: var(--mid); margin-bottom: 6px; }
.rpgfy-billing-card-value { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.rpgfy-orders-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; }
.rpgfy-orders-table { width: 100%; border-collapse: collapse; }
.rpgfy-orders-table th { padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); background: var(--faint2); border-bottom: 1px solid var(--border); }
.rpgfy-orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--faint); vertical-align: middle; font-size: 14px; }
.rpgfy-orders-table tbody tr:last-child td { border-bottom: none; }
.rpgfy-orders-table tbody tr:hover td { background: var(--faint2); }
.rpgfy-order-title  { font-weight: 600; font-size: 13px; }
.rpgfy-order-domain { font-size: 11px; color: var(--soft); font-family: 'JetBrains Mono', monospace; }
.rpgfy-order-amount { font-weight: 700; font-size: 15px; }
.rpgfy-order-date   { font-size: 12px; color: var(--soft); }
.rpgfy-order-link   { font-size: 13px; font-weight: 600; color: var(--coral); text-decoration: none; }
.rpgfy-order-link:hover { text-decoration: underline; }
.rpgfy-plan-chip { background: var(--faint2); border: 1px solid var(--border); border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 600; color: var(--mid); }
.rpgfy-billing-notice { display: flex; align-items: flex-start; gap: 12px; background: var(--faint2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; font-size: 13px; line-height: 1.55; color: var(--mid); }
.rpgfy-billing-notice a { color: var(--coral); text-decoration: none; font-weight: 600; }
.rpgfy-billing-notice-icon { font-size: 20px; flex-shrink: 0; }
strong { color: var(--ink); }

/* Account */
.rpgfy-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.rpgfy-account-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.rpgfy-account-card-title { font-size: 15px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.rpgfy-danger-zone { background: var(--white); border: 1.5px solid #fca5a5; border-radius: var(--radius-lg); padding: 24px; }
.rpgfy-danger-zone h3 { font-size: 15px; font-weight: 700; color: #dc2626; margin-bottom: 8px; }
.rpgfy-danger-zone p { font-size: 13px; color: var(--mid); margin-bottom: 16px; }

/* Error page */
.rpgfy-error-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; text-align: center; padding: 40px; }
.rpgfy-error-screen h2 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.rpgfy-error-screen p { font-size: 15px; color: var(--mid); }
.rpgfy-error-screen a { color: var(--coral); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes rpgfy-fadein { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.rpgfy-fadein { animation: rpgfy-fadein .4s ease both; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .rpgfy-price-grid-3 { grid-template-columns: 1fr 1fr; }
  .rpgfy-dash-layout  { grid-template-columns: 200px 1fr; }
}
@media (max-width: 768px) {
  .rpgfy-dash-layout   { grid-template-columns: 1fr; }
  .rpgfy-dash-sidebar  { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px 16px; border-right: none; border-bottom: 1px solid var(--border); gap: 8px; }
  .rpgfy-dash-user     { display: none; }
  .rpgfy-dash-nav      { flex-direction: row; flex-wrap: wrap; flex: none; gap: 4px; }
  .rpgfy-dash-nav-item { padding: 8px 12px; }
  .rpgfy-dash-sidebar-footer { margin-top: 0; padding-top: 0; border-top: none; }
  .rpgfy-dash-main     { padding: 20px 16px; }
  .rpgfy-dash-stats    { grid-template-columns: 1fr 1fr; }
  .rpgfy-price-grid-2, .rpgfy-price-grid-3 { grid-template-columns: 1fr; }
  .rpgfy-m-hero        { grid-template-columns: 1fr; }
  .rpgfy-m-hero-r      { display: none; }
  .rpgfy-m-cards       { grid-template-columns: 1fr 1fr; }
  .rpgfy-account-grid  { grid-template-columns: 1fr; }
  .rpgfy-billing-summary { grid-template-columns: 1fr 1fr; }
  .rpgfy-trust-row     { gap: 14px; }
}
@media (max-width: 540px) {
  .rpgfy-nav           { padding: 0 16px; }
  .rpgfy-dash-stats    { grid-template-columns: 1fr; }
  .rpgfy-billing-summary { grid-template-columns: 1fr; }
  .rpgfy-orders-table th:nth-child(5),
  .rpgfy-orders-table td:nth-child(5) { display: none; }
  .rpgfy-footer { flex-direction: column; gap: 12px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════
   PAGE TEMPLATE
   ═══════════════════════════════════════════════════════════ */
.rpgfy-page-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  min-height: 100vh;
}
.rpgfy-page-article {
  padding-top: 32px;
}
.rpgfy-page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.rpgfy-page-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.rpgfy-page-meta {
  font-size: 13px;
  color: var(--soft);
}

/* Prose content — the_content() output */
.rpgfy-page-content {
  font-size: 16px;
  line-height: 1.75;
  color: #2a2a28;
}
.rpgfy-page-content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 40px 0 14px;
  color: var(--ink);
}
.rpgfy-page-content h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 28px 0 10px;
  color: var(--ink);
}
.rpgfy-page-content p {
  margin-bottom: 18px;
}
.rpgfy-page-content ul,
.rpgfy-page-content ol {
  margin: 0 0 18px 24px;
}
.rpgfy-page-content li {
  margin-bottom: 6px;
}
.rpgfy-page-content a {
  color: var(--coral);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.rpgfy-page-content a:hover {
  color: var(--coral-h);
}
.rpgfy-page-content strong {
  font-weight: 700;
  color: var(--ink);
}
.rpgfy-page-content em {
  font-style: italic;
}
.rpgfy-page-content blockquote {
  border-left: 3px solid var(--coral);
  margin: 24px 0;
  padding: 12px 20px;
  background: var(--faint2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--mid);
}
.rpgfy-page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}
.rpgfy-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 14px;
}
.rpgfy-page-content th {
  background: var(--faint2);
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.rpgfy-page-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.rpgfy-page-content code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  background: var(--faint2);
  border: 1px solid var(--faint);
  border-radius: 4px;
  padding: 2px 6px;
}
.rpgfy-page-content pre {
  background: var(--ink);
  color: #f0eeea;
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 18px;
}
.rpgfy-page-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 13px;
}
.rpgfy-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════════════════════
   404 TEMPLATE
   ═══════════════════════════════════════════════════════════ */
.rpgfy-404-wrap {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}
.rpgfy-404-inner {
  max-width: 420px;
}
.rpgfy-404-code {
  font-size: clamp(80px, 18vw, 140px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  color: var(--faint);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.rpgfy-404-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}
.rpgfy-404-sub {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 36px;
}
.rpgfy-404-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.rpgfy-404-actions .rpgfy-cta-sm {
  width: 100%;
  max-width: 280px;
}
.rpgfy-404-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--mid);
  text-decoration: none;
  transition: color .15s;
}
.rpgfy-404-link:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   WORDPRESS ADMIN BAR OFFSET
   When an administrator is logged in, WP adds .admin-bar to
   <body> and renders a 32px toolbar (46px on mobile ≤782px).
   Push the fixed nav down so it sits below the toolbar.
   ═══════════════════════════════════════════════════════════ */
.admin-bar .rpgfy-nav {
  top: 32px;
}

.admin-bar .rpgfy-dash-sidebar {
  top: calc(56px + 32px);
}

@media screen and (max-width: 782px) {
  .admin-bar .rpgfy-nav {
    top: 46px;
  }

  .admin-bar .rpgfy-dash-sidebar {
    top: calc(56px + 46px);
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */

/* Layout containers */
.rpgfy-about-container       { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.rpgfy-about-container-wide  { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.rpgfy-about-container-narrow{ max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* Section scaffold */
.rpgfy-about-section { padding: 88px 0; }
.rpgfy-about-section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 88px 0; }
.rpgfy-about-section-header { text-align: center; margin-bottom: 56px; }
.rpgfy-about-section-header .rpgfy-section-label { justify-content: center; }
.rpgfy-about-section-header .rpgfy-section-label::after { display: none; }
.rpgfy-about-h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 12px 0 14px; }
.rpgfy-about-section-sub { font-size: 16px; color: var(--mid); max-width: 440px; margin: 0 auto; line-height: 1.65; }

/* ── HERO ── */
.rpgfy-about-hero {
  padding: 100px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.rpgfy-about-hero .rpgfy-h1 { margin: 0 auto 20px; }
.rpgfy-about-hero-sub {
  font-size: 18px;
  color: var(--mid);
  max-width: 480px;
  line-height: 1.65;
  margin: 0 auto 36px;
}
/* browser strip */
.rpgfy-about-browsers {
  display: flex;
  gap: 16px;
  margin-top: 64px;
  padding: 0 24px 0;
  width: 100%;
  max-width: 960px;
  align-items: flex-end;
}
.rpgfy-about-browser-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateY(0);
  transition: transform .3s ease;
}
.rpgfy-about-browser-card:nth-child(2) { transform: translateY(-16px); }
.rpgfy-about-browser-card:hover { transform: translateY(-4px); }
.rpgfy-about-browser-card:nth-child(2):hover { transform: translateY(-20px); }
.rpgfy-about-browser-bar {
  background: #f3f1ee;
  border-bottom: 1px solid var(--border);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rpgfy-about-browser-url {
  flex: 1;
  height: 14px;
  background: var(--faint);
  border-radius: 4px;
  max-width: 160px;
}
.rpgfy-about-browser-content { padding: 16px; }
.rpgfy-about-browser-hero { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.rpgfy-about-browser-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.rpgfy-about-fake-btn { display: block; width: 64px; height: 22px; border-radius: 5px; margin-top: 6px; opacity: .85; }
.rpgfy-about-browser-emoji { width: 52px; height: 52px; border-radius: 8px; background: linear-gradient(135deg,#fde8df,#fef3ec); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.rpgfy-about-browser-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.rpgfy-about-browser-mini-card { background: var(--faint2); border-radius: 7px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }

/* ── STATS BAR ── */
.rpgfy-about-stats-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.rpgfy-about-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.rpgfy-about-stat { text-align: center; padding: 0 48px; flex: 1; }
.rpgfy-about-stat-num { font-size: 36px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); margin-bottom: 4px; }
.rpgfy-about-stat-label { font-size: 13px; color: var(--mid); line-height: 1.4; max-width: 130px; margin: 0 auto; }
.rpgfy-about-stat-divider { width: 1px; height: 52px; background: var(--border); flex-shrink: 0; }

/* ── HOW IT WORKS ── */
.rpgfy-about-steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.rpgfy-about-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
}
.rpgfy-about-step-num {
  font-size: 13px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--coral);
  background: var(--coral-bg);
  border: 1.5px solid var(--coral-ring);
  border-radius: var(--radius-sm);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.rpgfy-about-step-body h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.rpgfy-about-step-body p  { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 14px; }
.rpgfy-about-step-detail  { display: flex; gap: 8px; flex-wrap: wrap; }
.rpgfy-about-step-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--faint2); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 12px;
  font-size: 12px; font-weight: 600; color: var(--mid);
}
.rpgfy-about-step-connector { padding: 8px 0 8px 24px; display: flex; }
.rpgfy-about-step-line { width: 1.5px; height: 36px; background: var(--border); margin-left: 23px; }

/* ── FEATURES GRID ── */
.rpgfy-about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rpgfy-about-feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: box-shadow .2s, transform .15s;
}
.rpgfy-about-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rpgfy-about-feature-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.rpgfy-about-feature h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.rpgfy-about-feature p  { font-size: 13px; color: var(--mid); line-height: 1.65; }

/* ── PLANS OVERVIEW ── */
.rpgfy-about-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.rpgfy-about-plan {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow .2s;
}
.rpgfy-about-plan:hover { box-shadow: var(--shadow-md); }
.rpgfy-about-plan-download { border-color: var(--blue); }
.rpgfy-about-plan-hosted   { background: var(--white); border-color: var(--coral); box-shadow: var(--shadow-md); }
.rpgfy-about-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff;
  border-radius: 100px; padding: 3px 12px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.rpgfy-about-plan-icon  { font-size: 28px; margin-bottom: 14px; display: block; }
.rpgfy-about-plan-name  { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.rpgfy-about-plan-price { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.rpgfy-about-plan-price strong { color: var(--coral); }
.rpgfy-about-plan-desc  { font-size: 13px; color: var(--mid); line-height: 1.55; margin-bottom: 16px; }
.rpgfy-about-plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.rpgfy-about-plan-feats li {
  font-size: 13px; color: var(--mid); padding-left: 20px; position: relative; line-height: 1.4;
}
.rpgfy-about-plan-feats li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-size: 11px; font-weight: 700; top: 1px;
}
.rpgfy-about-plans-cta { text-align: center; }

/* ── FAQ ── */
.rpgfy-about-faqs { display: flex; flex-direction: column; }
.rpgfy-faq {
  border-bottom: 1px solid var(--border);
}
.rpgfy-faq:first-child { border-top: 1px solid var(--border); }
.rpgfy-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-size: 15px; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none; user-select: none;
}
.rpgfy-faq-q::-webkit-details-marker { display: none; }
.rpgfy-faq-q::after {
  content: '+';
  font-size: 20px; font-weight: 300; color: var(--mid);
  flex-shrink: 0; transition: transform .2s, color .15s;
  width: 22px; text-align: center;
}
.rpgfy-faq[open] .rpgfy-faq-q::after { content: '−'; color: var(--coral); }
.rpgfy-faq-a { padding: 0 0 20px; }
.rpgfy-faq-a p { font-size: 14px; color: var(--mid); line-height: 1.7; margin: 0; }
.rpgfy-faq-a p + p { margin-top: 10px; }
.rpgfy-faq-a a { color: var(--coral); text-decoration: none; font-weight: 600; }
.rpgfy-faq-a a:hover { text-decoration: underline; }

/* ── FINAL CTA ── */
.rpgfy-about-final-cta {
  padding: 100px 24px;
  background: var(--ink);
  text-align: center;
}
.rpgfy-about-final-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}
.rpgfy-about-final-sub {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.rpgfy-about-final-cta .rpgfy-trust-item { color: rgba(255,255,255,.5); }
.rpgfy-about-final-cta .rpgfy-trust-row  { justify-content: center; }
.rpgfy-about-final-cta .rpgfy-footer { background: var(--ink); border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.4); }
.rpgfy-about-final-cta .rpgfy-footer-links a { color: rgba(255,255,255,.4); }
.rpgfy-about-final-cta .rpgfy-footer-links a:hover { color: rgba(255,255,255,.7); }

/* ── ABOUT RESPONSIVE ── */
@media (max-width: 900px) {
  .rpgfy-about-features-grid { grid-template-columns: 1fr 1fr; }
  .rpgfy-about-plans          { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .rpgfy-about-browsers       { gap: 10px; }
  .rpgfy-about-browser-card:nth-child(3) { display: none; }
}
@media (max-width: 680px) {
  .rpgfy-about-section        { padding: 64px 0; }
  .rpgfy-about-section-alt    { padding: 64px 0; }
  .rpgfy-about-hero           { padding: 88px 0 0; }
  .rpgfy-about-stats-grid     { flex-wrap: wrap; }
  .rpgfy-about-stat           { flex: 0 0 50%; padding: 20px 24px; }
  .rpgfy-about-stat-divider   { display: none; }
  .rpgfy-about-features-grid  { grid-template-columns: 1fr; }
  .rpgfy-about-browsers       { display: none; }
  .rpgfy-about-step           { grid-template-columns: 44px 1fr; gap: 16px; }
}
