/*
 * edCircuit Accounts sign-up pages (PRD EAC-8.1): the same shell and tokens
 * as the login page. Colours are the live sidebar and homepage, measured
 * 2026-10-21: one orange, charcoal, grey text. Change a site colour here, once.
 */
:root {
	--eda-orange: #f06a0a;
	--eda-orange-hover: #c35608;
	--eda-bg: #1f1f1f;
	--eda-panel: #313131;
	--eda-line: #444444;
	--eda-field-line: #4a4a4a;
	--eda-text: #f9f9f9;
	--eda-lead: #d6d9de;
	--eda-muted: #c0c5ce;
	--eda-faint: #a9aeb6;
	--eda-ok: #6fcf97;
	--eda-wait: #ffb366;
	--eda-error: #ff8a7e;
	--eda-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--eda-head: "Proxima Nova", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.eda { background: var(--eda-bg); color: var(--eda-text); font-family: var(--eda-font); font-size: 16px; line-height: 1.5; display: flex; flex-direction: column; min-height: 100vh; }
a { color: var(--eda-orange); }
a:hover, a:focus { color: var(--eda-orange-hover); }
:focus-visible { outline: 3px solid var(--eda-orange); outline-offset: 2px; }

.eda-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 5%; border-bottom: 1px solid #333; flex-wrap: wrap; }
.eda-logo { display: flex; }
.eda-logo img { height: 34px; width: auto; display: block; }
.eda-top-note { margin: 0; font-size: 15px; color: var(--eda-muted); }
.eda-ok { color: var(--eda-ok); }

.eda-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px 64px; }
.eda-col { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.eda-details .eda-col { max-width: 820px; }
.eda-wide { width: 100%; max-width: 1320px; display: flex; flex-direction: column; gap: 36px; }
.eda-wide > .eda-col { align-self: center; gap: 20px; }
.eda-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.eda-center .eda-lead { max-width: 720px; }
h1 { margin: 0; font-family: var(--eda-head); font-weight: 400; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -1px; }
.eda-h2 { margin: 24px 0 0; font-family: var(--eda-head); font-weight: 400; font-size: 28px; letter-spacing: -0.5px; }
.eda-lead { margin: 0; font-size: 18px; color: var(--eda-lead); }
.eda-small { margin: 0; font-size: 14px; color: var(--eda-faint); text-align: center; }
.eda-small.eda-left { text-align: left; }
.eda-step { display: flex; gap: 8px; font-size: 13px; color: var(--eda-muted); text-transform: uppercase; letter-spacing: 1px; }
.eda-step span:first-child { color: var(--eda-orange); font-weight: 600; }
.eda-row { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.eda-row a { font-size: 14px; }
.eda-icon { width: 88px; height: 88px; border-radius: 44px; background: var(--eda-panel); border: 1px solid var(--eda-orange); color: var(--eda-orange); display: flex; align-items: center; justify-content: center; align-self: center; }

.eda-form { display: flex; flex-direction: column; gap: 12px; }
.eda-row-form { flex-direction: row; flex-wrap: wrap; justify-content: center; }
label, .eda-label { font-size: 15px; font-weight: 600; }
.eda-req { color: var(--eda-orange); }
.eda-opt { font-weight: 400; color: var(--eda-faint); }
input[type="email"], input[type="password"], input[type="text"], input[type="tel"], input[type="url"], select, textarea { min-height: 50px; padding: 12px 16px; font-size: 16px; border-radius: 10px; border: 1px solid var(--eda-field-line); background: var(--eda-panel); color: #fff; font-family: inherit; width: 100%; }
#eda-email { min-height: 56px; font-size: 17px; }
select { appearance: auto; }
textarea { resize: vertical; }
input[type="file"] { color: var(--eda-lead); padding: 10px 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid #ff6b5b; }
.eda-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.eda-err { font-size: 14px; color: var(--eda-error); }
.eda-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.eda-set { border: 1px solid var(--eda-line); border-radius: 16px; padding: 24px 28px; margin: 0; display: flex; flex-direction: column; gap: 20px; background: #262626; }
.eda-set legend { padding: 0 8px; font-family: var(--eda-head); font-weight: 400; font-size: 20px; }
.eda-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 20px; font-size: 15px; color: var(--eda-lead); }
.eda-checks label, .eda-check { display: flex; gap: 10px; align-items: center; font-weight: 400; font-size: 15px; color: var(--eda-lead); }
.eda-checks input, .eda-check input { width: 20px; height: 20px; accent-color: var(--eda-orange); flex: none; }

.eda-btn { display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--eda-orange); color: #fff; font-family: var(--eda-font); font-weight: 700; font-size: 19px; cursor: pointer; text-decoration: none; }
.eda-btn:hover, .eda-btn:focus { background: var(--eda-orange-hover); color: #fff; }
.eda-btn[disabled] { opacity: .7; cursor: wait; }
.eda-btn-line { background: transparent; border: 1px solid var(--eda-orange); color: var(--eda-orange); font-size: 16px; min-height: 48px; }
.eda-btn-line:hover, .eda-btn-line:focus { background: rgba(240, 106, 10, .12); color: var(--eda-orange); }
.eda-btn-grey { background: transparent; border: 1px solid var(--eda-field-line); color: var(--eda-lead); font-size: 16px; min-height: 48px; font-weight: 400; }
.eda-btn-grey:hover, .eda-btn-grey:focus { background: var(--eda-panel); color: #fff; }
.eda-extra { width: 100%; max-width: 560px; }

.eda-towers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .eda-towers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eda-towers { grid-template-columns: 1fr; } }
.eda-tower { background: var(--eda-panel); border: 1px solid var(--eda-line); border-radius: 16px; padding: 32px 24px; min-height: 420px; display: flex; flex-direction: column; gap: 16px; }
.eda-tower h2 { margin: 0; font-family: var(--eda-head); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: -0.5px; }
.eda-tower p { margin: 0; font-size: 15px; color: var(--eda-lead); }
.eda-tower ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--eda-muted); }
.eda-grow { flex: 1; }
.eda-tag { font-size: 13px; font-weight: 600; }
.eda-tag-ok { color: var(--eda-ok); }
.eda-tag-wait { color: var(--eda-wait); }
.eda-tower .eda-btn { min-height: 48px; font-size: 16px; }

.eda-notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; background: var(--eda-panel); border: 1px solid var(--eda-line); color: var(--eda-lead); }
.eda-notice[hidden] { display: none; }
.eda-notice-error { border-color: #ff6b5b; color: var(--eda-error); }
.eda-notice-ok { border-color: var(--eda-ok); color: var(--eda-ok); }

.eda-steps { margin: 0; padding: 24px; list-style: none; background: var(--eda-panel); border: 1px solid var(--eda-line); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--eda-faint); }
.eda-steps li::before { content: "○"; display: inline-block; width: 22px; }
.eda-steps li.is-done { color: var(--eda-text); }
.eda-steps li.is-done::before { content: "✓"; color: var(--eda-ok); font-weight: 600; }
.eda-steps li.is-now { color: var(--eda-text); }
.eda-steps li.is-now::before { content: "●"; color: var(--eda-orange); }

@media (max-width: 480px) {
	.eda-top { padding: 16px; }
	.eda-main { padding: 28px 16px 48px; }
	.eda-set { padding: 20px 16px; }
}
@media (prefers-reduced-motion: no-preference) { .eda-btn { transition: background .15s; } }
