:root {
  color-scheme: dark;
  --background: #101310;
  --surface: #1a1e1a;
  --text: #eff2ea;
  --muted: #b2baaf;
  --lime: #cbff84;
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
button, a { font: inherit; }
a { color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #88bdff; outline-offset: 4px; }
.frame { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.bar { border-bottom: 1px solid #343a34; }
.nav, nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 700; }
.mark { display:inline-block; flex:none; width:22px; height:20px; color:#bcf294;
  background:linear-gradient(115deg,transparent 0 24%,currentColor 25% 41%,transparent 42% 49%,currentColor 50% 66%,transparent 67%);
  transform:skewY(-7deg); }
nav a, .plain { color: var(--muted); font-size: 14px; }
.plain { background: transparent; padding: 5px 0; border: 0; text-decoration: underline; }
main { padding: 58px 0 70px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(35px, 4.6vw, 62px); letter-spacing: -.055em; line-height: 1.12; margin-bottom: 30px; }
.grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; }
.plan, .panel, .checkout { border-radius: 25px; }
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 50px; min-height: 402px; padding: 34px; color: #182319; background: var(--lime); }
.plan-copy, .terms { position: relative; z-index: 1; }
.kicker { font-weight: 650; font-size: 14px; }
.plan h2 { font-size: clamp(49px, 5.6vw, 78px); line-height: .95; letter-spacing: -.07em; margin: 20px 0 15px; }
.features { font-size: 16px; line-height: 1.5; }
.art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orbit { position: absolute; width: 72%; aspect-ratio: 1; top: -6%; right: -27%; border-radius: 50%; transform: rotate(-30deg) scaleX(.88); background: repeating-radial-gradient(ellipse at 31% 44%, transparent 0 6px, #39672f 6.8px 8.1px, transparent 8.8px 12px); mask-image: linear-gradient(95deg, transparent, #000 42%); }
.terms { border-top: 1px solid #54733f66; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 16px 46px; }
.terms small { display: block; font-size: 12px; margin-bottom: 5px; }
.terms strong { font-size: clamp(18px, 2.1vw, 28px); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.panel, .checkout { background: var(--surface); border: 1px solid #343c33; padding: 32px; }
.panel { display: flex; flex-direction: column; }
.panel h2, .checkout h2 { font-size: 28px; letter-spacing: -.04em; }
.panel p { line-height: 1.5; }
#account { margin: 15px 0 25px; color: var(--muted); }
#actions { display: grid; gap: 10px; margin-top: auto; }
.button { display: block; border: 1px solid transparent; border-radius: 12px; text-align: center; text-decoration: none; padding: 14px 12px; background: var(--lime); color: #172219; font-weight: 650; }
.button:not(:disabled):hover { filter: brightness(1.09); }
.button:disabled { cursor: wait; opacity: .65; }
.outline { color: var(--text); border-color: #53604d; background: transparent; }
.payment-note { margin-top: 13px; color: var(--muted); font-size: 13px; text-align: center; }
#notice:not(:empty) { margin-top: 15px; font-size: 14px; }
#retry { align-self: flex-start; margin-top: 5px; }
dl { margin: 0 0 20px; }
dt { color: var(--muted); font-size: 12px; }
dd { margin: 3px 0 12px; font-weight: 600; }
.checkout { margin-top: 18px; }
.checkout h2 { margin-bottom: 20px; }
@media (max-width: 720px) {
  .frame { width: calc(100% - 32px); }
  .nav { min-height: 60px; }
  main { padding: 30px 0; }
  h1 { margin-bottom: 20px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .plan, .panel, .checkout { padding: 24px; border-radius: 20px; }
  .plan { min-height: 320px; gap: 26px; }
  .orbit { right: -34%; }
  .features { font-size: 15px; }
  nav { gap: 12px; }
}
#method-label { display: grid; gap: .5rem; font-size: .9rem; }
#method-label[hidden] { display: none; }
#method { font: inherit; padding: .75rem; color: inherit; background: #202520; border: 1px solid #536050; border-radius: .65rem; }
#admin label { display:grid; gap:.4rem; }
#admin input { font:inherit; padding:.7rem; border:1px solid #536050; border-radius:.5rem; background:#202520; color:inherit; min-width:0; }
#admin form, #admin details[open] { display:grid; gap:.8rem; }
#admin details { border-top:1px solid #536050; padding:.8rem 0; overflow-wrap:anywhere; }
#admin summary { cursor:pointer; }
.conditions details, #history-list details { border-top:1px solid #364034; padding:14px 0; }
.conditions summary, #history-list summary { cursor:pointer; font-weight:600; line-height:1.5; }
.conditions details p, #history-list p, #history-summary { line-height:1.55; color:var(--muted); overflow-wrap:anywhere; }
.conditions details p, #history-list p { margin-top:8px; }
#history-summary { margin-bottom:12px; }
.panel form input[name="code"] { width:100%; margin:8px 0 16px; padding:14px; border-radius:12px; border:1px solid #637061; background:#101310; color:var(--text); font:1.25rem monospace; letter-spacing:.2em; }
.panel form { margin:16px 0; }
@media (max-width:720px) { .grid > .panel { order:-1; } }
