 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:               #0c0c0a;
      --bg2:              #111009;
      --gold:             #c8972a;
      --gold-dim:         #8a6318;
      --gold-light:       #e0b048;
      --gold-glow:        rgba(200,151,42,0.22);
      --green-text:       #5cc96e;
      --card-bg:          #131310;
      --card-border:      #2a2618;
      --card-border-gold: #4a3f1a;
      --input-bg:         #0f0e0b;
      --input-border:     #2a2618;
      --text-white:       #f0ece0;
      --text-muted:       #7a7060;
      --text-sub:         #4a4030;
    }

    html, body { height: 100%; }

    body {
      background: var(--bg);
      font-family: 'Lato', sans-serif;
      color: var(--text-white);
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* ── Ambient layers ── */
    .ambient {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    .ambient::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 55% at 50% -5%,  rgba(200,151,42,0.13) 0%, transparent 65%),
        radial-gradient(ellipse 35% 40% at 92% 85%,  rgba(58,140,74,0.07)  0%, transparent 55%),
        radial-gradient(ellipse 45% 45% at 5%  80%,  rgba(200,151,42,0.06) 0%, transparent 55%);
    }

    .ambient::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(200,151,42,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,151,42,0.022) 1px, transparent 1px);
      background-size: 56px 56px;
    }

    /* ── Layout ── */
    .page {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-height: 100vh;
    }

    /* ══════════════════════════════
       LEFT PANEL
    ══════════════════════════════ */
    .left-panel {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 44px 52px;
      border-right: 1px solid var(--card-border);
      overflow: hidden;
    }

    .left-panel::before {
      content: '';
      position: absolute;
      top: 0; right: -1px;
      width: 1px; height: 100%;
      background: linear-gradient(180deg,
        transparent 0%,
        var(--card-border-gold) 25%,
        var(--gold-dim) 50%,
        var(--card-border-gold) 75%,
        transparent 100%);
    }

    .logo {
      display: flex;
      flex-direction: column;
      gap: 2px;
      animation: fadeUp 0.7s ease both;
    }

    .logo-eyebrow {
      font-size: 10px;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--text-sub);
    }

    .logo-name {
      font-family: 'EB Garamond', serif;
      font-size: 26px;
      font-weight: 400;
      color: var(--text-white);
    }

    .logo-name span { font-style: italic; color: var(--gold); }

    .brand-center {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 40px 0;
    }

    .brand-tag {
      font-size: 10px;
      letter-spacing: 0.24em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 20px;
      animation: fadeUp 0.7s ease 0.1s both;
    }

    .brand-headline {
      font-family: 'EB Garamond', serif;
      font-size: clamp(28px, 3vw, 44px);
      font-weight: 400;
      line-height: 1.18;
      color: var(--text-white);
      margin-bottom: 20px;
      animation: fadeUp 0.7s ease 0.18s both;
    }

    .brand-headline em { font-style: italic; color: var(--gold); }

    .brand-body {
      font-size: 14px;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.75;
      max-width: 360px;
      margin-bottom: 40px;
      animation: fadeUp 0.7s ease 0.26s both;
    }

    .stats {
      display: flex;
      gap: 28px;
      margin-bottom: 40px;
      animation: fadeUp 0.7s ease 0.34s both;
    }

    .stat { display: flex; flex-direction: column; gap: 3px; }

    .stat-num {
      font-family: 'EB Garamond', serif;
      font-size: 26px;
      font-weight: 400;
      color: var(--gold);
      line-height: 1;
    }

    .stat-label {
      font-size: 10.5px;
      font-weight: 300;
      color: var(--text-sub);
      letter-spacing: 0.03em;
    }

    .stat-divider {
      width: 1px;
      background: var(--card-border);
      align-self: stretch;
    }

    .trust-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 11px;
      animation: fadeUp 0.7s ease 0.42s both;
    }

    .trust-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12.5px;
      font-weight: 300;
      color: var(--text-muted);
    }

    .trust-icon {
      width: 22px; height: 22px;
      border-radius: 50%;
      background: rgba(200,151,42,0.09);
      border: 1px solid rgba(200,151,42,0.2);
      display: flex; align-items: center; justify-content: center;
      font-size: 10px;
      flex-shrink: 0;
      color: var(--gold);
    }

    .compliance {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(92,201,110,0.07);
      border: 1px solid rgba(92,201,110,0.18);
      border-radius: 8px;
      padding: 10px 16px;
      animation: fadeUp 0.7s ease 0.5s both;
    }

    .compliance-dot {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--green-text);
      animation: pulse 2.4s ease-in-out infinite;
    }

    .compliance-text {
      font-size: 11px;
      font-weight: 400;
      color: var(--green-text);
      letter-spacing: 0.04em;
    }

    .compliance-text span {
      color: var(--text-sub);
      font-weight: 300;
      margin-left: 4px;
    }

    /* ══════════════════════════════
       RIGHT PANEL
    ══════════════════════════════ */
    .right-panel {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px 52px;
    }

    .form-card { width: 100%; max-width: 400px; }

    .form-header {
      margin-bottom: 36px;
      animation: fadeUp 0.7s ease 0.12s both;
    }

    .form-eyebrow {
      font-size: 10px;
      letter-spacing: 0.26em;
      text-transform: uppercase;
      color: var(--text-sub);
      margin-bottom: 10px;
    }

    .form-title {
      font-family: 'EB Garamond', serif;
      font-size: 38px;
      font-weight: 400;
      color: var(--text-white);
      line-height: 1.15;
      margin-bottom: 8px;
    }

    .form-title em { font-style: italic; color: var(--gold); }

    .form-sub {
      font-size: 13px;
      font-weight: 300;
      color: var(--text-muted);
      line-height: 1.65;
    }

    .field-group {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 10px;
      animation: fadeUp 0.7s ease 0.22s both;
    }

    .field { display: flex; flex-direction: column; gap: 7px; }

    .field-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .field-wrap { position: relative; }

    .field-icon {
      position: absolute;
      left: 14px; top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      opacity: 0.38;
      pointer-events: none;
    }

    .field-input {
      width: 100%;
      background: var(--input-bg);
      border: 1px solid var(--input-border);
      border-radius: 8px;
      padding: 13px 14px 13px 42px;
      font-family: 'Lato', sans-serif;
      font-size: 14px;
      font-weight: 300;
      color: var(--text-white);
      outline: none;
      transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
    }

    .field-input::placeholder { color: var(--text-sub); }

    .field-input:focus {
      border-color: var(--gold);
      background: #141208;
      box-shadow: 0 0 0 3px rgba(200,151,42,0.1);
    }

    .toggle-pw {
      position: absolute;
      right: 13px; top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      font-size: 14px;
      opacity: 0.38;
      transition: opacity 0.2s;
      color: var(--text-white);
      padding: 2px;
      line-height: 1;
    }

    .toggle-pw:hover { opacity: 0.75; }

    .form-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 8px 0 26px;
      animation: fadeUp 0.7s ease 0.3s both;
    }

    .remember {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }

    .remember-box {
      width: 16px; height: 16px;
      border: 1px solid var(--card-border-gold);
      border-radius: 4px;
      background: var(--input-bg);
      position: relative;
      flex-shrink: 0;
      transition: background 0.2s, border-color 0.2s;
    }

    .remember-input { display: none; }

    .remember-input:checked ~ .remember-box {
      background: var(--gold);
      border-color: var(--gold);
    }

    .remember-input:checked ~ .remember-box::after {
      content: '✓';
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 10px; font-weight: 700;
      color: #1a1000;
    }

    .remember-label {
      font-size: 12px;
      font-weight: 300;
      color: var(--text-muted);
    }

    .forgot-link {
      font-size: 12px;
      color: var(--gold);
      text-decoration: none;
      transition: color 0.2s;
    }

    .forgot-link:hover { color: var(--gold-light); }

    .btn-submit {
      width: 100%;
      padding: 14px 24px;
      border-radius: 8px;
      border: none;
      background: linear-gradient(135deg, #a87018 0%, #c9962a 55%, #d4a843 100%);
      color: #1a1000;
      font-family: 'Lato', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 0.22s, box-shadow 0.22s;
      box-shadow: 0 4px 24px rgba(200,151,42,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
      margin-bottom: 16px;
      animation: fadeUp 0.7s ease 0.38s both;
      position: relative;
      overflow: hidden;
    }

    .btn-submit::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
      transform: translateX(-100%);
      transition: transform 0.5s ease;
    }

    .btn-submit:hover::before { transform: translateX(100%); }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(200,151,42,0.42), inset 0 1px 0 rgba(255,255,255,0.16);
    }

    .btn-submit:active { transform: translateY(0); }

    .or-divider {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 14px;
      animation: fadeUp 0.7s ease 0.44s both;
    }

    .or-line { flex: 1; height: 1px; background: var(--card-border); }

    .or-text {
      font-size: 11px;
      color: var(--text-sub);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .btn-passkey {
      width: 100%;
      padding: 13px 24px;
      border-radius: 8px;
      border: 1px solid var(--card-border-gold);
      background: transparent;
      color: var(--gold);
      font-family: 'Lato', sans-serif;
      font-size: 13px;
      font-weight: 400;
      letter-spacing: 0.04em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: background 0.22s, border-color 0.22s, transform 0.22s;
      margin-bottom: 30px;
      animation: fadeUp 0.7s ease 0.5s both;
    }

    .btn-passkey:hover {
      background: rgba(200,151,42,0.07);
      border-color: var(--gold);
      transform: translateY(-1px);
    }

    .signup-row {
      text-align: center;
      font-size: 13px;
      font-weight: 300;
      color: var(--text-muted);
      animation: fadeUp 0.7s ease 0.56s both;
    }

    .signup-row a {
      color: var(--gold);
      text-decoration: none;
      font-weight: 700;
      transition: color 0.2s;
    }

    .signup-row a:hover { color: var(--gold-light); }

    .form-divider {
      width: 100%;
      height: 1px;
      background: var(--card-border);
      margin: 28px 0;
      animation: fadeUp 0.7s ease 0.6s both;
    }

    .form-footnote {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      animation: fadeUp 0.7s ease 0.64s both;
    }

    .fn-icon {
      width: 30px; height: 30px;
      border-radius: 7px;
      background: rgba(92,201,110,0.07);
      border: 1px solid rgba(92,201,110,0.18);
      display: flex; align-items: center; justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .fn-text {
      font-size: 11px;
      font-weight: 300;
      color: var(--text-sub);
      line-height: 1.65;
    }

    .fn-text strong { color: var(--text-muted); font-weight: 700; }

    /* ── Keyframes ── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: 0.4; transform: scale(0.6); }
    }

    /* ══════════════════ RESPONSIVE ══════════════════ */
    @media (max-width: 900px) {
      .page {
        grid-template-columns: 1fr;
      }

      .left-panel {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
        padding: 32px 36px;
      }

      .left-panel::before { display: none; }
      .brand-center { padding: 24px 0; }
      .brand-headline { font-size: 28px; }
      .stats { gap: 20px; }

      .right-panel { padding: 44px 36px; justify-content: flex-start; }
    }

    @media (max-width: 560px) {
      .left-panel { padding: 22px 20px; }
      .brand-body { display: none; }
      .trust-list { display: none; }
      .stats { gap: 16px; }
      .stat-num { font-size: 20px; }
      .right-panel { padding: 32px 20px; }
      .form-card { max-width: 100%; }
      .form-title { font-size: 32px; }
    }