/* WageNav brochure site
 * Palette is lifted from the product itself so screenshots and page feel like one thing:
 *   navy  = app primary action (#083a6c)
 *   gold  = "your town" diamond in the results chart
 *   plum  = union points, teal = non-union points
 */
:root {
  --navy: #083a6c;
  --navy-700: #0a4c8f;
  --navy-50: #eaf1f8;
  --gold: #d1ba46;
  --gold-50: #faf6e3;
  --plum: #76629a;
  --teal: #5e9a9a;
  --ink: #1e2b35;
  --ink-2: #4a5864;
  --ink-3: #6b7782;
  --paper: #ffffff;
  --paper-2: #f6f7f8;
  --sand: #ece9e5;
  --line: #e0e3e6;
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(16, 32, 48, .06), 0 4px 12px rgba(16, 32, 48, .06);
  --shadow-2: 0 2px 6px rgba(16, 32, 48, .08), 0 24px 60px -12px rgba(8, 58, 108, .28);
  --max: 1180px;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.3em; border-radius: 10px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px -6px rgba(8,58,108,.5); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c9d6e3; }
.btn-ghost:hover { background: var(--navy-50); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--navy); }
.site-header .btn { padding: .55em 1em; font-size: .92rem; }
@media (max-width: 820px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 40px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--navy-50), transparent 70%),
    radial-gradient(600px 300px at -10% 20%, var(--gold-50), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-copy { max-width: 760px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero h1 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 62%, rgba(209,186,70,.38) 62%); }

.hero-visual { position: relative; margin: 8px auto 0; max-width: 1100px; width: 100%; }
.hero-visual .frame { transform: perspective(2200px) rotateX(6deg); transform-origin: top center; }
.hero-visual .float { position: absolute; }
.hero-visual .float-tooltip { width: 25%; right: -3%; top: 22%; }
.hero-visual .float-legend { left: -2%; bottom: 10%; }
@media (max-width: 820px) {
  .hero-visual .frame { transform: none; }
  .hero-visual .float-tooltip { position: relative; width: 62%; right: auto; top: auto; margin: -40px 0 0 auto; }
  .hero-visual .float-legend { display: none; }
}

/* ---------- Screenshot frame (reusable) ---------- */
.frame {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7dbdf; display: block; }
.frame-bar span {
  margin-left: 14px; font-size: .74rem; color: var(--ink-3);
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px;
}
.card-shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; background: #fff; }

.legend-chip {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-1);
  padding: 12px 14px; font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.legend-chip b { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.legend-chip .diamond { border-radius: 2px; transform: rotate(45deg); }

/* ---------- Proof strip ---------- */
.proof { padding: 36px 0 12px; }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--ink-2); }
.proof-note { font-size: .82rem; color: var(--ink-3); margin-top: 14px; }
@media (max-width: 820px) { .proof .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.alt { background: var(--paper-2); }

/* Steps: text + screenshot, alternating */
.step { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.step:last-child { margin-bottom: 0; }
.step.flip { grid-template-columns: 7fr 5fr; }
.step.flip .step-copy { order: 2; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step-copy ul { padding: 0; margin: 18px 0 0; list-style: none; }
.step-copy li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-2); }
.step-copy li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px;
  background: var(--gold); transform: rotate(45deg); border-radius: 1px;
}
.step-visual { position: relative; }
.step-visual .inset { position: absolute; width: 34%; right: -3%; top: 55%; }
@media (max-width: 900px) {
  .step, .step.flip { grid-template-columns: 1fr; gap: 28px; }
  .step.flip .step-copy { order: 0; }
  .step-visual .inset { position: relative; width: 62%; right: auto; top: auto; margin: -30px 0 0 auto; }
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-1);
}
.feature .ico {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy); margin-bottom: 14px;
}
.feature p { color: var(--ink-2); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* Split feature with screenshot */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Customer band */
.customer {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 56px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background-image: radial-gradient(600px 300px at 100% 0%, rgba(209,186,70,.22), transparent 70%);
}
.customer h2 { color: #fff; }
.customer p { color: #d6e2ee; }
.customer a { color: #fff; }
.customer .eyebrow { color: var(--gold); }
@media (max-width: 900px) { .customer { grid-template-columns: 1fr; padding: 32px; } }

/* CTA */
.cta { text-align: center; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: .9rem; color: var(--ink-3); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .frame { transform: none; }
  html { scroll-behavior: auto; }
}
