/* ── Citadel platform — Part 7A ─────────────────────────────────────────────
   Self-contained styles for the QR profile surface. Same palette tokens as
   the marketing site (ink + single blue accent); no framework. */

:root {
  --ink-950: #0a0a0b;
  --ink-700: #33363d;
  --ink-500: #6b6f7a;
  --ink-200: #e4e6eb;
  --ink-50: #f6f7f9;
  --surface: #ffffff;
  --accent-600: #1d44e8;
  --accent-700: #1733c4;
  --whatsapp: #128c4b;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-950);
  background:
    radial-gradient(60rem 30rem at 50% -10rem, #eef1ff 0%, transparent 70%),
    var(--ink-50);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  -webkit-font-smoothing: antialiased;
}

/* ── Profile card ─────────────────────────────────────────────────────────── */

.card {
  width: 100%;
  max-width: 27rem;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px -24px rgb(10 10 11 / 0.18);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
}

.logo {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  object-fit: contain;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
}

.monogram {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-950);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.description {
  margin: 0 auto 1.5rem;
  max-width: 24rem;
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.55;
}

.address {
  margin: 0 0 1.5rem;
  color: var(--ink-500);
  font-size: 0.875rem;
  line-height: 1.5;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

.actions a,
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.actions a:active {
  transform: scale(0.985);
}

.btn-primary {
  background: var(--ink-950);
  color: #fff;
  grid-column: 1 / -1;
}

.btn-primary:hover {
  background: #26282e;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #0f7a41;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink-700);
  border-color: var(--ink-200);
}

.btn-ghost:hover {
  background: var(--ink-50);
}

/* Full-width row under the grid (website / socials) */
.more {
  margin-top: 0.625rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}

/* ── Status pages (404 / 410 / 503) ───────────────────────────────────────── */

.status-card {
  width: 100%;
  max-width: 26rem;
  background: var(--surface);
  border: 1px solid var(--ink-200);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px -24px rgb(10 10 11 / 0.18);
  padding: 2.75rem 2rem;
  text-align: center;
}

.status-code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-600);
  text-transform: uppercase;
}

.status-card h1 {
  font-size: 1.35rem;
  margin: 0.75rem 0 0.5rem;
}

.status-card p {
  margin: 0 0 1.75rem;
  color: var(--ink-500);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.powered {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-500);
  font-size: 0.8rem;
  text-decoration: none;
}

.powered:hover {
  color: var(--ink-950);
}

.powered svg {
  width: 0.9rem;
  height: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .actions a,
  .btn {
    transition: none;
  }
}

/* Standalone button on status pages (not inside the actions grid). */
.btn-standalone {
  display: inline-flex;
  padding: 0.75rem 1.75rem;
}
