@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --bg: #080706;
  --cream: #f5edde;
  --muted: rgba(245, 237, 222, 0.68);
  --muted2: rgba(245, 237, 222, 0.48);
  --line: rgba(245, 237, 222, 0.13);
  --gold: #c49a5c;
  --green: #51904f;
  --copper: #9a410d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --container: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 8%, rgba(154, 65, 13, 0.34), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(196, 154, 92, 0.22), transparent 34%),
    radial-gradient(circle at 58% 90%, rgba(81, 144, 79, 0.15), transparent 34%),
    linear-gradient(180deg, #080706 0%, #130f0b 48%, #080706 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(245,237,222,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,237,222,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.14));
  pointer-events: none;
  z-index: -3;
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .045;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196,154,92,.16), rgba(81,144,79,.08), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: -1;
}

img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #f0ca8d; }
.container { width: var(--container); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(245,237,222,.09);
  background: rgba(8, 7, 6, .72);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  box-shadow: 0 0 35px rgba(196,154,92,.26);
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: .04em;
}

.brand span {
  display: block;
  color: var(--muted2);
  font-size: 13px;
  margin-top: 2px;
}

.header-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(196,154,92,.22);
  background: rgba(196,154,92,.1);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section { padding: 72px 0 34px; }

.hero-card,
.policy-card,
.toc,
.summary-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: clamp(26px, 5vw, 54px);
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 120deg, rgba(154,65,13,.34), rgba(196,154,92,.28), rgba(81,144,79,.18), rgba(154,65,13,.34));
  opacity: .44;
  filter: blur(28px);
  z-index: -1;
  animation: spinGlow 9s linear infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--gold), var(--green));
  box-shadow: 0 0 18px rgba(196,154,92,.72);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: .95;
  letter-spacing: -.075em;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

p { margin: 0; }

.lead,
.policy-block p,
.summary-card span,
.footer-inner span,
.footer-date {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 820px;
  font-size: 17px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 30px;
}

.summary-card {
  padding: 18px;
  border-radius: 20px;
  transition: transform .25s ease, border-color .25s ease;
}

.summary-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196,154,92,.42);
}

.summary-card strong {
  display: block;
  margin-bottom: 6px;
}

.policy-section { padding: 32px 0 74px; }

.policy-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 106px;
  border-radius: 24px;
  padding: 18px;
}

.toc span {
  display: block;
  color: var(--muted2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  margin-bottom: 12px;
}

.toc a {
  display: block;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(245,237,222,.09);
  font-size: 14px;
}

.toc a:last-child { border-bottom: 0; }

.policy-card {
  border-radius: 30px;
  padding: clamp(22px, 4vw, 38px);
  position: relative;
  overflow: hidden;
}

.policy-card::after {
  content: '';
  position: absolute;
  right: -130px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196,154,92,.18), transparent 70%);
  pointer-events: none;
}

.policy-block {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  border-bottom: 1px solid rgba(245,237,222,.1);
}

.policy-block:first-child { padding-top: 0; }
.policy-block:last-child { border-bottom: 0; padding-bottom: 0; }
.policy-block p + p { margin-top: 12px; }

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(245,237,222,.09);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .78s ease, transform .78s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spinGlow { to { transform: rotate(360deg); } }

@media (max-width: 920px) {
  .policy-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .summary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .section { padding-top: 48px; }

  h1 { font-size: 42px; }

  .cursor-glow { display: none; }
}
