.wrap {
  width: min(1240px, 88%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.header {
  background: #090d0e;
  border-color: #233034;
}
.headerline { min-height: 76px; }
.headerline .brand { width: 163px; }
.headerline nav { gap: clamp(18px, 2.7vw, 40px); }
.headerline nav .client-login-link {
  border-radius: 99px;
  padding: 10px 18px;
  border-color: #42555a;
}

.hero {
  min-height: clamp(455px, 36vw, 578px);
  border-bottom: 1px solid #344146;
}
.hero-material { left: 12%; }
.hero::after {
  background:
    linear-gradient(90deg, #040708 0%, #040708fa 19%, #040708da 33%, #04070862 55%, transparent 79%),
    linear-gradient(0deg, rgb(3 8 10 / .38), transparent 34%),
    radial-gradient(ellipse at 100% 27%, rgb(130 222 247 / .38), transparent 63%);
}
.herotext {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 405px);
  gap: clamp(25px, 4.7vw, 82px);
  align-items: center;
  padding-block: clamp(64px, 6vw, 98px);
}
.hero .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .17em;
  gap: 10px;
  margin: 0 0 25px;
  color: #a4dbea;
}
.hero .kicker i { width: 26px; height: 1px; }
.hero .kicker span { color: #66838b; }
.hero h1 {
  font-size: clamp(47px, 5.25vw, 85px);
  line-height: 1.025;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.hero h1 em { margin: 0; color: #a1e3f4; }
.hero-intro {
  margin: 23px 0 17px;
  color: #c3cdd0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-services-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #e8eded;
  font-size: 14px;
  font-weight: 550;
}
.hero-services-link span { color: var(--cyan); font-size: 18px; }
.hero-services-link:hover { color: var(--cyan); }

.maintenance-pass {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 405px;
  margin-inline: auto;
  padding: clamp(21px, 2.2vw, 33px);
  border: 1px solid #6b8992;
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 105% -18%, #42616a 0, transparent 62%),
    linear-gradient(130deg, #203136, #132026 53%, #16272c);
  box-shadow: inset 0 1px 0 #c2edf224, inset 0 -1px 0 #ffffff07, 0 26px 46px -12px #010507ba;
  transform: rotate(-1.5deg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.maintenance-pass::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  border: 1px solid #a9dbe414;
  border-radius: 12px;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .maintenance-pass:hover { transform: translateY(-3px) rotate(-.5deg); }
}
.pass-identity {
  position: relative;
  min-height: 78px;
  padding: 0 80px 0 0;
}
.pass-identity h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #cfebf1;
  font: 650 clamp(11px, .9vw, 13px)/1.35 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pass-identity h2::before {
  content: "";
  width: 18px;
  height: 1px;
  background: #90d6e8;
}
.pass-seal {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(62px, 5vw, 79px);
  height: auto;
  transform: rotate(7deg);
}
.pass-rate-line {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 11px;
  color: #c2d2d7;
  font: 400 14px/1.1 var(--sans);
  white-space: nowrap;
}
.pass-rate-line .pass-from { margin-right: 2px; }
.pass-package {
  margin: 6px 0 0;
  color: #c2d2d7;
  font-size: 14px;
  line-height: 1.4;
}
.pass-package strong { color: #e5f1f4; font-weight: 600; }
#pass-rate {
  font: 400 clamp(47px, 4.25vw, 65px)/.98 var(--serif);
  letter-spacing: -.055em;
  color: #f9faf6;
}
.pass-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 0;
  padding: 3px;
  min-width: 0;
  gap: 3px;
  border: 1px solid #4b6269;
  border-radius: 7px;
  background: #0c161b;
}
.pass-switch label { position: relative; min-width: 0; cursor: pointer; }
.pass-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.pass-switch span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #b6c7ca;
  font: 550 14px/1.4 var(--sans);
}
.pass-switch input:checked + span {
  color: #eefbff;
  border-color: #587680;
  background: #30474f;
}
.pass-switch input:focus-visible + span {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}
.pass-first {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 17px 0;
  color: #cad7da;
  font-size: 14px;
}
.pass-first strong { color: #f6f8f7; }
.pass-first small { color: #bccbd0; font-size: 12px; font-weight: 400; }
.pass-book.btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 45px;
  padding-inline: 17px;
  border-radius: 5px;
  background: #9be0f2;
  color: #0d222a;
}
.pass-book span { font-size: 21px; line-height: 1; }

@media (max-width: 900px) and (min-width: 761px) {
  .herotext { grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; }
  .hero h1 { font-size: clamp(39px, 5.2vw, 47px); }
}
@media (max-width: 760px) {
  .wrap { width: 89%; }
  .headerline { min-height: 66px; }
  .headerline .brand { width: 135px; }
  .herotext {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-block: 39px 42px;
  }
  .hero-material { left: 0; }
  .hero::after {
    background:
      linear-gradient(110deg, #040708f2 3%, #040708bb 35%, #04070833 80%),
      linear-gradient(0deg, #0407087d, transparent 38%),
      radial-gradient(ellipse at 115% 42%, #87daf366, transparent 70%);
  }
  .hero h1 { font-size: clamp(42px, 7.8vw, 60px); }
  .hero .kicker { margin-bottom: 16px; font-size: 10px; gap: 8px; }
  .hero-intro { margin: 14px 0 3px; max-width: 42ch; }
  .maintenance-pass { margin-inline: 3px 0; width: calc(100% - 6px); max-width: 415px; }
  .pass-switch { margin-top: 14px; }
  .pass-switch span { min-height: 42px; }
  .pass-first { margin: 14px 0; }
}
@media (max-width: 500px) {
  .headerline nav { gap: 15px; }
  .headerline nav a[href="#rates"] { display: none; }
  .headerline nav .client-login-link { padding: 9px 12px; }
  .headerline .brand { width: clamp(107px, 31vw, 134px); }
  .hero h1 { font-size: clamp(37px, 10.1vw, 49px); }
  .hero-intro { max-width: 32ch; }
}
@media (prefers-reduced-motion: reduce) {
  .maintenance-pass { transform: none; }
}
.form-panel .billing-agreement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  margin: 15px 0;
}
.form-panel .billing-agreement input {
  width: 20px;
  height: 20px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--cyan);
}
.form-panel .billing-agreement[hidden] { display: none; }
@media (scripting: none) {
  .maintenance-pass .pass-switch,
  .maintenance-pass .pass-book { display: none; }
}
