:root{
  --bg:#050505;
  --panel:#0b0b0b;
  --panel2:#0f0f0f;
  --text:#eaeaea;
  --muted:#bfbfbf;
  --gold1:#d7b75a;
  --gold2:#f2df9b;
  --gold3:#b08a2a;
  --line:rgba(215,183,90,.22);
  --shadow: 0 16px 40px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(215,183,90,.10), transparent 55%),
    radial-gradient(900px 500px at 100% 10%, rgba(242,223,155,.08), transparent 50%),
    radial-gradient(900px 650px at 70% 120%, rgba(176,138,42,.07), transparent 50%),
    linear-gradient(#050505, #050505);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.95}
.container{width:min(1180px, calc(100% - 40px)); margin:0 auto}

.header{
  position:sticky; top:0; z-index:50;
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215,183,90,.12);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand{
  display:flex; align-items:center; gap:8px;
  min-width: 280px;
}
.brand img{width:420px; height:auto; max-height:120px; object-fit:contain}
.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:7px 12px; border-radius:999px;
  border:1px solid rgba(215,183,90,.22);
  background: linear-gradient(180deg, rgba(15,15,15,.9), rgba(8,8,8,.9));
  color: var(--muted);
  font-size:12.5px;
}
.badge .dot{width:7px;height:7px;border-radius:50%; background:var(--gold1); box-shadow:0 0 0 4px rgba(215,183,90,.12)}

.menu{
  display:flex; align-items:center; gap:8px;
}
.menu a{
  color: var(--text);
  font-size:13px;
  padding:10px 10px;
  border-radius: 10px;
  border:1px solid transparent;
  white-space:nowrap;
}
.menu a.active, .menu a:hover{
  border-color: rgba(215,183,90,.22);
  background: rgba(15,15,15,.55);
}

.cta{
  display:flex; align-items:center; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(215,183,90,.30);
  background: linear-gradient(180deg, rgba(215,183,90,.15), rgba(15,15,15,.4));
  color: var(--text);
  font-weight:600;
  font-size:13.5px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn.secondary{
  border-color: rgba(215,183,90,.18);
  background: rgba(15,15,15,.45);
  font-weight:600;
}
.btn.small{padding:10px 12px; border-radius: 12px; font-size:13px}

.mobileToggle{display:none}
.mobilePanel{display:none}

.hero{
  padding:62px 0 20px;
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.h1{
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height:1.15;
  margin:0 0 14px;
  letter-spacing:.3px;
}
.gold{
  background: linear-gradient(90deg, var(--gold2), var(--gold1), var(--gold3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead{color: var(--muted); font-size: 16.5px; margin:0 0 18px}
.kpis{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:12px; margin-top:20px;
}
.kpi{
  padding:14px 14px;
  border-radius: var(--radius);
  border:1px solid rgba(215,183,90,.18);
  background: linear-gradient(180deg, rgba(15,15,15,.75), rgba(8,8,8,.75));
}
.kpi .n{
  font-size:19px; font-weight:800;
  background: linear-gradient(90deg, var(--gold2), var(--gold1), var(--gold3));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.kpi .t{font-size:12.5px; color: var(--muted); margin-top:6px}

.card{
  border-radius: calc(var(--radius) + 4px);
  border:1px solid rgba(215,183,90,.18);
  background: linear-gradient(180deg, rgba(15,15,15,.78), rgba(8,8,8,.78));
  box-shadow: var(--shadow);
}
.card.pad{padding:20px}

.section{padding:28px 0}
.sectionTitle{
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px;
  margin-bottom: 14px;
}
.sectionTitle h2{
  margin:0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing:.3px;
}
.sectionTitle p{margin:0; color: var(--muted); font-size: 13.8px}
.grid3{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:8px;
}
.feature{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid rgba(215,183,90,.16);
  background: linear-gradient(180deg, rgba(15,15,15,.72), rgba(8,8,8,.72));
  min-height: 156px;
}
.feature h3{margin:0 0 8px; font-size:15px}
.feature p{margin:0; color: var(--muted); font-size:13.5px}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  border-radius: 999px;
  padding:7px 10px;
  border:1px solid rgba(215,183,90,.18);
  background: rgba(8,8,8,.55);
  color: var(--muted);
  font-size:12.5px;
}

.split{
  display:grid; grid-template-columns: .9fr 1.1fr;
  gap:8px;
  align-items:stretch;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{margin:8px 0}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid rgba(215,183,90,.16);
}
.table th, .table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(215,183,90,.10);
  vertical-align: top;
  font-size:13.5px;
}
.table th{
  color: var(--text);
  background: rgba(15,15,15,.6);
  font-weight:700;
}
.table td{color: var(--muted); background: rgba(10,10,10,.35)}
.table tr:last-child td{border-bottom:none}

.footer{
  margin-top: 22px;
  padding: 26px 0 36px;
  border-top: 1px solid rgba(215,183,90,.12);
  background: rgba(5,5,5,.6);
}
.footerGrid{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap:16px;
}
.small{font-size:12.5px; color: var(--muted)}
.footer a{color: var(--text)}
.footerLinks{display:flex; flex-wrap:wrap; gap:10px}
.footerLinks a{padding:8px 10px; border-radius: 10px; border:1px solid rgba(215,183,90,.12); background: rgba(15,15,15,.35)}

.formGrid{
  display:grid; grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field label{display:block; font-size:12.5px; color: var(--muted); margin:0 0 6px}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(215,183,90,.18);
  background: rgba(8,8,8,.55);
  color: var(--text);
  outline:none;
}
.field textarea{min-height:120px; resize:vertical}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: rgba(242,223,155,.55);
  box-shadow: 0 0 0 4px rgba(215,183,90,.10);
}

.note{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(215,183,90,.16);
  background: rgba(10,10,10,.45);
  color: var(--muted);
  font-size:12.8px;
}

.breadcrumbs{
  padding:18px 0 0;
  color: var(--muted);
  font-size:13px;
}
.breadcrumbs a{color: var(--muted); text-decoration:underline; text-underline-offset: 3px}
.pageTop{
  padding: 30px 0 6px;
}
.pageTop h1{
  margin:0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}
.pageTop p{margin:0; color: var(--muted); font-size:15px; max-width: 80ch}

.cards2{
  display:grid; grid-template-columns: 1fr 1fr;
  gap:8px;
}

@media (max-width: 980px){
  .heroGrid{grid-template-columns: 1fr; }
  .kpis{grid-template-columns: 1fr; }
  .grid3{grid-template-columns: 1fr; }
  .split{grid-template-columns: 1fr; }
  .footerGrid{grid-template-columns: 1fr; }
  .cards2{grid-template-columns: 1fr; }
  .menu{display:none}
  .mobileToggle{display:inline-flex}
  .mobilePanel{
    display:none;
    padding: 0 0 14px;
  }
  .mobilePanel.open{display:block}
  .mobilePanel a{
    display:block;
    padding:12px 10px;
    border-radius: 12px;
    border:1px solid rgba(215,183,90,.14);
    background: rgba(15,15,15,.45);
    margin-top: 10px;
  }
}


.brand-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 240px;
}

.brand-text{
  font-family: Georgia, "Times New Roman", serif;
  font-size:19px;
  letter-spacing: 1.4px;
  line-height: 1.05;
  background: linear-gradient(180deg, #f6e27a 0%, #d7b75a 40%, #b08a2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 -1px 0 rgba(0,0,0,.4),
    0 3px 6px rgba(0,0,0,.65);
  white-space:normal;
  display:block;
  margin-top:0px;
}

/* Mobile navigation */
.menuToggle{
  display:none;
  background: transparent;
  border: 1px solid rgba(215,183,90,.35);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}
.menuToggle svg{ width:18px; height:18px; display:block; }

@media (max-width: 980px){
  .nav{ padding: 12px 0; }
  .brand img{ width: 220px; max-height: 72px; }
  .brand-text{ font-size: 16px; }
  .menuToggle{ display:inline-flex; align-items:center; justify-content:center; gap:8px; }
  .menu{
    position:absolute;
    left:0; right:0;
    top:70px;
    display:none;
    flex-direction:column;
    gap:6px;
    padding: 10px 12px 14px;
    background: rgba(0,0,0,.92);
    border-top: 1px solid rgba(215,183,90,.18);
    backdrop-filter: blur(10px);
    z-index: 60;
  }
  .menu.open{ display:flex; }
  .menu a{ padding: 12px 10px; font-size: 14px; }
  .nav .right{ gap:10px; }
}

.deskOnly{ display: inline-flex; }
.mobileOnly{ display: none; }

@media (max-width: 980px){
  .deskOnly{ display:none !important; }
  .mobileOnly{ display:flex !important; }
  .nav{ padding: 10px 0; }
  .brand-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 240px;
}
  .brand img{ width: 250px; max-height: 84px; }
  .brand-text{ font-size: 15px; line-height: 1.05; }
  .right{ gap:10px; }
  .menuToggle{ border-radius: 12px; padding: 10px 12px; }
  .menu{
    top:64px;
    border-top: 1px solid rgba(215,183,90,.18);
  }
  .menu .divider{
    height:1px;
    background: rgba(215,183,90,.18);
    margin: 8px 0;
  }
  .menu .mobileCta{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }
}


/* ====== Mobile fix v15 ====== */
.tableWrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius: var(--radius); }
.tableWrap table{ min-width: 720px; }

@media (max-width: 980px){
  /* Use the new hamburger menu */
  .menu{ 
    position:absolute;
    left:0; right:0;
    top:64px;
    display:none !important;
    flex-direction:column;
    gap:6px;
    padding: 10px 12px 14px;
    background: rgba(0,0,0,.92);
    border-top: 1px solid rgba(215,183,90,.18);
    backdrop-filter: blur(10px);
    z-index: 60;
  }
  .menu.open{ display:flex !important; }
  .menuToggle{ display:inline-flex !important; }
  /* Disable legacy mobile panel if present */
  .mobileToggle, .mobilePanel{ display:none !important; }

  /* Header layout */
  header{ position:sticky; top:0; z-index:70; background: rgba(0,0,0,.86); backdrop-filter: blur(12px); border-bottom:1px solid rgba(215,183,90,.10); }
  .nav{ gap:10px; padding: 10px 0; }
  .brand{ min-width: 0 !important; }
  .brand-wrap{ min-width:0 !important; gap:10px; }
  .brand img{ width: 190px !important; max-height: 70px !important; }
  .brand-text{ font-size: 14px !important; letter-spacing: 1.2px; }
  .right{ gap:10px; }

  /* Typography scale */
  h1{ font-size: 44px; line-height: 1.02; }
  h2{ font-size: 32px; }
  .tag{ font-size: 12px; }
  .lead{ font-size: 15px; }
  .section{ padding: 34px 0; }
  .card{ padding: 16px; }
}

@media (max-width: 600px){
  h1{ font-size: 40px; }
  .brand img{ width: 170px !important; max-height: 64px !important; }
  .brand-text{ font-size: 13px !important; }
  .pill, .btn.deskOnly{ display:none !important; }
  .menu{ top:60px; }
}

/* ====== Mobile fix v16 (clean header + readable tables) ====== */
@media (max-width: 980px){
  /* Hide desktop CTAs in header no matter the classes */
  header .right .pill,
  header .right .btn{
    display:none !important;
  }
  /* Compact brand */
  .brand img{ width: 160px !important; max-height: 60px !important; }
  .brand-text{ font-size: 13px !important; }
  /* Make menu toggle always visible */
  .menuToggle{ display:inline-flex !important; }
  /* Reduce hero headline size so it doesn't look broken */
  h1{ font-size: 40px !important; line-height: 1.0 !important; }
  .section{ padding: 30px 0 !important; }
}

/* Table -> stacked cards on small screens */
@media (max-width: 700px){
  .tableWrap{ overflow: visible !important; }
  .tableWrap table{ width:100% !important; min-width:0 !important; border-collapse: separate; border-spacing: 0 10px; }
  .tableWrap thead{ display:none !important; }
  .tableWrap tbody, .tableWrap tr, .tableWrap td{ display:block !important; width:100% !important; }
  .tableWrap tr{
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(215,183,90,.18);
    border-radius: 16px;
    overflow:hidden;
    margin-bottom: 12px;
  }
  .tableWrap td{
    padding: 10px 12px !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
  }
  .tableWrap td:last-child{ border-bottom:none !important; }
  .tableWrap td::before{
    content: attr(data-label);
    display:block;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(215,183,90,.95);
    margin-bottom: 6px;
    font-weight: 600;
  }
}

/* ====== Mobile fix v17 (real mobile-first header + tables) ====== */
@media (max-width: 980px){
  /* Header: keep only brand + Menu button */
  .header .nav{ align-items:center; }
  .header .cta .badge,
  .header .cta a.btn.secondary.small{
    display:none !important;
  }
  .header .cta{ gap:10px; }
  .header .brand img{ width: 170px !important; max-height: 64px !important; }
  .header .brand-text{ font-size: 13px !important; line-height: 1.05; letter-spacing: 1.2px; }
  .header .menu{ display:none !important; } /* hide desktop menu */
  .header .mobileToggle{ display:inline-flex !important; }
  .header{ position: sticky; top: 0; z-index: 80; background: rgba(0,0,0,.86); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(215,183,90,.10); }
}

/* Hero typography on phones */
@media (max-width: 600px){
  h1{ font-size: 36px !important; line-height: 1.02 !important; }
  .tag{ font-size: 12px !important; }
  .lead{ font-size: 15px !important; }
}

/* Tables: always convert to stacked cards on phones (no truncation) */
@media (max-width: 900px){
  .tableWrap{ overflow: visible !important; }
  .tableWrap table{ width:100% !important; min-width:0 !important; border-collapse: separate; border-spacing: 0 10px; }
  .tableWrap thead{ display:none !important; }
  .tableWrap tbody, .tableWrap tr, .tableWrap td{ display:block !important; width:100% !important; }
  .tableWrap tr{
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(215,183,90,.18);
    border-radius: 16px;
    overflow:hidden;
    margin-bottom: 12px;
  }
  .tableWrap td{
    padding: 10px 12px !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
  .tableWrap td:last-child{ border-bottom:none !important; }
  .tableWrap td::before{
    content: attr(data-label);
    display:block;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(215,183,90,.95);
    margin-bottom: 6px;
    font-weight: 600;
  }
}


/* ====== Fix mobile menu toggle (v18) ====== */
@media (max-width: 980px){
  .mobileToggle{ display:inline-flex !important; }
  .mobilePanel{
    display:none !important;
    position:absolute;
    left:0; right:0;
    top:64px;
    padding: 12px 12px 16px;
    background: rgba(0,0,0,.92);
    border-top: 1px solid rgba(215,183,90,.18);
    backdrop-filter: blur(10px);
    z-index: 90;
  }
  .mobilePanel.open{ display:block !important; }
}
