/* Pioneer Legal Consulting — site styles (navy and gold) */
:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-lite: #1c3060;
  --gold: #c9a84c;
  --gold-lite: #e8c97a;
  --gold-dim: #8a6f2e;
  --cream: #f7f3ec;
  --warm-white: #fdfbf7;
  --warm-gray: #e8e2d8;
  --text-dark: #1a1a2e;
  --text-mid: #3d3d5c;
  --text-lite: #6b6b8a;
  --focus: #e8c97a;
  --display: "Playfair Display", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.75; color: var(--text-dark); background: var(--cream); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-lite); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.2; margin: 0 0 0.75em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h2 em, h1 em { font-style: italic; }
p { margin: 0 0 1rem; max-width: 68ch; }

.wrap { width: min(960px, 100% - 4rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 4rem); }
@media (max-width: 600px) { .wrap, .narrow { width: calc(100% - 2.5rem); } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; z-index: 300; }

/* Header */
.site-header { background: var(--navy); border-bottom: 2px solid var(--gold); position: sticky; top: 0; z-index: 100; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 1.1rem 2rem; flex-wrap: wrap; }
.logo { font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--gold); text-decoration: none; letter-spacing: 0.03em; line-height: 1.3; }
.logo span { display: block; font-family: var(--body); font-size: 0.63rem; color: rgba(201,168,76,0.6); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 0.25rem 1.5rem; flex-wrap: wrap; }
.site-nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.03em; padding-block: 0.2rem; }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .header-cta { background: var(--gold); color: var(--navy); padding: 0.5rem 1.25rem; border-radius: 3px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; }
.site-nav .header-cta:hover { background: var(--gold-lite); color: var(--navy); }
@media (max-width: 760px) {
  .header-row { padding: 0.9rem 1.25rem; }
  .site-nav .nav-link { display: none; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; padding: 1rem 2.25rem; border-radius: 3px; font-family: var(--body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em; border: 1px solid transparent; cursor: pointer; line-height: 1.3; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lite); }
.btn-outline { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); background: transparent; font-weight: 400; }
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-navy { background: var(--navy); color: var(--gold); }
.btn-navy:hover { background: var(--navy-lite); }
.btn-line { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--warm-white); }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero */
.hero { background: var(--navy); padding: 6rem 2rem 5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -10%, rgba(201,168,76,0.12) 0%, transparent 60%); pointer-events: none; }
.hero > * { position: relative; }
.eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); opacity: 0.85; margin: 0 auto 1.5rem; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); color: #fff; line-height: 1.12; max-width: 800px; margin: 0 auto 1.5rem; }
.hero h1 em { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2.5rem; font-weight: 300; line-height: 1.7; }
.hero .actions { justify-content: center; margin-bottom: 2.5rem; }
.hero-note { font-size: 0.82rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; margin: 0 auto; }
@media (max-width: 600px) { .hero { padding: 4rem 1.25rem 3.5rem; } }

/* Trust bar */
.trust-bar { background: var(--navy-mid); border-block: 1px solid rgba(201,168,76,0.15); padding: 1.25rem 2rem; display: flex; justify-content: center; gap: 1rem 3rem; flex-wrap: wrap; }
.trust-item { font-size: 0.8rem; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; text-align: center; }
.trust-item strong { display: block; color: var(--gold); font-size: 1rem; margin-bottom: 0.1rem; font-family: var(--display); letter-spacing: 0.02em; }

/* Sections */
.section { padding: 5rem 0; }
.section + .section { padding-top: 0; }
.section-alt { background: var(--warm-white); border-block: 1px solid var(--warm-gray); }
.section-alt + .section, .section + .section-alt { padding-top: 5rem; }
.section-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.65rem; font-weight: 600; }
.section p, .section li { color: var(--text-mid); }
.intro { margin-bottom: 2rem; }

/* Problem cards */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.problem-card { background: var(--warm-white); border: 1px solid var(--warm-gray); border-left: 3px solid var(--gold-dim); border-radius: 3px; padding: 1.25rem 1.35rem; }
.problem-card h3 { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dim); margin-bottom: 0.45rem; font-weight: 600; }
.problem-card p { font-size: 0.92rem; margin: 0; line-height: 1.6; }
@media (max-width: 600px) { .problem-grid { grid-template-columns: 1fr; } }

/* Ladder (numbered steps on navy) */
.ladder-section { background: var(--navy); padding: 5rem 0; }
.ladder-section .section-label { color: rgba(201,168,76,0.65); }
.ladder-section h2 { color: #fff; }
.ladder-section p { color: rgba(255,255,255,0.62); }
.ladder { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: step; }
.ladder > li { counter-increment: step; display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ladder > li:last-child { border-bottom: none; }
.ladder > li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 2rem; font-weight: 700; color: rgba(201,168,76,0.4); min-width: 2.75rem; line-height: 1; }
.ladder h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; }
.ladder > li p { font-size: 0.92rem; color: rgba(255,255,255,0.55); margin: 0; line-height: 1.6; }
.ladder-more { margin-top: 1.5rem; }
.ladder-more a { color: var(--gold); }

/* Light-background ladder for the How it works page */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--warm-gray); }
.steps > li:first-child { padding-top: 0; }
.steps > li:last-child { border-bottom: none; }
.steps > li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 20; font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.steps > li > * { grid-column: 2; }
.steps h2 { font-size: 1.45rem; margin-bottom: 0.4rem; }

/* Paths list */
.feature { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.paths { margin: 0; display: grid; gap: 1.25rem; border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.paths dt { font-family: var(--display); font-weight: 700; color: var(--navy); }
.paths dd { margin: 0.15rem 0 0; color: var(--text-mid); font-size: 0.95rem; }

/* Two-column text blocks */
.two-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.stack p { margin-bottom: 1.1rem; }
.stack strong { color: var(--navy); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.checklist li { position: relative; padding-left: 1.5rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.5rem; height: 0.5rem; background: var(--gold); transform: rotate(45deg); }
.checklist.compact { gap: 0.35rem; margin-bottom: 1rem; }

@media (max-width: 800px) { .feature, .two-col, .contact-grid { grid-template-columns: 1fr !important; gap: 2rem; } }

/* CTA band */
.cta-band { background: var(--gold); padding: 4rem 2rem; text-align: center; }
.cta-band h2 { color: var(--navy); font-size: 2rem; margin-bottom: 0.75rem; }
.cta-band p { color: var(--navy); opacity: 0.75; margin: 0 auto 2rem; max-width: 480px; }
.cta-secondary { display: block; margin-top: 1rem; font-size: 0.88rem; color: var(--navy); opacity: 0.7; }
.cta-secondary:hover { opacity: 1; }

/* Contact strip */
.contact-section { background: var(--navy-mid); padding: 4rem 2rem; text-align: center; }
.contact-section h2 { color: #fff; font-size: 1.6rem; }
.contact-section p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin: 0 auto 1.5rem; max-width: 520px; }
.contact-email { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201,168,76,0.35); padding-bottom: 2px; }
.contact-email:hover { border-color: var(--gold); }

/* Inner page header */
.page-head { background: var(--navy); padding: 4.5rem 0 3.5rem; text-align: center; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(201,168,76,0.12) 0%, transparent 60%); pointer-events: none; }
.page-head > * { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.page-head p { color: rgba(255,255,255,0.65); margin-inline: auto; font-size: 1.05rem; font-weight: 300; }
.page-short { padding-bottom: 6rem; }
.page-short .actions { justify-content: center; margin-top: 2rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--warm-gray); }
.faq details:first-child { border-top: 1px solid var(--warm-gray); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; color: var(--navy); padding: 1.15rem 2.5rem 1.15rem 0; list-style: none; position: relative; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font-size: 1.5rem; font-weight: 400; color: var(--gold-dim); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding-bottom: 0.5rem; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 3rem; align-items: start; }
.form { display: grid; gap: 1.1rem; background: var(--warm-white); border: 1px solid var(--warm-gray); border-top: 3px solid var(--gold); border-radius: 3px; padding: clamp(1.25rem, 3vw, 2rem); }
.form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 0.65rem 0.8rem; border: 1px solid #c9c1b3; border-radius: 3px; background: #fff; color: var(--text-dark); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-dim); }
.form textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.opt { font-weight: 400; color: var(--text-lite); }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.checks legend { font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-size: 0.95rem; }
.checks label { display: flex; gap: 0.6rem; align-items: center; font-weight: 400; color: var(--text-mid); }
.checks input { width: 1.1rem; height: 1.1rem; accent-color: var(--navy); }
.form .btn { justify-self: start; }
.fine { font-size: 0.85rem; color: var(--text-lite); margin: 0; }
.hp { position: absolute; left: -9999px; }
.contact-side h2 { font-size: 1.25rem; }

/* Footer */
.site-footer { background: var(--navy); border-top: 1px solid rgba(201,168,76,0.15); padding: 2.75rem 2rem; text-align: center; }
.footer-logo { font-family: var(--display); font-size: 1rem; color: var(--gold); margin: 0 auto 0.5rem; }
.footer-meta { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0 auto 1.25rem; }
.footer-meta a { color: rgba(255,255,255,0.75); }
.footer-links { display: flex; justify-content: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-decoration: none; letter-spacing: 0.05em; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-disclaimer { font-size: 0.76rem; color: rgba(255,255,255,0.35); max-width: 660px; margin: 0 auto 1rem; line-height: 1.65; font-style: italic; }
.footer-base { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin: 0 auto; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); border-top: 2px solid var(--gold); padding: 0.8rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; z-index: 200; }
.sticky-text strong { display: block; font-size: 0.85rem; color: #fff; }
.sticky-text span { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.sticky-btn { background: var(--gold); color: var(--navy); text-decoration: none; padding: 0.55rem 1.1rem; border-radius: 3px; font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.mobile-pad { height: 68px; background: var(--navy); }
@media (min-width: 768px) { .sticky-cta, .mobile-pad { display: none; } }
.no-sticky .sticky-cta, .no-sticky .mobile-pad { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 600px) {
  .trust-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.25rem; }
  .header-row { justify-content: space-between; flex-wrap: nowrap; }
  .logo span { display: none; }
}
