@import url('/gate/fonts/fonts.css');

/* Dreamcatcher Noctiluca (the deck's design system): light theme tokens, standard lockup ratio 32 / 12 / 30. */
:root {
  --ground: #E9EFED;
  --surface: #FFFFFF;
  --text-primary: #161B1B;
  --text-secondary: #505B5A;
  --brand-link: #09645B;
  --brand-hover: #102E2D;
  --on-brand: #F5F7F7;
  --border-subtle: #CDD3D3;
  --border-control: #6B7676;
  --danger: #B42318;
}

* { box-sizing: border-box; margin: 0; }

html, body { min-height: 100%; }

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 16px;
  background: var(--ground);
  color: var(--text-primary);
  font: 400 16px/1.5 'IBM Plex Sans', Arial, sans-serif;
}

main { width: 100%; max-width: 420px; }

.lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  font: 600 45px/1 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.016em;
}

.lockup img { display: block; width: 48px; height: 48px; flex: none; }

.panel {
  padding: 28px;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--surface);
}

.prompt { margin-bottom: 20px; }

.refusal {
  margin-bottom: 20px;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  color: var(--danger);
  font-size: 14px;
}

form { display: flex; flex-direction: column; }

label { margin-bottom: 6px; font-weight: 500; font-size: 14px; }

input {
  width: 100%;
  height: 44px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid var(--border-control);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text-primary);
  font: inherit;
}

input:focus-visible, button:focus-visible { outline: 2px solid var(--brand-link); outline-offset: 2px; }

.masked { -webkit-text-security: disc; letter-spacing: 1px; }

button {
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  background: var(--brand-link);
  color: var(--on-brand);
  font: 500 16px/1 'IBM Plex Sans', Arial, sans-serif;
  cursor: pointer;
}

button:hover { background: var(--brand-hover); }

.notice { margin-top: 16px; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
