textarea {
  font: inherit;
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 10% 15%, rgb(239 108 0 / 12%), transparent 28%),
    linear-gradient(135deg, #f8fafb, #eef4f5);
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  top: -190px;
  left: 8%;
  width: 420px;
  height: 420px;
  border: 1px solid rgb(52 81 94 / 8%);
  border-radius: 50%;
  content: "";
}

.page-hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(rgb(52 81 94 / 13%) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
}

.page-hero-content {
  max-width: 850px;
  text-align: center;
}

.page-hero h1 {
  margin: 3px 0 14px;
  color: var(--brand-slate-dark);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.4;
}

.page-hero p {
  max-width: 690px;
  margin: 0 auto;
  color: #687980;
  font-size: 14px;
  line-height: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 24px;
  color: #849299;
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--brand-orange);
}

.content-lead {
  margin: 18px 0 28px;
  color: #718087;
  font-size: 14px;
  line-height: 2.15;
}

.feature-list {
  display: grid;
  gap: 13px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #52636a;
  font-size: 13px;
}

.feature-list svg {
  flex: none;
  color: var(--brand-green);
}

.feature-list.compact {
  margin-top: 25px;
}

.page-form {
  border: 1px solid #e3e9eb;
  border-radius: 22px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 22px 65px rgb(38 62 72 / 9%);
}

.dashboard-frame {
  overflow: hidden;
  border: 1px solid #e3e9eb;
  border-radius: 22px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 22px 65px rgb(38 62 72 / 9%);
}

.dashboard-frame-wide {
  max-width: 1040px;
  margin: 0 auto;
}

.dashboard-frame-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 8px 8px 0;
}

.dashboard-frame-heading h3,
.dashboard-frame-heading p {
  margin: 0;
}

.dashboard-frame-heading h3 {
  color: var(--brand-slate-dark);
  font-size: 17px;
  font-weight: 700;
}

.dashboard-frame-heading p {
  margin-top: 5px;
  color: #859197;
  font-size: 12px;
  line-height: 1.9;
}

.dashboard-frame iframe {
  display: block;
  width: 100%;
  min-height: 620px;
  border: 1px solid #eef2f3;
  border-radius: 16px;
  background: #f7f9fa;
}

.dashboard-frame-placeholder {
  display: grid;
  min-height: 620px;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dashed #d8e1e5;
  border-radius: 16px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgb(255 111 0 / 6%), transparent 38%),
    #f7f9fa;
  color: var(--brand-slate);
  text-align: center;
}

.dashboard-frame-placeholder svg {
  color: var(--brand-orange);
}

.dashboard-frame-placeholder strong {
  color: var(--brand-slate-dark);
  font-size: 18px;
  font-weight: 800;
}

.dashboard-frame-placeholder p {
  max-width: 420px;
  margin: 0;
  color: #728089;
  font-size: 13px;
  line-height: 2;
}

.dashboard-frame-compact {
  margin-top: 24px;
  padding: 14px;
  box-shadow: none;
}

.dashboard-frame-compact .dashboard-frame-heading {
  margin-bottom: 12px;
  padding: 5px 5px 0;
}

.dashboard-frame-compact iframe {
  min-height: 430px;
}

.page-form-wide {
  max-width: 930px;
  margin: 0 auto;
}

.page-form-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 27px;
}

.page-form-heading h3,
.page-form-heading p {
  margin: 0;
}

.page-form-heading h3 {
  color: var(--brand-slate-dark);
  font-size: 17px;
  font-weight: 700;
}

.page-form-heading p {
  margin-top: 5px;
  color: #859197;
  font-size: 12px;
}

.page-form-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: none;
  place-items: center;
  border-radius: 15px;
  background: rgb(239 108 0 / 10%);
  color: var(--brand-orange);
}

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

.page-field {
  display: block;
  margin-bottom: 20px;
}

.page-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-slate-dark);
  font-size: 12px;
  font-weight: 700;
}

.page-field input,
.page-field textarea {
  width: 100%;
  border: 1px solid #dce4e7;
  border-radius: 11px;
  outline: 0;
  padding: 14px 15px;
  background: #fbfcfc;
  color: var(--brand-slate-dark);
  font-size: 13px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.page-field input {
  height: 50px;
}

.page-field textarea {
  resize: vertical;
  line-height: 1.9;
}

.page-field input:focus,
.page-field textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgb(239 108 0 / 8%);
  background: #fff;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0 0 18px;
  border: 1px solid #dce4e7;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.9;
}

.form-status-sending {
  border-color: rgb(52 81 94 / 18%);
  background: #f6f8f9;
  color: var(--brand-slate);
}

.form-status-success {
  border-color: rgb(41 180 89 / 25%);
  background: rgb(41 180 89 / 8%);
  color: #198f43;
}

.form-status-error {
  border-color: rgb(214 55 55 / 22%);
  background: rgb(214 55 55 / 7%);
  color: #b72d2d;
}

.page-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #e0e7e9;
  border-radius: 22px;
  padding: 36px 40px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(38 62 72 / 8%);
}

.inline-cta h2 {
  margin: 0;
  color: var(--brand-slate-dark);
  font-size: 23px;
  font-weight: 700;
}

.inline-cta p {
  margin: 9px 0 0;
  color: #75858b;
  font-size: 13px;
}

.representatives-directory {
  padding-top: 20px;
}

.representatives-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.representatives-heading .content-lead {
  margin-bottom: 0;
}

.representatives-search {
  display: flex;
  width: min(100%, 390px);
  height: 52px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce4e7;
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
  color: #87959b;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.representatives-search:focus-within {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgb(239 108 0 / 8%);
}

.representatives-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--brand-slate-dark);
  font: inherit;
  font-size: 13px;
}

.representatives-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.representative-card {
  display: flex;
  scroll-margin-top: 120px;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #e0e7e9;
  border-radius: 22px;
  padding: 27px;
  background: #fff;
  box-shadow: 0 15px 45px rgb(38 62 72 / 7%);
}

.representative-card-head {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #edf1f2;
  padding-bottom: 20px;
}

.representative-location-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  background: rgb(239 108 0 / 10%);
  color: var(--brand-orange);
}

.representative-card-head > div {
  min-width: 0;
  flex: 1;
}

.representative-card-head span {
  color: #859399;
  font-size: 12px;
}

.representative-card-head h3 {
  margin: 4px 0 0;
  color: var(--brand-slate-dark);
  font-size: 17px;
  font-weight: 700;
}

.representative-card-head small {
  border-radius: 999px;
  padding: 6px 10px;
  background: #f2f5f6;
  color: #718087;
  font-size: 11px;
  white-space: nowrap;
}

.representative-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 23px 0;
}

.representative-details div {
  min-width: 0;
}

.representative-details dt {
  margin-bottom: 5px;
  color: #919da2;
  font-size: 11px;
}

.representative-details dd {
  margin: 0;
  color: #52636a;
  font-size: 13px;
  line-height: 1.9;
}

.representative-details a {
  color: var(--brand-orange);
  font-weight: 700;
}

.representative-address {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
  border-radius: 14px;
  padding: 15px;
  background: #f7f9fa;
  color: #6d7d83;
}

.representative-address svg {
  flex: none;
  margin-top: 3px;
  color: var(--brand-slate);
}

.representative-address p {
  margin: 0;
  font-size: 12px;
  line-height: 2;
}

.representative-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.representative-actions .button {
  flex: 1;
  justify-content: center;
  padding-inline: 15px;
  font-size: 12px;
}

.representatives-empty {
  border: 1px dashed #d6dfe2;
  border-radius: 18px;
  padding: 45px 20px;
  color: #7d8b91;
  font-size: 12px;
  text-align: center;
}

.side-info-card {
  position: sticky;
  top: 25px;
  border-radius: 22px;
  padding: 34px;
  background:
    radial-gradient(circle at 5% 5%, rgb(239 108 0 / 24%), transparent 34%),
    var(--brand-slate);
  color: #fff;
}

.side-info-card > svg {
  color: #ffb06f;
}

.side-info-card h2 {
  margin: 24px 0 12px;
  font-size: 22px;
  font-weight: 700;
}

.side-info-card p {
  color: #d4dfe3;
  font-size: 13px;
  line-height: 2;
}

.side-info-card .feature-list span {
  color: #fff;
}

.narrow-section {
  max-width: 820px;
}

.lookup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 15px;
}

.lookup-form .page-field {
  margin: 0;
}

.survey-question {
  margin: 0 0 24px;
  border: 0;
  border-bottom: 1px solid #edf0f1;
  padding: 0 0 24px;
}

.survey-question legend {
  margin-bottom: 14px;
  color: var(--brand-slate-dark);
  font-size: 13px;
  font-weight: 700;
}

.survey-question > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.survey-question label {
  cursor: pointer;
}

.survey-question input {
  position: absolute;
  opacity: 0;
}

.survey-question label span {
  display: block;
  border: 1px solid #dce4e7;
  border-radius: 10px;
  padding: 12px;
  color: #66777e;
  font-size: 12px;
  text-align: center;
}

.survey-question input:checked + span {
  border-color: var(--brand-orange);
  background: rgb(239 108 0 / 8%);
  color: var(--brand-orange);
  font-weight: 700;
}

.about-visual {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 15%, rgb(239 108 0 / 18%), transparent 28%),
    linear-gradient(145deg, #f2f6f7, #fff);
  box-shadow: inset 0 0 0 1px #e4eaec;
  text-align: center;
}

.about-visual img {
  width: min(280px, 82%);
}

.about-visual strong {
  margin-top: 22px;
  color: var(--brand-slate-dark);
  font-size: 26px;
}

.about-visual span {
  margin-top: 6px;
  color: #839198;
  font-size: 13px;
}

.value-card {
  height: 100%;
  border: 1px solid #e4eaec;
  border-radius: 18px;
  padding: 28px;
  background: #fff;
}

.value-card svg {
  color: var(--brand-orange);
}

.value-card h3 {
  margin: 17px 0 9px;
  color: var(--brand-slate-dark);
  font-size: 16px;
  font-weight: 700;
}

.value-card p {
  margin: 0;
  color: #78878d;
  font-size: 13px;
  line-height: 1.9;
}

.contact-details-card {
  height: 100%;
  border-radius: 22px;
  padding: 34px;
  background: var(--brand-slate-dark);
  color: #fff;
}

.contact-details-card h2 {
  margin: 0 0 25px;
  font-size: 23px;
  font-weight: 700;
}

.contact-details-card > a,
.contact-details-card > div {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  padding: 17px 0;
}

.contact-details-card svg {
  flex: none;
  color: #ff9a46;
}

.contact-details-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-details-card small {
  color: #9fb0b7;
  font-size: 11px;
}

.contact-details-card strong {
  font-size: 13px;
  font-weight: 500;
}

.not-found {
  display: grid;
  min-height: 600px;
  place-items: center;
  background: #f5f8f9;
  text-align: center;
}

.not-found span {
  color: rgb(239 108 0 / 18%);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1;
}

.not-found h1 {
  margin: -25px 0 10px;
  color: var(--brand-slate-dark);
  font-size: 30px;
  font-weight: 700;
}

.not-found p {
  margin-bottom: 25px;
  color: #7b8a90;
  font-size: 12px;
}

@media (max-width: 767px) {
  .page-hero {
    padding: 55px 0 60px;
  }

  .page-hero h1 {
    font-size: clamp(1.65rem, 8vw, 1.9rem);
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .page-form {
    padding: 24px 20px;
  }

  .dashboard-frame {
    padding: 12px;
  }

  .dashboard-frame-heading {
    align-items: flex-start;
    padding: 4px 4px 0;
  }

  .dashboard-frame iframe {
    min-height: 560px;
    border-radius: 12px;
  }

  .dashboard-frame-placeholder {
    min-height: 560px;
    border-radius: 12px;
    padding: 28px 20px;
  }

  .dashboard-frame-compact iframe {
    min-height: 450px;
  }

  .page-form-grid,
  .lookup-form {
    grid-template-columns: 1fr;
  }

  .inline-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 24px;
  }

  .inline-cta .button {
    justify-content: center;
  }

  .representatives-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .representatives-search {
    width: 100%;
  }

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

  .representative-actions {
    flex-direction: column;
  }

  .representative-details dd,
  .representative-address p {
    overflow-wrap: anywhere;
  }

  .side-info-card {
    position: static;
  }

  .survey-question > div {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .representative-card {
    padding: 22px 18px;
  }

  .representative-details {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}
