﻿/* The public sign-in page uses the same palette and editorial typography as pricing. */
.auth-screen {
  --bg: #f6f4ee; --bg-elevated: #fffdf8; --border: #dcd7ca;
  --text: #292922; --text-dim: #646257; --text-faint: #767267;
  --accent: #e49a79; --accent-hover: #d98b69;
  min-height: 100svh; display: flex; flex-direction: column; align-items: stretch;
  justify-content: flex-start; padding: 0; background: var(--bg); color: var(--text); font-family: system-ui, sans-serif;
}
:root[data-theme="dark"] .auth-screen {
  --bg: #262624; --bg-elevated: #30302e; --border: #555246;
  --text: #f4f3ee; --text-dim: #c0bdb3; --text-faint: #aaa69b;
}
.auth-site-header, .auth-layout, .auth-site-footer { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.auth-site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--border); }
.auth-site-brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 22px; }
.auth-site-brand img { border-radius: 50%; object-fit: cover; }
.auth-site-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.auth-site-actions .locale-picker { margin: 0; }
.auth-theme-toggle { font: inherit; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 30px; padding: 11px 15px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.auth-layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); align-items: center; gap: clamp(40px, 6vw, 110px); padding: 72px 0; }
.auth-intro { padding-bottom: 24px; }
.auth-eyebrow { font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--brand-accent-text); margin: 0 0 24px; }
.auth-intro h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(44px, 4.7vw, 68px); line-height: 1.1; letter-spacing: -2px; margin: 0 0 26px; }
.auth-intro h1 span { color: var(--brand-accent-text); }
.auth-intro-description { color: var(--text-dim); max-width: 470px; font-size: 18px; line-height: 1.8; margin: 0 0 12px; }
.auth-intro-detail { color: var(--text-dim); font-size: 14px; line-height: 1.8; margin: 0; }
.auth-plans-link { display: inline-flex; gap: 14px; color: var(--text); font-size: 14px; margin-top: 28px; text-underline-offset: 5px; }
.auth-screen .auth-card { width: 100%; max-width: none; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.auth-card h2 { font-size: 22px; font-weight: 650; line-height: 1.35; letter-spacing: -.4px; margin: 0 0 26px; }
.auth-screen .auth-tabs { background: var(--bg); border-color: var(--border); padding: 4px; margin-bottom: 24px; }
.auth-screen .auth-tab { padding: 10px 8px; font-family: inherit; }
.auth-screen .auth-tab.active { background: var(--text); color: var(--bg); font-weight: 600; }
.auth-screen .auth-form { gap: 10px; }
.auth-field-label { font-size: 13px; font-weight: 550; color: var(--text); }
.auth-field-label:not(:first-child) { margin-top: 8px; }
.auth-screen .auth-form input:not([type="checkbox"]) { background: var(--bg); padding: 12px 13px; border-radius: 8px; }
.auth-screen .password-field input { padding-right: 44px !important; }
.auth-screen .auth-submit, .auth-screen .action-card .auth-submit { width: 100%; font: 650 14px system-ui, sans-serif; background: var(--accent); color: #27251f; border: 0; padding: 13px 12px; border-radius: 8px; margin-top: 4px; }
.auth-screen .auth-submit:hover { background: var(--accent-hover); }
.auth-screen .auth-link-button { color: var(--brand-accent-text); padding: 4px 0; }
.auth-screen .remember-email-toggle { margin: 6px 0; }
.auth-screen .auth-hint { border-top: 1px solid var(--border); padding-top: 19px; margin-top: 18px; font-size: 12px; line-height: 1.7; color: var(--text-dim); }
.auth-screen .auth-error { color: var(--response-error); line-height: 1.5; }
.auth-screen .auth-error:empty { display: none; }
.auth-screen .email-verification { background: var(--bg); }
.auth-site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 24px 0; font-size: 12px; color: var(--text-faint); }
.auth-site-footer a { color: inherit; text-underline-offset: 4px; }
.auth-screen :is(a, button, input):focus-visible { outline: 2px solid var(--brand-accent-text); outline-offset: 3px; }
@media (max-width: 900px) {
  .auth-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 28px; padding: 48px 0; }
  .auth-intro h1 { font-size: 44px; }
  .auth-screen .auth-card { padding: 26px; }
}
@media (max-width: 740px) {
  .auth-site-header, .auth-layout, .auth-site-footer { width: min(520px, calc(100% - 32px)); }
  .auth-site-header { flex-wrap: wrap; padding: 22px 0; gap: 18px; }
  .auth-site-brand { font-size: 20px; }
  .auth-site-actions { width: 100%; justify-content: space-between; gap: 8px; }
  .auth-site-actions .locale-picker > span { display: none; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); padding: 36px 0; gap: 28px; }
  .auth-intro { padding: 0; }
  .auth-eyebrow { font-size: 10px; margin-bottom: 18px; }
  .auth-intro h1 { font-size: clamp(36px, 9vw, 46px); letter-spacing: -1.5px; margin-bottom: 20px; }
  .auth-intro-description { font-size: 16px; line-height: 1.7; }
  .auth-plans-link { margin-top: 20px; }
  .auth-screen .auth-card { padding: 24px; }
  .auth-card h2 { font-size: 21px; }
  .auth-theme-toggle { padding: 10px 12px; }
}
