:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #edf1f4;
  color: #142e49;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
main {
  width: min(100%, 32rem);
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid #d4dce2;
  border-top: 4px solid #173a5f;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgb(24 48 72 / 6%);
}
h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  line-height: 1.14;
  font-weight: 650;
  letter-spacing: -.035em;
}
p { line-height: 1.55; }
.price {
  margin: 20px 0 0;
  font-size: 1.125rem;
}
.price strong { font-size: 1.75rem; }
.intro {
  margin: 8px 0 24px;
  font-size: 1.0625rem;
  color: #435668;
}
.payment {
  border-top: 1px solid #dce3e8;
  padding-top: 24px;
}
.payment h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
}
#card-method:not([hidden]) + #paypal-method { margin-top: 16px; }
#status { margin: 0; overflow-wrap: anywhere; }
#payment-methods:not([hidden]) + #status:not(:empty) { margin-top: 12px; }
#retry {
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 5px;
  font: inherit;
  color: #fff;
  background: #173a5f;
  cursor: pointer;
}
:focus-visible { outline: 3px solid #2867a4; outline-offset: 4px; }
