:root {
  --cs-blue: #55bbff;
  --cs-dark: #121212;
  --cs-grey: #696969;
  --cs-light: #f7f7f5;
  --cs-green: #00a086;
  --radius: 2.4rem;
}

html { font-size: 62.5%; }

body {
  font: 300 1.6rem/2.6rem Interstate, Arial, sans-serif;
  color: var(--cs-dark);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--cs-dark); }

.site-header {
  background: var(--cs-dark);
  color: #fff;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .brand {
  display: block;
  width: 125px;
  height: 4rem;
  background: url("logo.svg") left center / contain no-repeat;
  text-indent: -999rem;
  overflow: hidden;
}

.site-header nav {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}

.site-header nav a {
  color: #fff;
  font: 700 1.4rem/1 Interstate, Arial, sans-serif;
  text-decoration: none;
  opacity: .92;
}

.site-header nav a:hover { opacity: 1; text-decoration: underline; }

.site-header nav a.cta {
  background: var(--cs-blue);
  color: var(--cs-dark);
  padding: 1.2rem 2rem;
  border-radius: 4.8rem;
}

main {
  flex: 1;
  width: 100%;
  max-width: 116rem;
  margin: 0 auto;
  padding: 4.8rem 2rem 6.4rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5.6rem;
  align-items: center;
}

.hero h1 {
  font: 900 4.8rem/5.6rem "Interstate Congstar Cond", Interstate, Arial, sans-serif;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: var(--cs-green);
  color: var(--cs-dark);
  border-radius: 1.2rem;
  padding: 0 1.2rem;
}

.hero p.lead {
  margin-top: 2.4rem;
  font: 300 1.8rem/2.8rem Interstate, Arial, sans-serif;
  max-width: 46rem;
}

.hero ul {
  margin-top: 2.4rem;
  display: grid;
  gap: .8rem;
}

.hero ul li {
  padding-left: 2.6rem;
  position: relative;
  font: 300 1.6rem/2.6rem Interstate, Arial, sans-serif;
}

.hero img.shot {
  margin-top: 3.2rem;
  width: 100%;
  border-radius: 1.6rem;
  border: 1px solid #e5e5e5;
  background: #f7f7f5;
}

.hero ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .9rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--cs-green);
}

.card {
  background: var(--cs-light);
  border-radius: var(--radius);
  padding: 4rem 3.2rem;
  box-shadow: 0 .4rem 3.2rem rgba(18, 18, 18, .08);
}

.card h2 {
  font: 900 3.2rem/4rem "Interstate Congstar Cond", Interstate, Arial, sans-serif;
  margin-bottom: .8rem;
}

.card p.hint {
  font: 300 1.4rem/2.25rem Interstate, Arial, sans-serif;
  color: #4a4a4a;
  margin-bottom: 2.4rem;
}

.field { margin-bottom: 1.8rem; }

.field label {
  display: block;
  font: 700 1.4rem/1 Interstate, Arial, sans-serif;
  margin-bottom: .8rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"] {
  width: 100%;
  height: 5.2rem;
  padding: 1.4rem 1.6rem;
  font: 300 1.6rem/1 Interstate, Arial, sans-serif;
  color: var(--cs-dark);
  background: #fff;
  border: 2px solid #d8d8d8;
  border-radius: .8rem;
  outline: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.field input:focus {
  border-color: var(--cs-dark);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cs-blue);
}

.field .error-msg {
  display: none;
  color: #c81e1e;
  font: 700 1.3rem/1.9rem Interstate, Arial, sans-serif;
  margin-top: .5rem;
}

.field.invalid input { border-color: #c81e1e; }
.field.invalid .error-msg { display: block; }

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  margin: 2rem 0 2.4rem;
  font-size: 1.4rem;
}

.check {
  display: flex;
  align-items: center;
  gap: .8rem;
  font: 300 1.4rem/2.25rem Interstate, Arial, sans-serif;
  cursor: pointer;
}

.check input {
  width: 1.8rem;
  height: 1.8rem;
  accent-color: var(--cs-green);
  cursor: pointer;
}

.row-between a { font-weight: 700; }

button.submit {
  width: 100%;
  height: 5.2rem;
  border: 0;
  border-radius: 4.8rem;
  background: var(--cs-blue);
  color: var(--cs-dark);
  font: 700 1.6rem/1 Interstate, Arial, sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition: filter .15s ease-in-out;
}

button.submit:hover { filter: brightness(.94); }
button.submit[disabled] { background: #d8d8d8; cursor: progress; }

.spinner {
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid rgba(18, 18, 18, .25);
  border-top-color: var(--cs-dark);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

button.submit.loading .spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.card .legal {
  margin-top: 2.4rem;
  font: 300 1.3rem/2rem Interstate, Arial, sans-serif;
  color: #4a4a4a;
}

.card .legal a { font-weight: 700; }

.status {
  display: none;
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: .8rem;
  background: #fff;
  border-left: .4rem solid var(--cs-green);
  font: 300 1.4rem/2.25rem Interstate, Arial, sans-serif;
}

.status.show { display: block; }

.status.error { border-left-color: #c81e1e; }

.trust {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  align-items: center;
  color: var(--cs-grey);
  font: 300 1.3rem/2rem Interstate, Arial, sans-serif;
}

.trust .dot {
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  background: var(--cs-green);
  display: inline-block;
  margin-right: .6rem;
}

footer {
  background: var(--cs-dark);
  color: #bdbdbd;
  padding: 3.2rem 2rem;
  font: 300 1.3rem/2.2rem Interstate, Arial, sans-serif;
}

footer .inner {
  max-width: 116rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3.2rem;
  justify-content: space-between;
}

footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.stepper {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  font: 700 1.2rem/1.4rem Interstate, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cs-grey);
  flex-wrap: wrap;
}

.stepper .step {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.stepper .num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid #d8d8d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stepper .step.done .num {
  background: var(--cs-green);
  border-color: var(--cs-green);
  color: var(--cs-dark);
}

.stepper .step.active { color: var(--cs-dark); }

.stepper .step.active .num {
  background: var(--cs-dark);
  border-color: var(--cs-dark);
  color: #fff;
}

.stepper .bar {
  flex: 1;
  min-width: 1.6rem;
  height: 2px;
  background: #d8d8d8;
}

fieldset.group {
  border: 0;
  padding: 0;
  margin: 0 0 2.8rem;
}

fieldset.group legend {
  font: 900 2rem/2.8rem "Interstate Congstar Cond", Interstate, Arial, sans-serif;
  margin-bottom: 1.6rem;
  padding: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6rem;
}

.grid-2 > .span-2 { grid-column: 1 / -1; }

.field select {
  width: 100%;
  height: 5.2rem;
  padding: 1.4rem 1.2rem;
  font: 300 1.6rem/1 Interstate, Arial, sans-serif;
  color: var(--cs-dark);
  background: #fff;
  border: 2px solid #d8d8d8;
  border-radius: .8rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23121212' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  background-size: 14px 9px;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.field select:focus {
  border-color: var(--cs-dark);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cs-blue);
}

.check-line {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font: 300 1.3rem/2rem Interstate, Arial, sans-serif;
  color: #4a4a4a;
  margin-bottom: 2.4rem;
}

.check-line input {
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  margin-top: .2rem;
  accent-color: var(--cs-green);
}

.secure-note {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.6rem;
  font: 300 1.3rem/1.9rem Interstate, Arial, sans-serif;
  color: var(--cs-grey);
}

.secure-note svg { flex: 0 0 auto; }

.page-narrow {
  max-width: 78rem;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 3.2rem;
}

.page-narrow .hero h1 { font-size: 3.6rem; line-height: 4.4rem; }

.card .sub {
  font: 300 1.4rem/2.25rem Interstate, Arial, sans-serif;
  color: #4a4a4a;
  margin-bottom: 2.8rem;
}

.summary-list {
  margin-top: 2.4rem;
  border-top: 1px solid #d8d8d8;
  padding-top: 1.6rem;
  font: 300 1.4rem/2.4rem Interstate, Arial, sans-serif;
}

.summary-list .pair {
  display: flex;
  justify-content: space-between;
  gap: 2.4rem;
}

.summary-list dt { color: var(--cs-grey); }
.summary-list dd { font-weight: 700; text-align: right; word-break: break-word; }

.done-mark {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  background: var(--cs-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.4rem;
}

.big { font: 300 1.6rem/2.6rem Interstate, Arial, sans-serif; }

@media (max-width: 700px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  main {
    grid-template-columns: 1fr;
    gap: 3.2rem;
    padding-top: 3.2rem;
  }
  .hero h1 { font-size: 3.6rem; line-height: 4.4rem; }
  .card { padding: 3.2rem 2.4rem; }
  .site-header nav a:not(.cta) { display: none; }
}
