/* ═══════════════════════════════════════════════════════════
   EV SALARY BOOST — page-specific styles
   Layered on top of nz-made-energy.css (the pages.rewiring.nz
   dark-editorial theme). All classes prefixed .esb- so they can be
   appended to the theme stylesheet without collisions.
   ═══════════════════════════════════════════════════════════ */

:root { --esb-green: #6AA84F; --esb-green-soft: #93C47D; --esb-red: #D1443A; }

.topbar-logo.esb-logo { height: 36px; width: auto; filter: brightness(0) invert(1); }
.topbar-nav a.esb-nav-cta { background: var(--yellow); color: var(--dark); margin-left: 6px; }
.topbar-nav a.esb-nav-cta:hover { background: #ffc94d; color: var(--dark); }
.ticker { display: none !important; }

/* ── Hero ─────────────────────────────────────────────── */
.esb-hero {
    position: relative; margin-top: 64px; background: var(--dark); color: var(--white);
    overflow: hidden; padding: 72px 28px 130px; isolation: isolate;
}
.esb-hero::before {
    content: ''; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
    background: radial-gradient(ellipse 60% 70% at 80% 40%, rgba(245,183,49,0.25), transparent 60%);
}
.esb-hero-inner {
    max-width: 1180px; margin: 0 auto; display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center;
}
.esb-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow);
    margin-bottom: 22px;
}
.esb-hero-eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.esb-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 0.98; letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.esb-hero h1 .accent { color: var(--yellow); }
.esb-hero .esb-hero-sub {
    font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.25; color: var(--white); margin-bottom: 18px;
}
.esb-hero p.esb-hero-body { font-size: 1.05rem; line-height: 1.75; color: var(--text-on-dark); max-width: 520px; margin-bottom: 26px; }
.esb-hero-art { position: relative; min-height: 380px; }
.esb-hero-art .esb-art-main { width: 100%; max-width: 620px; display: block; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.45)); }
.esb-hero-art .esb-art-jar { position: absolute; left: -4%; bottom: -6%; width: 34%; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4)); }
.esb-hero-art .esb-art-sparkle { position: absolute; right: 2%; top: 4%; width: 14%; animation: esb-twinkle 2.6s ease-in-out infinite; }
@keyframes esb-twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 0.9 } 50% { transform: scale(1.12) rotate(8deg); opacity: 1 } }
.esb-hero-stamp {
    position: absolute; right: 6%; bottom: 8%;
    background: var(--yellow); color: var(--dark); font-weight: 700; line-height: 1.05;
    padding: 16px 20px; border-radius: var(--squiggle); transform: rotate(-6deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35); text-align: center;
}
.esb-hero-stamp strong { display: block; font-size: 1.9rem; }
.esb-hero-stamp span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.esb-hero-quicknav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.esb-hero-quicknav a {
    font-size: 0.82rem; font-weight: 600; color: var(--text-on-dark); text-decoration: none;
    border: 1px dashed rgba(255,255,255,0.35); border-radius: 999px; padding: 8px 14px; transition: all 0.2s;
}
.esb-hero-quicknav a:hover { color: var(--yellow); border-color: var(--yellow); }
.esb-draft {
    display: inline-block; margin-top: 22px; font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 4px;
}

/* ── Floating stat cards straddling the hero / cream join ─ */
.esb-float-stats { background: var(--cream); padding: 0 28px 20px; position: relative; z-index: 5; }
.esb-stat-cards { margin-top: -84px; max-width: 1120px; }
.esb-stat-cards .stat-card {
    background: var(--white); border: 2px dashed var(--dark); box-shadow: 0 18px 40px rgba(26,60,60,0.18);
    padding: 34px 22px 30px;
}
.esb-stat-cards .stat-val { color: var(--dark); }
.esb-stat-cards .stat-desc { color: var(--text); font-weight: 500; }
.stat-card .stat-sub { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; font-weight: 400; }

/* ── Dark sections: body copy is white ────────────────── */
.section-dark-bg p.body-text, .section-dark-bg .esb-list li, .section-dark-bg .esb-callout,
.esb-result .esb-result-tag, .esb-result .esb-result-sub, .esb-result-lines, .esb-quote cite,
.esb-calc-controls, .policy-text, .esb-workers p { color: var(--white); }
.esb-calc-fine { color: rgba(255,255,255,0.75); }
.esb-range-ticks { color: rgba(255,255,255,0.7); }
.section-dark-bg .esb-fact { background: var(--white); border-color: var(--dark); }
.section-dark-bg .esb-fact .esb-num { color: var(--dark); }
.section-dark-bg .esb-fact p { color: var(--text-muted); }
.section-dark-bg .esb-fact p strong { color: var(--dark); }
.esb-workers { max-width: 820px; margin: 44px auto 0; text-align: center; }
.esb-workers img { width: 100%; max-width: 640px; display: block; margin: 0 auto 22px; }
.esb-workers p { font-size: 1.15rem; line-height: 1.55; max-width: 640px; margin: 0 auto; }
.esb-workers p strong { color: var(--yellow); }
.section-heading { margin-bottom: 18px; }
.section-heading + p.body-text { margin-top: 4px; }
.esb-faq-section.section { padding-top: 72px; }
#asks.section { padding-bottom: 36px; }
#cost .esb-split { margin-top: 20px; }

/* ── Illustrated fact grid ────────────────────────────── */
.container.wide { max-width: 1120px; }
.esb-fact-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px;
}
.esb-fact-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.esb-fact-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.esb-fact {
    background: var(--white); border: 2px dashed var(--dark); border-radius: var(--squiggle);
    padding: 28px 24px 30px; text-align: center; position: relative;
}
.esb-fact:nth-child(odd) { transform: rotate(-0.6deg); }
.esb-fact:nth-child(even) { transform: rotate(0.5deg); }
.esb-fact img { display: block; width: 100%; max-width: 220px; height: 170px; object-fit: contain; margin: 0 auto 16px; }
.esb-fact.tall img { height: 220px; }
.esb-fact .esb-num { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1; color: var(--dark); }
.esb-fact .esb-num small { font-size: 0.55em; font-weight: 600; }
.esb-fact p { font-size: 0.95rem; line-height: 1.55; color: var(--text-muted); margin-top: 10px; }
.esb-fact .esb-tag {
    position: absolute; top: -12px; right: 18px; background: var(--yellow); color: var(--dark);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 999px;
}
.esb-fact .esb-tag.red { background: var(--petrol); color: var(--white); }

/* ── Split feature (big illustration + copy) ──────────── */
.esb-art-card { background: var(--white); border-radius: var(--squiggle); border: 2px dashed var(--dark); padding: 26px 28px; }
.esb-art-card img { max-width: 100%; }
.esb-split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 36px;
}
.esb-split.flip .esb-split-art { order: -1; }
.esb-split-art img { width: 100%; display: block; }
.esb-split-art.padded img { max-width: 520px; margin: 0 auto; }
.esb-split ul.esb-list { list-style: none; margin: 18px 0 0; padding: 0; }
.esb-list li {
    position: relative; padding-left: 34px; margin-bottom: 14px; line-height: 1.6; font-size: 1rem;
}
.esb-list li::before {
    content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a3c3c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section-dark-bg .esb-list li { color: var(--text-on-dark); }
.esb-callout {
    margin-top: 26px; padding: 22px 26px; border-radius: var(--squiggle);
    background: rgba(245,183,49,0.14); border: 2px dashed var(--yellow); font-size: 0.98rem; line-height: 1.65;
}
.section-cream .esb-callout { background: #fff3cf; border-color: var(--yellow); color: var(--dark); }
.esb-callout strong { color: var(--dark); }
.section-dark-bg .esb-callout strong { color: var(--yellow); }

/* ── Steps ────────────────────────────────────────────── */
.esb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; counter-reset: step; }
.esb-step {
    background: var(--white); border-radius: var(--squiggle); border: 2px dashed var(--dark);
    padding: 34px 26px 30px; text-align: center; position: relative;
}
.esb-step:nth-child(1) { transform: rotate(-0.8deg); }
.esb-step:nth-child(2) { transform: rotate(0.6deg); }
.esb-step:nth-child(3) { transform: rotate(-0.4deg); }
.esb-step-num {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--dark);
    font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    border: 3px solid var(--cream);
}
.esb-step img { width: 100%; max-width: 230px; height: 180px; object-fit: contain; margin: 4px auto 14px; display: block; }
.esb-step h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.esb-step p { font-size: 0.93rem; line-height: 1.65; color: var(--text-muted); }

/* ── Persona compare ──────────────────────────────────── */
.esb-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 36px 0 34px; }
.esb-tab {
    font-family: 'Rubik', sans-serif; cursor: pointer; background: var(--white); color: var(--dark);
    border: 2px solid rgba(26,60,60,0.25); border-radius: 20px; padding: 16px 10px 14px; font-weight: 700; font-size: 0.95rem;
    transition: all 0.2s; display: flex; flex-direction: column; align-items: center; gap: 10px; line-height: 1.15; text-align: center;
}
.esb-tab img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: var(--yellow); flex-shrink: 0; border: 3px solid transparent; transition: border-color 0.2s, transform 0.2s; }
.esb-tab span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.esb-tab small { font-weight: 500; font-size: 0.72rem; color: var(--text-muted); line-height: 1.25; }
.esb-tab:hover { border-color: var(--dark); transform: translateY(-2px); }
.esb-tab.active { background: var(--dark); color: var(--white); border-color: var(--dark); box-shadow: 0 12px 26px rgba(26,60,60,0.22); }
.esb-tab.active img { border-color: var(--yellow); transform: scale(1.06); }
.esb-tab.active small { color: var(--yellow); }
.esb-panel { display: none; }
.esb-panel.active { display: block; animation: esb-fade 0.35s ease-out; }
@keyframes esb-fade { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.esb-persona-intro {
    display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; max-width: 820px; margin: 0 auto 30px;
    background: var(--white); border-radius: var(--squiggle); border: 2px dashed rgba(26,60,60,0.35); padding: 18px 24px;
}
.esb-persona-intro .esb-avatar {
    width: 96px; height: 96px; border-radius: 50%; background: var(--yellow); object-fit: cover; border: 3px solid var(--yellow);
}
.esb-persona-intro h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.esb-persona-intro p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
.esb-arena { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.esb-car-card {
    background: var(--white); border-radius: var(--squiggle); border: 3px solid var(--dark);
    padding: 26px 26px 24px; text-align: center; position: relative; display: flex; flex-direction: column;
}
.esb-car-card.ice { border-style: dashed; border-color: rgba(26,60,60,0.5); }
.esb-car-card.ev { border-color: var(--dark); box-shadow: 0 18px 40px rgba(26,60,60,0.15); }
.esb-car-card .esb-car-img { height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.esb-car-card .esb-car-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.esb-car-card .esb-car-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.esb-car-card.ev .esb-car-tag { color: var(--esb-green); }
.esb-car-card h4 { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin: 6px 0 2px; }
.esb-car-card .esb-car-spec { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.esb-car-card .esb-car-price { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.esb-car-card hr { border: 0; border-top: 2px dashed rgba(26,60,60,0.25); margin: 18px 0 14px; }
.esb-car-card .esb-weekly { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-top: auto; }
.esb-car-card .esb-weekly span { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.esb-car-card .esb-weekly strong { font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--dark); }
.esb-car-card.ice .esb-weekly strong { color: var(--petrol-dark); }
.esb-car-card .esb-weekly em { font-style: normal; font-size: 0.85rem; color: var(--text-muted); }
.esb-vs {
    position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 84px; z-index: 2; pointer-events: none;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}
.esb-bolts { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 110px; }
.esb-saving {
    position: absolute; right: -18px; top: -22px; z-index: 3;
    background: var(--yellow); color: var(--dark); border-radius: var(--squiggle); padding: 12px 18px;
    font-weight: 700; line-height: 1.05; transform: rotate(6deg); box-shadow: 0 10px 24px rgba(0,0,0,0.2); text-align: center;
}
.esb-saving strong { display: block; font-size: 1.5rem; }
.esb-saving span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; }
.esb-saving.neutral { background: var(--white); border: 2px dashed var(--dark); }
.esb-breakdown { max-width: 980px; margin: 26px auto 0; }
.esb-breakdown details { border: 2px dashed rgba(26,60,60,0.3); border-radius: 18px; background: rgba(255,255,255,0.6); }
.esb-breakdown summary {
    cursor: pointer; padding: 16px 22px; font-weight: 700; color: var(--dark); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.esb-breakdown summary::-webkit-details-marker { display: none; }
.esb-breakdown summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--yellow); font-weight: 700; }
.esb-breakdown details[open] summary::after { content: '−'; }
.esb-breakdown table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.esb-breakdown th, .esb-breakdown td { padding: 12px 22px; text-align: left; border-top: 1px solid rgba(26,60,60,0.12); }
.esb-breakdown th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 700; }
.esb-breakdown td:nth-child(2) { color: var(--petrol-dark); font-weight: 600; }
.esb-breakdown td:nth-child(3) { color: var(--dark); font-weight: 600; }
.esb-breakdown tr.total td { font-weight: 700; font-size: 1.05rem; background: rgba(245,183,49,0.15); }
.esb-breakdown tr.total td:nth-child(3) { color: var(--esb-green); }
.esb-breakdown td small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }
.esb-breakdown .esb-note { padding: 14px 22px 18px; font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); }
.esb-panel-quote {
    max-width: 780px; margin: 26px auto 0; text-align: center; font-size: 1.1rem; line-height: 1.6; color: var(--dark); font-weight: 500;
}
.esb-panel-quote .hl { color: var(--esb-green); }
.esb-fine { max-width: 820px; margin: 34px auto 0; font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; text-align: center; }

/* ── Calculator ───────────────────────────────────────── */
.esb-calc {
    display: grid; grid-template-columns: 380px 1fr; gap: 36px; margin-top: 40px; align-items: start;
}
.esb-calc-controls { background: rgba(255,255,255,0.05); border: 2px dashed var(--yellow); border-radius: 24px; padding: 28px; }
.esb-calc-controls label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.esb-calc-controls .esb-field { margin-bottom: 24px; }
.esb-calc-controls select {
    width: 100%; font-family: 'Rubik', sans-serif; font-size: 0.95rem; font-weight: 500; padding: 12px 14px; border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2); background: var(--dark); color: var(--white);
}
.esb-range-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.esb-range-row output { font-size: 1.35rem; font-weight: 700; color: var(--white); }
input[type=range].esb-range {
    -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px;
    background: linear-gradient(90deg, var(--yellow) var(--pct, 50%), rgba(255,255,255,0.18) var(--pct, 50%)); outline: none;
}
input[type=range].esb-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--dark); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
input[type=range].esb-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--dark); cursor: pointer; }
.esb-range-ticks { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 6px; }
.esb-calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.esb-result {
    border-radius: var(--squiggle); padding: 26px 24px; text-align: center; border: 3px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.04);
}
.esb-result.ev { border-color: var(--yellow); }
.esb-result .esb-result-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-on-dark); }
.esb-result.ev .esb-result-tag { color: var(--yellow); }
.esb-result h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin: 6px 0 12px; min-height: 2.6em; line-height: 1.3; }
.esb-result .esb-result-val { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1; color: var(--white); }
.esb-result.ice .esb-result-val { color: var(--petrol); }
.esb-result.ev .esb-result-val { color: var(--yellow); }
.esb-result .esb-result-sub { font-size: 0.8rem; color: var(--text-on-dark); margin-top: 8px; }
.esb-result-lines { text-align: left; margin-top: 18px; font-size: 0.85rem; color: var(--text-on-dark); border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 12px; }
.esb-result-lines div { display: flex; justify-content: space-between; padding: 4px 0; }
.esb-result-lines div span:last-child { font-weight: 600; color: var(--white); }
.esb-saving-banner {
    grid-column: 1 / -1; background: var(--yellow); color: var(--dark); border-radius: var(--squiggle); padding: 26px 28px;
    display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
}
.esb-saving-banner .esb-big { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; }
.esb-saving-banner .esb-big small { font-size: 0.4em; font-weight: 600; }
.esb-saving-banner p { font-size: 1rem; line-height: 1.55; font-weight: 500; }
.esb-saving-banner p strong { font-weight: 700; }
.esb-saving-banner.negative { background: var(--white); }
.esb-calc-fine { grid-column: 1 / -1; font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── Option 3 (old dunger) ────────────────────────────── */
.esb-dunger { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; margin-top: 40px; }
.esb-dunger-card { background: var(--white); border: 2px dashed var(--dark); border-radius: var(--squiggle); padding: 30px 28px; text-align: center; }
.esb-dunger-card img { width: 100%; max-width: 300px; height: 190px; object-fit: contain; display: block; margin: 0 auto 12px; }
.esb-dunger-card .esb-num { font-size: 2.4rem; font-weight: 700; color: var(--dark); line-height: 1; }
.esb-dunger-card.bad .esb-num { color: var(--petrol-dark); }
.esb-dunger-card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); margin-top: 10px; }
.esb-dunger-mid { text-align: center; width: 170px; }
.esb-dunger-mid img { width: 100%; }
.esb-dunger-mid p { font-weight: 700; color: var(--dark); line-height: 1.2; }
.esb-dunger-mid p strong { display: block; font-size: 1.8rem; color: var(--esb-green); }

/* ── Policy asks (uses theme .policy-card) ────────────── */
.policy-img.contain { background-size: 78%; background-repeat: no-repeat; background-position: center; background-color: rgba(255,255,255,0.03); }
.policy-img.contain::after { display: none; }

/* ── Employers ────────────────────────────────────────── */
.esb-employer-cta {
    margin-top: 44px; background: var(--dark); color: var(--white); border-radius: 28px; padding: 40px 44px;
    display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.esb-employer-cta h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.esb-employer-cta p { color: var(--text-on-dark); line-height: 1.65; max-width: 560px; }
.esb-employer-cta .nzme-pill-btns { margin-top: 0; }
.nzme-pill-btn.on-dark-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.nzme-pill-btn.on-dark-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ── FAQ ──────────────────────────────────────────────── */
.esb-faq { max-width: 860px; margin: 28px 0 0; }
.esb-faq details { border-bottom: 1px dashed rgba(26,60,60,0.3); }
.esb-faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; color: var(--dark); list-style: none; position: relative; }
.esb-faq summary::-webkit-details-marker { display: none; }
.esb-faq summary::after { content: '+'; position: absolute; right: 0; top: 16px; font-size: 1.6rem; color: var(--yellow); }
.esb-faq details[open] summary::after { content: '−'; }
.esb-faq .esb-answer { padding: 0 0 22px; font-size: 0.98rem; line-height: 1.75; color: var(--text); max-width: 760px; }
.esb-faq .esb-answer p + p { margin-top: 10px; }

/* ── Quote ────────────────────────────────────────────── */
.esb-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.esb-quote img { width: 110px; margin: 0 auto 14px; display: block; }
.esb-quote blockquote { font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 600; line-height: 1.35; color: var(--white); }
.esb-quote blockquote .hl { color: var(--yellow); }
.esb-quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.85rem; color: var(--text-on-dark); letter-spacing: 1px; text-transform: uppercase; }

/* ── Footer CTA row ───────────────────────────────────── */
.cta-section .esb-cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-btn.ghost { background: transparent; color: var(--dark); }
.cta-btn.ghost:hover { background: var(--dark); color: var(--yellow); }
footer .esb-footer-logo { height: 28px; filter: brightness(0) invert(1); opacity: 0.85; }
footer .esb-footer-links { margin-top: 12px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
footer .esb-footer-links a { color: var(--text-on-dark); font-size: 12px; text-decoration: none; }
footer .esb-footer-links a:hover { color: var(--yellow); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1000px) {
    .esb-fact-grid { grid-template-columns: repeat(2, 1fr); }
    .esb-tabs { grid-template-columns: repeat(3, 1fr); }
    .esb-calc { grid-template-columns: 1fr; }
    .esb-employer-cta { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .esb-hero-inner { grid-template-columns: 1fr; }
    .esb-hero-art { min-height: 0; margin-top: 10px; padding-bottom: 64px; }
    .esb-hero-art .esb-art-jar { display: none; }
    .esb-hero-stamp { bottom: 0; right: 4%; padding: 12px 16px; }
    .esb-hero-stamp strong { font-size: 1.5rem; }
    .esb-split, .esb-split.flip { grid-template-columns: 1fr; }
    .esb-split.flip .esb-split-art { order: 0; }
    .esb-steps { grid-template-columns: 1fr; gap: 34px; }
    .esb-step { transform: none !important; }
    .esb-arena { grid-template-columns: 1fr; gap: 50px; }
    .esb-vs { top: 50%; width: 64px; }
    .esb-saving { right: 6px; }
    .esb-calc-results { grid-template-columns: 1fr; }
    .esb-dunger { grid-template-columns: 1fr; }
    .esb-dunger-mid { width: 100%; }
    .esb-dunger-mid img { max-width: 170px; }
}
@media (max-width: 600px) {
    .section-heading br { display: none; }
    .esb-hero { margin-top: 56px; padding: 44px 16px 110px; }
    .esb-hero h1 { font-size: 2.6rem; }
    .esb-hero-quicknav a { font-size: 0.76rem; padding: 7px 12px; }
    .esb-draft { font-size: 0.62rem; letter-spacing: 0.6px; }
    .esb-float-stats { padding: 0 16px 10px; }
    .esb-stat-cards { grid-template-columns: 1fr 1fr !important; gap: 12px; margin-top: -70px; }
    .esb-stat-cards .stat-card { padding: 22px 12px 20px; }
    .esb-stat-cards .stat-val { font-size: 1.9rem; }
    .esb-stat-cards .stat-desc { font-size: 0.82rem; }
    .esb-stat-cards .stat-sub { font-size: 0.72rem; }
    .esb-tabs { gap: 8px; }
    .esb-tab { padding: 12px 6px 10px; font-size: 0.82rem; border-radius: 16px; gap: 8px; }
    .esb-tab img { width: 48px; height: 48px; }
    .esb-tab small { font-size: 0.64rem; }
    .esb-arena { gap: 44px; }
    .esb-saving { right: 4px; top: -18px; padding: 10px 14px; }
    .esb-saving strong { font-size: 1.25rem; }
    .esb-car-card { padding: 22px 18px 20px; }
    .esb-car-card .esb-car-img { height: 150px; }
    .esb-dunger-mid img { max-width: 130px; }
    .esb-dunger-card img { height: 150px; }
    .esb-faq summary { font-size: 0.98rem; }
    .esb-quote blockquote { font-size: 1.2rem; }
    .esb-fact-grid, .esb-fact-grid.cols-3, .esb-fact-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
    .esb-fact { transform: none !important; padding: 18px 12px 20px; }
    .esb-fact img { height: 110px; margin-bottom: 10px; }
    .esb-fact .esb-num { font-size: 1.5rem; }
    .esb-fact p { font-size: 0.8rem; line-height: 1.45; }
    .esb-fact .esb-tag { font-size: 0.6rem; right: 10px; }
    .esb-saving-banner { grid-template-columns: 1fr; gap: 10px; text-align: center; padding: 22px 20px; }
    .esb-steps { gap: 30px; margin-top: 36px; }
    .esb-split { gap: 28px; }
    .esb-split-art.padded img { max-width: 260px; }
    .esb-persona-intro { grid-template-columns: 1fr; text-align: center; }
    .esb-persona-intro .esb-avatar { margin: 0 auto; }
    .esb-employer-cta { padding: 28px 22px; }
    .esb-breakdown th, .esb-breakdown td { padding: 10px 12px; font-size: 0.85rem; }
}

/* ── How-it-works flow diagram ────────────────────────── */
.esb-flow { max-width: 1120px; margin: 30px auto 0; }
.esb-flow-svg { width: 100%; height: auto; display: block; font-family: 'Rubik', sans-serif; }
.esb-flow-node rect { fill: var(--white); stroke: var(--dark); stroke-width: 2.5; stroke-dasharray: 7 6; }
.esb-flow-node-you rect { stroke-dasharray: none; stroke-width: 3; }
.esb-flow-title { font-size: 21px; font-weight: 700; fill: var(--dark); }
.esb-flow-sub { font-size: 14.5px; fill: var(--text-muted); }
.esb-flow-label { font-size: 18px; font-weight: 700; fill: var(--dark); }
.esb-flow-dollar { font-size: 15px; font-weight: 700; fill: var(--dark); }
.esb-flow-list { display: none; }
@media (max-width: 760px) {
    .esb-flow-svg { display: none; }
    .esb-flow-list { display: block; list-style: none; padding: 0; margin: 10px 0 0; counter-reset: flow; }
    .esb-flow-list li {
        position: relative; padding: 16px 18px 16px 58px; margin-bottom: 12px; background: var(--white);
        border: 2px dashed var(--dark); border-radius: 18px; line-height: 1.55; font-size: 0.95rem; counter-increment: flow;
    }
    .esb-flow-list li::before {
        content: counter(flow); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
        background: var(--yellow); color: var(--dark); font-weight: 700; display: flex; align-items: center; justify-content: center;
    }
}

.esb-flow-num { font-size: 15px; font-weight: 700; fill: var(--dark); }
.esb-flow-strong { font-weight: 600; fill: var(--dark); }
.esb-flow-lane { font-size: 12px; font-weight: 700; letter-spacing: 3px; fill: var(--text-muted); }

/* flow: dropdown detail cards + popping illustrations */
.esb-flow { max-width: 1260px; padding: 34px 30px 60px; }
.esb-flow-svg .esb-flow-title { font-size: 25px; }
.esb-flow-svg .esb-flow-sub { font-size: 16.5px; }
.esb-flow-svg .esb-flow-num { font-size: 16px; }
.esb-flow-svg { overflow: visible; }
.esb-flow-node { cursor: pointer; outline: none; }
.esb-flow-node rect { transition: fill 0.2s, stroke 0.2s; }
.esb-flow-node:focus-visible rect, .esb-flow-node.open rect { fill: #fff3cf; stroke-dasharray: none; }
.esb-flow-chev circle { fill: var(--yellow); }
.esb-flow-chev path { fill: none; stroke: var(--dark); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; transform-box: fill-box; transform-origin: center; }
.esb-flow-node.open .esb-flow-chev path { transform: rotate(180deg); }
.esb-flow-pop { filter: drop-shadow(0 8px 10px rgba(26,60,60,0.22)); }
.esb-flow-tip { opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; transform: translateY(-4px); pointer-events: none; }
.esb-flow-tip rect { fill: var(--dark); }
.esb-flow-tiptext { font-size: 16.5px; fill: var(--white); }
.esb-flow-tip.open { opacity: 1; transform: none; }
.esb-flow-svg .esb-flow-label { font-size: 17px; letter-spacing: 0.4px; }
