/* firepod signup pages. System fonts, no external requests. Brand orange #FD6208 (roles/portal_branding). */
:root {
  --bg: #ffffff; --fg: #181a1e; --muted: #555b66; --card: #f6f6f7; --line: #c9ccd2;
  --accent: #fd6208; --on-accent: #181a1e; --link: #b84300; --alert-bg: #fdecea; --alert-fg: #8a1c10;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a; --fg: #f1f2f4; --muted: #aab0ba; --card: #1e2127; --line: #3a3f48;
    --accent: #ff7a2a; --on-accent: #14161a; --link: #ff9a5c; --alert-bg: #3a1d1a; --alert-fg: #ffb4a8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg); line-height: 1.5;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
header.site, main, footer.site { max-width: 36rem; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header.site { padding-top: 20px; padding-bottom: 8px; }
.logo { font-size: 1.6rem; font-weight: 700; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
main { padding-top: 16px; padding-bottom: 32px; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0.5em 0 0.6em; }
a { color: var(--link); }
footer.site { color: var(--muted); font-size: 0.875rem; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; }
label { font-weight: 600; }
input[type=text], input[type=email], select {
  width: 100%; font: inherit; color: var(--fg); background: var(--bg);
  border: 1px solid var(--muted); border-radius: 6px; padding: 10px 12px; min-height: 44px;
}
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); margin: 0 8px 0 0; flex: none; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 16px; padding: 8px 14px 12px; }
legend { font-weight: 600; padding: 0 6px; }
fieldset.choice > div { display: flex; align-items: center; min-height: 36px; }
fieldset.choice label, .plan label, .tos label { font-weight: 400; }
.hint { color: var(--muted); font-size: 0.875rem; }
.hint:empty { display: none; }
.tos { display: flex; align-items: flex-start; margin: 0 0 16px; }
.tos input { margin-top: 3px; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); border-radius: 6px;
  padding: 10px 20px; min-height: 44px;
}
.btn.secondary { background: transparent; color: var(--fg); border-color: var(--muted); }
.btn:hover { filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.alert { background: var(--alert-bg); color: var(--alert-fg); border: 1px solid var(--alert-fg); border-radius: 6px; padding: 10px 12px; }
.notice { background: var(--card); border-left: 4px solid var(--accent); padding: 10px 12px; }
.plan { display: grid; grid-template-columns: auto 1fr; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plan:last-child { border-bottom: 0; }
.plan input { margin-top: 3px; }
.plan-name { font-weight: 600; }
.plan-price { float: right; margin-left: 12px; }
.plan .note { grid-column: 2; margin: 2px 0 0; color: var(--muted); font-size: 0.875rem; }
.plan.disabled label, .plan.disabled input { opacity: 0.75; cursor: not-allowed; }
.langs, .facts-line { color: var(--muted); font-size: 0.9rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.turnstile { margin: 0 0 16px; min-height: 65px; }
@media (max-width: 480px) { h1 { font-size: 1.4rem; } .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
