* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: #071b42;
  font-family: Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header {
  min-height: 60px;
  padding: 0 28px;
  border-top: 1px solid #071b42;
  border-bottom: 1px solid #cfd5df;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a,
header nav a {
  color: inherit;
  text-decoration: none;
}

header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

header nav a:hover,
header nav a[aria-current="page"] {
  color: #ff4d3d;
}

.brand {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.back-link {
  font-size: 14px;
  font-weight: 600;
}

.back-link:hover {
  color: #ff4d3d;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 70px auto 100px;
}

h1,
h2 {
  font-family: Georgia, serif;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(39px, 7vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0 0 45px;
  color: #526078;
  font-size: 18px;
  line-height: 1.6;
}

h2 {
  margin: 35px 0 10px;
  font-size: 23px;
}

p,
li,
small {
  color: #3f4b61;
  font-size: 16px;
  line-height: 1.75;
}

main a {
  color: #071b42;
  font-weight: 600;
}

main a:hover {
  color: #e83f32;
}

ul {
  padding-left: 21px;
}

.notice {
  margin: 35px 0;
  padding: 20px 23px;
  border-left: 3px solid #ff4d3d;
  background: #fff7f5;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  color: #071b42;
}

.purchase-panel {
  margin: 35px 0 42px;
  border: 1px solid #071b42;
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  overflow: hidden;
}

.purchase-panel > div:first-child {
  padding: 0 27px 26px;
}

.check-list {
  margin-bottom: 0;
}

.purchase-box {
  padding: 28px 24px;
  border-left: 1px solid #cfd5df;
  background: #fbfaf8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.purchase-box > strong {
  color: #071b42;
  font-family: Georgia, serif;
  font-size: 38px;
}

.purchase-box > span {
  margin-bottom: 18px;
  color: #526078;
  font-size: 13px;
  font-weight: 600;
}

.purchase-box small {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.55;
}

.checkout-link {
  min-height: 44px;
  border: 1px solid #ff4d3d;
  border-radius: 5px;
  padding: 0 14px;
  background: #ff4d3d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.checkout-link:hover {
  background: #e83f32;
  color: #fff;
}

.checkout-link.is-disabled {
  border-color: #b9c0cb;
  background: #e6e9ee;
  color: #657084;
  cursor: not-allowed;
}

.support-email {
  display: inline-block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.success-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #e9f7ef;
  color: #187744;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
}

.text-action {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid #071b42;
  border-radius: 5px;
  align-items: center;
  text-decoration: none;
}

.updated-date {
  margin-top: 45px;
  color: #6d778a;
  font-size: 13px;
}

.legal-footer {
  min-height: 65px;
  padding: 20px 28px;
  border-top: 1px solid #cfd5df;
  color: #526078;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

.legal-footer a:hover {
  color: #ff4d3d;
}

@media (max-width: 560px) {
  header {
    padding-inline: 18px;
  }

  main {
    margin-top: 45px;
  }

  header nav {
    gap: 10px;
    font-size: 12px;
  }

  .purchase-panel {
    grid-template-columns: 1fr;
  }

  .purchase-box {
    border-top: 1px solid #cfd5df;
    border-left: 0;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer nav {
    justify-content: flex-start;
  }
}
