:root{
  --bg:#050607;
  --bg-2:#07090B;
  --text:#F3F4F6;
  --muted:rgba(243,244,246,.72);
  --muted-2:rgba(243,244,246,.52);
  --border:rgba(243,244,246,.10);

  --accent:#C9A86A;
  --accent-2:#8F7B4B;

  --radius:18px;
  --max:1120px;
  --shadow:0 18px 60px rgba(0,0,0,.55);
}

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

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1100px 520px at 30% -10%, rgba(201,168,106,.06), transparent 55%),
    radial-gradient(900px 520px at 85% 10%, rgba(243,244,246,.04), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  color:var(--text);
  line-height:1.45;
  letter-spacing:.01em;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:4px; }
h1,h2,h3,h4{ letter-spacing:-0.015em; }
p{ line-height:1.55; color:var(--muted); }

::selection{ background:rgba(201,168,106,.25); color:#fff; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 20px; }

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(5,6,7,.72);
  border-bottom:1px solid var(--border);
}
/* Topbar layout (fixed wrapping) */
.topbar-inner{
  display: grid;
  grid-template-columns: auto 1fr auto; /* brand | nav | actions */
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

/* Brand must be allowed to shrink */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
  text-decoration:none !important;
}

.brand-text h1{
  margin:0;
  font-size:13px;
  font-weight:700;
  letter-spacing:.4px;
  color:var(--text);
}

.brand-text p{
  margin:2px 0 0;
  font-size:11px;
  color:var(--muted);
}

/* Logo container — reduced and balanced */
.logo-slot{
  height: 48px;                 /* ⬅ smaller */
  width: auto;
  max-width: 260px;
  padding: 6px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(243,244,246,.03);

  display:flex;
  align-items:center;
  justify-content:center;
}

/* Logo image — natural proportions */
.logo-slot img{
  height: 32px;                 /* ⬅ key reduction */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display:block;
}

/* Nav must never wrap */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}

.nav a{ white-space: nowrap; }

/* Actions should not force width */
.actions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
  justify-content:flex-end;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:10px 14px;
  font-size:13px;
  border:1px solid var(--border);
  background: rgba(243,244,246,.04);
  color:var(--text);
  text-decoration:none !important;
  cursor:pointer;
  white-space:nowrap;
  transition: border-color .25s ease, background-color .25s ease;
}
.btn:hover{ background: rgba(201,168,106,.10); }
.btn.primary{
  border-color: rgba(201,168,106,.38);
  background: linear-gradient(180deg, rgba(201,168,106,.14), rgba(201,168,106,.06));
}
.btn.primary:hover{ border-color: rgba(201,168,106,.55); background: rgba(201,168,106,.18); }

/* Active state for button-style nav items (Policies) */
.btn.active,
.btn[aria-current="page"]{
  background: rgba(201,168,106,.08);
  border-color: rgba(201,168,106,.45);
}

.menu-btn{
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:40px;
  padding:0 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(243,244,246,.04);
  color: var(--text);
  cursor:pointer;
  white-space:nowrap;
}
.menu-btn:hover{
  background: rgba(201,168,106,.10);
  border-color: rgba(201,168,106,.25);
}

.chev{ color: var(--muted-2); }

/* Mobile panel */
.mobile-panel{
  display:none;
  border-top:1px solid var(--border);
  background: rgba(5,6,7,.85);
  backdrop-filter: blur(14px);
}
.mobile-panel.open{ display:block; }

.mobile-panel .inner{
  padding: 14px 0 16px;
  display:grid;
  gap: 10px;
}

.mobile-panel .nav{
  display:grid;
  gap: 8px;
}
.mobile-panel .nav a{
  display:flex;
  justify-content:space-between;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(243,244,246,.03);
  text-decoration:none !important;
}
.mobile-panel .nav a:hover{
  border-color: rgba(201,168,106,.30);
}

.mobile-actions{
  display:grid;
  gap: 10px;
}

/* Hero */
.hero{ padding:56px 0 22px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.card{
  background: linear-gradient(180deg, rgba(16,22,27,.88), rgba(12,15,18,.88));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
  border-color: rgba(201,168,106,.35);
}
.hero-main{ padding:22px; }
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.kicker .dot{
  width:6px; height:6px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,168,106,.12);
}
.hero h2{
  margin:12px 0 8px;
  font-size:44px;
  line-height:1.05;
  color:var(--text);
}
.hero-actions{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:16px;
}
.hero-side{ padding:22px; display:flex; flex-direction:column; gap:12px; }
.mini-title{
  font-size:13px;
  color:var(--muted);
  margin:0;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.quick{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.quick a{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(243,244,246,.03);
  text-decoration:none !important;
  font-size:13px;
  transition: border-color .25s ease, background-color .25s ease;
}
.quick a:hover{ border-color: rgba(201,168,106,.30); background: rgba(201,168,106,.06); }
.hint{ margin:0; font-size:13px; color:var(--muted); }

/* Sections */
section{ padding:18px 0; }
section::before{
  content:"";
  display:block;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,106,.35), transparent);
  margin-bottom:18px;
}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:14px;
  margin:10px 0;
}
.section-head h3{ margin:0; font-size:18px; color:var(--text); }
.section-head p{ margin:0; font-size:13px; color:var(--muted); }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.tile{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(243,244,246,.03);
  display:flex; flex-direction:column; gap:10px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0,0,0,.65);
  border-color: rgba(201,168,106,.35);
}
.tile .top{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.tag{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: rgba(201,168,106,.92);
}
.tag.live{
  color:#0A0C0E;
  background: linear-gradient(180deg, rgba(201,168,106,.95), rgba(143,123,75,.95));
  padding:4px 8px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.10em;
}
.tile h4{ margin:0; font-size:16px; color:var(--text); }
.tile p{ margin:0; color:var(--muted); font-size:13px; }
.links{ margin-top:2px; display:flex; flex-wrap:wrap; gap:10px; }
.links a{
  font-size:13px;
  border-bottom: 1px solid rgba(201,168,106,.25);
  text-decoration:none !important;
  padding-bottom:2px;
}
.links a:hover{ border-bottom-color: rgba(201,168,106,.55); }

/* Footer */
footer{
  padding:28px 0 34px;
  color:var(--muted);
  font-size:12px;
  border-top:1px solid var(--border);
  margin-top:20px;
  background: rgba(12,15,18,.6);
}
.foot{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:16px; flex-wrap:wrap;
}
.foot-links{ display:flex; gap:14px; flex-wrap:wrap; }
footer a:hover{ color:#fff; }

/* ===== Modal ===== */
.modal{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal.open{ display: block; }

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
}

.modal__panel{
  position: relative;
  max-width: 720px;
  margin: 8vh auto 0;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(243,244,246,.14);
  background: linear-gradient(180deg, rgba(16,22,27,.96), rgba(10,12,14,.96));
  box-shadow: 0 30px 90px rgba(0,0,0,.7);
}

.modal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(243,244,246,.04);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.modal__close:hover{
  background: rgba(201,168,106,.10);
  border-color: rgba(201,168,106,.25);
}

.modal__kicker{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.modal__title{
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.modal__body{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 70ch;
}

.modal__actions{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 600px){
  .logo-slot{
    height: 40px;
    max-width: 200px;
    padding: 5px 10px;
  }

  .logo-slot img{
    height: 26px;
  }
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns:1fr; }
  .grid{ grid-template-columns:1fr; }
  .quick{ grid-template-columns:1fr; }
}

@media (max-width: 860px){
  .nav, .actions{ display:none; }
  .menu-btn{ display:inline-flex; }
  .hero{ padding:34px 0 16px; }
  section{ padding:14px 0; }
}

@media (max-width: 600px){
  .logo-slot{ width:160px; height:52px; }
  .logo-slot img{ height:38px; }
  .hero h2{ font-size:36px; }
}

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

@media (max-width: 600px){
  .brand-text h1{ font-size:12px; }
  .brand-text p{ font-size:10px; }
}

@media (max-width: 600px){
  .logo-slot{
    height: 52px;
    min-width: 160px;
    padding: 6px 12px;
  }

  .logo-slot img{
    max-height: 40px;
  }
}
