:root {
  --cfn-dark-green: #0b8c38;
  --cfn-green: #03a63c;
  --cfn-light-green: #8bd9ad;
  --cfn-light-green-dim: rgba(139, 217, 173, .15);
  --cfn-gradient: linear-gradient(45deg, #03a63c, #73bf4b, #bdd63a);
  --cfn-gradient-flat: linear-gradient(90deg, #03a63c, #bdd63a);
  --black: #141414;
  --gray: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #fff;
  --success: #0b8c38;
  --danger: #b42318;
  --blue: var(--cfn-green);
  --light-blue: var(--cfn-light-green);
  --ltblue: var(--cfn-light-green);
  --shadow: 0 0 0 1px rgba(3, 166, 60, .1), 0 18px 48px rgba(20, 20, 20, .1);
  --green-glow: 0 0 0 1px rgba(3, 166, 60, .15), 0 8px 24px rgba(3, 166, 60, .18), 0 20px 40px rgba(3, 166, 60, .08);
}

* { box-sizing: border-box; }
html { background: #f8faf8; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--black);
  background:
    radial-gradient(circle at 10% 18%, rgba(139, 217, 173, .2), transparent 28rem),
    radial-gradient(circle at 92% 65%, rgba(189, 214, 58, .1), transparent 24rem),
    #f8faf8;
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.7;
}

a { color: var(--cfn-dark-green); }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header, footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: max(24px, calc((100% - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header {
  height: 90px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: auto; height: 40px; }
.brand-group { display: flex; align-items: center; gap: 20px; }
.brand-divider { width: 1px; height: 36px; background: #dbe2dd; }
.nptech-header-logo { display: inline-flex; align-items: center; }
.nptech-header-logo img { display: block; width: auto; height: 40px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-note {
  color: var(--cfn-dark-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.header-link {
  padding: 10px 20px;
  color: white;
  border-radius: 7px;
  background: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.header-link:hover { background: #2b2b2b; transform: translateY(-1px); }

.survey-shell { position: relative; z-index: 1; width: min(760px, calc(100% - 32px)); margin: 54px auto 72px; }
.survey-card {
  overflow: hidden;
  border: 1px solid rgba(3, 166, 60, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow);
}
.panel { display: none; padding: 56px 64px 54px; animation: enter .35s ease both; }
.panel.is-active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.intro-panel { padding-top: 58px; text-align: center; }
.intro-panel h1 { max-width: 620px; margin-inline: auto; }
.eyebrow, .modal-kicker {
  margin: 0 0 13px;
  color: var(--cfn-dark-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 18px;
  color: var(--black);
  font: 800 clamp(32px, 6vw, 46px)/1.1 "Montserrat", sans-serif;
  letter-spacing: -1.7px;
}
.lead, .section-intro { color: var(--gray); line-height: 1.65; }
.lead { margin: 0 auto; max-width: 590px; font-size: 17px; }
.lead strong { color: var(--cfn-dark-green); }
.section-intro { margin: -3px 0 30px; }
.credit-ticket {
  position: relative;
  width: min(360px, 100%);
  margin: 32px auto;
  padding: 18px 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(3, 166, 60, .2);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 217, 173, .19), rgba(189, 214, 58, .1));
}
.credit-ticket::after {
  content: "";
  position: absolute;
  inset: auto -26px -34px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(139, 217, 173, .13);
}
.ticket-amount { color: var(--cfn-green); font: 800 40px/1 "Montserrat", sans-serif; letter-spacing: -2px; }
.credit-ticket strong { display: block; color: var(--black); font: 700 16px "Montserrat", sans-serif; }
.credit-ticket small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.button {
  min-height: 54px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:focus-visible, input:focus-visible { outline: 3px solid rgba(3, 166, 60, .3); outline-offset: 3px; }
.button:disabled { cursor: wait; opacity: .64; transform: none; }
.button-primary { color: white; background: var(--cfn-green); box-shadow: 0 4px 6px rgba(46, 204, 113, .2); }
.button-primary:hover { background: var(--cfn-dark-green); box-shadow: var(--green-glow); }
.button-secondary { color: var(--cfn-dark-green); border: 1px solid rgba(3, 166, 60, .22); background: var(--cfn-light-green-dim); }
.button-secondary:hover { background: rgba(139, 217, 173, .25); }
.button-wide { width: 100%; }
.intro-panel .button { max-width: 360px; }
.fine-print { margin: 18px auto 0; max-width: 500px; color: #778477; font-size: 11px; line-height: 1.55; }
.center { text-align: center; }

.progress-wrap { padding: 21px 64px 0; }
.progress-copy { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; }
.progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: #e6eee8; }
.progress-track span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--cfn-gradient-flat); transition: width .35s ease; }

.field { display: block; margin-bottom: 21px; }
.address-grid { display: grid; grid-template-columns: minmax(0, 1fr) 88px 120px; gap: 12px; }
.address-grid .field { min-width: 0; }
.state-field input { text-transform: uppercase; }
.field > span, .follow-up > span { display: block; margin-bottom: 8px; color: var(--black); font-size: 13px; font-weight: 700; }
.field small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
input {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  color: var(--black);
  border: 1px solid #cbd5cf;
  border-radius: 10px;
  background: white;
  transition: border-color .16s, box-shadow .16s;
}
input:hover { border-color: #9eb0a2; }
input:focus { border-color: var(--cfn-green); box-shadow: 0 0 0 3px rgba(3, 166, 60, .12); outline: none; }
input::placeholder { color: #94a099; }
.form-message { margin: 4px 0 18px; padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.error-message { color: var(--danger); border: 1px solid #ffd1cc; background: #fff0ee; }

fieldset { margin: 0; padding: 34px 0 42px; border: 0; border-bottom: 1px solid var(--line); }
fieldset:first-of-type { padding-top: 13px; }
fieldset:last-of-type { margin-bottom: 27px; }
legend { width: 100%; margin-bottom: 15px; color: var(--black); font: 700 15px/1.55 "Montserrat", sans-serif; }
fieldset + fieldset legend { padding-top: 28px; }
legend em { color: var(--muted); font: 400 11px/1.4 "Open Sans", sans-serif; white-space: nowrap; }
.question-number { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 10px; color: var(--cfn-dark-green); border-radius: 50%; background: var(--cfn-light-green-dim); font-size: 11px; vertical-align: 1px; }
.choice-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-row-three { grid-template-columns: repeat(3, 1fr); }
.stacked-choices { display: grid; gap: 9px; }
.choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.choice span {
  min-height: 49px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  color: var(--gray);
  border: 1px solid #d5ddd7;
  border-radius: 10px;
  background: white;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.choice span:hover { border-color: var(--cfn-light-green); background: #fbfefb; }
.choice input:checked + span { color: var(--cfn-dark-green); border-color: var(--cfn-green); background: var(--cfn-light-green-dim); box-shadow: inset 0 0 0 1px var(--cfn-green); }
.choice input:focus-visible + span { outline: 3px solid rgba(3, 166, 60, .28); outline-offset: 2px; }
.choice-list span { position: relative; min-height: 46px; padding-left: 44px; place-items: center start; text-align: left; }
.choice-list span::before { content: ""; position: absolute; left: 16px; width: 15px; height: 15px; border: 1px solid #aeb9b1; border-radius: 50%; }
.choice-list input:checked + span::before { border: 5px solid var(--cfn-green); background: white; }
.choice-multi span { position: relative; min-height: 46px; padding-left: 44px; place-items: center start; text-align: left; }
.choice-multi span::before { content: ""; position: absolute; left: 16px; width: 16px; height: 16px; border: 1px solid #aeb9b1; border-radius: 4px; background: white; }
.choice-multi span::after { content: "✓"; position: absolute; left: 19px; color: white; font-size: 11px; font-weight: 800; opacity: 0; }
.choice-multi input:checked + span::before { border-color: var(--cfn-green); background: var(--cfn-green); }
.choice-multi input:checked + span::after { opacity: 1; }
.conditional-block { margin-top: 20px; padding: 19px; border: 1px solid rgba(3, 166, 60, .16); border-radius: 12px; background: rgba(139, 217, 173, .08); }
.conditional-block > p { margin: 0 0 13px; color: var(--black); font-size: 13px; font-weight: 700; line-height: 1.5; }
.conditional-block > p em { display: block; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 400; }
.follow-up { display: block; margin-top: 13px; }
.follow-up em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 400; }

.success-panel { padding-top: 58px; text-align: center; }
.success-check { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 22px; color: white; border-radius: 50%; background: var(--cfn-gradient); font-size: 31px; box-shadow: var(--green-glow); }
.closed-panel { padding-top: 72px; padding-bottom: 72px; text-align: center; }
.closed-icon { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 24px; color: var(--gray); border-radius: 50%; background: #e9efea; font: 400 36px/1 "Open Sans", sans-serif; }
.address-modal { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(20, 20, 20, .48); }
.address-modal[hidden], .email-step[hidden] { display: none; }
.address-modal-card { width: min(100%, 440px); padding: 30px 26px 26px; border-radius: 18px; background: white; box-shadow: 0 24px 70px rgba(20, 20, 20, .24); }
.address-modal-card h2, .email-step h2 { margin: 0 0 12px; color: var(--black); font: 700 20px/1.3 "Montserrat", sans-serif; }
.address-display { margin: 0; padding: 15px; color: var(--black); border: 1px solid rgba(3, 166, 60, .18); border-radius: 10px; background: var(--cfn-light-green-dim); font: 700 15px/1.55 "Montserrat", sans-serif; }
.modal-help { margin: 13px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.modal-actions { display: grid; gap: 9px; }
.email-step { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.email-step .section-intro { margin-bottom: 22px; }
.panel[data-panel="verify"] > .section-intro, .email-step > .section-intro, .email-step .field > small { display: none; }
.account-helper { margin: -5px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.success-details { margin: 30px 0; padding: 20px; text-align: left; border-radius: 13px; background: #f4f8f4; }
.success-details > span { color: var(--cfn-dark-green); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.success-details p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.success-follow-up { margin: 30px 0; padding: 23px 20px 20px; border: 1px solid rgba(3, 166, 60, .2); border-radius: 13px; background: linear-gradient(145deg, #fbfefb, rgba(139, 217, 173, .12)); }
.success-follow-up h2 { margin: 0 0 7px; color: var(--black); font: 700 18px/1.3 "Montserrat", sans-serif; }
.success-follow-up > p { max-width: 470px; margin: 0 auto 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.social-link { display: flex; flex-direction: column; gap: 4px; padding: 13px 14px; color: var(--gray); border: 1px solid #d5ddd7; border-radius: 10px; background: white; text-align: left; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.social-icon { width: 24px; height: 24px; margin-bottom: 3px; }
.social-link:hover { border-color: var(--cfn-light-green); box-shadow: 0 5px 14px rgba(3, 166, 60, .1); transform: translateY(-1px); }
.social-link span { color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.social-link strong { color: var(--cfn-dark-green); font: 700 14px/1.3 "Montserrat", sans-serif; }
.community-link { display: inline-block; margin-top: 17px; color: var(--cfn-dark-green); font-size: 13px; font-weight: 700; text-decoration: none; }
.community-link:hover { text-decoration: underline; }

.trust-note { margin-top: 18px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.trust-note span { margin-right: 6px; color: var(--cfn-green); }
footer { min-height: 76px; color: var(--muted); border-top: 1px solid rgba(20, 20, 20, .1); background: white; font-size: 11px; }
.footer-links { display: flex; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cfn-dark-green); }

@media (max-width: 620px) {
  .site-header { height: 76px; padding-inline: 20px; }
  .brand img { width: auto; height: 25px; }
  .brand-group { gap: 11px; }
  .brand-divider { height: 27px; }
  .nptech-header-logo img { width: auto; height: 25px; }
  .header-note { display: none; }
  .header-actions { gap: 0; }
  .header-link { padding: 9px 13px; font-size: 12px; }
  .survey-shell { margin-top: 24px; }
  .survey-card { border-radius: 18px; }
  .panel { padding: 40px 24px 37px; }
  .intro-panel { padding-top: 42px; }
  .progress-wrap { padding: 18px 24px 0; }
  h1 { letter-spacing: -1.1px; }
  .choice-row-three { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: minmax(0, 1fr) 110px; }
  .city-field { grid-column: 1 / -1; }
  .choice-row-three .choice span { place-items: center start; }
  .social-links { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .trust-note { padding-inline: 12px; }
  footer { min-height: 96px; padding-block: 22px; align-items: flex-start; gap: 12px; flex-direction: column; }
}

@media (max-width: 420px) {
  .brand img, .nptech-header-logo img { width: auto; height: 23px; }
  .header-link { padding: 8px 10px; font-size: 11px; }
}

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