/* My HR Extension site styles. Colors and fonts are set once here. */
:root {
  --black: #0d0d0d;
  --ink: #1c1c1c;
  --gold: #c8a95c;
  --gold-dark: #a88a3f;
  --gold-text: #75602a; /* darker gold for text on light backgrounds (meets contrast) */
  --cream: #f7f3ec;
  --white: #ffffff;
  --muted: #5b5b5b;
  --line: #e4ddd0;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: inherit; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header and navigation */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #222; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; border: 2px solid var(--gold); padding: 4px 10px; text-decoration: none; color: var(--gold); font-family: var(--sans); font-weight: 800; letter-spacing: .04em; line-height: 1.05; }
.logo .l1 { font-size: 1.25rem; }
.logo .l2 { font-size: .62rem; letter-spacing: .22em; }
.logo img { max-height: 56px; width: auto; }
.nav-btn { display: none; cursor: pointer; color: var(--gold); background: transparent; font: inherit; font-size: 1rem; border: 1px solid var(--gold); padding: 6px 12px; }
.nav-btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.site-nav a { color: var(--white); text-decoration: none; padding: 8px 9px; font-size: .95rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.site-nav a.btn { border: 0; margin-left: 8px; }
.btn.mobile-cta { display: none; }
@media (max-width: 1100px) {
  .nav-btn { display: inline-block; }
  .btn.mobile-cta { display: inline-block; margin-left: auto; }
  .site-nav { display: none; width: 100%; }
  .site-header .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .site-header.open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0 12px; }
  .site-nav a { display: block; padding: 10px 4px; }
  .site-nav a.btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--black) !important; text-decoration: none; padding: 14px 24px; font-weight: 600; border: 2px solid var(--gold); transition: background .15s; }
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn.ghost { background: transparent; color: var(--gold) !important; }
.btn.ghost:hover { background: var(--gold); color: var(--black) !important; }
.btn.small { padding: 9px 16px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Hero */
.hero { background-color: var(--black); background-image: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.8)), url("../images/hero.jpg"); background-size: cover; background-position: center; color: var(--white); padding: 110px 0 100px; }
.hero.page { padding: 80px 0 70px; }
.hero .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.hero h1 { max-width: 820px; }
.hero .lead { font-size: 1.2rem; max-width: 680px; color: #eee; }

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.cream { background: var(--cream); }
.dark { background: var(--black); color: var(--white); }
.dark p { color: #ddd; }
.center { text-align: center; }
.intro { max-width: 760px; }
.center .intro { margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--gold-text); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; margin-bottom: 10px; }
.dark .eyebrow { color: var(--gold); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 600; text-decoration: none; }
.card .tag { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-text); font-weight: 700; margin-bottom: 8px; }
.dark .card { background: #161616; border-color: #2a2a2a; color: var(--white); }
.pillar { border-top: 3px solid var(--gold); padding-top: 16px; }
.pillar h3, .pillar-t { font-size: 1.2rem; }
.pillar-t { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }
.section-card { border-top: 4px solid var(--gold); }
.section-card .num { font-family: var(--serif); color: var(--gold-text); font-size: 1.1rem; }
ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.facts span { background: var(--cream); border: 1px solid var(--line); font-size: .82rem; padding: 3px 10px; }
.plan { border: 1px solid var(--line); padding: 30px; background: var(--white); }
.plan.featured { border: 2px solid var(--gold); }
.plan .for { color: var(--muted); font-style: italic; }
.plan .result { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; font-weight: 600; }

/* Anchor menu inside long pages */
.jump { background: var(--cream); border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.jump a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.jump a:hover { color: var(--gold-text); }
.anchor { scroll-margin-top: 100px; }

/* Quotes */
.quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; margin: 0; }
.quote p { font-family: var(--serif); font-size: 1.15rem; }
.quote cite { font-style: normal; font-weight: 600; display: block; }
.quote .role { color: var(--muted); font-size: .92rem; }
.dark .quote .role { color: #aaa; }
.big-quote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); max-width: 860px; margin: 0 auto 12px; }

/* Lists of services */
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 32px; }
.svc div h4 { margin-bottom: .3em; }
.svc div p { color: var(--muted); font-size: .96rem; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--black); text-align: center; padding: 64px 0; }
.cta-band .btn { background: var(--black); color: var(--gold) !important; border-color: var(--black); }
.cta-band .btn:hover { background: #333; }

/* Footer */
.site-footer { background: var(--black); color: #ccc; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-bottom: 30px; }
.site-footer h4, .site-footer .f-h { color: var(--gold); font-family: var(--sans); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { border-top: 1px solid #262626; padding-top: 18px; font-size: .85rem; color: #888; }

/* Trust strip under the home hero */
.trust { background: var(--ink); color: #eee; border-bottom: 3px solid var(--gold); font-size: .95rem; }
.trust ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; }
.trust strong { color: var(--gold); }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: step; border-top: 3px solid var(--gold); padding-top: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); color: var(--gold-text); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.steps h3 { font-size: 1.2rem; }

/* FAQ */
.faq { max-width: 820px; margin: 28px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.faq details p { margin: 10px 0 0; }

/* Subtitle under a section name */
.sub { font-weight: 600; color: var(--gold-text); margin-top: -.2em; }

/* Second call to action in the closing band */
.second-cta { margin: 18px 0 0; }
.second-cta a { color: var(--black); font-weight: 600; }

/* Founder photo: shows images/casey-webster.jpg, or the initials if there is no photo yet */
.portrait { position: relative; width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: var(--cream); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 2.6rem; color: var(--gold-text); margin-bottom: 20px; }
.portrait .photo { position: absolute; inset: 0; background: url("../images/casey-webster.jpg") center / cover no-repeat; }

/* Price line on plans, audits, kits and packages */
.price { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 12px; }
.price span { display: block; font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }

/* Not-legal-advice lines */
.disclaimer { font-size: .85rem; color: #aaa; max-width: 820px; margin: 0 0 14px; }
.legal a { color: #aaa; }
.note { font-size: .95rem; color: var(--muted); font-style: italic; margin-top: 14px; }
.dark a:not(.btn) { color: var(--gold); }
.dark .section-card .num, .dark .card .tag { color: var(--gold); }
.pillar h3.h4, h3.h4 { font-size: 1.1rem; }

/* Small phones: keep the header on one row and trim tall spacing */
@media (max-width: 520px) {
  .site-header .wrap { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .logo { padding: 3px 8px; }
  .logo .l1 { font-size: 1.05rem; }
  .btn.mobile-cta { padding: 8px 10px; font-size: .82rem; }
  .nav-btn { padding: 6px 10px; }
  .hero { padding: 64px 0 56px; }
  .hero.page { padding: 52px 0 44px; }
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }
}
