/* Visual polish for the sign-in gate pages (login, signup, verify, account) and the legal pages. Reuses tokens.css and visuals.css. */

/* ---- gate pages: hero gradient behind a white card ---- */
.gate-main { background: var(--grad-hero); align-content: center; justify-items: center; gap: var(--sp-3); position: relative; overflow: hidden; padding-block: var(--sp-6); }
.gate-card { position: relative; border: 0; border-radius: var(--r-3); box-shadow: 0 24px 60px rgba(8, 14, 24, 0.45); padding: var(--sp-4); overflow: hidden; color: var(--ink); }
.gate-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-line); }
.gate-card h1 { margin-top: var(--sp-2); font-size: var(--fs-4); }
.gate-card .lede { color: var(--ink-2); }
.gate-ic { width: 52px; height: 52px; border-radius: 14px; }
.gate-card .switch { color: var(--ink-2); }
.gate-card .switch a { color: var(--accent-ink); }
.gate-form .field { color: var(--ink); }
.gate-form .field input, .gate-form .field textarea { border: 1px solid var(--line-strong); border-radius: var(--r-1); min-height: 48px; transition: border-color var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease); }
.gate-form .field input:hover, .gate-form .field textarea:hover { border-color: var(--ink-2); }
.gate-form .field input:focus, .gate-form .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(10, 191, 188, 0.28); }
.gate-card .facts div, .gate-card .access-list li { background: var(--surface-2); border: var(--bd); }
.gate-card .badge { background: var(--accent-soft); color: var(--accent-ink); }
.gate-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-1) var(--sp-3); color: var(--on-dark); font-size: 0.92rem; }
.gate-trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); }

/* ---- legal pages ---- */
.lg-hero { padding-bottom: var(--sp-5); }
.lg-hero h1 { max-width: none; }
.lg-tabs { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: var(--sp-3); }
.lg-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff !important; text-decoration: none; font-weight: var(--w-strong); font-size: 0.95rem;
  transition: background var(--d-base) var(--ease), border-color var(--d-base) var(--ease), transform var(--d-base) var(--ease); }
.lg-tabs a:hover { border-color: var(--accent); transform: translateY(-2px); }
.lg-tabs a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--navy) !important; }
.lg-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--sp-4); align-items: start; }
@media (max-width: 900px) { .lg-grid { grid-template-columns: minmax(0, 1fr); } }
.lg-card { position: relative; background: var(--surface); border: var(--bd); border-radius: var(--r-3); box-shadow: var(--e-1); padding: var(--sp-4); max-width: none; overflow: hidden; }
.lg-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-line); }
.lg-card.legal-copy p { color: var(--ink-2); font-size: var(--fs-1); max-width: var(--measure); }
.lg-card.legal-copy p:last-child { margin-bottom: 0; }
.lg-card a { color: var(--accent-ink); font-weight: var(--w-strong); }
.lg-side { display: grid; gap: var(--sp-2); }
@media (max-width: 560px) { .lg-card { padding: var(--sp-3); } }
