:root {
  color-scheme: light;
  --bg: #fff;
  --text: #111;
  --muted: #5f6368;
  --line: #d9d9d9;
  --accent: #1a56c8;
  --accent-soft: #eef3ff;
  --action: #07131a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-underline-offset: .16em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { width: min(calc(100% - 2rem), 58rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .account-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); font-size: 1.2rem; font-weight: 650; text-decoration: none; }
.brand img { border-radius: .5rem; }
.brand:hover { text-decoration: underline; text-decoration-color: var(--line); }
.stage-label, .secondary, .stand-note, .account-id { color: var(--muted); font-size: .92rem; }
.stage-label { text-align: right; }
.content { padding-block: clamp(2rem, 5.5vw, 4.5rem) 2.5rem; }
h1 { margin: 0 0 .7rem; font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; }
.lead { margin: 0 0 clamp(1.8rem, 4vw, 2.6rem); max-width: 40rem; font-size: 1.1rem; color: #222; }
.checkout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 5vw, 4rem); }
fieldset { margin: 0; padding: 0; min-inline-size: 0; border: 0; }
fieldset + fieldset { margin-top: 1.55rem; }
legend, h2 { padding: 0; margin: 0 0 .7rem; font-size: 1.14rem; font-weight: 650; line-height: 1.35; letter-spacing: -.02em; }
.methods { display: flex; gap: .5rem; flex-wrap: wrap; }
.method, .term { display: flex; align-items: center; gap: .65rem; min-height: 46px; cursor: pointer; }
.method { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 570; }
.method:has(:checked) { border-color: var(--action); background: var(--accent-soft); }
.term { min-height: 49px; border-top: 1px solid var(--line); }
.term:last-child { border-bottom: 1px solid var(--line); }
.term:hover { background: #f8fafb; }
.term strong { margin-left: auto; font-weight: 630; font-variant-numeric: tabular-nums; }
input[type="radio"] { width: 17px; height: 17px; margin: 0; accent-color: var(--action); }
.summary {
  min-width: 0; padding: clamp(1.2rem, 3.3vw, 1.8rem); border: 1px solid var(--action); border-radius: 8px;
  background: linear-gradient(135deg, rgba(10,174,224,.22), transparent 42%), var(--bg);
  box-shadow: 0 10px 28px rgba(7,19,26,.08);
}
.summary h2 { margin-bottom: .15rem; }
.price { margin: 0; color: var(--action); font-size: clamp(2.4rem, 4.7vw, 3rem); line-height: 1.2; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.period { margin: .22rem 0 0; color: var(--muted); }
.primary {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 1.35rem;
  padding: .7rem 1rem; border: 1px solid var(--action); border-radius: 8px; background: var(--action); color: #fff;
  font-family: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.primary:hover:enabled, a.primary:hover { background: #0b202b; }
.primary:disabled { cursor: default; background: #445159; border-color: #445159; }
.summary > .secondary, .saved { margin: .6rem 0 0; line-height: 1.5; }
.saved { font-size: .92rem; }
.account { margin-top: 1.1rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.account-name, .account-id { display: block; margin: 0; overflow-wrap: anywhere; }
.link-button { min-height: 44px; padding: .2rem 0 .2rem .45rem; background: none; border: 0; color: var(--accent); font: inherit; font-size: .91rem; text-decoration: underline; cursor: pointer; }
.stand-note { margin: 1.6rem 0 0; }
.back { width: auto; margin-top: 0; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0 1.4rem; padding-block: .55rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .87rem; }
@media (max-width: 660px) {
  .checkout { grid-template-columns: 1fr; }
  .content { padding-block: 1.8rem; }
  .lead { margin-bottom: 1.5rem; }
  .stand-note { margin-top: 1.15rem; }
}
