:root {
  --green-900: #134e4a;
  --green-800: #115e59;
  --green-700: #0f766e;
  --green-600: #0d9488;
  --green-500: #14b8a6;
  --green-400: #2dd4bf;
  --green-100: #ccfbf1;
  --green-50: #f0fdfa;
  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --red-600: #dc2626;
  --red-100: #fee2e2;
  --red-50: #fef2f2;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--slate-900); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
img { max-width: 100%; height: auto; }

/* Layout */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* Navigation */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 64px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--green-800);
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a, .nav-links button {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
  color: var(--slate-700); padding: 8px 14px; border-radius: var(--radius-sm);
  background: none; border: none; cursor: pointer; transition: all 0.2s;
}
.nav-links a:hover, .nav-links button:hover { background: var(--slate-100); color: var(--green-700); }
.nav-links .btn-calc {
  background: var(--green-700); color: var(--white); font-weight: 600;
}
.nav-links .btn-calc:hover { background: var(--green-600); color: var(--white); }
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  align-items: center; justify-content: center; color: var(--slate-700);
}
.mobile-toggle:hover { background: var(--slate-100); }
.mobile-menu {
  display: none; position: absolute; top: 64px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--slate-200);
  padding: 16px 24px; box-shadow: var(--shadow-lg);
}
.mobile-menu a, .mobile-menu button {
  display: block; width: 100%; text-align: left;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  color: var(--slate-700); padding: 12px 16px; border-radius: var(--radius-sm);
  background: none; border: none; cursor: pointer;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--slate-100); }
.mobile-menu .btn-calc { background: var(--green-700); color: var(--white); text-align: center; margin-top: 8px; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu.open { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-600); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--white); color: var(--green-700); border: 2px solid var(--green-700); }
.btn-secondary:hover { background: var(--green-50); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

/* Cards */
.card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--slate-200); transition: all 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--slate-300); }
.card-green { background: var(--green-50); border-color: var(--green-400); }

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; font-weight: 600; padding: 4px 10px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.03em;
}
.badge-green { background: var(--green-100); color: var(--green-800); }
.badge-amber { background: var(--amber-100); color: var(--amber-600); }
.badge-red { background: var(--red-100); color: var(--red-600); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white); padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  border-radius: 50%; background: rgba(255,255,255,0.03);
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  border-radius: 50%; background: rgba(255,255,255,0.02);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: var(--white); }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 1;
  display: flex; gap: 48px; margin-top: 64px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; display: block; }
.hero-stat .label { font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 768px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .lead-options-grid { grid-template-columns: 1fr !important; }
}

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid .card { text-align: center; padding: 40px 28px; }
.feature-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.feature-grid h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-grid p { font-size: 0.95rem; color: var(--slate-500); }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Path Cards */
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.path-card {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  border: 2px solid var(--slate-200); cursor: pointer; transition: all 0.25s;
  text-align: center;
}
.path-card:hover { border-color: var(--green-500); box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.path-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.path-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.path-card p { color: var(--slate-500); margin-bottom: 20px; }
.path-card ul { text-align: left; list-style: none; margin-bottom: 20px; }
.path-card li { padding: 6px 0; font-size: 0.9rem; }
.path-card li::before { content: '\2713\0020'; color: var(--green-600); font-weight: 700; }

@media (max-width: 768px) {
  .path-grid { grid-template-columns: 1fr; }
}

/* Section headers */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: var(--slate-500); }

/* Calculator */
.calc-wrapper {
  max-width: 720px; margin: 0 auto; padding: 0 24px;
}
.calc-progress {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.calc-step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; border: 2px solid var(--slate-300);
  color: var(--slate-500); background: var(--white); transition: all 0.3s;
}
.calc-step-dot.active { border-color: var(--green-600); background: var(--green-600); color: var(--white); }
.calc-step-dot.done { border-color: var(--green-600); background: var(--green-100); color: var(--green-700); }
.calc-step-line { width: 32px; height: 2px; background: var(--slate-300); }
.calc-step-line.done { background: var(--green-500); }

.calc-card {
  background: var(--white); border-radius: var(--radius); padding: 40px;
  border: 1px solid var(--slate-200); box-shadow: var(--shadow-lg);
}
.calc-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.calc-card .subtitle { color: var(--slate-500); margin-bottom: 28px; }

.form-group { margin-bottom: 24px; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--slate-900); }
.form-hint { font-size: 0.8rem; color: var(--slate-500); margin-bottom: 8px; }

/* Option pills */
.option-group { display: flex; flex-wrap: wrap; gap: 10px; }
.option-pill {
  padding: 10px 18px; border-radius: 100px; border: 2px solid var(--slate-200);
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
  background: var(--white); color: var(--slate-700);
}
.option-pill:hover { border-color: var(--green-400); background: var(--green-50); }
.option-pill.selected { border-color: var(--green-600); background: var(--green-100); color: var(--green-800); }

/* Range slider */
.range-wrap { position: relative; }
.range-wrap input[type="range"] {
  width: 100%; height: 6px; -webkit-appearance: none; appearance: none;
  background: var(--slate-200); border-radius: 3px; outline: none;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-600); cursor: pointer; border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}
.range-value {
  text-align: center; font-size: 1.5rem; font-weight: 700;
  color: var(--green-800); margin-bottom: 8px; font-family: var(--font-display);
}

/* Input field */
.form-input {
  width: 100%; padding: 12px 16px; border: 2px solid var(--slate-200);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-body);
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--green-500); }

/* Results */
.compliance-status {
  padding: 24px; border-radius: var(--radius-sm); margin-bottom: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.compliance-status.green { background: var(--green-50); border: 1px solid var(--green-400); }
.compliance-status.amber { background: var(--amber-50); border: 1px solid var(--amber-600); }
.compliance-status.red { background: var(--red-50); border: 1px solid var(--red-600); }
.compliance-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.compliance-status h3 { font-size: 1.15rem; margin-bottom: 4px; }
.compliance-status p { font-size: 0.9rem; }

.upgrade-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.upgrade-table th {
  text-align: left; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500);
  padding: 10px 12px; border-bottom: 2px solid var(--slate-200);
}
.upgrade-table td {
  padding: 14px 12px; border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem; vertical-align: top;
}
.upgrade-table tr:last-child td { border-bottom: none; }
.upgrade-name { font-weight: 600; color: var(--slate-900); }
.upgrade-desc { font-size: 0.8rem; color: var(--slate-500); margin-top: 2px; }
.cost-strike { text-decoration: line-through; color: var(--slate-400); font-size: 0.85rem; }
.cost-net { font-weight: 700; color: var(--green-700); }
.savings-val { color: var(--green-700); font-weight: 600; }

.summary-totals {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0;
}
.summary-box {
  background: var(--slate-50); border-radius: var(--radius-sm); padding: 20px; text-align: center;
}
.summary-box .num {
  font-family: var(--font-display); font-size: 1.8rem; color: var(--green-800); display: block;
}
.summary-box .label { font-size: 0.8rem; color: var(--slate-500); margin-top: 4px; }
.summary-box.highlight { background: var(--green-50); border: 1px solid var(--green-400); }

.calc-actions { display: flex; gap: 12px; margin-top: 32px; justify-content: space-between; }
.calc-actions .btn { min-width: 140px; }

@media (max-width: 600px) {
  .calc-card { padding: 24px; }
  .upgrade-table { font-size: 0.8rem; }
  .upgrade-table th, .upgrade-table td { padding: 8px 6px; }
  .summary-totals { grid-template-columns: 1fr; }
  .calc-actions { flex-direction: column; }
  .calc-actions .btn { width: 100%; }
}

/* Content Pages */
.page-header {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--white); padding: 64px 0 48px; text-align: center;
}
.page-header h1 { font-size: 2.5rem; color: var(--white); margin-bottom: 12px; }
.page-header p { font-size: 1.15rem; opacity: 0.85; max-width: 560px; margin: 0 auto; }

.content-body { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.content-body h2 { font-size: 1.6rem; margin: 40px 0 16px; padding-top: 16px; }
.content-body h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.content-body p { margin-bottom: 16px; }
.content-body ul, .content-body ol { margin: 12px 0 20px 24px; }
.content-body li { margin-bottom: 8px; }

.callout {
  padding: 24px; border-radius: var(--radius-sm); margin: 24px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.callout-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; line-height: 1; }
.callout-amber { background: var(--amber-50); border-left: 4px solid var(--amber-600); }
.callout-red { background: var(--red-50); border-left: 4px solid var(--red-600); }
.callout-green { background: var(--green-50); border-left: 4px solid var(--green-600); }
.callout h4 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; color: var(--slate-900); }
.callout p { font-size: 0.9rem; margin-bottom: 0; }

.timeline { margin: 28px 0; }
.timeline-item {
  display: flex; gap: 20px; padding: 20px 0;
  border-bottom: 1px solid var(--slate-100);
}
.timeline-date {
  flex-shrink: 0; width: 120px; font-weight: 700; font-size: 0.85rem;
  color: var(--green-700); padding-top: 2px;
}
.timeline-content h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.timeline-content p { font-size: 0.9rem; color: var(--slate-500); margin-bottom: 0; }

/* Rebate Cards */
.rebate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 24px 0; }
.rebate-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 28px; transition: all 0.2s;
}
.rebate-card:hover { box-shadow: var(--shadow-md); }
.rebate-card .amount {
  font-family: var(--font-display); font-size: 1.8rem; color: var(--green-700);
  display: block; margin-bottom: 4px;
}
.rebate-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.rebate-card p { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 0; }

@media (max-width: 768px) {
  .rebate-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.8rem; }
  .timeline-item { flex-direction: column; gap: 4px; }
  .timeline-date { width: auto; }
}

/* B2B / Tradies Page */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.pricing-card {
  background: var(--white); border: 2px solid var(--slate-200);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  position: relative; transition: all 0.2s;
}
.pricing-card.featured { border-color: var(--green-600); }
.pricing-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green-600); color: var(--white); font-size: 0.7rem; font-weight: 700;
  padding: 4px 16px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.pricing-card .price {
  font-family: var(--font-display); font-size: 2.5rem; color: var(--green-800);
}
.pricing-card .price-period { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 20px; display: block; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--slate-100);
  display: flex; align-items: flex-start; gap: 8px;
}
.pricing-features li::before { content: '\2713'; color: var(--green-600); font-weight: 700; flex-shrink: 0; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Footer */
footer {
  background: var(--slate-900); color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.3rem; color: var(--white);
  margin-bottom: 12px; display: flex; align-items: center;
}
.footer-desc { font-size: 0.9rem; line-height: 1.6; }
footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
footer li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; font-size: 0.8rem; text-align: center;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Lead form */
.lead-form-section {
  background: var(--green-50); border: 2px solid var(--green-400);
  border-radius: var(--radius); padding: 32px; margin-top: 24px;
}
.lead-form-section h3 { font-size: 1.3rem; margin-bottom: 4px; }
.lead-form-section .form-subtitle { color: var(--slate-500); font-size: 0.95rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; cursor: pointer; }
.form-check input { accent-color: var(--green-600); width: 18px; height: 18px; }
.privacy-note { font-size: 0.8rem; color: var(--slate-500); margin-top: 16px; display: flex; align-items: flex-start; gap: 6px; }
.privacy-note strong { color: var(--slate-700); }

/* Lead option icon */
.lead-option-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--slate-100); flex-shrink: 0; transition: background 0.2s;
}
.lead-option-icon.icon-active { background: var(--green-600); }

/* Success State */
.success-card {
  text-align: center; padding: 48px;
}
.success-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.success-card h2 { margin-bottom: 12px; }
.success-card p { color: var(--slate-500); max-width: 480px; margin: 0 auto 24px; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white); padding: 64px 0; text-align: center;
}
.cta-banner h2 { font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.cta-banner p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Responsive table wrapper */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Fade transitions */
[x-cloak] { display: none !important; }