:root {
  --bg: #f5f9f7;
  --bg2: #eef4f0;
  --bg3: #e5eeea;
  --bg4: #dbe8e3;
  --card: #ffffff;
  --line: rgba(13, 31, 23, .08);
  --line2: rgba(13, 31, 23, .13);

  --g9: #062518;
  --g8: #0d3d28;
  --g7: #155237;
  --g6: #196b47;
  --g5: #1f8a5c;
  --g4: #28b574;
  --g3: #6dd4a4;
  --g2: #b2e8ce;
  --g1: #ddf5eb;
  --g0: #f0fbf5;
  --s6: #0272b0;
  --s5: #0896d8;
  --s4: #2cb4f0;
  --s3: #7ed0f5;
  --w: #ffffff;
  --ink: #0d1f17;
  --n7: #2a3d34;
  --n5: #546860;
  --n4: #7d9890;
  --n3: #b5cbc4;
  --muted: #5a7080 ;
  --dim: #b5cbc4;

  --glow-g: rgba(40, 181, 116, .12);
  --glow-s: rgba(8, 150, 216, .10);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────
   PARTICLE CANVAS (fixed behind everything)
───────────────────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
}

/* ─────────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────────── */
/*nav {*/
/*  position: sticky;*/
/*  top: 0;*/
/*  z-index: 100;*/
/*  height: 60px;*/
/*  padding: 0 48px;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: space-between;*/
/*  background: rgba(245, 249, 247, .93);*/
/*  backdrop-filter: blur(20px);*/
/*  border-bottom: 1px solid var(--line);*/
/*  position: relative;*/
/*  z-index: 100;*/
/*}*/

/*.nav-logo {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 9px;*/
/*  text-decoration: none*/
/*}*/

/*.nav-lmark {*/
/*  width: 28px;*/
/*  height: 28px;*/
/*  border-radius: 6px;*/
/*  background: linear-gradient(135deg, var(--g6), var(--s5));*/
/*  display: grid;*/
/*  place-items: center;*/
/*  font-size: 12px;*/
/*  font-weight: 800;*/
/*  color: #fff;*/
/*}*/

/*.nav-lname {*/
/*  font-size: 13.5px;*/
/*  font-weight: 700;*/
/*  color: var(--ink);*/
/*  letter-spacing: -.02em*/
/*}*/

/*.nav-lsub {*/
/*  font-size: 9px;*/
/*  color: var(--muted);*/
/*  letter-spacing: .05em;*/
/*  margin-top: 1px*/
/*}*/

/*.nav-links {*/
/*  display: flex;*/
/*  gap: 1px*/
/*}*/

/*.nav-links a {*/
/*  padding: 5px 10px;*/
/*  border-radius: 5px;*/
/*  font-size: 12px;*/
/*  font-weight: 500;*/
/*  color: var(--n5);*/
/*  text-decoration: none;*/
/*  transition: all .15s;*/
/*}*/

/*.nav-links a:hover,*/
/*.nav-links a.on {*/
/*  color: var(--g6);*/
/*  background: rgba(25, 107, 71, .08)*/
/*}*/

/*.nav-acts {*/
/*  display: flex;*/
/*  gap: 8px*/
/*}*/

/*.nbtn {*/
/*  padding: 6px 14px;*/
/*  border-radius: 6px;*/
/*  font-size: 12px;*/
/*  font-weight: 600;*/
/*  background: transparent;*/
/*  color: var(--n5);*/
/*  border: 1.5px solid var(--line2);*/
/*  cursor: pointer;*/
/*  font-family: 'Inter', sans-serif;*/
/*  transition: all .15s;*/
/*}*/

/*.nbtn:hover {*/
/*  color: var(--g6);*/
/*  border-color: var(--g3)*/
/*}*/

/*.nbtn.fill {*/
/*  background: linear-gradient(135deg, var(--g6), var(--s5));*/
/*  border-color: transparent;*/
/*  color: #fff;*/
/*}*/

/*.nbtn.fill:hover {*/
/*  opacity: .85*/
/*}*/

/* ─────────────────────────────────────────────────────────
   HERO / TOP STRIP
───────────────────────────────────────────────────────── */
.hero {
  padding: 52px 48px 0;
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(25, 107, 71, .08);
  border: 1px solid rgba(25, 107, 71, .2);
  color: var(--g6);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g4);
  animation: bdot 2s ease-in-out infinite
}

@keyframes bdot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .3;
    transform: scale(.6)
  }
}

.hero h1 {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.2; /* Increased from .9 to stop the clipping */
  color: #28332ebe;
  margin-bottom: 14px;
}
.hero h1 em {
  display: inline-block; /* MUST be inline-block for padding to work */
  padding: 0.1em 0.15em 0.05em 0; /* Top padding protects the italic 'r' */
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(110deg, var(--g6), var(--s5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 15px;
  color: var(--n5);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px
}

/* ─────────────────────────────────────────────────────────
   LIVE TICKER ROW
───────────────────────────────────────────────────────── */
.ticker-row {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ticker {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 170px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
  box-shadow: 0 2px 8px rgba(13, 31, 23, .05);
}

.ticker.active {
  border-color: rgba(25, 107, 71, .3)
}

.ticker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--g5), var(--s5));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.ticker.active::before {
  transform: scaleX(1)
}

.t-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a2a4a;
  margin-bottom: 6px
}

.t-val {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(110deg, var(--g6), var(--s5));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all .4s;
}

.t-val.plain {
  color: var(--n7);
  -webkit-text-fill-color: var(--n7);
  background: none
}

.t-chip {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(25, 107, 71, .09);
  color: var(--g6);
}

.t-chip.amber {
  background: rgba(180, 120, 0, .09);
  color: #9a6800
}

/* ─────────────────────────────────────────────────────────
   CALCULATOR BODY — TWO COL
───────────────────────────────────────────────────────── */
.calc-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px 80px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

/* ── LEFT: INPUTS ── */
.inputs-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 31, 23, .06);
}

.panel-head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg2);
  
}

.panel-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(25, 107, 71, .1);
  border: 1px solid rgba(25, 107, 71, .15);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.panel-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em
}

.panel-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px
}

.inputs-body {
  padding: 24px 28px
}

/* Redesigned Input Components */
.field-group {
  margin-bottom: 24px;
}

.field-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 20px;
}

.field-info {
  flex: 1;
}

.field-label {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: #1a2a4a;
  margin-bottom: 4px;
}

.field-hint {
  font-size: 12.5px;
  color: var(--g9);
}

.field-input-wrap {
  position: relative;
  min-width: 140px;
  text-align: right;
  border-bottom: 1.5px solid var(--s5);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.field-input-wrap:focus-within {
  border-color: var(--g5);
}

.field-pfx {
  font-size: 16px;
  font-weight: 600;
  color: var(--n7);
  margin-right: 4px;
}

.field-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  color: var(--n7);
  width: 170px;
  text-align: right;
}

/* Chrome, Safari, Edge, Opera - Remove arrows */
.field-input::-webkit-outer-spin-button,
.field-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox - Remove arrows */
.field-input[type=number] {
  -moz-appearance: textfield;
}

/* custom range slider */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg3);
  border-radius: 10px;
  outline: none;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g5), var(--s5));
  box-shadow: 0 0 0 3px rgba(25, 107, 71, .15), 0 2px 6px rgba(25, 107, 71, .25);
  cursor: grab;
  transition: transform .2s;
}

input[type=range]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.1);
}

/* track fill */
.track-wrap {
  position: relative;
  margin-bottom: 8px;
}

.track-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--g5), var(--s5));
  border-radius: 10px;
  pointer-events: none;
}

.field-limits {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--dim);
  font-weight: 500;
}

/* radio row */
.rfield-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--n7);
  margin-bottom: 10px;
  letter-spacing: -.01em
}

.radio-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px
}

.ro {
  display: none
}

.rl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg2);
  font-size: 12px;
  font-weight: 600;
  color: var(--n5);
  cursor: pointer;
  transition: all .18s;
  gap: 4px;
}

.rl span.rnum {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--n4);
  transition: all .18s
}

.rl span.rlab {
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase
}

.ro:checked+.rl {
  border-color: rgba(25, 107, 71, .35);
  background: rgba(25, 107, 71, .06);
  color: var(--g6);
  box-shadow: 0 0 0 3px rgba(25, 107, 71, .08);
}

.ro:checked+.rl .rnum {
  color: var(--g6);
}

/* Nil option — amber/warning style */
.rl-nil .rnum {
  color: #c27800
}

.rl-nil .rlab {
  color: #c27800
}

.rl-nil {
  border-color: rgba(194, 120, 0, .18);
  background: rgba(194, 120, 0, .04);
}

.rl-nil:hover {
  border-color: rgba(194, 120, 0, .35) !important;
  color: #c27800 !important;
}

.ro:checked+.rl-nil {
  border-color: rgba(194, 120, 0, .45) !important;
  background: rgba(194, 120, 0, .09) !important;
  color: #a06000 !important;
  box-shadow: 0 0 0 3px rgba(194, 120, 0, .1) !important;
}

.ro:checked+.rl-nil .rnum {
  color: #a06000 !important;
}

/* select */
.sel-wrap {
  /* min-width: 235px;  */
  margin-bottom: 8px
}

.nfield-label.mt {
  margin-top: 0
}

.ninput.sel {
  cursor: pointer;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5.5 5.5L10 1' stroke='%237d9890' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
}

.ninput.sel option {
  background: #fff;
  color: var(--ink)
}

/* divider */
.divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0 28px
}

/* ── RIGHT: RESULT CARD ── */
.result-col {
  position: sticky;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Big ROI display */
.roi-hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 35px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 31, 23, .07);
}

.roi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(25, 107, 71, .07), transparent 65%);
  pointer-events: none;
}

.roi-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--n4);
  margin-bottom: 10px;
}

.roi-number {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(110deg, var(--g6) 20%, var(--s5) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  z-index: 1;
}

.roi-year-tag {
  display: inline-block;
  background: rgba(25, 107, 71, .09);
  border: 1px solid rgba(25, 107, 71, .18);
  color: var(--g6);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* donut chart */
.donut-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

#donut {
  display: block
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.donut-pct {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(110deg, var(--g6), var(--s5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.donut-lab {
  font-size: 9px;
  color: var(--n4);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 3px
}

/* mini send button */
.send-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  /*background: linear-gradient(135deg, var(--g5), var(--s5));*/
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: -.1px;
}

/*.send-btn::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  background: linear-gradient(135deg, var(--g4), var(--s4));*/
/*  opacity: 0;*/
/*  transition: opacity .18s;*/
/*}*/

/*.send-btn:hover::before {*/
/*  opacity: 1*/
/*}*/

/*.send-btn:hover {*/
/*  transform: translateY(-2px);*/
/*  box-shadow: 0 8px 28px rgba(40, 181, 116, .3)*/
/*}*/

/*.send-btn span {*/
/*  position: relative;*/
/*  z-index: 1*/
/*}*/

/* breakdown list */
.breakdown-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13, 31, 23, .06);
}

.bk-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
}

.bk-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1a2a4a;
}

.bk-total {
  font-size: 12px;
  font-weight: 700;
  color: var(--g6)
}

.bk-list {
  padding: 12px 16px 16px;
}

.bk-list::-webkit-scrollbar {
  width: 3px
}

.bk-list::-webkit-scrollbar-thumb {
  background: var(--g2);
  border-radius: 3px
}

.bk-row {
  margin-bottom: 10px
}

.bk-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px
}

.bk-name {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--n5)
}

.bk-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--g6)
}

.bk-bar-bg {
  height: 3px;
  background: var(--bg3);
  border-radius: 10px;
  overflow: hidden
}

.bk-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--g5), var(--s5));
  transition: width 1s cubic-bezier(.4, 0, .2, 1);
  width: 0%
}

.bk-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #1a2a4a;
}

/* disclaimer */
.disclaimer {
  font-size: 12.5px;
  color: #1a2a4a;
  text-align: center;
  padding: 12px 0;
  line-height: 1.55
}



/* ─────────────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────────────── */
.section {
  padding: 72px 48px;
  position: relative;
  z-index: 1;
  background: var(--bg2);
  border-top: 1px solid var(--line)
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto
}

.sec-eye {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--g6);
  margin-bottom: 10px
}

.sec-h {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 40px;
}

.sec-h em { 
  
  font-style: italic; padding-right:10px;
  background: linear-gradient(110deg, var(--g6), var(--s5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.how-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  transition: all .22s;
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: 0 2px 8px rgba(13, 31, 23, .04);
}

.how-step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--g5), var(--s5));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.how-step:hover {
  border-color: rgba(25, 107, 71, .2);
  transform: translateY(-4px);
  background: var(--g0);
  box-shadow: 0 8px 24px rgba(13, 31, 23, .08)
}

.how-step:hover::after {
  transform: scaleX(1)
}

.step-num {
  font-size: 32px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 107, 71, .22);
  line-height: 1;
  margin-bottom: 16px;
}

.step-t {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px
}

.step-d {
  font-size: 14px;
  color: var(--n5);
  line-height: 1.65
}




/* ─────────────────────────────────────────────────────────
   CTA BAND
───────────────────────────────────────────────────────── */
.cta-band {
  /* margin:0 48px 72px; */
  background: linear-gradient(130deg, #0d3d28 0%, var(--g6) 50%, #0272b0 100%);
  padding: 56px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-band::before {
  content: 'ROI';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 160px;
  font-weight: 900;
  font-style: italic;
  color: rgba(255, 255, 255, .05);
  letter-spacing: -.06em;
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  top: -120px;
  right: 180px;
}

.cta-text h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.1;
}

.cta-text h2 em {
  font-style: italic;
}

.cta-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.65;
  max-width: 400px
}

.cta-acts {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1
}

.cbtn-w {
  padding: 12px 24px;
  border-radius: 9px;
  background: #fff;
  color: #0d3d28;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .16s;
}

.cbtn-w:hover {
  opacity: .92;
  transform: translateY(-2px)
}

.cbtn-g {
  padding: 12px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
  transition: all .14s;
  font-family: 'Inter', sans-serif;
}

.cbtn-g:hover {
  background: rgba(255, 255, 255, .17);
  color: #fff
}

/* ─────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────── */
/*footer {*/
/*  padding: 44px 48px 24px;*/
/*  border-top: 1px solid rgba(255, 255, 255, .06);*/
/*  position: relative;*/
/*  z-index: 1;*/
/*}*/

/*.ft-grid {*/
/*  max-width: 1240px;*/
/*  margin: 0 auto;*/
/*  display: grid;*/
/*  grid-template-columns: 1.5fr repeat(4, 1fr);*/
/*  gap: 32px;*/
/*  margin-bottom: 32px;*/
/*}*/

/*.ft-lmark {*/
/*  width: 24px;*/
/*  height: 24px;*/
/*  border-radius: 5px;*/
/*  background: linear-gradient(135deg, var(--g6), var(--s5));*/
/*  display: grid;*/
/*  place-items: center;*/
/*  font-size: 10px;*/
/*  font-weight: 800;*/
/*  color: #fff*/
/*}*/

/*.ft-lname {*/
/*  font-size: 13px;*/
/*  font-weight: 800;*/
/*  color: #fff*/
/*}*/

/*.ft-logo {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  gap: 8px;*/
/*  margin-bottom: 10px*/
/*}*/

/*.ft-desc {*/
/*  font-size: 11.5px;*/
/*  color: rgba(255, 255, 255, .38);*/
/*  line-height: 1.7;*/
/*  max-width: 190px;*/
/*  margin-bottom: 12px*/
/*}*/

/*.ft-contact {*/
/*  font-size: 11px;*/
/*  color: rgba(255, 255, 255, .38);*/
/*  line-height: 1.9*/
/*}*/

/*.ft-contact a {*/
/*  color: var(--g3);*/
/*  text-decoration: none*/
/*}*/

/*.ft-ct {*/
/*  font-size: 10px;*/
/*  font-weight: 700;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: .1em;*/
/*  color: rgba(255, 255, 255, .25);*/
/*  margin-bottom: 12px*/
/*}*/

/*.ft-col a {*/
/*  display: block;*/
/*  font-size: 11.5px;*/
/*  color: rgba(255, 255, 255, .35);*/
/*  text-decoration: none;*/
/*  margin-bottom: 6px;*/
/*  transition: color .12s*/
/*}*/

/*.ft-col a:hover {*/
/*  color: rgba(255, 255, 255, .75)*/
/*}*/

/*.ft-bot {*/
/*  max-width: 1240px;*/
/*  margin: 0 auto;*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: center;*/
/*  padding-top: 18px;*/
/*  border-top: 1px solid rgba(255, 255, 255, .07);*/
/*}*/

/*.ft-copy {*/
/*  font-size: 11px;*/
/*  color: rgba(255, 255, 255, .2)*/
/*}*/

/*.ft-soc {*/
/*  display: flex;*/
/*  gap: 6px*/
/*}*/

/*.soc {*/
/*  width: 28px;*/
/*  height: 28px;*/
/*  border-radius: 6px;*/
/*  border: 1px solid rgba(255, 255, 255, .12);*/
/*  color: rgba(255, 255, 255, .3);*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  font-size: 10.5px;*/
/*  text-decoration: none;*/
/*  transition: all .12s;*/
/*}*/

/*.soc:hover {*/
/*  border-color: var(--g4);*/
/*  color: var(--g4)*/
/*}*/

/* ─────────────────────────────────────────────────────────
   MODAL
───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 37, 24, .6);
  backdrop-filter: blur(12px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all
}

.modal {
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: 18px;
  padding: 32px 28px;
  max-width: 430px;
  width: 90%;
  box-shadow: 0 24px 60px rgba(13, 31, 23, .18);
  transform: translateY(18px);
  transition: transform .25s;
}

.modal-overlay.open .modal {
  transform: translateY(0)
}

.modal h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  margin-bottom: 5px
}

.modal p {
  font-size: 13px;
  color: var(--n5);
  margin-bottom: 20px
}

.mf {
  margin-bottom: 12px
}

.mf label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--n7);
  margin-bottom: 5px
}

.mf input,
.mf select {
  width: 200%;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: all .14s;
}

.mf input:focus,
.mf select:focus {
  border-color: rgba(25, 107, 71, .35);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(25, 107, 71, .08)
}

.mf input::placeholder {
  color: var(--n4)
}

.mf select option {
  background: #fff;
  color: var(--ink)
}

.mrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.macts {
  display: flex;
  gap: 9px;
  margin-top: 16px
}

.msubmit {
  flex: 1;
  padding: 11px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--g6), var(--s5));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .14s;
}

.msubmit:hover {
  opacity: .88
}

.mcancel {
  padding: 11px 14px;
  border-radius: 9px;
  background: transparent;
  color: var(--n5);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--line2);
  cursor: pointer;
  transition: all .14s;
}

.mcancel:hover {
  border-color: var(--g3);
  color: var(--n7)
}

/* ─────────────────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.au {
  opacity: 0;
  animation: fadeUp .6s cubic-bezier(.22, 1, .36, 1) forwards
}

.d1 {
  animation-delay: .06s
}

.d2 {
  animation-delay: .16s
}

.d3 {
  animation-delay: .28s
}

.d4 {
  animation-delay: .4s
}

/* number flash on change */
@keyframes numFlash {
  0% {
    filter: brightness(1)
  }

  40% {
    filter: brightness(1.8)
  }

  100% {
    filter: brightness(1)
  }
}

.flash {
  animation: numFlash .4s ease-out
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────── */
@media(max-width:1080px) {
  .calc-wrap {
    grid-template-columns: 1fr;
    padding: 0 32px 80px;
    justify-items: center;    /* ← Centers grid items horizontally */
  }

  .inputs-panel {
    width: 100%;
    max-width: 600px;         /* ← Prevents inputs from stretching too wide on tablets */
    margin: 0 auto;           /* ← Keeps the block centered */
  }

  .result-col {
    position: static;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;           /* ← Keeps the block centered */
    display: flex;            /* ← Ensures flexbox behaviors apply */
    flex-direction: column;
    align-items: center;      /* ← Centers the result cards horizontally */
  }

  .roi-hero, 
  .breakdown-card {
    width: 100%;             /* ← Matches geometric width frames uniformly */
  }

  .hero {
    padding: 48px 32px 0;
    text-align: center;       /* ← Centers all copy, headings, and eyebrows */
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;       /* ← Restricts and centers the paragraph block */
  }

  .ticker-row {
    justify-content: center;  /* ← Centers the top metric badges */
  }

  .section {
    padding: 60px 32px
  }

  .areas-section {
    padding: 0 32px 60px
  }

  .cta-band {
    margin: 0 0 0;
    padding: 40px 32px
  }

  footer {
    padding: 40px 32px 24px
  }

  nav {
    padding: 0 32px
  }

  .how-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .areas-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:640px) {
  nav {
    padding: 0 20px
  }

  .nav-links {
    display: none
  }

  .calc-wrap,
  .hero,
  .section,
  .areas-section {
    padding-left: 20px;
    padding-right: 20px
  }

  /* Drops maximum layout constraints so cards scale comfortably on compact phone widths */
  .inputs-panel,
  .result-col {
    max-width: 100%;
  }

  .ninput-row {
    grid-template-columns: 1fr
  }

  .radio-row {
    grid-template-columns: repeat(2, 1fr)
  }

  .how-grid {
    grid-template-columns: 1fr
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .cta-band {
    margin: 0 0 60px;
    padding: 32px 20px;
    flex-direction: column;
    text-align: center;       /* ← Centers typography inside the CTA row */
  }

  .cta-text p {
    margin: 0 auto;           /* ← Aligns text description block to the absolute center */
  }

  .cta-acts {
    justify-content: center;  /* ← Centers action button grouping horizontally */
  }

  footer {
    padding: 32px 20px 20px
  }

  .ft-grid {
    grid-template-columns: 1fr
  }

  .ticker-row {
    gap: 10px
  }

  .ticker {
    min-width: 140px
  }
}





.popup1 {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px); 
  display: none;          
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

/* POPUP BOX (same feel) */
.popup-box1 {
  background: #ffffff;
  padding: 28px 26px;                
  border-radius: 16px;               
  width: 340px;                     
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15); 
  animation: slideUp 0.35s ease;
}

/* MESSAGE TEXT */
#globalMessageText {
  font-size: 14px;
  color: #0c0b0b; 
  margin-bottom: 18px;
  font-weight: 500;
}

/* OK BUTTON (SAME PRIMARY STYLE) */
.ok-btn {
  width: 50%;
  padding: 12px;                    
  margin-top: 10px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  background: linear-gradient(135deg, #28b574, #2cb4f0);
  color: white;
}

.ok-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,180,166,0.3);
}

/* SAME ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(40px) scale(0.95); 
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.send-btn {
  background: #cbd5e1;
  color: #fff;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

.send-btn.active {
  background: linear-gradient(90deg, #16a34a, #0891b2);
  cursor: pointer;
  opacity: 1;
}

.mf{
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.error-text {
  color: red;
  font-size: 11px;  
  margin-top: 2px;    
  margin-bottom: 8px;  
  display: block;
  text-align: left;
  padding-left: 4px; 
}

input.error {
  border: 1px solid red;
}






/* ─────────────────────────────────────────
   IPAD PRO NAVBAR FIX — FINAL
───────────────────────────────────────── */
@media (min-width: 641px) and (max-width: 1080px) {

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 14px;
  }

  /* Shrink logo section more */
  .nav-logo {
    transform: scale(0.82);
    transform-origin: left center;
    flex-shrink: 1;
    min-width: auto;
  }

  .nav-lmark {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .nav-lname {
    font-size: 11px;
  }

  .nav-lsub {
    font-size: 7px;
  }

  /* Nav links */
  .nav-links {
    display: flex !important;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow: visible;
  }

  .nav-links a {
    white-space: nowrap;
    font-size: 10px;
    padding: 4px 5px;
  }

  /* Buttons area */
  .nav-acts {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .nbtn {
    padding: 5px 7px;
    font-size: 9.5px;
    white-space: nowrap;
  }
}
