:root {
  --navy: #071e50;
  --blue: #9bbcff;
  --coral: #ff6a57;
  --lime: #dafa72;
  --muted: #b8c3d1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    linear-gradient(150deg, rgba(23, 79, 155, 0.96), rgba(7, 30, 80, 0.99)),
    repeating-linear-gradient(120deg, transparent 0 92px, rgba(255, 255, 255, 0.055) 93px 94px);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}
button,
select {
  font: inherit;
}
nav {
  height: 72px;
  border-bottom: 1px solid #ffffff26;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
}
.brand {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 13px;
}
.brand img {
  width: 56px;
  height: 56px;
}
.preview-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ffffff55;
  border-radius: 99px;
  padding: 10px 15px;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.preview-badge i,
.eyebrow i {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
}
main {
  min-height: calc(100vh - 142px);
  padding: 22px 6vw 26px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(440px, 590px);
  gap: 6vw;
  align-items: center;
  position: relative;
  overflow: hidden;
}
main:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: #274a75;
  border-radius: 50%;
  left: -245px;
  top: 100px;
}
.intro,
.card {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--coral);
}
.intro h1 {
  font:
    400 clamp(43px, 4.2vw, 65px)/0.96 Georgia,
    serif;
  letter-spacing: -0.05em;
  margin: 8px 0 15px;
}
.intro h1 em {
  color: var(--blue);
  font-weight: 400;
}
.intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
  max-width: 600px;
}
.intro > strong {
  display: block;
  color: var(--lime);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.35;
  margin-top: 14px;
}
.earth {
  height: 220px !important;
  position: relative;
}
.earth canvas {
  width: 100%;
  height: 100%;
}
.card {
  background: white;
  color: var(--navy);
  border-radius: 25px;
  padding: 24px 29px;
  box-shadow: 0 30px 90px #0007;
}
.card h2 {
  font:
    400 clamp(25px, 2.3vw, 36px)/1.14 Georgia,
    serif;
  margin: 10px 0 22px;
}
.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8b94a0;
  font-size: 10px;
}
.progress i {
  height: 3px;
  background: #e7e9ec;
  flex: 1;
}
.progress b {
  display: block;
  height: 100%;
  background: var(--coral);
}
.choices {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}
.choice {
  display: grid;
  grid-template-columns: 37px 1fr;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid #d9dde3;
  background: #fafbfc;
  border-radius: 12px;
  padding: 11px 13px;
  color: var(--navy);
  cursor: pointer;
}
.choice:hover,
.choice.selected {
  border-color: #6d94d3;
  background: #eef3ff;
}
.choice b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #e8edf5;
  font-size: 11px;
}
.choice.selected b {
  background: var(--navy);
  color: white;
}
.choice span {
  font-size: 13px;
  line-height: 1.35;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.primary,
.secondary {
  border: 0;
  border-radius: 9px;
  padding: 14px 17px;
  font-weight: 800;
  cursor: pointer;
}
.primary {
  background: var(--coral);
  color: white;
  flex: 1;
}
.primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.secondary {
  background: transparent;
  color: #697583;
}
.review {
  border-bottom: 1px solid #e1e3e6;
  padding: 12px 0;
  display: grid;
  gap: 5px;
}
.review span,
label {
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #6f7986;
}
.review strong {
  font:
    400 17px/1.35 Georgia,
    serif;
}
.age {
  display: grid;
  gap: 7px;
  margin: 17px 0;
}
.age small {
  letter-spacing: 0;
  font-weight: 400;
}
.age select {
  padding: 11px;
  border: 1px solid #d5d9df;
  border-radius: 9px;
  background: white;
}
.turnstile {
  min-height: 65px;
  margin: 12px 0;
}
.error {
  background: #ff6a571c;
  border: 1px solid #ff6a5766;
  color: #9f2c20;
  padding: 12px;
  border-radius: 9px;
}
.success {
  text-align: center;
}
.check {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  font-size: 32px;
  margin: 0 auto 22px;
}
.success p {
  color: #6f7884;
  line-height: 1.6;
}
.success button {
  border: 0;
  background: none;
  color: #305d9f;
  text-decoration: underline;
  cursor: pointer;
}
footer {
  border-top: 1px solid #ffffff26;
  min-height: 70px;
  padding: 16px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
}
footer b {
  color: var(--blue);
}
@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
  }
  .intro {
    text-align: center;
  }
  .intro > p:not(.eyebrow) {
    margin-left: auto;
    margin-right: auto;
  }
  .earth {
    max-width: 650px;
    margin: auto;
  }
  .card {
    max-width: 620px;
    width: 100%;
    margin: auto;
  }
}
@media (max-width: 600px) {
  nav {
    height: 78px;
  }
  .brand img {
    width: 56px;
    height: 56px;
  }
  .preview-badge {
    display: none;
  }
  main {
    padding: 35px 15px 45px;
  }
  .earth {
    height: 230px;
  }
  .intro h1 {
    font-size: 48px;
  }
  .card {
    padding: 23px 18px;
    border-radius: 19px;
  }
  .actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .secondary,
  .primary {
    width: 100%;
  }
  footer {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}
