:root{
  --bg:#07080b;
  --panel:#0f1118;
  --card: rgba(255,255,255,.045);
  --text:#eef2ff;
  --muted:#a7b0c0;

  /* Logo theme */
  --gold:#b88913;
  --gold2:#d4af37;
  --gold3:#f1dd9a;

  --red:#b30f2e;
  --red2:#e11d48;

  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
}
*{box-sizing:border-box}html,body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,system-ui,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(212,175,55,.18), transparent 55%),
    radial-gradient(820px 420px at 82% 8%, rgba(225,29,72,.12), transparent 55%),
    linear-gradient(180deg, #05060a 0%, #07080b 100%);
  line-height:1.6;
}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,system-ui,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(212,175,55,.18), transparent 55%),
    radial-gradient(820px 420px at 82% 8%, rgba(225,29,72,.12), transparent 55%),
    linear-gradient(180deg, #05060a 0%, #07080b 100%);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
header{
  position: relative;
  top: auto;
  z-index: 50;
  background: rgba(7,8,11,.98);
  border-bottom: 1px solid var(--border);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px}
.brand{display:flex;align-items:center;gap:12px;min-width:220px}
.brandLogo{
  width:92px;height:92px;border-radius:14px;
  border:1px solid rgba(212,175,55,.45);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  display:grid;place-items:center;overflow:hidden;
}
.brandLogo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.brand strong{font-size:15px;letter-spacing:.6px}
.brand span{display:block;color:var(--muted);font-size:12px;margin-top:2px}

.navLinks{display:flex;align-items:center;gap:14px}
.navLinks a{color:var(--muted);padding:10px 10px;border-radius:12px;border:1px solid transparent}
.navLinks a:hover{color:var(--text);border-color:var(--border);background:rgba(255,255,255,.03)}
.menuBtn{display:none}

.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:14px;border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  transition:.2s transform,.2s border-color;gap:10px;cursor:pointer;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(212,175,55,.55)}
.btn.primary{
  border-color: rgba(212,175,55,.60);
  background: linear-gradient(180deg, rgba(241,221,154,.30), rgba(212,175,55,.18), rgba(184,137,19,.12));
}
.btn.danger{
  border-color: rgba(225,29,72,.60);
  background: linear-gradient(180deg, rgba(225,29,72,.22), rgba(179,15,46,.12));
}
.pill{
  display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;
  border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--muted);font-size:12px;
}
.hero{padding:54px 0 26px}
.heroGrid{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:stretch}
.heroLeft{padding:28px;position:relative;overflow:hidden}
.heroLeft:before{
  content:"";position:absolute;inset:-2px;
  background:
    radial-gradient(420px 260px at 20% 0%, rgba(212,175,55,.25), transparent 60%),
    radial-gradient(420px 280px at 80% 10%, rgba(225,29,72,.16), transparent 60%);
  opacity:.9;pointer-events:none;
}
.heroLeft>*{position:relative}
h1{margin:0 0 10px;font-size:42px;line-height:1.12}
.heroSub{color:var(--muted);max-width:64ch;margin:0 0 18px}
.heroCtas{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}

.section{padding:26px 0}
.sectionTitle{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.sectionTitle h2{margin:0;font-size:22px}
.sectionTitle p{margin:0;color:var(--muted)}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature{padding:18px}
.feature h3{margin:8px 0 6px;font-size:16px}
.feature p{margin:0;color:var(--muted);font-size:13px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.panel{padding:18px}
.panel h3{margin:0 0 6px}
.panel p{margin:0;color:var(--muted)}

.list{margin:12px 0 0;padding:0;list-style:none;color:var(--muted)}
.list li{margin:8px 0;padding-left:18px;position:relative}
.list li:before{content:"";position:absolute;left:0;top:10px;width:8px;height:8px;border-radius:999px;background:rgba(212,175,55,.7)}

.form{display:grid;gap:12px;margin-top:10px}
.field{display:grid;gap:6px}
label{font-size:12px;color:var(--muted)}
input,textarea,select{
  width:100%;padding:12px 12px;border-radius:14px;border:1px solid var(--border);
  background: rgba(0,0,0,.28);color:var(--text);outline:none;
}
textarea{min-height:140px;resize:vertical}
.notice{color:var(--muted);font-size:12px}
.kpi{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.kpi .pill{background:rgba(255,255,255,.03)}
.footer{margin-top:30px;border-top:1px solid var(--border);padding:18px 0;color:var(--muted);font-size:12px}
.footerGrid{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer a{color:var(--text)}

@media (max-width: 920px){
  .heroGrid{grid-template-columns:1fr}
  h1{font-size:36px}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .menuBtn{display:inline-flex;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,.03);color:var(--text)}
  .navLinks{
    display:none;position:absolute;left:0;right:0;top:64px;background:rgba(7,8,11,.95);
    border-bottom:1px solid var(--border);padding:12px 18px;flex-direction:column;align-items:flex-start;
  }
  .navLinks.open{display:flex}
}


/* === Centered Header & Extra Large Logo === */
header .nav{
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.brand{
  justify-content: center;
  text-align: center;
}

.brandLogo{
  width: 180px;
  height: 180px;
  padding: 12px;
}

.brand strong{
  font-size: 22px;
}

.navLinks{
  justify-content: center;
  flex-wrap: wrap;
}


/* === Centered Header (Logo on top, Name underneath) === */
header .nav{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 0;
}

.brand{
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
}

.brandLogo{
  width: 240px;
  height: 240px;
  padding: 0;
  border-radius: 26px;
  border: 1px solid rgba(212,175,55,.45);
  background: rgba(255,255,255,.02);
}

.brand strong{
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--gold2);
}

.brand span{
  font-size: 14px;
  color: var(--muted);
}

.navLinks{
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

/* Keep mobile menu usable */
@media (max-width: 920px){
  header .nav{padding: 12px 0;}
  .brandLogo{width: 200px;height: 200px;}
  .brand strong{font-size: 20px;}
}


/* === FINAL: Exact Logo Presentation === */
.brandLogo{
  width: 260px;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brandLogo img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand{
  align-items: center;
  text-align: center;
}

header .nav{
  align-items: center;
}


/* === Load Board Mobile Flow Fixes === */
@media (max-width: 720px){
  .pill{
    display:block;
    width:100%;
    border-radius:16px;
    padding:12px 14px;
    line-height:1.45;
    white-space:normal;
  }
  .pill a{word-break:break-word}
  /* Load board table -> stacked cards */
  .table{display:block;width:100%}
  .row{display:block;border-radius:18px}
  .row td{
    display:block;
    width:100% !important;
    padding:12px 14px;
  }
  .row td + td{
    border-top:1px solid rgba(255,255,255,.10);
  }
  .actions{
    flex-direction:column;
    gap:10px;
  }
  .actions .btn{
    width:100%;
  }
}

