@font-face {
  font-family: "Sora";
  src: url("fonts/Sora-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #10213A;
  --navy-light: #1B3152;
  --gold: #E2C478;
  --off-white: #F5F4F0;
  --mist-blue: #B8C7D9;
  --error-red: #E07A7A;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background-color: var(--navy);
}

body {
  min-height: 100vh;
  color: var(--off-white);
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}

.page {
  max-width: 1366px;
  margin: 0 auto;
  padding: 24px 56px 40px;
}

.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.logo {
  display: block;
  width: 264px;
  height: auto;
}

.switcher {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.switcher button {
  font: inherit;
  font-size: 16px;
  color: var(--mist-blue);
  background: none;
  border: none;
  border-bottom: 2px solid var(--navy);
  padding: 4px 8px;
  cursor: pointer;
}

.switcher button[aria-pressed="true"] {
  color: var(--off-white);
  border-bottom-color: var(--gold);
}

.switcher button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 440px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}

h1 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  margin: 8px 0 12px;
}

.tagline {
  color: var(--gold);
  font-size: 22px;
  margin: 0 0 24px;
}

.description {
  margin: 0 0 20px;
}

.points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.points li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--gold);
}

.status {
  position: relative;
  margin: 0;
  padding-left: 16px;
  color: var(--mist-blue);
  font-size: 16px;
}

.status::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--mist-blue);
}

.interest {
  margin-top: 8px;
  padding: 20px 28px;
  border: 1px solid var(--navy-light);
  border-radius: 12px;
  background-color: var(--navy);
}

.interest [hidden] {
  display: none;
}

.interest .website-field {
  display: none;
}

.interest h2 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 4px;
}

.interest-intro {
  color: var(--mist-blue);
  font-size: 16px;
  margin: 0 0 12px;
}

.interest form {
  display: grid;
  gap: 8px;
}

.interest label {
  display: grid;
  gap: 2px;
  color: var(--mist-blue);
  font-size: 15px;
}

.interest input[type="text"],
.interest input[type="email"],
.interest textarea {
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  background-color: var(--off-white);
  border: 1px solid var(--navy-light);
  border-radius: 6px;
  padding: 6px 10px;
  resize: vertical;
}

.interest input[type="text"]:-webkit-autofill,
.interest input[type="email"]:-webkit-autofill {
  box-shadow: 0 0 0 100px var(--off-white) inset;
  -webkit-text-fill-color: var(--navy);
}

.interest .agreement {
  margin: 4px 0 0;
  color: var(--mist-blue);
  font-size: 15px;
}

.interest a {
  color: var(--gold);
}

.interest .problem {
  margin: 0;
  color: var(--error-red);
  font-size: 15px;
}

.interest button {
  justify-self: start;
  margin-top: 6px;
  font: inherit;
  font-size: 17px;
  color: var(--navy);
  background-color: var(--gold);
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  cursor: pointer;
}

.interest input:focus-visible,
.interest textarea:focus-visible,
.interest button:focus-visible,
.interest a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.confirmation {
  margin: 0;
}

.jump {
  display: none;
}

.jump:focus-visible span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .interest {
    padding: 20px;
  }

  .jump {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 20px;
    border: none;
    background-color: var(--navy);
    font: inherit;
    cursor: pointer;
  }

  .jump[hidden] {
    display: none;
  }

  .jump span {
    display: block;
    padding: 10px 22px;
    border-radius: 6px;
    background-color: var(--gold);
    color: var(--navy);
    font-size: 17px;
    text-align: center;
  }

  .page {
    padding: 16px 20px 32px;
  }

  .top {
    flex-direction: column-reverse;
  }

  .switcher {
    align-self: flex-end;
    margin-top: 0;
  }

  .logo {
    width: 220px;
  }

  h1 {
    font-size: 32px;
  }

  .tagline {
    font-size: 20px;
  }

  body {
    font-size: 17px;
  }
}

.privacy {
  max-width: 820px;
}

.privacy-logo {
  display: inline-block;
  margin-bottom: 24px;
}

.privacy h1 {
  margin-bottom: 24px;
}

.privacy h2,
.privacy h3 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.privacy h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}

.privacy h3 {
  font-size: 18px;
  margin: 24px 0 8px;
}

.privacy p,
.privacy ol {
  margin: 0 0 14px;
}

.privacy a {
  color: var(--gold);
}

.privacy-back {
  margin-top: 40px;
}
