/* Brand tokens mirror frontend/tailwind.config.js in rose-ai-platform. */
@font-face {
  font-family: "Roboto Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("assets/roboto-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --porcelain-muted: #efe8e5;
  --mist: #cad8e4;
  --mist-muted: #e1eaf1;
  --ink: #000c1e;
  --midnight: #30314f;
  --mulberry: #7a045d;
  --magenta: #fe036a;
  --border: #e4e4e7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--porcelain-muted);
  color: var(--ink);
  font-family: "Roboto Variable", Roboto, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.panel {
  width: 100%;
  max-width: 460px;
  padding: 40px 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 12, 30, 0.06);
}

.panel__header {
  margin-bottom: 28px;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 auto 28px;
}

h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.lede {
  margin: 8px 0 0;
  color: rgba(0, 12, 30, 0.8);
}

.choices {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choice:hover {
  background: var(--mist-muted);
  border-color: rgba(122, 4, 93, 0.5);
  box-shadow: 0 4px 12px rgba(48, 49, 79, 0.12);
}

.choice:focus-visible {
  outline: 2px solid var(--mulberry);
  outline-offset: 2px;
}

.choice__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--mulberry);
  background: var(--mist-muted);
  border-radius: 50%;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.choice__icon svg {
  width: 22px;
  height: 22px;
}

.choice:hover .choice__icon {
  color: #fff;
  background: var(--mulberry);
}

.choice__text {
  display: block;
  flex: 1;
  min-width: 0;
}

.choice__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
}

.choice__desc {
  display: block;
  margin-top: 2px;
  color: rgba(0, 12, 30, 0.8);
  font-size: 0.95rem;
  line-height: 1.35;
}

.choice__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  color: rgba(0, 12, 30, 0.4);
  transition: color 0.15s ease, transform 0.15s ease;
}

.choice:hover .choice__arrow {
  color: var(--mulberry);
  transform: translateX(3px);
}

.help {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.95rem;
}

.help a {
  color: var(--mulberry);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.help a:hover {
  color: var(--midnight);
}

.help a:focus-visible {
  outline: 2px solid var(--mulberry);
  outline-offset: 2px;
  border-radius: 2px;
}

.choice--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.choice--disabled .choice__arrow {
  visibility: hidden;
}

@media (max-width: 480px) {
  .panel {
    padding: 32px 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
