/* The hidden attribute always wins over a display rule. */
[hidden] { display: none !important; }

/* Sales Page Hero: the signup page and the page after paying (salespagehero.com/start/). Midnight colors. */
:root { --bg: #07080D; --panel: #12141C; --line: #262A36; --text: #F4F5F8; --muted: #A8AEBD; --accent: #FF7A1A; --on: #140A02; --ok: #4ADE80; --bad: #FF8A80; }
* { box-sizing: border-box; }
body.sph { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 'Inter Tight', system-ui, sans-serif; }
.sph a { color: var(--text); }
.sph-top, .sph-foot { max-width: 1080px; margin: 0 auto; padding: 22px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sph-mark { display: inline-flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 800; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.sph-mark svg { width: 28px; height: 28px; }
.sph-top nav a, .sph-foot a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
.sph-top nav a:hover, .sph-foot a:hover { color: var(--text); }
.sph-main { max-width: 640px; margin: 0 auto; padding: 24px 20px 64px; }
.sph h1 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 800; font-size: clamp(36px, 7vw, 56px); line-height: 1; letter-spacing: -0.04em; margin: 12px 0 14px; }
.sph-lede { color: var(--muted); margin: 0 0 28px; font-size: 18px; }
.sph-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 30px); }
.sph-f { display: grid; gap: 6px; margin: 0 0 18px; }
.sph-f label { font-weight: 600; font-size: 15px; }
.sph-f input { width: 100%; font: inherit; color: var(--text); background: #0B0D14; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.sph-f input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.sph-addr { display: flex; align-items: stretch; }
.sph-addr input { border-radius: 12px 0 0 12px; min-width: 0; }
.sph-addr span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; background: #191C26; color: var(--muted); font-size: 15px; white-space: nowrap; }
.sph-note { font-size: 14px; color: var(--muted); min-height: 1.2em; margin: 0; }
.sph-note.ok { color: var(--ok); } .sph-note.bad { color: var(--bad); }
.sph-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 6px 0 18px; }
.sph-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.sph-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.sph-price b { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 34px; }
.sph-price span { color: var(--muted); font-size: 15px; }
.sph-go { width: 100%; min-height: 54px; border: 0; border-radius: 14px; background: var(--accent); color: var(--on); font: 700 18px/1 'Inter Tight', system-ui, sans-serif; cursor: pointer; }
.sph-go:disabled { opacity: .6; cursor: wait; }
.sph-go:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sph-err { color: var(--bad); font-weight: 600; min-height: 1.3em; margin: 12px 0 0; }
.sph-offer { padding: 12px 14px; border-radius: 12px; background: #1B1F2B; color: var(--text); margin: 0 0 18px; }
.sph-linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 15px; cursor: pointer; padding: 0; }
.sph-fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sph-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
/* the page after paying (done.js uses these) */
.sph .center { text-align: center; padding: 40px 0; }
.sph .spin { width: 42px; height: 42px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: sph-spin 0.9s linear infinite; }
@keyframes sph-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sph .spin { animation: none; } }
.sph .btn, .sph .btn-zap { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--accent); color: var(--on); font: 700 16px/1 'Inter Tight', system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.sph .fine { font-size: 14px; color: var(--muted); }
.sph .err { color: var(--bad); font-weight: 600; }
.sph .linkbtn { background: none; border: 0; color: var(--text); text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }
.sph .center input { font: inherit; color: var(--text); background: #0B0D14; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: min(100%, 340px); }
.sph .center label { display: block; font-weight: 600; margin: 14px 0 6px; }
@media (max-width: 520px) { .sph-top nav a { margin-left: 12px; } .sph-addr span { font-size: 13px; padding: 0 8px; } }
/* Your own domain (domain-pick.js) */
#dom-step { --wzd-on: var(--accent); }
#dom-step .wzd-opt input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; }
.sph-btn2 { font: 600 16px 'Inter Tight', system-ui, sans-serif; color: var(--text); background: #191C26; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; min-height: 48px; cursor: pointer; }
.sph-btn2:hover { border-color: var(--accent); }
.sph-opt { color: var(--muted); font-weight: 400; }
