/* Shared shell for the standalone pages (/buy, /license). Tokens come from
   styles.css, which every page loads first. */
.page-main { width: min(760px, calc(100% - 44px)); margin: 0 auto; padding: 64px 0 90px; }
.page-main .eyebrow { text-align: center; }
.page-title { margin: 0 0 18px; font-size: clamp(44px, 6vw, 74px); line-height: .92; letter-spacing: -.055em; font-weight: 800; text-align: center; }
.page-title em { display: block; margin-top: 12px; font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
.page-lede { max-width: 560px; margin: 0 auto 46px; color: var(--muted); font-size: 18px; line-height: 1.55; text-align: center; }

.panel { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 26px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { margin: 0 0 14px; font-size: 21px; letter-spacing: -.02em; }
.panel p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }
.panel p:last-child { margin-bottom: 0; }

.price-panel { display: grid; gap: 26px; justify-items: center; text-align: center; background: #0b0c10; border: 0; color: #fff; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 68px; line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.price span { color: #9c9da5; font-size: 15px; font-weight: 600; }
.price-panel ul { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; text-align: left; }
.price-panel li { padding-left: 27px; position: relative; color: #c8c9d0; font-size: 15px; line-height: 1.45; }
.price-panel li::before { content: ""; position: absolute; top: 6px; left: 0; width: 15px; height: 8px; border: 2px solid var(--lime); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.price-panel .button { width: min(320px, 100%); }
.price-note { margin: 0; color: #797b83; font-size: 13px; }

.notice { margin: 0; padding: 16px 18px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.notice-warn { color: #6b4a00; background: #fff4d6; border: 1px solid #f0dca6; }
.notice-bad { color: #7a1d1d; background: #ffe9e9; border: 1px solid #f2c4c4; }
.notice-ok { color: #14532d; background: #e4f7e9; border: 1px solid #b9e4c6; }

.key-box { display: flex; gap: 10px; align-items: stretch; margin: 0 0 16px; }
.key-box code { flex: 1; min-width: 0; padding: 15px 16px; overflow-wrap: anywhere; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.5; }
.key-box button { padding: 0 20px; color: #fff; background: var(--blue); border: 0; border-radius: 14px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.key-box button:hover { filter: brightness(1.07); }

.steps { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.steps strong { color: var(--ink); }

.is-hidden { display: none; }
.spin { display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -2px; border: 2px solid rgba(0,0,0,.18); border-top-color: var(--ink); border-radius: 50%; animation: page-spin .8s linear infinite; }
@keyframes page-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .page-main { padding: 44px 0 64px; }
  .panel { padding: 24px; }
  .key-box { flex-direction: column; }
  .key-box button { padding: 15px 20px; }
}
