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

:root {
  --charcoal: #1C2B3A;
  --teal: #2D7D9A;
  --teal-dark: #1F6682;
  --teal-light: #E8F5FA;
  --teal-mid: #C2E0EC;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --border: #E8ECF0;
  --border-soft: #EDF0F4;
  --text-muted: #8896A4;
  --text-body: #4A5A6A;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Nav ─────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) opacity(0.85);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--teal);
}

.nav-link-active {
  color: var(--teal);
  font-weight: 600;
}

/* ─── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 13px 26px;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(45, 125, 154, 0.3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 14px rgba(45, 125, 154, 0.4);
  transform: translateY(-1px);
}

.btn-sm {
  background: var(--charcoal);
  color: var(--white);
  padding: 9px 18px;
  font-size: 13px;
}

.btn-sm:hover {
  background: #2a3f52;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 15px;
}

/* ─── Badges ──────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid var(--teal-mid);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-white {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.6);
  color: var(--teal-dark);
}

.badge-spaced {
  margin-bottom: 20px;
}

/* ─── Hero ────────────────────────────────────────────── */

.hero {
  padding: 96px 0 88px;
  background: linear-gradient(150deg, #EEF8FC 0%, #F7FBFD 40%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45,125,154,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 660px;
  position: relative;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--charcoal);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-note-tight {
  display: block;
  margin-top: 4px;
}

/* ─── Stats ───────────────────────────────────────────── */

.stats {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-soft);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 16px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── How it works ────────────────────────────────────── */

.how-it-works {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
}

.section-header {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 60px;
}

h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
}

.section-sub-left {
  text-align: left;
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-mid);
  padding: 0 6px;
  margin-top: 56px;
  flex-shrink: 0;
  align-self: flex-start;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: var(--teal);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(45, 125, 154, 0.28);
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ─── Updates / Newsletter ────────────────────────────── */

.updates {
  padding: 96px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.updates-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.updates-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.updates-header h2 {
  margin-bottom: 8px;
}

.updates-subscribe-btn {
  flex-shrink: 0;
  margin-bottom: 4px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.article-tag--regulatory {
  background: #FEF3C7;
  color: #92400E;
}

.article-tag--guide {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.article-tag--industry {
  background: #EDE9FE;
  color: #5B21B6;
}

.article-date {
  font-size: 12px;
  color: var(--text-muted);
}

.article-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  letter-spacing: -0.015em;
  flex: 1;
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.65;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.15s ease;
}

.article-link:hover {
  gap: 9px;
}

/* ─── Lead Capture ────────────────────────────────────── */

.qualify {
  padding: 96px 0;
  background: linear-gradient(160deg, #D6EFF7 0%, #E8F5FA 50%, #EEF8FC 100%);
  border-top: 1px solid var(--teal-mid);
  border-bottom: 1px solid var(--teal-mid);
  position: relative;
  overflow: hidden;
}

.qualify::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,125,154,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.qualify-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
  position: relative;
}

.qualify-header h2 {
  margin-bottom: 12px;
}

.qualify-header p {
  font-size: 15px;
  color: var(--text-body);
}

.form-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 44px 44px 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.8);
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: #B0BDCA;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 125, 154, 0.12);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238896A4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea {
  resize: vertical;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 52px 0 32px;
}

.form-success.hidden {
  display: none;
}

#lead-form.hidden {
  display: none;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(45, 125, 154, 0.35);
}

.form-success h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ─── Why us ──────────────────────────────────────────── */

.why-us {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-soft);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-content h2 {
  margin-bottom: 18px;
}

.why-us-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

.why-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--charcoal);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  font-weight: 500;
}

.why-icon {
  width: 24px;
  height: 24px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.why-us-quote {
  position: relative;
}

blockquote {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
  font-style: normal;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quote-mark {
  font-size: 72px;
  color: var(--teal);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
  font-family: Georgia, serif;
}

/* ─── Footer ──────────────────────────────────────────── */

footer {
  background: var(--charcoal);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 3px;
}

.footer-copy p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Calculator Page ────────────────────────────────── */

.calc-hero {
  padding: 56px 0 48px;
  background: linear-gradient(150deg, #EEF8FC 0%, #F7FBFD 40%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}

.calc-hero .badge {
  margin-bottom: 18px;
}

.calc-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.calc-hero p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 460px;
  margin: 0 auto;
}

.calc-section {
  padding: 64px 0 96px;
  background: linear-gradient(160deg, #D6EFF7 0%, #E8F5FA 50%, #EEF8FC 100%);
  border-top: 1px solid var(--teal-mid);
  min-height: 60vh;
}

.calc-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

/* Progress indicator */
.calc-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.calc-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.calc-progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.calc-progress-step.active .calc-progress-dot {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(45, 125, 154, 0.35);
}

.calc-progress-step.done .calc-progress-dot {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
}

.calc-progress-line {
  height: 2px;
  width: 48px;
  background: var(--border);
  margin: 0 0;
  align-self: flex-start;
  margin-top: 13px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.calc-progress-line.done {
  background: var(--teal-mid);
}

/* Step container */
.calc-step {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 44px 44px 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.8);
}

.calc-step.hidden {
  display: none;
}

.calc-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.calc-step h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 8px;
}

.calc-step-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

/* Option cards (radio-style) */
.option-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  background: var(--white);
  user-select: none;
}

.option-card:hover {
  border-color: var(--teal-mid);
  background: var(--teal-light);
}

.option-card.selected {
  border-color: var(--teal);
  background: var(--teal-light);
  box-shadow: 0 0 0 3px rgba(45, 125, 154, 0.12);
}

.option-card input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
  -webkit-appearance: auto;
  appearance: auto;
}

.option-card-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
}

.option-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

/* Step nav buttons */
.calc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.calc-nav-solo {
  justify-content: flex-end;
}

.btn-back {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-back:hover {
  border-color: var(--teal-mid);
  color: var(--teal);
}

/* Result screen */
.calc-result {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.8);
}

.calc-result.hidden {
  display: none;
}

.result-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.result-badge-warn {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}

.result-badge-neutral {
  background: var(--teal-light);
  color: var(--teal-dark);
  border-color: var(--teal-mid);
}

.result-header h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  margin-bottom: 6px;
}

.result-header p {
  font-size: 14px;
  color: var(--text-muted);
}

.result-estimate {
  background: var(--off-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.result-estimate-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.result-estimate-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.result-estimate-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.result-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.result-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}

.result-detail-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.result-detail-icon.ok {
  background: #DCFCE7;
  color: #166534;
}

.result-detail-icon.warn {
  background: #FEF3C7;
  color: #92400E;
}

.result-detail-icon.info {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.result-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 24px 0;
}

.result-email-section {
  margin-bottom: 20px;
}

.result-email-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.result-email-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.result-email-row {
  display: flex;
  gap: 10px;
}

.result-email-row input {
  flex: 1;
  margin: 0;
}

.result-email-row .btn {
  flex-shrink: 0;
  padding: 11px 18px;
  font-size: 13px;
}

.result-email-error {
  margin-top: 10px;
  font-size: 12px;
  color: #B42318;
}

.result-email-error.hidden {
  display: none;
}

.result-next-step {
  margin-top: 4px;
}

.result-next-step.hidden {
  display: none;
}

.result-next-confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  border-radius: 10px;
  padding: 16px 18px;
}

.result-next-confirm-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.result-next-confirm-icon svg {
  color: white;
}

.result-next-confirm-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.result-next-confirm-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal-dark);
}

.result-next-confirm-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-body);
}

/* IOR redirect screen */
.calc-ior-redirect {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.8);
  text-align: center;
}

.calc-ior-redirect.hidden {
  display: none;
}

.calc-ior-redirect h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 3.5vw, 28px);
}

.calc-ior-redirect p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.calc-ior-redirect .btn {
  margin-top: 8px;
}

/* ─── Mobile ──────────────────────────────────────────── */

@media (max-width: 800px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .updates-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps {
    flex-direction: column;
    gap: 14px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: -4px auto;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 32px 28px 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.4;
  }

  /* Stack nav on very small screens */
  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    gap: 12px;
  }

  /* Stat value with long text (April 20, 2026) scales down */
  .stat-value {
    font-size: 18px;
  }

  /* Footer brand stacks vertically on mobile */
  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .footer-logo-img {
    height: 36px;
  }

  .calc-step,
  .calc-result,
  .calc-ior-redirect {
    padding: 32px 24px 28px;
  }

  .calc-result .btn-full {
    white-space: normal;
    line-height: 1.4;
    text-align: center;
    height: auto;
    padding: 14px 16px;
  }

  .result-email-row {
    flex-direction: column;
  }

  .calc-progress-line {
    width: 28px;
  }

  /* Calculator hero padding tighter on mobile */
  .calc-hero {
    padding: 40px 0 32px;
  }

  /* Option cards slightly more compact */
  .option-card {
    padding: 12px 14px;
  }
}
