/* =============================================================================
   Frame Speed — Web pages stylesheet
   Minimalist B&W with sparing champagne gold accent.

   Approved palette:
     #0a0a0a  cinematic black (background)
     #f0ede8  warm white (text, primary CTA)
     #d4af37  champagne gold (accent only)
   ============================================================================= */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: #f0ede8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

/* =============================================================================
   Page wrappers
   ============================================================================= */

.page-dark {
  background:
    radial-gradient(ellipse at top left, rgba(212, 175, 55, 0.04), transparent 50%),
    #0a0a0a;
  min-height: 100vh;
}

.register-screen,
.account-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* =============================================================================
   Card
   ============================================================================= */

.register-card,
.account-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

/* =============================================================================
   Brand mark + name (top of card)
   ============================================================================= */

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 64px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #d4af37;
  color: #d4af37;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand-name {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(240, 237, 232, 0.5);
}

/* =============================================================================
   Logo (frame SPEED)
   ============================================================================= */

.brand-logo {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  color: #f0ede8;
  font-weight: 300;
}

.lf-thin { font-weight: 300; }
.lf-bold { font-weight: 800; margin-left: 0.18em; }

/* =============================================================================
   Headline / lead text
   ============================================================================= */

.lead {
  font-size: 14px;
  color: rgba(240, 237, 232, 0.5);
  margin: 0 0 8px 0;
  letter-spacing: 0.02em;
}

.email-row {
  font-size: 12px;
  color: rgba(240, 237, 232, 0.4);
  margin: 0 0 40px 0;
  letter-spacing: 0.02em;
}

.email-row strong {
  color: rgba(240, 237, 232, 0.75);
  font-weight: 500;
}

.message {
  font-size: 14px;
  color: rgba(240, 237, 232, 0.7);
  line-height: 1.7;
  margin: 24px 0;
  text-align: left;
}

/* =============================================================================
   Form
   ============================================================================= */

form {
  text-align: left;
  margin-top: 8px;
}

.field-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(240, 237, 232, 0.4);
  margin: 18px 0 10px 0;
  text-transform: uppercase;
}

.field-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(240, 237, 232, 0.03);
  border: 1px solid rgba(240, 237, 232, 0.12);
  color: #f0ede8;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.field-input::placeholder {
  color: rgba(240, 237, 232, 0.3);
}

.field-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 1px #d4af37 inset;
}

.field-input:autofill {
  -webkit-text-fill-color: #f0ede8;
  -webkit-box-shadow: 0 0 0 1000px rgba(240, 237, 232, 0.03) inset;
}

/* =============================================================================
   Button
   ============================================================================= */

.btn-primary {
  width: 100%;
  margin-top: 28px;
  padding: 15px;
  background: #f0ede8;
  color: #0a0a0a;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.05s ease;
}

.btn-primary:hover { opacity: 0.92; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }

/* =============================================================================
   Errors
   ============================================================================= */

.error-msg {
  margin-top: 18px;
  padding: 10px 14px;
  border-left: 2px solid #d44a4a;
  background: rgba(212, 74, 74, 0.06);
  font-size: 12px;
  color: rgba(240, 237, 232, 0.85);
  letter-spacing: 0.01em;
}

/* =============================================================================
   Footer notes & helpers
   ============================================================================= */

.footer-note {
  margin-top: 28px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(240, 237, 232, 0.3);
  text-transform: uppercase;
}

.gold-link {
  color: #d4af37;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  transition: border-color 0.15s ease;
}

.gold-link:hover { border-color: #d4af37; }

/* =============================================================================
   Account / dashboard (will be filled in later)
   ============================================================================= */

.account-card { max-width: 480px; }

.session-list {
  margin: 24px 0 0 0;
  padding: 0;
  list-style: none;
}

.session-item {
  padding: 14px 16px;
  background: rgba(240, 237, 232, 0.03);
  border: 1px solid rgba(240, 237, 232, 0.08);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(240, 237, 232, 0.7);
}

.btn-secondary {
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  background: transparent;
  color: rgba(240, 237, 232, 0.85);
  border: 1px solid rgba(240, 237, 232, 0.2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.btn-secondary:hover { border-color: rgba(240, 237, 232, 0.5); }

/* =============================================================================
   Mobile
   ============================================================================= */

@media (max-width: 480px) {
  .register-screen, .account-screen { padding: 24px 16px; }
  .brand-row { margin-bottom: 48px; }
  .brand-logo { font-size: 26px; }
}
