.checkout-wrap {
  width:min(760px, calc(100% - 36px));
  margin:60px auto 85px;
}

.checkout-wrap h1 {
  font-size:clamp(32px,5vw,54px);
  line-height:1.1;
  letter-spacing:-.04em;
  margin:0 0 25px;
  font-weight:800;
}

.checkout-lead {
  font-size:15px;
  color:var(--muted);
  max-width:600px;
  line-height:1.85;
}

.checkout-card {
  padding:34px;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
  margin:24px 0;
  background:var(--white);
}

.checkout-card h2 {
  font:700 18px/1.4 Manrope,sans-serif;
  margin:0 0 18px;
  letter-spacing:0;
}

.checkout-card h2:not(:first-child) {
  margin-top:34px;
}

.web-options {
  display:grid;
  gap:10px;
  border:0;
  padding:0;
  margin:0;
  min-width:0;
}

.web-options label {
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:var(--paper);
  cursor:pointer;
  position:relative;
  transition:border-color .15s;
}

.web-options label:hover {
  border-color:var(--signal);
}

.web-options label:has(input:checked) {
  border-color:var(--accent);
  background:var(--accent-soft);
  box-shadow:0 0 0 3px var(--accent-soft);
}

.web-options label:has(input:focus-visible) {
  outline:2px solid var(--signal);
  outline-offset:4px;
}

.web-options label>span {
  font-size:14px;
  font-weight:650;
  min-width:0;
}

.web-options small {
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:400;
  line-height:1.7;
  margin-top:3px;
}

.web-options input,.web-consent input {
  accent-color:var(--accent);
  width:18px;
  height:18px;
  flex-shrink:0;
}

.web-method-symbol {
  font-size:18px;
  font-weight:500;
  color:var(--accent);
  margin-right:4px;
}

.web-price {
  font-family:var(--display);
  font-size:clamp(23px,4vw,34px);
  font-weight:800;
  letter-spacing:-.03em;
  margin:28px 0 22px;
  padding-top:25px;
  border-top:1px solid var(--line);
  line-height:1.5;
}

.web-consent {
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:12px;
  margin:24px 0;
  line-height:1.8;
  color:var(--muted);
}

.web-consent input {
  margin-top:3px;
}

.web-consent a,.checkout-help a,.checkout-footer a,.terms-copy p a {
  text-decoration:underline;
  text-underline-offset:4px;
  color:var(--signal);
}

.checkout-card>.button {
  margin:5px 5px 5px 0;
}

.checkout-help {
  font-size:12px;
  color:var(--muted);
  line-height:1.9;
  margin-top:16px;
}

.web-notice {
  padding:14px 18px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:10px;
  font-size:13px;
  line-height:1.8;
}

.web-notice:empty {
  display:none;
}

.web-notice[data-error=true] {
  border-color: var(--accent-line);
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.web-order {
  display:flex;
  gap:15px;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding:18px 0;
  overflow-wrap:anywhere;
}

.web-order p {
  margin:0;
}

.web-order small {
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:5px;
}

.checkout-footer {
  display:flex;
  gap:28px;
  padding-block:28px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}

.checkout-footer span {
  margin-right:auto;
}

#web-plans {
  grid-template-columns:repeat(2,1fr);
}

#web-pay {
  width:100%;
  margin-bottom:5px;
  min-height:52px;
}

#web-user {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--signal);
  padding:14px 16px;
  background:var(--panel);
  border-radius:10px;
  margin:0;
}

#web-user::before {
  content:'✓';
  color:var(--signal);
  font-size:16px;
}

.terms-version {
  font-size:12px;
  color:var(--muted);
  margin-bottom:20px;
}

.terms-copy {
  max-width:760px;
}

.terms-copy h1 {
  font-size:clamp(29px,4.5vw,45px);
}

.terms-copy h2 {
  font:700 21px/1.5 Manrope,sans-serif;
  letter-spacing:0;
  margin:34px 0 16px;
}

.terms-copy p {
  line-height:1.9;
  color:var(--muted);
  font-size:15px;
}

.terms-copy>.button {
  margin:12px 6px 0 0;
}

@media(max-width:600px) {
  .checkout-wrap {
    margin-top:36px;
    margin-bottom:50px;
  }
  .checkout-wrap h1 {
    font-size:32px;
    line-height:1.15;
  }
  .checkout-lead {
    font-size:14px;
  }
  .checkout-card {
    padding:23px 20px;
    border-radius:16px;
  }
  .checkout-card h2 {
    font-size:17px;
  }
  .web-options label {
    padding:13px 12px;
    gap:9px;
  }
  .web-options label>span {
    font-size:13px;
  }
  .web-options small {
    font-size:11px;
  }
  .web-options input {
    width:16px;
    height:16px;
  }
  .web-price {
    font-size:25px;
  }
  .checkout-footer {
    gap:18px;
    font-size:11px;
    flex-wrap:wrap;
  }
  .checkout-help {
    font-size:12px;
  }
  .terms-copy h1 {
    font-size:29px;
  }
  .terms-copy p {
    font-size:14px;
  }
}

@media(max-width:360px) {
  .checkout-wrap {
    width:calc(100% - 32px);
  }
  .checkout-wrap h1 {
    font-size:28px;
  }
  .checkout-card {
    padding:20px 16px;
  }
  #web-plans {
    grid-template-columns:1fr;
  }
  .web-options label>span {
    font-size:12px;
  }
  .web-price {
    font-size:23px;
  }
  .web-consent {
    font-size:11px;
  }
}

.checkout-page .header { grid-template-columns: 1fr auto; }
.checkout-intro { margin-bottom: 18px; }
.checkout-intro h1 { margin-bottom: 10px; }

