/* Aligned with public/css/styles.css (Provoid Admin — Beyond Dark) */
:root {
  color-scheme: dark;
  --bg: #0e0e14;
  --bg-surface: #15151e;
  --bg-card: #1c1c28;
  --bg-card-hover: #22222f;
  --accent: #5999ff;
  --accent-hover: #78adff;
  --accent-secondary: #73cca6;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-tertiary: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --radius-md: 12px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 32px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.site-nav a {
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: var(--text-primary);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(89, 153, 255, 0.35));
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  flex-shrink: 0;
}

.hero-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px 72px;
  width: 100%;
}

.section-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

/* Soft light behind the logo only — no card / frame */
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(260px, 70vw);
  height: min(260px, 70vw);
  background: radial-gradient(
    circle at 50% 45%,
    rgba(89, 153, 255, 0.42) 0%,
    rgba(115, 204, 166, 0.18) 38%,
    transparent 68%
  );
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}

.logo-hero {
  position: relative;
  z-index: 1;
  width: min(200px, 52vw);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  /* Edge glow that follows the artwork, no dark “plate” shadow */
  filter: drop-shadow(0 0 28px rgba(89, 153, 255, 0.45))
    drop-shadow(0 0 56px rgba(89, 153, 255, 0.2));
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
}

.construction-title {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.construction-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.construction-lead {
  margin-top: 20px;
  max-width: 52ch;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 16px;
}

.construction-lead a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.construction-lead a:hover {
  color: var(--accent-hover);
}

/* Legal / policy pages */
.policy-main {
  flex: 1;
  width: 100%;
}

.policy-hero {
  max-width: 720px;
  margin-bottom: 32px;
}

.policy-hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.policy-hero .policy-title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-subtitle {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 16px;
}

.policy-subtitle--meta {
  margin-top: 12px;
}

.policy-layout {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.policy-panel {
  padding: 22px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.policy-panel h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.policy-panel p,
.policy-panel li {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 15px;
}

.policy-panel p + p {
  margin-top: 12px;
}

.policy-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-panel li + li {
  margin-top: 8px;
}

.policy-meta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--text-secondary);
}

.policy-meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

.policy-panel a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-panel a:hover {
  color: var(--accent-hover);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 32px;
  margin-top: auto;
  width: 100%;
  color: var(--text-tertiary);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 18px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 8px;
}

.site-footer h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.site-footer h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
}

.site-footer p,
.site-footer li {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer-meta {
  margin-top: 12px;
  font-size: 13px;
}

.site-footer-meta strong {
  color: var(--text-primary);
  font-weight: 600;
}

.site-footer-bottom {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.site-footer a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 16px 20px;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .section {
    padding: 32px 20px 56px;
  }

  .site-footer {
    padding: 0 20px 24px;
  }
}
