:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #0e0b07;
  background: #f4efe7;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
.page-shell { width: min(100% - 2rem, 860px); margin: 0 auto; padding: 4rem 0; }
.intro { max-width: 640px; margin-bottom: 2rem; }
.intro h1, .card h2 { margin: 0.5rem 0 0; letter-spacing: -0.03em; }
.intro h1 { font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1; }
.intro p:not(.eyebrow), .security-note, .ready-note { color: #3d362c; line-height: 1.6; }
.eyebrow { margin: 0; color: #a83d0c; font-family: ui-monospace, monospace; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card { min-height: 360px; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid #d7cfc2; border-radius: 1rem; background: #fbf8f2; box-shadow: 0 1.5rem 3rem rgb(14 11 7 / 8%); }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.status { min-height: 1.5rem; margin: 1.5rem 0 1rem; color: #6b5f4d; line-height: 1.5; }
.widget-slot { min-height: 180px; }
.widget-slot rai-custom-widget { display: block; width: 100%; min-height: 180px; }
.error-panel { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; padding: 1rem; border: 1px solid #d7a98e; border-radius: .75rem; background: #fff1e9; color: #6e2708; }
.error-panel p { margin: 0; line-height: 1.45; }
.button { flex: 0 0 auto; padding: .65rem .9rem; border: 1px solid #0e0b07; border-radius: 999px; color: #fbf8f2; background: #0e0b07; cursor: pointer; font-size: .9rem; font-weight: 700; }
.button:hover { background: #3d362c; }
.button:focus-visible { outline: 3px solid #e85a1e; outline-offset: 3px; }
.button.secondary { color: #0e0b07; background: transparent; }
.button.secondary:hover { background: #f4efe7; }
.ready-note, .security-note { color: #6b5f4d; font-size: .9rem; }
@media (max-width: 520px) { .page-shell { padding: 2rem 0; } .error-panel { align-items: stretch; flex-direction: column; } .error-panel .button { width: 100%; } }
