/* Shared styles for Chief Of free tools (hub + Leverage Score, Manual Meter, Prompt Library). */
:root {
  --navy: #0B1D33; --slate: #1A2F4A; --gold: #C9A55C; --gold-light: #E8D5A8;
  --gold-glow: rgba(201, 165, 92, 0.15); --cream: #FAF7F2; --warm-white: #FFFDF9;
  --text: #1A1A1A; --text-mid: #4A4A4A; --text-light: #7A7A7A; --border: #E8E4DC;
  --green: #2E7D52;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); line-height: 1.6; background: var(--warm-white); }
.serif { font-family: 'DM Serif Display', Georgia, serif; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Nav */
nav { padding: 18px 0; background: var(--navy); }
nav .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.5rem; color: white; text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.nav-link { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a.nav-link:hover { color: var(--gold); }
nav a.nav-cta { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; border: 1.5px solid var(--gold); padding: 10px 20px; border-radius: 6px; transition: all 0.2s; white-space: nowrap; }
nav a.nav-cta:hover { background: var(--gold); color: var(--navy); }

/* Tool header */
.tool-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--slate) 100%); color: white; padding: 56px 0 64px; text-align: center; }
.tool-hero .eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.tool-hero h1 { font-family: 'DM Serif Display', Georgia, serif; font-size: 2.6rem; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; max-width: 760px; margin: 0 auto 14px; }
.tool-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* Main work area */
main { padding: 48px 0 90px; background: var(--cream); min-height: 50vh; }
.card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 36px 34px; box-shadow: 0 4px 24px rgba(11,29,51,0.06); }
.card + .card { margin-top: 24px; }

/* Archetype / platform pill selectors */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pill-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 10px; }
.pill { border: 1.5px solid var(--border); background: white; color: var(--text-mid); border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; font-family: inherit; cursor: pointer; transition: all 0.18s; white-space: nowrap; }
.pill:hover { border-color: var(--gold); }
.pill.active { background: var(--navy); border-color: var(--navy); color: white; }
.pill.platform.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }

/* Form fields */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field .hint { font-size: 0.82rem; color: var(--text-light); font-weight: 400; }
.field input[type="number"], .field input[type="text"], .field input[type="email"] {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 14px 16px;
  font-size: 1rem; font-family: inherit; color: var(--text); outline: none; transition: all 0.2s; background: var(--warm-white);
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); background: white; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--gold); color: var(--navy); font-size: 0.95rem; font-weight: 700; padding: 15px 32px; border-radius: 10px; border: none; cursor: pointer; font-family: inherit; transition: all 0.22s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(201,165,92,0.4); }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy); color: white; }
.btn-ghost { background: transparent; border: 1.5px solid var(--border); color: var(--navy); }
.btn-ghost:hover { border-color: var(--gold); box-shadow: none; }

/* Results */
.result-big { font-family: 'DM Serif Display', Georgia, serif; font-size: 3.2rem; color: var(--navy); line-height: 1.05; }
.result-big.green { color: var(--green); }
.result-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.hidden { display: none !important; }

/* Email gate */
.gate { background: var(--navy); color: white; border-radius: 14px; padding: 28px 26px; margin-top: 24px; }
.gate h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.3rem; margin-bottom: 6px; }
.gate p { opacity: 0.8; font-size: 0.92rem; margin-bottom: 16px; }
.gate .gate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.gate input { flex: 1; min-width: 200px; border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: white; border-radius: 10px; padding: 14px 16px; font-size: 1rem; font-family: inherit; outline: none; }
.gate input::placeholder { color: rgba(255,255,255,0.4); }
.gate input:focus { border-color: var(--gold); }
.gate .gate-note { font-size: 0.78rem; opacity: 0.55; margin-top: 12px; margin-bottom: 0; }

/* CTA block */
.cta-block { background: linear-gradient(160deg, var(--navy) 0%, var(--slate) 100%); color: white; border-radius: 16px; padding: 36px 32px; text-align: center; margin-top: 24px; }
.cta-block h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 1.6rem; margin-bottom: 10px; }
.cta-block p { opacity: 0.85; max-width: 480px; margin: 0 auto 22px; }
.cta-block .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-block .btn-row a.outline { color: white; border: 1.5px solid rgba(255,255,255,0.3); background: transparent; }

/* Footer */
footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 48px 0 28px; font-size: 0.9rem; }
footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; max-width: 1100px; margin: 0 auto; padding: 0 24px; color: rgba(255,255,255,0.45); font-size: 0.82rem; }
footer a { color: var(--gold-light); text-decoration: none; }
footer .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .nav-links a.nav-link { display: none; }
  .tool-hero h1 { font-size: 2rem; }
  .card { padding: 26px 22px; }
  .result-big { font-size: 2.4rem; }
}
