.price-action {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.price-action .button {
  white-space: nowrap;
}

.price-demo-link,
.footer-links a,
.consent-field a {
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.header-account-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-login {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.checkout-message,
.form-message {
  min-height: 18px;
  line-height: 1.45;
}

.checkout-message {
  margin: 0;
  max-width: 220px;
  color: #59646d;
  font-size: 11px;
  font-weight: 700;
}

.checkout-message[data-state="error"],
.form-message[data-state="error"] {
  color: #74251d;
}

.checkout-message[data-state="success"],
.form-message[data-state="success"] {
  color: #285a46;
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.demo form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo label:nth-child(3) {
  grid-column: auto;
}

.demo-message-field,
.consent-field,
.demo form .form-message {
  grid-column: 1 / -1;
}

.demo textarea {
  width: 100%;
  resize: vertical;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(20, 32, 42, 0.5);
  outline: none;
  background: transparent;
  color: #14202a;
  font: 600 14px var(--sans);
}

.optional {
  opacity: 0.62;
  font-size: 8px;
}

.demo .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font: 500 11px/1.5 var(--sans);
  text-transform: none;
  letter-spacing: 0;
}

.consent-field input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #14202a;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.legal-page {
  min-height: 100vh;
}

.legal-content {
  width: min(760px, calc(100% - 40px));
  margin: 50px auto 110px;
}

.legal-content h1,
.success-card h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-updated {
  margin: 18px 0 55px;
  color: #6c747a;
  font: 11px var(--mono);
}

.legal-content section {
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.legal-content section p {
  margin: 0;
  color: #56616a;
  line-height: 1.75;
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #d8edb4;
}

.success-card {
  width: min(620px, 100%);
  padding: clamp(30px, 7vw, 70px);
  border: 1px solid rgba(20, 32, 42, 0.14);
  border-radius: 14px;
  background: #fffdf7;
  box-shadow: 0 25px 70px rgba(20, 32, 42, 0.14);
}

.success-card > .brand-mark {
  margin-bottom: 36px;
}

.success-card > p:not(.eyebrow) {
  margin: 25px 0;
  color: #56616a;
  line-height: 1.75;
}

@media (max-width: 850px) {

  .header-login {
    display: none;
  }
  .price-action {
    margin-top: 22px;
  }

  .demo form {
    grid-template-columns: 1fr;
  }

  .demo-message-field,
  .consent-field,
  .demo form .form-message {
    grid-column: auto;
  }

  .footer-links {
    margin-left: auto;
  }
}
