@charset "UTF-8";

:root {
  color-scheme: dark;
  --background: #080809;
  --surface: #101012;
  --input: #17171b;
  --text: #f7f7fa;
  --muted: #a5a5b0;
  --border: #2b2b32;
  --red: #ff425c;
  --focus: #ff7387;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .62; }
button[hidden] { display: none; }
a { color: var(--text); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
::selection { background: #a1112d; color: #fff; }
.page-shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #232327; }
.brand { width: 168px; height: 48px; display: block; }
.header-caption { display: flex; align-items: center; gap: 12px; color: #c0c0c9; font-size: 13px; }
.accent-line { height: 16px; width: 2px; background: var(--red); }
.intro { padding: 44px 0 27px; }
.eyebrow, .section-kicker { margin: 0; font-size: 10px; font-weight: 650; letter-spacing: .17em; color: #c0c0c9; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); }
h1, h2 { color: var(--red); font-family: "Bahnschrift SemiCondensed", "Arial Narrow", "Segoe UI", sans-serif; }
h1 { margin: 13px 0 9px; font-size: clamp(32px, 4vw, 46px); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; }
.intro-copy { margin: 0; font-size: 15px; line-height: 1.65; color: #c5c5cf; }
.preview-notice { display: flex; align-items: flex-start; gap: 9px; padding: 0 2px 17px; color: #b0b0bc; }
.preview-notice svg { flex-shrink: 0; margin-top: 2px; }
.preview-notice p { margin: 0; font-size: 12px; line-height: 1.65; }
.account-panel { border: 1px solid var(--border); border-radius: 22px; display: grid; grid-template-columns: 1fr 1.08fr; background: var(--surface); overflow: hidden; }
.account-section { padding: 35px 40px 29px; min-width: 0; }
.signup-section { border-left: 1px solid var(--border); background: linear-gradient(135deg, #151316 0%, #101012 55%); }
.section-heading { margin-bottom: 27px; }
.section-kicker { color: var(--muted); font-size: 9px; letter-spacing: .15em; }
h2 { font-size: 27px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; margin: 10px 0 9px; }
.section-heading > p:last-child { font-size: 13px; line-height: 1.6; color: #c0c0ca; margin: 0; }
.field { min-width: 0; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
label { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
input { display: block; width: 100%; min-width: 0; height: 47px; border: 1px solid #34343e; border-radius: 9px; padding: 0 13px; background: var(--input); color: var(--text); font-size: 13px; outline: none; transition: border-color 160ms, box-shadow 160ms; }
input::placeholder { color: #92929f; opacity: 1; }
input:hover { border-color: #555560; }
input:focus-visible { border-color: var(--focus); box-shadow: 0 0 0 3px #ff425c1a; }
input:user-invalid { border-color: var(--focus); }
input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 1000px var(--input) inset; caret-color: var(--text); }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle { position: absolute; inset: 2px 3px 2px auto; width: 42px; border: 0; border-radius: 7px; background: transparent; color: #b7b7c4; display: grid; place-items: center; }
.password-toggle:hover { color: #fff; background: #ffffff09; }
.password-toggle:focus-visible { outline-offset: -3px; }
.eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.button { width: 100%; min-height: 47px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 650; transition: background 160ms, border-color 160ms, transform 160ms; }
.button-primary { background: #d91a38; color: #fff; box-shadow: 0 3px 16px #c4102c14; }
.button-primary:hover:enabled { background: #ee2243; }
.button-primary span { font-size: 18px; line-height: 1; }
.button:active:enabled { transform: translateY(1px); }
.button-secondary { color: var(--text); border-color: #41414c; background: #19191d; }
.button-secondary:hover:enabled { background: #24242b; border-color: #646470; }
.or-divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; padding: 15px 0; }
.or-divider span { flex: 1; height: 1px; background: var(--border); }
.form-feedback { margin: 0; color: #e7e7ee; font-size: 12px; line-height: 1.6; }
.form-feedback:not(:empty) { margin-top: 13px; border-left: 2px solid var(--red); padding-left: 11px; }
.section-switch { font-size: 11px; line-height: 1.8; margin: 22px 0 0; color: var(--muted); }
.section-switch a { margin-left: 3px; font-weight: 600; text-decoration: none; }
.section-switch a:hover { text-decoration: underline; }
.site-footer { margin-top: 25px; padding-bottom: 26px; display: flex; gap: 20px; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.site-footer p { margin: 0; line-height: 1.7; }
.noscript-note { font-size: 13px; color: #eee; line-height: 1.6; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2; padding: 12px 18px; border-radius: 6px; background: #fff; color: #111; }
.skip-link:focus { top: 16px; }

@media (min-width: 1400px) {
  .intro { padding-top: 54px; }
  .account-section { padding: 38px 46px 33px; }
}
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 56px); }
  .account-section { padding-inline: 27px; }
  h2 { font-size: 25px; }
}
@media (max-width: 820px) {
  .page-shell { width: min(540px, calc(100% - 40px)); }
  .site-header { min-height: 82px; }
  .brand { width: 147px; height: 42px; }
  .header-caption { font-size: 11px; gap: 8px; }
  .intro { padding: 33px 0 22px; }
  h1 { font-size: clamp(30px, 6vw, 38px); }
  .intro-copy { font-size: 13px; }
  .preview-notice p { font-size: 11px; }
  .account-panel { grid-template-columns: 1fr; border-radius: 18px; }
  .account-section { padding: 28px; }
  .signup-section { border-left: 0; border-top: 1px solid var(--border); }
  .site-footer { font-size: 9px; }
}
@media (max-width: 400px) {
  .page-shell { width: calc(100% - 32px); }
  .header-caption { max-width: 100px; line-height: 1.5; }
  .account-section { padding: 25px 21px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
