/* Lupani — interim site.
   Token values are lifted from the app's design system (globals.css):
   Graphite neutrals + Honey Gold #E8A33D. Quiet UI: no neon, no heavy shadows.
   Self-contained on purpose — no webfonts, no CDN, nothing to go stale. */

:root {
  --bg:        #0B0D10;
  --surface:   #12151A;
  --border:    rgba(255, 255, 255, 0.10);
  --text:      #E8EAED;
  --text-2:    #A8ADB8;
  --text-3:    #6E7687;
  --accent:    #E8A33D;
  --accent-hi: #F0BA6B;
  --measure:   34rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* A single quiet wash of gold, anchored top-left. Fixed so it never scrolls
   into a seam on long pages. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(42rem 28rem at 12% -8%,
              rgba(232, 163, 61, 0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 4.5rem 1rem 3.5rem;
}

/* Vertically centred variant, used by the homepage and the 410/404 pages. */
.wrap--center {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mark {
  margin: 0 0 2.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h2 {
  margin: 2.5rem 0 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
}

p { margin: 0 0 1rem; }

.lede { color: var(--text-2); }

.actions { margin-top: 2rem; }

.link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 163, 61, 0.35);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.link:hover,
.link:focus-visible {
  color: var(--accent-hi);
  border-bottom-color: var(--accent-hi);
}

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 2px;
}

.foot {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-3);
}

.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover, .foot a:focus-visible { color: var(--accent); }
.foot .sep { margin: 0 0.5rem; color: var(--text-3); }

/* Long-form pages (privacy) */
.prose { color: var(--text-2); }
.prose h1 { margin-bottom: 0.5rem; }
.prose .updated {
  margin: 0 0 2.5rem;
  font-size: 0.8125rem;
  color: var(--text-3);
}
.prose ul { margin: 0 0 1rem; padding-left: 1.125rem; }
.prose li { margin-bottom: 0.375rem; }

@media (min-width: 40rem) {
  .wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}

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