:root {
  --bg: #09090b;
  --bg-soft: #0c0c0e;
  --bg-footer: #050505;
  --text: #d4d4d8;
  --text-strong: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.05);
  --gold: #d4af37;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --gold-strong: #eac44c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: 'Playfair Display', serif;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mesh-one,
.mesh-two {
  position: absolute;
  border-radius: 999px;
  background: var(--gold);
  filter: blur(110px);
}

.mesh-one {
  width: 50vw;
  height: 50vw;
  top: -20%;
  left: -10%;
  opacity: 0.03;
}

.mesh-two {
  width: 40vw;
  height: 40vw;
  bottom: -10%;
  right: -5%;
  opacity: 0.02;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.main-nav.scrolled {
  background: rgba(9, 9, 11, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(12px);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.45s ease;
}

.brand:hover .brand-mark {
  transform: rotate(45deg);
}

.brand-text {
  color: var(--text-strong);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: color 0.3s ease;
}

.brand:hover .brand-text {
  color: var(--gold);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-strong);
}

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
}

.menu-toggle {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.menu-toggle:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav {
  display: none;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 18px;
  display: grid;
  gap: 8px;
}

.mobile-link {
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  color: var(--text-muted);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-link.active {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
}

.main {
  position: relative;
  z-index: 2;
  padding-top: 130px;
  padding-bottom: 96px;
  min-height: 80vh;
}

.stack-xl {
  display: grid;
  gap: 48px;
}

.stack-xxl {
  display: grid;
  gap: 84px;
}

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

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

.hero {
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0 30px;
}

.pill {
  display: inline-block;
  margin-bottom: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 10px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.1;
  color: var(--text-strong);
}

.hero-gradient {
  color: transparent;
  background: linear-gradient(90deg, var(--gold), #f9eec5);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  margin-top: 18px;
  max-width: 760px;
  color: var(--text-muted);
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.two-col {
  display: grid;
  gap: 32px;
}

.section-title {
  margin: 0 0 20px;
  color: var(--text-strong);
  font-size: 1.8rem;
}

.paragraph {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 300;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-row .icon {
  color: var(--gold);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  transition: background-color 0.35s ease;
}

.panel:hover {
  background: rgba(255, 255, 255, 0.05);
}

.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  margin-bottom: 18px;
}

.panel h3 {
  margin: 0 0 14px;
  color: var(--text-strong);
  font-size: 1.6rem;
}

.panel p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.directory-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.directory-glow {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.03;
  filter: blur(80px);
  pointer-events: none;
}

.directory-content {
  position: relative;
  padding: 34px;
}

.directory-head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.directory-head h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: var(--text-strong);
}

.directory-head p {
  margin: 0;
  max-width: 560px;
  color: var(--text-muted);
}

.btn-gold {
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #121212;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-gold:hover {
  background: var(--gold-strong);
}

.directory-table {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.directory-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  padding: 14px 16px;
  transition: background-color 0.25s ease;
}

.directory-row:not(:last-child) {
  border-bottom: 1px solid var(--line-soft);
}

.directory-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.directory-row-title {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.copy-email a {
  color: var(--gold);
}

.copy-email a:hover {
  text-decoration: underline;
}

.copy-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.copy-email:hover .copy-btn,
.copy-btn:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-btn:hover,
.copy-btn.copied {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.18);
}

.legal-layout {
  animation: fade-in 0.8s ease;
}

.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 52px;
}

.legal-header h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5.6vw, 3.2rem);
  color: var(--text-strong);
}

.legal-subtitle {
  margin: 0;
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  font-family: ui-monospace, Menlo, Consolas, Monaco, monospace;
}

.print-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.print-btn:hover {
  color: var(--gold);
}

.legal-stack {
  display: grid;
  gap: 40px;
}

.legal-grid {
  display: grid;
  gap: 34px;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.side-card,
.outline-card,
.soft-card {
  border-radius: 14px;
  padding: 20px;
}

.side-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.outline-card {
  border: 1px solid var(--line-soft);
  background: transparent;
}

.soft-card {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

.side-card h3,
.outline-card h4,
.soft-card h4 {
  margin: 0 0 12px;
  color: var(--text-strong);
}

.side-card h3,
.legal-emphasis {
  color: var(--gold);
}

.small-faint {
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.small-list,
.mono-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.mono-list {
  font-size: 0.78rem;
  font-family: ui-monospace, Menlo, Consolas, Monaco, monospace;
  color: var(--text-muted);
}

.small-list {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.side-card hr,
.outline-card hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 14px 0;
}

.small-list strong,
.mono-list strong {
  color: var(--text);
}

.legal-section h3 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-family: 'Inter', sans-serif;
}

.legal-section .body {
  color: var(--text-muted);
  font-weight: 300;
}

.legal-section p {
  margin: 0 0 12px;
}

.info-note {
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.warning-box {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
}

.warning-box p {
  margin: 0 0 8px;
}

.warning-box .copy-email {
  font-size: 0.92rem;
}

.dot-list,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dot-list li,
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
}

.dot {
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--gold);
  flex-shrink: 0;
}

.check-list .icon {
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: var(--bg-footer);
}

.footer-inner {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 38px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-inner h4 {
  margin: 0 0 12px;
  color: var(--text-strong);
}

.footer-inner .gold {
  color: var(--gold);
}

.footer-body {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.9rem;
}

.footer-address {
  color: var(--text-faint);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-mono {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--text-faint);
  font-size: 0.77rem;
  font-family: ui-monospace, Menlo, Consolas, Monaco, monospace;
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.74rem;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-links button:hover {
  color: var(--gold);
}

.no-print {
  display: initial;
}

.print-only {
  display: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .directory-row {
    flex-direction: row;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .legal-grid {
    grid-template-columns: minmax(260px, 1fr) minmax(420px, 2fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .desktop-nav {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .hero {
    padding: 40px 0 42px;
  }

  .two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
  }
}

@media (max-width: 899px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .print-btn {
    display: none;
  }

  .copy-btn {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .container,
  .mobile-nav-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  .main {
    padding-top: 110px;
  }

  .directory-content,
  .panel,
  .side-card,
  .outline-card,
  .soft-card {
    padding: 16px;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }

  .no-print,
  nav,
  footer,
  button {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .main {
    min-height: auto !important;
    padding: 0 !important;
    width: 100% !important;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    color: #666;
    font-size: 0.8em;
  }

  h1,
  h2,
  h3 {
    color: #000 !important;
    page-break-after: avoid;
  }

  p,
  li,
  .legal-subtitle,
  .legal-section .body,
  .small-list,
  .mono-list {
    color: #333 !important;
  }

  .panel,
  .side-card,
  .outline-card,
  .soft-card,
  .directory-wrap,
  .warning-box,
  .info-note,
  .directory-table {
    border: 1px solid #ddd !important;
    background: none !important;
  }
}
