:root{
  --bg:#0B0F14;
  --panel:#0F151D;
  --panel2:#0C121A;
  --text:#F4F1EA;
  --muted:#A9B2BE;
  --muted2:#7E8A99;
  --line:#2A3441;
  --accent:#C7A96B;
  --accent2:#2FD18D;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius:18px;
  --radius-sm:12px;
  --max:1140px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background: radial-gradient(1200px 700px at 15% 0%, rgba(199,169,107,.12), transparent 55%),
              radial-gradient(900px 500px at 85% 10%, rgba(47,209,141,.08), transparent 55%),
              var(--bg);
  color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--text)}
img{max-width:100%; height:auto}
p{margin:0 0 1rem}
ul{margin:0; padding-left:1.2rem}

.container{
  width:min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
}

.skip{
  position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:1rem; top:1rem; width:auto; height:auto; padding:.75rem 1rem; background:var(--panel); border:1px solid var(--line); border-radius:12px; z-index:9999}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.topbar{
  border-bottom:1px solid rgba(255,255,255,.06);
  background:rgba(11,15,20,.72);
  backdrop-filter: blur(10px);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  padding:.55rem 0;
  gap:1rem;
  font-size:.92rem;
  color:var(--muted);
}
.topbar a{color:var(--text)}
.topbar .note{color:var(--muted); font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.85rem}

header{
  position:sticky;
  top:0;
  z-index:2000;
  background:rgba(11,15,20,.70);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  padding:.9rem 0;
  gap:1rem;
}
.brand{
  display:flex; align-items:center; gap:.8rem;
  min-width:260px;
}
.brand img{width:240px; height:auto; display:block}
.navlinks{
  display:flex; gap:1.05rem; align-items:center;
}
.navlinks a{
  color:var(--muted);
  padding:.55rem .65rem;
  border-radius:12px;
  transition: background .18s ease, color .18s ease;
  font-weight:600;
}
.navlinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.navlinks a.active{color:var(--text); background:rgba(199,169,107,.12); border:1px solid rgba(199,169,107,.22)}

.actions{
  display:flex; gap:.65rem; align-items:center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  padding:.78rem 1rem;
  border-radius:999px;
  border:1px solid rgba(199,169,107,.35);
  background:rgba(199,169,107,.16);
  color:var(--text);
  font-weight:750;
  letter-spacing:.2px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(199,169,107,.22); border-color:rgba(199,169,107,.5)}
.btn--solid{
  background: var(--accent);
  border-color: var(--accent);
  color:#0B0F14;
}
.btn--solid:hover{background: #d4b77b; border-color:#d4b77b}
.btn--outline{
  background: transparent;
  border-color: rgba(255,255,255,.18);
  color: var(--text);
}
.btn--outline:hover{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28)}
.btn--ghost{
  background: transparent;
  border-color: transparent;
  color: var(--text);
  padding:.6rem .75rem;
}

.menuBtn{display:none; align-items:center; justify-content:center}
.menuBtn .burger{
  width:22px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  position:relative;
  transition: transform .18s ease, background .18s ease;
}
.menuBtn .burger::before,
.menuBtn .burger::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition: transform .18s ease, top .18s ease;
}
.menuBtn .burger::before{top:-7px}
.menuBtn .burger::after{top:7px}
.menuBtn[aria-expanded="true"] .burger{background:transparent}
.menuBtn[aria-expanded="true"] .burger::before{top:0; transform:rotate(45deg)}
.menuBtn[aria-expanded="true"] .burger::after{top:0; transform:rotate(-45deg)}

.hero{
  position:relative;
  padding:5rem 0 3.5rem;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("/assets/img/hero-grid.svg");
  background-size: cover;
  background-position: center;
  opacity:.72;
  pointer-events:none;
}
.hero .inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:2.25rem;
  align-items:center;
}
.kicker{
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size:.82rem;
}
h1{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height:1.1;
  margin:.75rem 0 1rem;
  letter-spacing:.2px;
}
.lede{
  font-size:1.08rem;
  color:var(--muted);
  max-width:56ch;
}
.heroCards{
  display:grid;
  gap:1rem;
}
.panel{
  background: rgba(15,21,29,.72);
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel.pad{padding:1.2rem}
.panel h3{
  margin:.2rem 0 .45rem;
  font-size:1.05rem;
}
.metaRow{
  display:flex; gap:.6rem; flex-wrap:wrap; align-items:center;
  margin-top:.9rem;
}
.pill{
  display:inline-flex;
  padding:.35rem .6rem;
  border-radius:999px;
  font-size:.82rem;
  border:1px solid rgba(255,255,255,.16);
  color: var(--muted);
  background: rgba(255,255,255,.03);
}

section{padding:3.3rem 0}
.sectionTitle{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.4rem;
}
.sectionTitle h2{
  margin:0;
  font-size:2.0rem;
  font-family: "Playfair Display", Georgia, serif;
}
.sectionTitle p{
  margin:0;
  color:var(--muted);
  max-width:52ch;
}

.grid{
  display:grid;
  gap:1.1rem;
}
.grid.cols-3{grid-template-columns: repeat(3, 1fr)}
.grid.cols-2{grid-template-columns: repeat(2, 1fr)}
.grid.cols-4{grid-template-columns: repeat(4, 1fr)}
.card{
  background: rgba(15,21,29,.72);
  border:1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding:1.2rem;
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(199,169,107,.28);
  background: rgba(15,21,29,.84);
}
.card h3{margin:.15rem 0 .4rem; font-size:1.05rem}
.card p{color:var(--muted); margin:0 0 .85rem}
.card .mono{font-family:"IBM Plex Mono", ui-monospace, monospace; color:var(--muted); font-size:.9rem}
.card .mono a{display:inline-block}
.card .mono a:hover{color:var(--text); text-decoration: underline; text-decoration-color: rgba(199,169,107,.55); text-underline-offset: 4px}
.card .links{display:flex; gap:.6rem; flex-wrap:wrap}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1.4rem;
  align-items:start;
}
.hr{
  height:1px; background:rgba(255,255,255,.08);
  margin:1.6rem 0;
}

.noteBox{
  border:1px solid rgba(199,169,107,.22);
  background: rgba(199,169,107,.08);
  border-radius: var(--radius);
  padding:1rem 1.1rem;
  color: var(--muted);
}

.form{
  display:grid;
  gap:.85rem;
}
label{font-weight:650; font-size:.92rem}
input, select, textarea{
  width:100%;
  padding:.85rem .9rem;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(12,18,26,.75);
  color: var(--text);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus, select:focus, textarea:focus{
  border-color: rgba(199,169,107,.55);
  box-shadow: 0 0 0 4px rgba(199,169,107,.12);
}
.formRow{
  display:grid; gap:.85rem;
  grid-template-columns: 1fr 1fr;
}
.small{font-size:.9rem; color:var(--muted)}
.honeypot{display:none !important}

footer{
  padding:2.6rem 0;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(11,15,20,.86);
}
.footerGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap:1.3rem;
}
.footerGrid h4{margin:.1rem 0 .6rem}
.footerGrid a{color:var(--text)}
.footerGrid p, .footerGrid li{color:var(--muted)}
.footerFine{
  margin-top:1.3rem;
  padding-top:1.2rem;
  border-top:1px solid rgba(255,255,255,.08);
  color:var(--muted2);
  font-size:.9rem;
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  justify-content:space-between;
}

.badge{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.38rem .7rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-family:"IBM Plex Mono", ui-monospace, monospace;
  font-size:.83rem;
}

@media (max-width: 1024px){
/* rt-mobile-nav */
  .topbar .row{flex-wrap:wrap}
  .brand{min-width:0}
  .actions{gap:.45rem}
  .actions .btn{padding:.68rem .85rem}
  .hero .inner{grid-template-columns: 1fr; }
  .grid.cols-3{grid-template-columns: 1fr}
  .grid.cols-4{grid-template-columns: 1fr 1fr}
  .split{grid-template-columns: 1fr}
  .footerGrid{grid-template-columns: 1fr}
  .brand img{width:220px}
  .menuBtn{display:inline-flex}
  .navlinks{
    display:none;
    position:absolute;
    left:1rem; right:1rem;
    top: calc(100% + .6rem);
    background: rgba(15,21,29,.96);
    border:1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    padding:.8rem;
    flex-direction:column;
    gap:.2rem;
    box-shadow: var(--shadow);
  }
  .navlinks.open{display:flex}
  .navlinks a{width:100%}
}

@media (max-width: 520px){
/* rt-xs */
  .topbar .row{justify-content:center; text-align:center}
  .topbar .note{width:100%; text-align:center}
  .actions .btn--outline{display:none}
  .brand img{width:200px}
  .grid.cols-4{grid-template-columns: 1fr}
  .formRow{grid-template-columns: 1fr}
}