/* Baseload Energy Partners: site styles v9, direction C "industrial navy". No framework, no build step.
   Gold is used only for the hero load line, the primary button (.btn) and the BEP bar of the calculator comparison. */
:root {
  --navy: #112B46;
  --deep: #0B1E31;
  --gold: #E8A33C;
  --ink: #17212D;
  --muted: #4A5566;
  --line: #D5D8DF;
  --paper: #FFFFFF;
  --t2: #BFCAD7;
  --rule: rgba(255, 255, 255, 0.18);
  --gutter: 16px;
  --max: 1160px;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--navy); color: #fff;
  font-family: var(--font); font-size: 17px; line-height: 1.55; overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #fff; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 1px; }
.ground-paper :focus-visible, .lead-form :focus-visible { outline-color: var(--navy); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 40px; } }

/* Type: one family, hierarchy from size and weight only */
h1, h2, h3 { font-family: var(--font); color: inherit; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; max-width: 17ch; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; letter-spacing: -0.015em; max-width: 30ch; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
.h-quiet { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--t2); max-width: none; }
.lead { font-size: 1.1rem; color: var(--t2); max-width: 40ch; }

/* Header */
.site-header { background: var(--navy); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img, .brand svg { width: 196px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; font: 600 0.95rem var(--font); color: #fff; background: none; border: 1px solid var(--rule); padding: 9px 12px; cursor: pointer; border-radius: 1px; }
.nav-toggle-lines { display: inline-block; width: 16px; height: 10px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.nav-toggle-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid #fff; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--rule); }
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.site-nav a { display: block; padding: 10px 0; text-decoration: none; font-weight: 500; color: #DCE4EC; }
.site-nav a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; border: 0; }
  .site-nav ul { display: flex; gap: 28px; padding: 0; align-items: center; }
  .site-nav a { padding: 6px 0; font-size: 0.95rem; }
  .site-nav .lang { margin-left: 8px; }
  .site-nav .lang a { border: 1px solid var(--rule); padding: 6px 12px; }
}
@media (max-width: 420px) { .brand img, .brand svg { width: 160px; } }

/* Grounds */
section { padding: 56px 0; scroll-margin-top: 12px; }
@media (max-width: 719px) { section { padding: 40px 0; } }
.ground-deep { background: var(--deep); }
.ground-paper { background: var(--paper); color: var(--ink); }
.ground-paper h2, .ground-paper h3 { color: var(--navy); }
.section-head { margin-bottom: 28px; }
.section-head p { margin-top: 12px; max-width: 60ch; color: var(--t2); font-size: 1.05rem; }
.ground-paper .section-head p { color: var(--muted); }

/* Hero: headline, lead and action, one gold load line */
.hero { padding: 64px 0 0; }
.hero-under { display: grid; gap: 28px; margin-top: 32px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero-pos { color: var(--t2); font-size: 0.98rem; max-width: 34ch; }
.loadline { display: block; height: 12px; background: var(--gold); margin-top: 48px; }
@media (min-width: 900px) { .hero-under { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; } .hero-actions { padding-left: 14%; } }
@media (max-width: 719px) { .hero { padding-top: 40px; } .hero-under { margin-top: 22px; } .loadline { height: 10px; margin-top: 36px; } }

/* Buttons: .btn is the primary (gold) */
.btn { display: inline-block; background: var(--gold); color: var(--navy); text-decoration: none; font: 700 1rem var(--font); padding: 15px 28px; border: 0; border-radius: 1px; cursor: pointer; }
.btn:hover { background: #F0B65E; color: var(--navy); }
.btn-light { background: var(--gold); color: var(--navy); }

/* Proof: three figures, hairline rule, no boxes */
section.proof { padding: 40px 0 44px; }
.proof-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; border-top: 1px solid var(--rule); }
.proof-list li { padding-top: 18px; }
.proof-list strong { display: block; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: -0.01em; line-height: 1.15; }
.proof-list span { display: block; margin-top: 6px; color: var(--t2); font-size: 0.98rem; }
@media (min-width: 820px) { .proof-list { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Calculator: ruled input list, one dominant number, two-bar comparison */
.calc-sec h2 { max-width: 34ch; }
.calc { display: grid; gap: 36px; }
@media (min-width: 900px) { .calc { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.calc-in { display: grid; gap: 0; border-top: 1px solid var(--rule); align-content: start; }
.calc-in .calc-field { padding: 14px 0; border-bottom: 1px solid var(--rule); min-width: 0; margin: 0; }
.calc-field label, .calc-flabel { display: block; font-weight: 500; font-size: 0.95rem; color: var(--t2); margin-bottom: 8px; }
.calc-note-i { font-weight: 400; color: var(--t2); font-size: 0.85rem; }
.calc-field select, .calc-field input[type=text] {
  width: 100%; font: 500 1.05rem var(--font); color: #fff; background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 1px; padding: 9px 12px; min-height: 44px;
}
.calc-field select option { color: #fff; background: var(--deep); }
.calc-range { display: grid; grid-template-columns: 1fr 84px; gap: 14px; align-items: center; }
.calc-range input[type=range] { width: 100%; accent-color: #fff; min-height: 32px; }
.calc-note { font-size: 0.85rem; color: var(--t2); margin-top: 6px; }
.calc-line { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; }
.calc-line input[type=text] { width: 68px; flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.calc-line .chips { margin-top: 0; }
.chip { font: 500 0.92rem var(--font); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 1px; padding: 6px 10px; min-height: 40px; cursor: pointer; }
.chip:hover { border-color: #fff; }
.chip[aria-pressed=true] { background: #fff; color: var(--navy); border-color: #fff; }

.calc-out { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.calc-badge { align-self: flex-start; font: 600 1.05rem var(--font); padding: 5px 12px; border-radius: 1px; background: #fff; color: var(--navy); }
.calc-badge[data-verdict=depende], .calc-badge[data-verdict=no], .calc-badge[data-verdict=probable_no] { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.calc-label { font-size: 0.95rem; color: var(--t2); }
.calc-dayrow p { color: #fff; }
.calc-dayrow strong { font-weight: 600; }
.calc-part { display: grid; gap: 6px; }
.calc-num { font-weight: 600; line-height: 1; margin: 0; overflow-wrap: anywhere; }
#calc-x { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
.calc-pct { font-size: 1.35rem; letter-spacing: -0.01em; margin-top: 4px; }
.cmp { display: grid; grid-template-columns: 64px 1fr; gap: 10px 14px; align-items: center; margin-top: 10px; }
.cmp-t { font-size: 0.9rem; color: var(--t2); }
.cmp-bar { display: flex; height: 14px; }
.cmp-bar i { display: block; height: 100%; background: rgba(255, 255, 255, 0.3); }
.cmp-bep i { background: var(--gold); }
.cmp-bep i.cmp-x { background: rgba(232, 163, 60, 0.42); }
.calc-small { display: grid; gap: 6px; font-size: 0.92rem; color: var(--t2); border-top: 1px solid var(--rule); padding-top: 12px; }
.calc-small span { color: #fff; font-weight: 600; }
.calc-out .btn { align-self: flex-start; }
.calc-honest { color: var(--t2); font-size: 0.82rem; }
.calc [hidden], .lead-form [hidden] { display: none !important; }
.calc-ex { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); max-width: 75ch; color: var(--t2); font-size: 0.98rem; }
.calc-how { margin-top: 14px; max-width: 75ch; }
.calc-how summary { cursor: pointer; font-weight: 600; color: #fff; }
.calc-how p { margin-top: 10px; color: var(--t2); font-size: 0.95rem; }

/* How it works: four steps across hairline rules */
.how-band .section-head { margin-bottom: 8px; }
.steps-block { margin-top: 0; }
.steps-h3 { display: block; margin: 0 0 22px; font-size: 1.05rem; font-weight: 500; color: var(--t2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 500 1.1rem/1.3 var(--font); color: var(--t2); font-variant-numeric: tabular-nums; }
.steps p { color: var(--t2); margin-top: 6px; max-width: 46ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: start; }
  .steps li { padding: 48px 0 0; }
  .steps li::before { top: 14px; }
  .steps li h3 { min-height: 2.6em; }
}
.how-get { margin-top: 28px; max-width: 75ch; color: #fff; }
.how-gas { margin-top: 10px; max-width: 75ch; color: var(--t2); }

/* Who it is for: a plain ruled list */
section.who-band { padding: 0 0 48px; }
.who-band .wrap > .h-quiet { border-top: 1px solid var(--rule); padding-top: 28px; }
.sector-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.sector-list li { font-size: 1rem; }
@media (min-width: 820px) { .sector-list { grid-template-columns: repeat(4, 1fr); } }

/* Who we are + FAQ: light ground for reading */
.team-list { margin: 0; padding: 0 0 0 1.1em; max-width: 72ch; display: grid; gap: 6px; }
.team-list li::marker { color: var(--navy); }
.faq-sec { border-top: 1px solid var(--line); }
.faq-d { max-width: 80ch; border-top: 1px solid var(--line); }
.faq-d details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-d summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.faq-d p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* Contact: navy ground, form on white */
.on-navy { background: var(--navy); color: #fff; }
.contact .wrap { display: grid; gap: 36px; }
.contact .lead { margin-top: 16px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.lead-form { background: var(--paper); color: var(--ink); padding: 28px 24px; display: grid; gap: 18px; border-radius: 1px; scroll-margin-top: 16px; }
@media (min-width: 900px) { .lead-form { padding: 36px 32px; } }
.lf-field label { display: block; font-weight: 600; font-size: 0.98rem; color: var(--navy); margin-bottom: 8px; }
.lf-field .opt { font-weight: 400; font-size: 0.88rem; color: var(--muted); }
.lf-field input, .lf-field select, .lf-field textarea { width: 100%; font: 500 1.05rem var(--font); color: var(--ink); background: #fff; border: 1px solid #8A94A4; border-radius: 1px; padding: 10px 12px; min-height: 46px; }
.lf-field textarea { resize: vertical; min-height: 104px; }
.lf-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .lf-row { grid-template-columns: 1fr 1fr; } }
.lead-form .btn { justify-self: start; }
.lf-privacy { font-size: 0.88rem; color: var(--muted); }
.lf-sum { background: #EEF1F5; color: var(--navy); padding: 10px 12px; font-size: 0.95rem; }
.lf-anchor { display: block; position: relative; top: -80px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer: normal padding (Netlify badge is off) */
.site-footer { background: var(--deep); color: var(--t2); padding: 36px 0; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer img, .site-footer svg.logo { width: 180px; height: auto; }
.site-footer a { color: #fff; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.footer-meta .tagline { font-weight: 600; color: #fff; }

/* 404 and thank-you pages */
.notfound { padding: 88px 0 96px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.notfound p { margin-top: 18px; color: var(--t2); max-width: 52ch; }
.notfound .btn { margin-top: 28px; }
.ty-h2 { font-size: 1.15rem; margin-top: 28px; }
.ty-prep { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--t2); }
.ty-got { margin-top: 16px; font-size: 0.95rem; color: var(--t2); }
