/* BE-A design system (Confluence/claude.ai "BE-A Design System"): Faro, ink and bone, mint plate,
   pill buttons, flat cards with a 1px hairline, violet only as the focus and error accent. */
@font-face { font-family: "Faro"; src: url("/fonts/Faro-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Faro"; src: url("/fonts/Faro-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --bea-ink: #1d1d1d;
  --bea-black: #000000;
  --bea-bone: #f8f8f2;
  --bea-white: #ffffff;
  --bea-violet: #837afb;
  --bea-mint: #b6e8e5;
  --bea-n-600: #5a5a5a;
  --surface-page: var(--bea-bone);
  --surface-card: var(--bea-white);
  --surface-plate: var(--bea-mint);
  --text-primary: var(--bea-ink);
  --text-secondary: var(--bea-n-600);
  --text-on-plate: var(--bea-ink);
  --border-hairline: rgba(29, 29, 29, 0.14);
  --button-bg: var(--bea-ink);
  --button-bg-hover: var(--bea-black);
  --button-fg: var(--bea-bone);
  --font-sans: "Faro", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-page: var(--bea-ink);
    --surface-card: #252525;
    --text-primary: var(--bea-bone);
    --text-secondary: rgba(248, 248, 242, 0.66);
    --border-hairline: rgba(248, 248, 242, 0.18);
    --button-bg: var(--bea-bone);
    --button-bg-hover: var(--bea-white);
    --button-fg: var(--bea-ink);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface-page);
  color: var(--text-primary);
  font: 400 16px/1.55 var(--font-sans);
}
.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}
.logo { display: block; height: 44px; width: auto; margin: 0 0 24px; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

/* The mint plate: a speech bubble with one flat corner. */
.plate {
  background: var(--surface-plate);
  color: var(--text-on-plate);
  border-radius: 56px 56px 56px 0;
  padding: 32px 32px 36px;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.card {
  margin-top: 16px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: 32px;
  padding: 32px;
}
.card p { margin: 0 0 16px; }
.label { font-weight: 700; margin-bottom: 8px !important; }
ul { margin: 0 0 24px; padding-left: 20px; }
li { margin-bottom: 8px; }
li::marker { color: var(--text-secondary); }

button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-fg);
  font: 700 18px/1 var(--font-sans);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 120ms var(--ease), transform 120ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
button:hover:not(:disabled) { background: var(--button-bg-hover); }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: 0.4; cursor: not-allowed; }
button:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--text-primary), 0 0 0 4px rgba(131, 122, 251, 0.22);
}

.hint { color: var(--text-secondary); font-size: 14px; margin-top: 16px !important; }
.status { font-weight: 700; }
.status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--bea-violet);
  vertical-align: middle;
}
/* No red in the palette: errors are a violet-edged box with ink text. */
.error {
  border: 1px solid var(--bea-violet);
  border-radius: 20px;
  padding: 16px 20px;
  font-weight: 700;
}
.back {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  text-underline-offset: 3px;
}
.foot {
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.35;
}
@media (max-width: 420px) {
  .plate { padding: 24px 24px 28px; border-radius: 40px 40px 40px 0; }
  h1 { font-size: 28px; line-height: 1.15; }
  .card { padding: 24px; }
}
