@font-face { font-family: "Century Gothic FormaFX"; src: local("Century Gothic"), url("https://apps.formafx.com/assets/fonts/Century-Gothic.ttf?v=20260831-1") format("truetype"); font-display: swap; }
:root, :root[data-theme="light"] {
  color-scheme: light; --background: #ffffff; --surface: #ffffff; --surface-soft: #edf5ff;
  --foreground: #0a1833; --muted: #546580; --border: #d8e3f2; --header: #ffffffed;
  --shadow: 0 18px 55px #1d3c6c14; --primary: #087cfa; --primary-strong: #006ce0;
  --primary-foreground: #ffffff; --red: #cc1850; --violet: #7658f6; --success: #067652;
}
:root[data-theme="dark"] {
  color-scheme: dark; --background: #05070c; --surface: #10141d; --surface-soft: #181e2a;
  --foreground: #f5f7fb; --muted: #a8b2c5; --border: #293246; --header: #05070ced;
  --shadow: 0 22px 65px #0006; --primary: #2b95ff; --primary-strong: #53a8ff;
  --primary-foreground: #041020; --red: #ff759c; --violet: #947cff; --success: #48d6a3;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--foreground); font: 15px/1.55 "Century Gothic FormaFX", "Century Gothic", "Avenir Next", Arial, sans-serif; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--primary-strong); outline-offset: 3px; }
button { min-height: 44px; border: 1px solid transparent; border-radius: 11px; padding: 10px 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.primary { background: var(--primary-strong); color: var(--primary-foreground); box-shadow: 0 5px 16px #087cfa20; }
.primary:hover { filter: brightness(1.08); }
.secondary { background: var(--surface); border-color: var(--border); color: var(--foreground); }
.secondary:hover { border-color: var(--primary); }
.quiet { background: transparent; color: var(--muted); }
.quiet:hover { color: var(--foreground); background: var(--surface-soft); }
.danger { color: var(--red); background: var(--surface); border-color: var(--border); }
a { color: var(--primary-strong); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.18; letter-spacing: -.05em; margin-bottom: 16px; font-weight: 700; }
h2 { font-size: 1.35rem; letter-spacing: -.035em; margin-bottom: 8px; }
h3 { font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.eyebrow { display: block; font-size: .7rem; letter-spacing: .13em; font-weight: 700; color: var(--primary-strong); margin-bottom: 12px; }
label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
input, select { width: 100%; min-width: 0; min-height: 46px; background: var(--surface); color: var(--foreground); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
input::placeholder { color: var(--muted); opacity: .9; }
form > input { margin-bottom: 18px; }
.full { width: 100%; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 19px; box-shadow: var(--shadow); }
.notice { padding: 14px 18px; border: 1px solid var(--border); border-left: 4px solid var(--primary); background: var(--surface-soft); border-radius: 10px; margin-bottom: 24px; overflow-wrap: anywhere; }
.notice[data-kind="error"] { border-left-color: var(--red); }
.form-error { color: var(--red); font-size: .88rem; margin: 12px 0; }
.form-error:empty { display: none; }
.empty { padding: 36px 20px; text-align: center; color: var(--muted); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 99; padding: 10px; background: var(--surface); }
.pill { display: inline-flex; border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border)); border-radius: 40px; padding: 6px 11px; color: var(--success); background: color-mix(in srgb, var(--success) 7%, var(--surface)); font-size: .74rem; font-weight: 700; }
.success { background: color-mix(in srgb, var(--success) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border)); color: var(--success); border-radius: 12px; padding: 12px 15px; display: flex; gap: 14px; align-items: center; justify-content: space-between; overflow-wrap: anywhere; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); margin-right: 8px; }
@media (prefers-reduced-motion: no-preference) { button, input, select { transition: border-color .15s, background .15s; } }
