:root {
  --green-900: #07190d;
  --green-800: #12371d;
  --green-700: #1e642d;
  --green-600: #2a842f;
  --green-500: #35b33f;
  --green-100: #edf6e9;
  --olive-900: #201f09;
  --blue-700: #176c98;
  --blue-100: #e8f5fb;
  --orange-500: #ff9228;
  --amber-100: #fff4de;
  --ink: #1d251f;
  --muted: #637162;
  --line: #d8e5d5;
  --surface: #f3f8f0;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(18, 55, 29, 0.12);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(18, 55, 29, 0.08);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: #121612;
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 214px);
  height: auto;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff 0 19%, transparent 20%),
    conic-gradient(from 220deg, #101510 0 34%, #2f9838 35% 64%, #101510 65% 100%);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.brand-text {
  display: grid;
  line-height: 0.85;
  font-size: 1.65rem;
}

.brand-text span {
  color: var(--green-500);
  font-size: 0.54em;
  font-weight: 500;
  justify-self: end;
}

.brand-mark-light {
  color: var(--white);
}

.brand-mark-light .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  margin-left: auto;
  color: #2f382f;
  font-weight: 650;
}

.top-nav a {
  position: relative;
  padding: 12px 0;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green-600);
  transition: transform 180ms ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-cta,
.button-primary {
  color: var(--white);
  background: var(--green-600);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  background: var(--green-700);
}

.button-light {
  color: var(--green-700);
  background: var(--white);
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: transparent;
}

.full-button {
  width: 100%;
}

.hero {
  position: relative;
  min-height: clamp(550px, calc(100svh - var(--header-height)), 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg,
.calc-hero-bg,
.register-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../images/homepage-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero::after,
.calc-hero::after,
.register-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 22, 10, 0.52);
}

.hero-copy {
  width: min(820px, calc(100% - 40px));
  margin-left: clamp(20px, 5vw, 70px);
  padding: 34px 0;
  animation: riseIn 620ms ease both;
}

.pinnacle-logo {
  width: min(135px, 34vw);
  height: auto;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #b8e7b4;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  font-weight: 900;
}

.hero h1 span {
  color: #45d14c;
}

.lede {
  max-width: 580px;
  margin: 24px 0 30px;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.section-pad {
  padding: clamp(42px, 7vw, 86px) clamp(20px, 4vw, 56px);
}

.section-kicker {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
}

.section-kicker span {
  height: 1px;
  background: #b8d2b3;
}

.section-kicker p {
  margin: 0;
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.program-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 32px);
}

.program-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 34px);
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.08);
}

.program-card > * {
  position: relative;
  z-index: 1;
}

.program-card-green {
  background: #224d25;
}

.program-card-orange {
  background: #1d5c2a;
}

.program-card-olive {
  background: #27290f;
}

.program-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--green-700);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  font-weight: 900;
  font-size: 1.45rem;
}

.program-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.program-card p {
  min-height: 52px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.date-pill.strong {
  background: var(--green-600);
  border-color: var(--green-600);
}

.new-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 8px 20px;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-card .button {
  margin-top: auto;
  color: var(--green-700);
}

.step-panel {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(18, 55, 29, 0.06);
}

.step-panel strong {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  color: var(--white);
  background: var(--green-600);
  border-radius: 50%;
}

.step-panel h2 {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 1.25rem;
}

.step-panel p {
  margin: 0;
  line-height: 1.55;
}

.benefits-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: clamp(34px, 7vw, 110px);
  padding: clamp(64px, 8vw, 118px) clamp(20px, 4vw, 56px);
  color: var(--white);
  background: #06130b;
}

.benefits-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  font-weight: 400;
}

.benefits-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  font-size: 1.08rem;
}

.benefit-list {
  display: grid;
  gap: 18px;
}

.benefit-list article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.benefit-list h3 {
  margin: 0 0 12px;
  color: #c2e9b4;
}

.benefit-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.62);
  background: #020503;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

.compact-footer {
  margin-top: 0;
}

.calc-hero {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.calc-hero-bg {
  background-position: center 42%;
}

.calc-hero-copy {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  animation: riseIn 520ms ease both;
}

.calc-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.calc-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.calculator-shell {
  width: min(1220px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
  margin: 30px auto 54px;
}

.calculator-main {
  display: grid;
  gap: 22px;
}

.input-panel,
.estimate-panel,
.lock-panel,
.participation-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(18, 55, 29, 0.06);
}

.input-panel {
  padding: 22px;
}

.input-panel h2,
.estimate-panel h2,
.lock-panel h2,
.participation-panel h2 {
  margin: 0;
  color: var(--green-700);
  font-size: 1.12rem;
}

.input-panel p,
.participation-panel p,
.lock-panel p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
  margin-top: 16px;
}

.register-hero {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.register-hero-bg {
  background-position: center 54%;
}

.register-hero-copy {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
  animation: riseIn 520ms ease both;
}

.register-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.96;
  font-weight: 500;
}

.register-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.45;
}

.registration-shell {
  width: min(1140px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
  margin: clamp(34px, 5vw, 56px) auto clamp(44px, 6vw, 70px);
}

.registration-note {
  min-height: 350px;
  padding: clamp(28px, 4vw, 38px);
  color: var(--white);
  background: #031008;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 55, 29, 0.12);
}

.registration-note h2 {
  max-width: 520px;
  margin: 0 0 26px;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.02;
  font-weight: 500;
}

.registration-note h2:last-child {
  margin-bottom: 0;
}

.registration-note p {
  max-width: 520px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.45;
}

.registration-note p:last-child {
  margin-bottom: 0;
}

.registration-form-panel {
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.registration-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.registration-form-panel label {
  font-size: 0.76rem;
}

.registration-form-panel input,
.registration-form-panel select {
  min-height: 48px;
  font-size: 0.95rem;
}

.registration-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.registration-status {
  min-height: 22px;
  margin: 0;
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--green-100);
}

.product-section-water .panel-heading {
  background: var(--blue-100);
}

.product-section-water h2 {
  color: var(--blue-700);
}

.product-section-water {
  border-color: rgba(23, 108, 152, 0.22);
}

.product-section-water .product-table {
  border-color: rgba(23, 108, 152, 0.18);
}

.product-section-water .product-table-head {
  color: var(--blue-700);
  background: #f3fbff;
}

.product-section-water .product-row:nth-child(odd) {
  background: #fafdff;
}

.product-section-water .product-name strong,
.product-section-water .min-label.qualified {
  color: var(--blue-700);
}

.product-section-water .tag-list span {
  color: var(--blue-700);
  background: #dff1f9;
}

.product-section-water .qty-control button {
  color: var(--blue-700);
  border-color: rgba(23, 108, 152, 0.25);
}

.product-section-water .qty-control button:hover {
  background: var(--blue-100);
}

.product-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #e4ece1;
  border-radius: 8px;
}

.product-table-head,
.product-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) minmax(140px, 0.8fr) minmax(120px, 0.7fr) 134px;
  align-items: center;
  gap: 16px;
}

.product-table-head {
  padding: 12px 14px;
  color: var(--green-700);
  background: #f7fbf5;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-row {
  min-height: 68px;
  padding: 12px 14px;
  border-top: 1px solid #edf2ea;
  background: var(--white);
}

.product-row:nth-child(odd) {
  background: #fcfefb;
}

.product-name {
  display: grid;
  gap: 3px;
}

.product-name strong {
  color: var(--green-700);
}

.product-name small {
  color: var(--muted);
  line-height: 1.35;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
  font-style: normal;
}

.tag-list span {
  padding: 3px 7px;
  color: var(--green-700);
  background: #dff0d7;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-list .tag-vegetable-label {
  color: var(--white);
  background: #8b47a8;
}

.tag-list .tag-bca-friendly,
.tag-list .tag-organic {
  color: var(--green-700);
  background: #edf8d8;
  border: 1px solid #c8e4ad;
}

.tag-list .tag-bonus-boost {
  color: #776319;
  background: #f4d35e;
}

.tag-list .tag-new,
.tag-list .tag-sports-turf-approved,
.tag-list .tag-now-approved-for-edging {
  color: var(--white);
  background: #4eb84f;
}

.min-label {
  color: var(--muted);
  font-weight: 800;
}

.min-label.qualified {
  color: var(--green-700);
}

.qty-control {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 6px;
  align-items: center;
}

.qty-control button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-700);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.qty-control button:hover {
  background: var(--green-100);
  transform: translateY(-1px);
}

.qty-control input {
  min-height: 34px;
  padding: 4px 6px;
  text-align: center;
  font-weight: 800;
  appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.bonus-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.bonus-heading > div {
  min-width: 0;
}

.bonus-heading > strong {
  display: grid;
  justify-items: end;
  flex: 0 0 clamp(106px, 15vw, 146px);
  max-width: 146px;
  min-width: 106px;
  color: var(--green-600);
  font-size: clamp(2.35rem, 4.4vw, 3.25rem);
  line-height: 0.98;
  text-align: right;
}

.bonus-heading > strong small {
  color: var(--green-900);
  font-size: 0.26em;
  font-weight: 950;
  text-transform: uppercase;
}

.bonus-heading > strong span {
  display: block;
}

.bonus-heading > strong .bonus-label-note {
  color: var(--blue-700);
  max-width: 100%;
  font-size: clamp(0.78rem, 1.45vw, 0.95rem);
  line-height: 1.2;
  text-transform: none;
  white-space: normal;
  overflow-wrap: normal;
}

.bonus-items {
  display: grid;
  gap: 10px;
}

.bonus-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(116px, auto);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 12px 16px;
  border: 1px solid #e8efe5;
  border-radius: 8px;
  background: #fbfdf9;
}

.bonus-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #6a8369;
  background: #edf5ea;
  border-radius: 50%;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
}

.bonus-item.qualified .bonus-icon {
  color: var(--white);
  background: #48bd4d;
  font-size: 1.4rem;
}

.bonus-copy {
  display: grid;
  gap: 4px;
}

.bonus-copy span {
  color: var(--green-900);
  font-size: 1.02rem;
  font-weight: 900;
}

.bonus-copy small,
.bonus-copy em {
  color: var(--muted);
  font-style: normal;
}

.bonus-copy em:not(.bonus-badge) {
  font-size: 0.78rem;
}

.bonus-badge {
  width: fit-content;
  padding: 4px 10px;
  color: var(--white);
  background: #4eb84f;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.bonus-item b {
  justify-self: end;
  min-width: 116px;
  padding: 11px 16px;
  color: #945b05;
  background: var(--amber-100);
  border-radius: 999px;
  font-size: 0.9rem;
  text-align: center;
}

.bonus-item.qualified b {
  color: #007532;
  background: #def2d7;
}

.bonus-item-boost {
  border-style: dashed;
  border-color: rgba(42, 132, 47, 0.42);
  background: #f6fcf2;
}

.bonus-item-boost .bonus-badge {
  color: var(--white);
  background: #f0c840;
}

.bonus-panel-water {
  border-color: rgba(23, 108, 152, 0.2);
}

.bonus-panel-water .bonus-heading h2,
.bonus-panel-water .bonus-heading > strong {
  color: var(--blue-700);
}

.bonus-panel-water .bonus-item-water,
.bonus-panel-water .bonus-item-water.qualified {
  border-color: #b9ddf1;
  background: #f0faff;
}

.bonus-item-water .bonus-badge {
  color: var(--white);
  background: #1592ce;
}

.estimated-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 900;
}

.summary-rail {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 18px;
}

.estimate-panel {
  overflow: hidden;
}

.estimate-panel h2 {
  padding: 16px 18px;
  color: var(--white);
  background: var(--green-700);
}

.estimate-panel .potential-label {
  display: block;
  padding: 18px 18px 4px;
  color: var(--muted);
  font-weight: 700;
}

.estimate-panel > strong {
  display: block;
  padding: 0 18px;
  color: var(--green-600);
  font-size: clamp(3rem, 7vw, 4rem);
  line-height: 1;
}

.estimate-panel > p {
  margin: 6px 18px 16px;
  color: var(--muted);
  font-size: 0.86rem;
}

.estimate-panel dl {
  display: grid;
  gap: 0;
  margin: 0 18px 18px;
}

.estimate-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.estimate-panel dt {
  color: var(--muted);
}

.estimate-panel dd {
  margin: 0;
  font-weight: 900;
}

.lock-panel,
.participation-panel {
  padding: 18px;
}

.lock-panel > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

#lock-status {
  color: #688066;
}

#lock-status.qualified {
  color: var(--green-600);
}

.progress-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.progress-row span,
.progress-row b {
  font-size: 0.83rem;
}

.progress-row b {
  color: var(--green-700);
}

.progress-track {
  display: block;
  height: 8px;
  overflow: hidden;
  background: #e7efe3;
  border-radius: 8px;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--green-600);
  transition: width 260ms ease;
}

.participation-panel {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
}

.participation-panel h2,
.participation-panel p {
  color: var(--white);
}

.participation-panel .button {
  margin-top: 12px;
}

.mobile-summary-dock {
  display: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1040px) {
  .top-nav {
    display: none;
  }

  .calculator-shell,
  .registration-shell,
  .benefits-band {
    grid-template-columns: 1fr;
  }

  .summary-rail {
    position: static;
    grid-row: 1;
  }

  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .program-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  body[data-page="calculator"] {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .site-header {
    gap: 12px;
    padding: 0 16px;
  }

  .brand-symbol {
    width: 28px;
    height: 28px;
  }

  .brand-logo {
    width: 142px;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    min-height: 620px;
    align-items: end;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin: 0 16px 34px;
  }

  .section-kicker {
    gap: 12px;
  }

  .section-kicker p {
    font-size: 0.78rem;
  }

  .program-card,
  .step-panel {
    min-height: auto;
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-hero {
    min-height: 260px;
  }

  .register-hero {
    min-height: 280px;
  }

  .calculator-shell {
    width: min(100% - 20px, 1220px);
    margin-top: 18px;
  }

  .summary-rail {
    grid-row: auto;
  }

  .summary-rail .estimate-panel,
  .summary-rail .lock-panel {
    display: none;
  }

  .registration-shell {
    width: min(100% - 20px, 1140px);
    margin-top: 24px;
  }

  .registration-note,
  .registration-form-panel {
    padding: 22px;
  }

  .registration-note {
    min-height: auto;
  }

  .registration-field-grid {
    grid-template-columns: 1fr;
  }

  .input-panel {
    padding: 16px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .product-table {
    border: 0;
    gap: 10px;
    overflow: visible;
  }

  .product-table-head {
    display: none;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 10px;
    border: 1px solid #e4ece1;
    border-radius: 8px;
  }

  .qty-control {
    width: min(220px, 100%);
  }

  .bonus-heading {
    display: grid;
  }

  .bonus-heading > strong {
    justify-items: start;
    max-width: 100%;
    min-width: 0;
    font-size: clamp(2.2rem, 12vw, 3rem);
    text-align: left;
  }

  .bonus-heading > strong .bonus-label-note {
    max-width: 220px;
    white-space: normal;
  }

  .bonus-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .bonus-item b {
    grid-column: 2;
    justify-self: start;
  }

  .mobile-summary-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    display: block;
    padding-bottom: env(safe-area-inset-bottom);
    color: var(--ink);
    background: var(--white);
    border-top: 1px solid rgba(18, 55, 29, 0.16);
    box-shadow: 0 -16px 34px rgba(7, 25, 13, 0.18);
  }

  .mobile-summary-toggle {
    width: 100%;
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 28px;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--green-800);
    border: 0;
    text-align: left;
    cursor: pointer;
  }

  .mobile-summary-toggle span {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-summary-toggle strong {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
    line-height: 1;
  }

  .mobile-summary-chevron {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    font-style: normal;
  }

  .mobile-summary-chevron::before {
    content: "+";
    font-weight: 900;
  }

  .mobile-summary-dock.is-expanded .mobile-summary-chevron::before {
    content: "-";
  }

  .mobile-summary-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .mobile-summary-dock.is-expanded .mobile-summary-details {
    max-height: min(58svh, 430px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .mobile-summary-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 12px 16px 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
  }

  .mobile-summary-metrics div {
    min-height: 64px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 10px;
    background: #fbfdf9;
  }

  .mobile-summary-metrics dt {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .mobile-summary-metrics dd {
    margin: 0;
    color: var(--green-700);
    font-size: 1.12rem;
    font-weight: 900;
  }

  .mobile-lock-summary {
    display: grid;
    gap: 12px;
    margin: 14px 16px 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .mobile-lock-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--green-700);
    font-weight: 900;
  }

  .mobile-lock-heading strong {
    color: #688066;
  }

  #mobile-lock-status.qualified {
    color: var(--green-600);
  }

  .mobile-summary-dock .progress-row {
    margin: 0;
  }
}

@media print {
  .site-header,
  .calc-hero,
  .mobile-summary-dock,
  .participation-panel,
  .notes-panel,
  .site-footer {
    display: none !important;
  }

  body {
    background: var(--white);
  }

  .calculator-shell {
    width: 100%;
    display: block;
    margin: 0;
  }

  .summary-rail {
    position: static;
    margin-bottom: 20px;
  }

  .product-row {
    break-inside: avoid;
  }
}
