/* ELIoT Energy: EMRS Summer Trial landing page
   Design system matches the ELIoT franchise flyer (V1.00) and eliot-energy.com.au:
   navy bands, lime accents, Space Grotesk headings, Inter body, soft-tinted stat tiles. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #042772;
  --navy-deep: #1A2B4C;
  --lime: #C1FF72;
  --green-onlight: #2E7D32;
  --ink: #0B1730;
  --slate: #64748B;
  --tile: #EEF2F8;
  --bg-light: #F7F9FC;
  --line: #DCE3EE;
  --white: #FFFFFF;
  --err: #C0392B;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(4, 39, 114, 0.06);
  --shadow-md: 0 10px 30px rgba(4, 39, 114, 0.10);

  --font-head: 'Space Grotesk', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1180px;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 76px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; color: var(--navy); letter-spacing: -0.015em; line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.12rem; margin-bottom: .35rem; }
p { color: var(--ink); }
a { color: var(--navy); }
strong { font-weight: 700; }
.muted { color: var(--slate); font-size: .95rem; margin-top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tight { padding-top: 0; }
.bg-light { background: var(--bg-light); }

/* Labels: flyer's uppercase, letter-spaced kicker */
.eyebrow, .label, .nav-tag {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { color: var(--lime); margin-bottom: 1rem; }
.label { color: var(--slate); margin-bottom: .5rem; }

/* Buttons: pill, as on the website */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; text-align: center; padding: .8rem 1.5rem; border: 0; border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #B2F55E; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #06318F; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: .55rem 1.15rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.apply .btn:focus-visible, .apply a:focus-visible { outline-color: var(--navy); }

/* Nav: navy band with white logo, like the flyer header */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.nav-logo img { width: 104px; }
.nav-tag { color: rgba(255,255,255,.85); margin-left: auto; margin-right: 1.5rem; }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-phone { color: var(--white); font-weight: 600; font-size: .92rem; text-decoration: none; }

/* Hero: navy band, white line + lime line */
.hero { background: var(--navy); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { text-wrap: balance; color: var(--white); font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.06; }
.hero h1 .hl { color: var(--lime); }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.12rem; margin: 1.4rem 0 2rem; max-width: 36em; }
.hero-sub strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.hero-meta { color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500; }
.hero-media { position: relative; margin: 0; }
.hero-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3.5; object-fit: cover; width: 100%; }

/* Lime pill tag over photos (flyer "OPTION A" style) */
.tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--lime); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 6px;
}

/* Stat tiles */
.stats { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--tile); border-radius: var(--radius-md); padding: 1.5rem 1.4rem; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.stat-num small, .fig small { font-size: .42em; font-weight: 700; letter-spacing: 0; }
.stat-lbl { display: block; margin-top: .6rem; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.stat-dark { background: var(--navy); }
.stat-dark .stat-num { color: var(--lime); }
.stat-dark .stat-lbl { color: rgba(255,255,255,.9); }

/* Government acknowledgement */
.ack { padding: 2rem 0 0; }
.ack-inner { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 1.6rem; }
.ack p { color: var(--slate); max-width: 34rem; font-size: .95rem; }

/* Two columns: problem + how it works */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.two-col-top { align-items: start; }
.dots { list-style: none; display: grid; gap: 1.1rem; }
.dots li { position: relative; padding-left: 1.4rem; }
.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--navy); }
.dots strong, .steps strong { color: var(--navy); }
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.1rem; }
.steps li { position: relative; padding-left: 2.8rem; counter-increment: step; min-height: 1.9rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.05rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--lime); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; display: grid; place-items: center;
}

/* Outlined callout (flyer "AT YOUR SCALE" box) */
.callout {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
  border: 2px solid var(--navy); border-radius: var(--radius-md); padding: 1.8rem 2rem;
}
.callout-lead { font-size: 1.08rem; }
.callout-lead strong { color: var(--navy); }
.callout-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: right; }
.fig { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); line-height: 1.05; }
.fig-was { color: var(--slate); text-decoration: line-through; text-decoration-thickness: 2px; }
.fig-lbl { display: block; color: var(--slate); font-size: .85rem; margin-top: .25rem; }
.callout-note { margin-top: 1rem; color: var(--green-onlight); font-weight: 600; }

/* Three-up feature row (flyer "No capex / Built to last / Government-backed") */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.features p { color: var(--slate); }

/* Timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.timeline li { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(4,39,114,.06); }
.when {
  display: inline-block; background: var(--lime); color: var(--navy); border-radius: 6px; padding: .2rem .55rem;
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem;
}
.timeline p { color: var(--slate); }

/* Eligibility */
.checks { list-style: none; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--lime); color: var(--navy); font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.checks strong { color: var(--navy); }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--tile); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink); font-size: .96rem; }

/* Apply: lime band, as on the flyer's CTA */
.apply { background: var(--lime); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.form-head p { color: var(--navy); font-size: 1.06rem; }
.contact { margin-top: 2rem; }
.contact p { font-size: .95rem; color: var(--navy); }
.contact a { color: var(--navy); font-weight: 600; }
.form, .success { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, legend { font-weight: 600; font-size: .9rem; color: var(--navy); }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--slate); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(4,39,114,.12); }
.fieldset { border: 0; }
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: .4rem; }
.radio { font-weight: 400; color: var(--ink); display: flex; align-items: center; gap: .4rem; }
.radio input { width: 1.1rem; height: 1.1rem; accent-color: var(--navy); }
.err { display: none; color: var(--err); font-size: .85rem; }
.err.show { display: block; }
.invalid input, .invalid select { border-color: var(--err); }
.gotcha { position: absolute; left: -9999px; }
.form-fine { font-size: .85rem; color: var(--slate); text-align: center; }
.form-status.error { color: var(--err); font-weight: 600; text-align: center; }
.success { text-align: center; }
/* .form sets display:grid, which would override the hidden attribute after a successful submit */
.form[hidden], .success[hidden] { display: none; }
.success-ico {
  width: 3.4rem; height: 3.4rem; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--lime); color: var(--navy); display: grid; place-items: center; font-size: 1.5rem; font-weight: 700;
}
.success p { margin-top: .8rem; }

/* Footer */
.footer { background: var(--navy-deep); padding: 2.6rem 0 2.2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.footer-logo { width: 100px; }
.footer p { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer a { color: var(--white); }
.footnote { font-size: .8rem !important; line-height: 1.55; color: rgba(255,255,255,.6) !important; margin-top: .8rem; max-width: 62rem; }

/* Responsive */
@media (max-width: 1000px) {
  .nav-tag { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .callout { grid-template-columns: 1fr; }
  .callout-figs { text-align: left; }
}
@media (max-width: 860px) {
  .hero-inner, .two-col, .form-wrap { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-phone { display: none; }
  .stats-grid, .timeline, .field-row { grid-template-columns: 1fr; }
  .callout { padding: 1.4rem 1.2rem; }
  .callout-figs { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.2rem; }
  .btn-lg { width: 100%; }
}
