.maintenance-page {
  color: var(--ink);
  background: #fff;
}

.maintenance-announcement {
  background: #173f6e;
}

.maintenance-hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  overflow: hidden;
  color: white;
  background: #153f3a;
}

.maintenance-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 53, 48, 0.98) 0%, rgba(9, 66, 59, 0.94) 38%, rgba(13, 64, 72, 0.7) 61%, rgba(16, 55, 75, 0.16) 100%);
  content: "";
}

.maintenance-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 52%;
}

.maintenance-hero-inner {
  display: flex;
  min-height: 590px;
  align-items: center;
}

.maintenance-hero-copy {
  width: min(680px, 62%);
  padding: 78px 0 98px;
}

.maintenance-hero .eyebrow {
  color: #c9edb8;
}

.maintenance-hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: 4.2rem;
  line-height: 1;
}

.maintenance-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.7;
}

.maintenance-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.maintenance-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.maintenance-hero-facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.maintenance-hero-facts li::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #083f35;
  background: #7ce0af;
  content: "✓";
  font-size: 0.72rem;
}

.maintenance-section {
  padding: 108px 0;
}

.maintenance-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.maintenance-section-head h2,
.maintenance-form-intro h2 {
  max-width: 770px;
  margin: 0;
  color: var(--green-950);
  font-size: 3.45rem;
  line-height: 1.05;
}

.maintenance-section-head > p,
.maintenance-form-intro > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.package-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 420px;
  flex-direction: column;
  padding: 34px 30px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.package-card:hover {
  transform: translateY(-3px);
  border-color: #8ccfbd;
  box-shadow: 0 20px 42px rgba(18, 55, 96, 0.1);
}

.package-card:has(input:checked) {
  border: 2px solid #18a788;
  padding: 33px 29px 27px;
  box-shadow: 0 20px 46px rgba(14, 113, 95, 0.13);
}

.package-card:focus-within {
  outline: 3px solid rgba(38, 126, 194, 0.28);
  outline-offset: 3px;
}

.package-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.package-card-featured {
  background: #f2faf8;
}

.package-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #15594e;
  background: #d8f3e8;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.package-kicker {
  color: #188c76;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-card > strong {
  margin-top: 18px;
  color: var(--green-950);
  font-size: 1.65rem;
  line-height: 1.2;
}

.package-description {
  min-height: 84px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.package-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.package-list span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3d6158;
  font-size: 0.86rem;
}

.package-list span::before {
  color: #18a788;
  content: "✓";
  font-weight: 900;
}

.package-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
  color: #173f6e;
  font-weight: 800;
}

.package-price-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.maintenance-process {
  color: white;
  background: #173f6e;
}

.maintenance-section-head-light h2 {
  color: white;
}

.maintenance-section-head-light .eyebrow {
  color: #c9edb8;
}

.maintenance-section-head-light > p {
  color: rgba(255, 255, 255, 0.7);
}

.maintenance-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.maintenance-steps li {
  display: grid;
  grid-template-rows: 42px 56px 82px;
  gap: 15px;
  padding: 34px 26px;
}

.maintenance-steps li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.maintenance-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #d6f2c8;
  font-size: 0.78rem;
  font-weight: 800;
}

.maintenance-steps strong {
  align-self: end;
  font-size: 1.18rem;
  line-height: 1.25;
}

.maintenance-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
}

.maintenance-form-section {
  background: #f5faf8;
}

.maintenance-form-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.7fr) minmax(0, 1.3fr);
  gap: 80px;
  align-items: start;
}

.maintenance-form-intro {
  position: sticky;
  top: 130px;
}

.maintenance-form-intro > p {
  margin-top: 26px;
}

.selected-package,
.self-shipping-address {
  margin-top: 34px;
  padding: 22px 0;
  border-top: 1px solid #c8ded7;
  border-bottom: 1px solid #c8ded7;
}

.selected-package span,
.self-shipping-address > span {
  display: block;
  color: #168975;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-package strong,
.self-shipping-address strong {
  display: block;
  margin-top: 8px;
  color: var(--green-950);
}

.self-shipping-address p {
  margin: 8px 0 0;
  color: var(--muted);
}

.maintenance-form {
  min-width: 0;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 24px 58px rgba(18, 55, 96, 0.09);
}

.maintenance-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 36px;
  border: 0;
}

.maintenance-form fieldset + fieldset {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.maintenance-form legend {
  width: 100%;
  margin-bottom: 22px;
  color: var(--green-950);
  font-size: 1.2rem;
  font-weight: 800;
}

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

.maintenance-fields-three {
  grid-template-columns: 1.25fr 1fr 0.72fr;
}

.maintenance-field-wide {
  grid-column: 1 / -1;
}

.maintenance-form label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.maintenance-form label > span {
  color: #294c43;
  font-size: 0.82rem;
  font-weight: 760;
}

.maintenance-form input,
.maintenance-form select,
.maintenance-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c7d8d3;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.maintenance-form input,
.maintenance-form select {
  height: 50px;
  padding: 0 13px;
}

.maintenance-form textarea {
  min-height: 116px;
  padding: 13px;
  resize: vertical;
}

.maintenance-form input:focus,
.maintenance-form select:focus,
.maintenance-form textarea:focus {
  border-color: #178f79;
  outline: 3px solid rgba(23, 143, 121, 0.14);
}

.field-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.loan-weeks {
  max-width: 440px;
}

.consent-row {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px !important;
  margin-top: 22px;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.consent-row span {
  color: var(--muted) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.maintenance-submit {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #1d689f, #35c98e);
  box-shadow: 0 12px 26px rgba(30, 105, 157, 0.2);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.maintenance-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.maintenance-notices {
  padding-top: 96px;
}

.maintenance-notices details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.maintenance-notices summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--green-950);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.maintenance-notices summary::-webkit-details-marker {
  display: none;
}

.maintenance-notices summary span {
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.maintenance-notices details[open] summary span {
  transform: rotate(45deg);
}

.notice-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 12px 0 38px;
}

.notice-content div {
  padding-left: 18px;
  border-left: 3px solid #64caa3;
}

.notice-content strong {
  color: var(--green-950);
}

.notice-content p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

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

@media (max-width: 1040px) {
  .maintenance-hero-copy {
    width: 72%;
  }

  .maintenance-hero h1 {
    font-size: 3.5rem;
  }

  .maintenance-section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .package-card {
    min-height: 0;
  }

  .package-description {
    min-height: 0;
  }

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

  .maintenance-steps li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .maintenance-steps li:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .maintenance-form-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .maintenance-form-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .maintenance-hero,
  .maintenance-hero-inner {
    min-height: 640px;
  }

  .maintenance-hero::before {
    background: linear-gradient(180deg, rgba(5, 53, 47, 0.96) 0%, rgba(7, 63, 56, 0.89) 55%, rgba(11, 56, 70, 0.56) 100%);
  }

  .maintenance-hero-image {
    object-position: 58% center;
  }

  .maintenance-hero-copy {
    width: 100%;
    padding: 62px 0 80px;
  }

  .maintenance-hero h1 {
    font-size: 2.75rem;
  }

  .maintenance-hero-copy > p:not(.eyebrow) {
    font-size: 0.96rem;
  }

  .maintenance-hero-facts {
    display: grid;
    gap: 11px;
  }

  .maintenance-section {
    padding: 76px 0;
  }

  .maintenance-section-head h2,
  .maintenance-form-intro h2 {
    font-size: 2.45rem;
  }

  .package-card,
  .package-card:has(input:checked) {
    padding: 28px 24px 24px;
  }

  .package-badge {
    position: static;
    width: max-content;
    margin-bottom: 14px;
  }

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

  .maintenance-steps li,
  .maintenance-steps li:nth-child(3),
  .maintenance-steps li:nth-child(4) {
    grid-template-rows: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .maintenance-steps li:first-child {
    border-top: 0;
  }

  .maintenance-form {
    padding: 30px 20px;
  }

  .maintenance-fields,
  .maintenance-fields-three {
    grid-template-columns: 1fr;
  }

  .notice-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
