/* ReserveChain.io — institutional RWA tokenization platform, contest demo */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --navy-950:#08090b;
  --navy-900:#0c0e11;
  --navy-800:#12151a;
  --navy-700:#1a1e24;
  --navy-600:#262b33;
  --navy-500:#3a414c;
  --line:#2a2f37;
  --line-soft:#1b1f25;
  --ink:#f3f2ef;
  --ink-dim:#c7c9cd;
  --ink-mute:#8b8f96;
  --gold-400:#f5a623;
  --gold-500:#e8890c;
  --gold-600:#d97706;
  --gold-700:#b45f04;
  --copper:#c9784a;
  --copper-soft:#e0a679;
  --nickel:#b9c2cc;
  --nickel-soft:#dde2e7;
  --ok:#22c55e;
  --warn:#f5a623;
  --danger:#e5484d;
  --radius:14px;
  --radius-sm:8px;
  --shadow-lg:0 20px 60px -20px rgba(0,0,0,.65);
  --shadow-sm:0 8px 24px -12px rgba(0,0,0,.6);
  font-size:16px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:radial-gradient(1200px 600px at 15% -10%, #171008 0%, transparent 60%),
             radial-gradient(1000px 500px at 100% 0%, #14100a 0%, transparent 55%),
             var(--navy-950);
  color:var(--ink);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Playfair Display', Georgia, serif;
  color:var(--ink);
  margin:0 0 .5em;
  letter-spacing:.2px;
}
h1{font-size:clamp(2.1rem,4vw,3.4rem); font-weight:700; line-height:1.12;}
h2{font-size:clamp(1.6rem,2.6vw,2.3rem); font-weight:700;}
h3{font-size:1.25rem; font-weight:600;}
p{color:var(--ink-dim); margin:0 0 1em;}
a{color:var(--gold-500); text-decoration:none;}
a:hover{color:var(--gold-400);}
small, .small{font-size:.82rem;}
code, .mono{font-family:'JetBrains Mono', 'Consolas', monospace;}
.container{max-width:1180px; margin:0 auto; padding:0 24px;}
.container-narrow{max-width:840px; margin:0 auto; padding:0 24px;}
section{padding:76px 0;}
section.tight{padding:48px 0;}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Inter'; font-size:.72rem; font-weight:700; letter-spacing:1.6px;
  text-transform:uppercase; color:var(--gold-500);
  margin-bottom:14px;
}
.eyebrow::before{content:''; width:22px; height:1px; background:var(--gold-600); display:inline-block;}

/* ---------- Nav ---------- */
.topbar{
  position:sticky; top:0; z-index:100;
  background:rgba(6,9,17,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:12px 0;}
.brand{display:flex; align-items:center; gap:10px; font-family:'Playfair Display'; font-weight:700; font-size:1.15rem; color:var(--ink);}
.brand img{height:34px; width:auto; display:block;}
.brand .gold, h1 .gold, h2 .gold{color:var(--gold-500);}
.navlinks{display:flex; align-items:center; gap:26px; flex-wrap:wrap;}
.navlinks a{color:var(--ink-dim); font-size:.88rem; font-weight:500;}
.navlinks a:hover{color:var(--gold-400);}
.navlinks a.active{color:var(--gold-500);}
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color:#1a1305 !important; font-weight:700; font-size:.85rem;
  padding:10px 18px; border-radius:999px; box-shadow:var(--shadow-sm);
  white-space:nowrap;
}
.nav-cta:hover{filter:brightness(1.06);}
.navtoggle{display:none; background:none; border:1px solid var(--line); color:var(--ink); border-radius:8px; padding:8px 10px;}

@media (max-width:920px){
  .navlinks{
    position:absolute; top:64px; left:0; right:0;
    background:var(--navy-900); border-bottom:1px solid var(--line-soft);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:8px 24px 18px; display:none;
  }
  .navlinks.open{display:flex;}
  .navlinks a{padding:10px 0; width:100%; border-bottom:1px solid var(--line-soft);}
  .navtoggle{display:inline-block;}
}

/* ---------- Disclosure banner ---------- */
.disclosure{
  background:linear-gradient(180deg, #1c1608, #120e05);
  border-bottom:1px solid #3a2c0f;
  color:#e8d19b;
  font-size:.82rem;
}
.disclosure .container{display:flex; gap:12px; align-items:flex-start; padding-top:10px; padding-bottom:10px;}
.disclosure strong{color:var(--gold-400);}
.disclosure svg{flex:none; margin-top:2px;}

/* ---------- Hero ---------- */
.hero{padding:70px 0 40px; position:relative;}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;}
@media(max-width:920px){.hero-grid{grid-template-columns:1fr;}}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin:22px 0 30px;}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--line); background:var(--navy-800);
  padding:8px 14px; border-radius:999px; font-size:.8rem; color:var(--ink-dim);
}
.badge .dot{width:7px; height:7px; border-radius:50%; background:var(--gold-500);}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
.hero-art{
  border-radius:20px; border:1px solid var(--line);
  background:linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding:36px; box-shadow:var(--shadow-lg); text-align:center;
}
.hero-art img{width:100%; max-width:320px;}
.hero-art-photo{background:none; border:none; box-shadow:none; padding:0;}
.hero-art-photo img{max-width:100%; width:100%; border-radius:16px; box-shadow:var(--shadow-lg);}
.page-hero-photo{width:100%; max-height:460px; object-fit:cover; border-radius:16px; margin-top:28px; box-shadow:var(--shadow-lg); display:block;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:10px; font-weight:600; font-size:.92rem;
  cursor:pointer; border:1px solid transparent; transition:transform .15s ease, filter .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:linear-gradient(135deg, var(--gold-400), var(--gold-600)); color:#1a1305;}
.btn-primary:hover{filter:brightness(1.05); color:#1a1305;}
.btn-outline{border-color:var(--line-soft); color:var(--ink); background:var(--navy-800);}
.btn-outline:hover{border-color:var(--gold-600); color:var(--gold-400);}
.btn-block{width:100%;}
.btn-sm{padding:9px 16px; font-size:.82rem;}

/* ---------- Cards / grids ---------- */
.grid{display:grid; gap:22px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-5{grid-template-columns:repeat(5,1fr);}
@media(max-width:1100px){.grid-5{grid-template-columns:repeat(3,1fr);}}
@media(max-width:920px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){.grid-2,.grid-3,.grid-4,.grid-5{grid-template-columns:1fr;} }

.card{
  background:var(--navy-800); border:1px solid var(--line-soft); border-radius:var(--radius);
  padding:26px; box-shadow:var(--shadow-sm);
}
.card:hover{border-color:var(--line);}
.card-icon{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(217,179,91,.18), rgba(217,179,91,.04));
  border:1px solid rgba(217,179,91,.25); margin-bottom:16px;
}
.program-card{
  border-radius:18px; border:1px solid var(--line-soft); overflow:hidden;
  background:var(--navy-800); display:flex; flex-direction:column;
}
.program-card .swatch{height:8px; width:100%;}
.swatch-copper{background:linear-gradient(90deg,#8a4a24,#c9784a,#e0a679);}
.swatch-nickel{background:linear-gradient(90deg,#6d7681,#b9c2cc,#e8ecef);}
.program-card .body{padding:28px;}
.program-card .tag{
  display:inline-block; font-size:.7rem; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  padding:4px 10px; border-radius:999px; margin-bottom:12px;
}
.tag-copper{background:rgba(201,120,74,.15); color:var(--copper-soft); border:1px solid rgba(201,120,74,.35);}
.tag-nickel{background:rgba(185,194,204,.12); color:var(--nickel-soft); border:1px solid rgba(185,194,204,.3);}

/* ---------- Stat / spec tables ---------- */
.stat-row{display:flex; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line-soft); font-size:.9rem;}
.stat-row:last-child{border-bottom:none;}
.stat-row .k{color:var(--ink-mute);}
.stat-row .v{color:var(--ink); font-weight:600; text-align:right;}

table.spec{width:100%; border-collapse:collapse; font-size:.88rem;}
table.spec th{text-align:left; color:var(--ink-mute); font-weight:600; font-size:.76rem; text-transform:uppercase; letter-spacing:.6px; padding:10px 12px; border-bottom:1px solid var(--line);}
table.spec td{padding:12px; border-bottom:1px solid var(--line-soft); color:var(--ink-dim);}
table.spec tr:hover td{background:rgba(255,255,255,.015);}
.status-pill{display:inline-flex; align-items:center; gap:6px; font-size:.74rem; font-weight:600; padding:4px 10px; border-radius:999px;}
.status-illustrative{background:rgba(224,176,74,.14); color:var(--warn); border:1px solid rgba(224,176,74,.3);}
.status-pending{background:rgba(139,150,173,.14); color:var(--ink-mute); border:1px solid var(--line);}
.status-inactive{background:rgba(224,112,112,.12); color:var(--danger); border:1px solid rgba(224,112,112,.28);}

/* ---------- Section headers ---------- */
.section-head{max-width:680px; margin-bottom:44px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}

/* ---------- Timeline (roadmap) ---------- */
.timeline{position:relative; padding-left:28px; border-left:2px solid var(--line-soft);}
.tl-item{position:relative; padding-bottom:34px;}
.tl-item:last-child{padding-bottom:0;}
.tl-item::before{content:''; position:absolute; left:-34px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--navy-900); border:2px solid var(--gold-600);}
.tl-phase{font-size:.72rem; text-transform:uppercase; letter-spacing:1px; color:var(--gold-500); font-weight:700; margin-bottom:4px;}

/* ---------- Callout / disclosure box ---------- */
.callout{
  border-radius:var(--radius); border:1px solid rgba(224,176,74,.3);
  background:linear-gradient(180deg, rgba(224,176,74,.08), rgba(224,176,74,.02));
  padding:24px 26px; font-size:.92rem; color:#ecdcae;
}
.callout strong{color:var(--gold-400);}
.callout-danger{border-color:rgba(224,112,112,.35); background:linear-gradient(180deg, rgba(224,112,112,.08), rgba(224,112,112,.02)); color:#f1cccc;}
.callout-danger strong{color:#f0a3a3;}

/* ---------- FAQ ---------- */
.faq-item{border-bottom:1px solid var(--line-soft); padding:18px 0;}
.faq-q{display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:600; color:var(--ink); gap:16px;}
.faq-q .chev{transition:transform .2s ease; color:var(--gold-500); flex:none;}
.faq-item.open .faq-q .chev{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease;}
.faq-item.open .faq-a{max-height:400px;}
.faq-a p{padding-top:12px; margin-bottom:0;}

/* ---------- Forms ---------- */
.form-grid{display:grid; gap:16px;}
label{display:block; font-size:.82rem; font-weight:600; color:var(--ink-dim); margin-bottom:6px;}
input[type=text],input[type=email],input[type=tel],select,textarea{
  width:100%; background:var(--navy-700); border:1px solid var(--line); border-radius:10px;
  padding:12px 14px; color:var(--ink); font-family:inherit; font-size:.92rem;
}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--gold-600);}
.checkline{display:flex; gap:10px; align-items:flex-start; font-size:.82rem; color:var(--ink-mute);}
.checkline input{margin-top:4px;}
.hp-field{position:absolute; left:-9999px; opacity:0;}
.form-msg{margin-top:14px; font-size:.88rem; padding:12px 14px; border-radius:10px; display:none;}
.form-msg.show{display:block;}
.form-msg.ok{background:rgba(95,184,138,.12); border:1px solid rgba(95,184,138,.3); color:#a9dcc2;}
.form-msg.err{background:rgba(224,112,112,.12); border:1px solid rgba(224,112,112,.3); color:#f0b8b8;}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--line-soft); background:var(--navy-900); padding:52px 0 26px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px;}
@media(max-width:820px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:520px){.footer-grid{grid-template-columns:1fr;}}
.footer-grid h4{font-size:.8rem; text-transform:uppercase; letter-spacing:1px; color:var(--ink-mute); font-family:'Inter'; font-weight:700;}
.footer-grid a{display:block; color:var(--ink-dim); font-size:.88rem; padding:5px 0;}
.footer-grid a:hover{color:var(--gold-400);}
.footer-bottom{margin-top:40px; padding-top:24px; border-top:1px solid var(--line-soft); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.78rem; color:var(--ink-mute);}
.footer-legal{margin-top:22px; font-size:.76rem; color:var(--ink-mute); line-height:1.7; max-width:960px;}

/* ---------- Utilities ---------- */
.pill-row{display:flex; gap:10px; flex-wrap:wrap;}
.center{text-align:center;}
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.text-mute{color:var(--ink-mute);}
.divider{height:1px; background:var(--line-soft); margin:40px 0;}
.breadcrumb{font-size:.8rem; color:var(--ink-mute); margin-bottom:18px;}
.breadcrumb a{color:var(--ink-mute);}
.breadcrumb a:hover{color:var(--gold-400);}
.page-hero{padding:52px 0 20px;}
.icon-copper{color:var(--copper-soft);}
.icon-nickel{color:var(--nickel-soft);}
/* ---------- Scroll reveal ---------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);}
.reveal.in{opacity:1; transform:none;}
@media print{ .reveal{opacity:1 !important; transform:none !important;} }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none; transition:none;} }

/* ---------- Architecture diagram ---------- */
.arch-diagram{max-width:960px; margin:0 auto;}
.arch-layer-label{
  text-align:center; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1.4px;
  color:var(--gold-500); margin-bottom:12px;
}
.arch-row{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}
.arch-box{
  flex:1 1 160px; min-width:150px; max-width:220px; text-align:center;
  background:var(--navy-800); border:1px solid var(--line); border-radius:10px;
  padding:14px 12px; font-size:.85rem; font-weight:600; color:var(--ink-dim);
  box-shadow:var(--shadow-sm);
}
.arch-row.single .arch-box{max-width:none; flex:1 1 100%;}
.arch-box.accent{border-color:rgba(217,179,91,.4); color:var(--gold-400); background:linear-gradient(180deg, rgba(217,179,91,.08), rgba(217,179,91,.02));}
.arch-connector{
  width:2px; height:30px; background:linear-gradient(var(--line), var(--gold-600));
  margin:6px auto; position:relative;
}
.arch-connector::after{
  content:''; position:absolute; bottom:-1px; left:50%; transform:translateX(-50%);
  border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid var(--gold-600);
}

.demo-tag{
  position:fixed; bottom:18px; right:18px; z-index:200;
  background:var(--navy-800); border:1px solid var(--gold-700); color:var(--gold-400);
  font-size:.72rem; font-weight:600; padding:8px 14px; border-radius:999px; box-shadow:var(--shadow-sm);
}
@media(max-width:640px){.demo-tag{left:18px; right:18px; text-align:center;}}

/* ================= Phase 1: production design system additions ================= */

/* ---------- Mega menu ---------- */
.nav-item{position:relative;}
.nav-toplink{
  display:inline-flex; align-items:center; gap:5px; background:none; border:none; cursor:pointer;
  color:var(--ink-dim); font-size:.88rem; font-weight:500; font-family:inherit; padding:10px 0;
}
.nav-toplink:hover, .nav-item.open .nav-toplink{color:var(--gold-400);}
.nav-toplink .caret{font-size:.6rem; transition:transform .15s ease;}
.nav-item.open .nav-toplink .caret{transform:rotate(180deg);}
.mega-panel{
  display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
  min-width:560px; max-width:720px; background:var(--navy-800); border:1px solid var(--line);
  border-radius:12px; box-shadow:var(--shadow-lg); padding:22px; margin-top:10px; z-index:150;
  grid-template-columns:repeat(2,1fr); gap:6px 28px;
}
.mega-panel.wide{grid-template-columns:repeat(3,1fr);}
@media(min-width:921px){
  .nav-item:hover .mega-panel, .nav-item.open .mega-panel{display:grid;}
}
.mega-col-title{font-size:.68rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--gold-500); margin:10px 0 6px;}
.mega-panel a{display:block; color:var(--ink-dim); font-size:.85rem; padding:5px 0;}
.mega-panel a:hover{color:var(--gold-400);}
@media(max-width:920px){
  .mega-panel{position:static; transform:none; display:none; grid-template-columns:1fr; min-width:0; max-width:none; margin:6px 0 10px; box-shadow:none; border-color:var(--line-soft);}
  .nav-item.open .mega-panel{display:grid;}
  .nav-toplink{width:100%; justify-content:space-between; padding:10px 0;}
}

/* ---------- Step process (hexagon numbered flow) ---------- */
.step-process{display:flex; gap:0; flex-wrap:wrap; justify-content:center;}
.step-item{
  flex:1 1 160px; max-width:190px; text-align:center; position:relative; padding:0 10px;
}
.step-hex{
  width:64px; height:64px; margin:0 auto 14px; position:relative; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(160deg, rgba(232,137,12,.14), rgba(232,137,12,.03));
  border:1.5px solid var(--gold-600); clip-path:polygon(50% 0%,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);
}
.step-hex span{font-family:'Playfair Display'; font-weight:700; font-size:1.3rem; color:var(--gold-400);}
.step-item h4{font-size:.92rem; font-weight:700; color:var(--ink); margin:0 0 6px;}
.step-item p{font-size:.8rem; color:var(--ink-mute); margin:0;}
.step-arrow{
  align-self:center; color:var(--gold-600); font-size:1.4rem; flex:0 0 auto; margin-top:22px;
}
@media(max-width:820px){
  .step-process{flex-direction:column; align-items:stretch;}
  .step-item{max-width:none; display:flex; align-items:center; gap:16px; text-align:left; padding:14px 0; border-bottom:1px solid var(--line-soft);}
  .step-item:last-child{border-bottom:none;}
  .step-hex{margin:0; flex:none;}
  .step-arrow{display:none;}
}

/* ---------- Live Reserve Summary card ---------- */
.reserve-card{
  background:var(--navy-800); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow-sm);
}
.reserve-card .rc-head{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:14px;}
.reserve-card .rc-name{font-weight:700; color:var(--ink); font-size:.95rem;}
.reserve-card .rc-purity{font-size:.76rem; color:var(--ink-mute);}
.reserve-card .rc-tonnage{font-family:'Playfair Display'; font-size:2rem; font-weight:700; color:var(--gold-400); line-height:1;}
.reserve-card .rc-unit{font-size:.72rem; color:var(--ink-mute); text-transform:uppercase; letter-spacing:.6px; margin-bottom:14px;}
.reserve-card .rc-ratio{font-size:.8rem; color:var(--ink-dim);}
.reserve-card .rc-ratio b{color:var(--ok);}

/* ---------- Element tile (periodic-table style) ---------- */
.element-tile{
  display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  width:96px; height:96px; border:1.5px solid var(--gold-600); border-radius:10px;
  background:linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.element-tile .el-name{font-size:.62rem; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--ink-dim);}
.element-tile .el-symbol{font-family:'Playfair Display'; font-size:1.7rem; font-weight:700; color:var(--gold-400); line-height:1;}
.element-tile .el-purity{font-size:.66rem; color:var(--ink-mute);}

/* ---------- Certificate / document mockup ---------- */
.cert-mockup{
  background:repeating-linear-gradient(180deg, var(--navy-700) 0 2px, var(--navy-800) 2px 34px);
  border:1px solid var(--line); border-radius:10px; padding:20px 22px; position:relative; overflow:hidden;
}
.cert-mockup h4{font-size:.85rem; margin-bottom:10px; color:var(--ink);}
.cert-mockup .cert-row{display:flex; justify-content:space-between; font-size:.78rem; padding:5px 0; color:var(--ink-dim); border-bottom:1px dashed var(--line-soft);}

/* ---------- Device mockup (portal / dashboard preview) ---------- */
.device-mockup{position:relative; max-width:560px; margin:0 auto;}
.device-laptop{
  background:var(--navy-700); border:1px solid var(--line); border-radius:12px 12px 4px 4px;
  padding:14px 14px 0; box-shadow:var(--shadow-lg);
}
.device-laptop .screen{background:var(--navy-900); border-radius:6px; overflow:hidden; aspect-ratio:16/10; border:1px solid var(--line-soft);}
.device-laptop .base{height:14px; background:linear-gradient(180deg, var(--navy-600), var(--navy-800)); border-radius:0 0 8px 8px; margin-top:0;}
.device-phone{
  position:absolute; right:-24px; bottom:-30px; width:110px; background:var(--navy-700);
  border:1px solid var(--line); border-radius:16px; padding:8px; box-shadow:var(--shadow-lg);
}
.device-phone .screen{background:var(--navy-900); border-radius:9px; aspect-ratio:9/17; overflow:hidden; border:1px solid var(--line-soft);}
@media(max-width:640px){.device-phone{display:none;}}

/* ---------- Logo / partner strip ---------- */
.logo-strip{display:flex; flex-wrap:wrap; gap:14px; justify-content:center; align-items:center;}
.logo-strip .lchip{
  border:1px solid var(--line); background:var(--navy-800); border-radius:10px; padding:12px 20px;
  font-family:'Playfair Display'; font-weight:700; color:var(--ink-mute); font-size:.85rem; letter-spacing:.4px;
}

/* ---------- Future category badge ---------- */
.status-future{background:rgba(139,143,150,.12); color:var(--ink-mute); border:1px solid var(--line); font-weight:700; letter-spacing:.4px;}
.status-verified{background:rgba(34,197,94,.14); color:var(--ok); border:1px solid rgba(34,197,94,.32);}

/* ---------- 7-column footer ---------- */
.footer-grid-7{display:grid; grid-template-columns:1.3fr repeat(6,1fr); gap:24px;}
@media(max-width:1100px){.footer-grid-7{grid-template-columns:1fr 1fr 1fr 1fr;}}
@media(max-width:720px){.footer-grid-7{grid-template-columns:1fr 1fr;}}
@media(max-width:480px){.footer-grid-7{grid-template-columns:1fr;}}
.footer-grid-7 h4{font-size:.8rem; text-transform:uppercase; letter-spacing:1px; color:var(--ink-mute); font-family:'Inter'; font-weight:700; margin-bottom:8px;}
.footer-grid-7 a{display:block; color:var(--ink-dim); font-size:.88rem; padding:5px 0;}
.footer-grid-7 a:hover{color:var(--gold-400);}
.board-card{background:var(--navy-800); border:1px solid var(--line-soft); border-radius:var(--radius); overflow:hidden;}
.board-avatar{width:64px; height:64px; margin:20px 0 0 18px; border-radius:50%; background:var(--gold-500); color:var(--navy-950); display:flex; align-items:center; justify-content:center; font-family:'Playfair Display'; font-size:1.5rem; font-weight:700;}
.board-card .body{padding:16px 18px;}
.board-card h3{margin-bottom:2px; font-size:1.05rem;}
.board-card .role{color:var(--gold-500); font-size:.82rem; font-weight:600; margin-bottom:6px;}
.board-card .dept{color:var(--ink-mute); font-size:.8rem;}

.newsletter-box{background:var(--navy-800); border:1px solid var(--line); border-radius:10px; padding:16px;}
.newsletter-box input{margin-bottom:10px;}

/* ---------- Mini dashboard (portal preview screens) ---------- */
.mini-dash{width:100%; height:100%; display:flex; font-size:.6rem; color:var(--ink-dim);}
.mini-dash .md-side{width:26%; background:var(--navy-800); padding:10px 8px; border-right:1px solid var(--line-soft);}
.mini-dash .md-side .md-logo{width:16px; height:16px; border-radius:4px; background:linear-gradient(135deg,var(--gold-400),var(--gold-600)); margin-bottom:10px;}
.mini-dash .md-side .md-link{padding:5px 6px; border-radius:5px; margin-bottom:4px; color:var(--ink-mute);}
.mini-dash .md-side .md-link.active{background:rgba(232,137,12,.15); color:var(--gold-400);}
.mini-dash .md-main{flex:1; padding:10px 12px; overflow:hidden;}
.mini-dash .md-title{font-weight:700; color:var(--ink); margin-bottom:8px; font-size:.68rem;}
.mini-dash .md-cards{display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:8px;}
.mini-dash .md-card{background:var(--navy-800); border:1px solid var(--line-soft); border-radius:5px; padding:6px;}
.mini-dash .md-card .md-num{color:var(--gold-400); font-weight:700; font-size:.72rem;}
.mini-dash .md-row{display:flex; justify-content:space-between; padding:4px 0; border-bottom:1px solid var(--line-soft);}
.mini-dash .md-pill{display:inline-block; padding:1px 5px; border-radius:6px; font-size:.55rem; background:rgba(34,197,94,.15); color:var(--ok);}

/* ================= Home page rebuild — matching client reference exactly ================= */

/* ---------- Trust pillar row (5 cols, hexagon-outline icons, vertical dividers) ---------- */
.pillar-row{display:flex; border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);}
.pillar-item{flex:1; text-align:center; padding:26px 14px; border-right:1px solid var(--line-soft);}
.pillar-item:last-child{border-right:none;}
.pillar-item img{width:40px; height:40px; margin-bottom:10px;}
.pillar-item h4{font-size:.92rem; font-weight:700; color:var(--ink); margin-bottom:4px;}
.pillar-item p{font-size:.78rem; color:var(--ink-mute); margin:0;}
@media(max-width:820px){.pillar-row{flex-wrap:wrap;} .pillar-item{flex:1 1 50%; border-right:none; border-bottom:1px solid var(--line-soft);}}

/* ---------- Stats bar ---------- */
.stats-bar{display:flex; padding:20px 0; border-bottom:1px solid var(--line-soft);}
.stats-item{flex:1; text-align:center; padding:0 10px; border-right:1px solid var(--line-soft);}
.stats-item:last-child{border-right:none;}
.stats-item .num{font-family:'Playfair Display'; font-weight:700; font-size:1.3rem; color:var(--gold-400);}
.stats-item .lbl{font-size:.72rem; color:var(--ink-mute); margin-top:2px;}
.stats-item.status .num{font-size:.85rem; color:var(--ink); white-space:nowrap;}
@media(max-width:820px){.stats-bar{flex-wrap:wrap; gap:14px;} .stats-item{flex:1 1 30%; border-right:none;}}

/* ---------- Program photo cards (simple, matches reference) ---------- */
.program-photo-card{border:1px solid var(--line-soft); border-radius:var(--radius); padding:24px; display:flex; align-items:center; gap:24px; background:var(--navy-800);}
.program-photo-card img{width:150px; height:150px; object-fit:cover; border-radius:10px; flex:none;}
.program-photo-card h3{font-family:'Playfair Display'; margin-bottom:6px;}
.program-photo-card .spec-line{color:var(--ink-mute); font-size:.88rem; margin-bottom:14px;}
@media(max-width:640px){.program-photo-card{flex-direction:column; text-align:center;}}

/* ---------- Future category photo cards ---------- */
.category-photo-card{border:1px solid var(--line-soft); border-radius:var(--radius); overflow:hidden; background:var(--navy-800);}
.category-photo-card .cat-img{width:100%; height:140px; object-fit:cover; display:block; background:var(--navy-700);}
.category-photo-card .cat-body{padding:16px 18px;}
.category-photo-card h4{font-family:'Playfair Display'; font-size:1.05rem; margin-bottom:6px;}
.category-photo-card p{font-size:.82rem; color:var(--ink-mute); margin:0;}

/* ---------- Circular lifecycle step row ---------- */
.lifecycle-row{display:flex; align-items:flex-start; justify-content:center; flex-wrap:wrap; gap:0; position:relative;}
.lifecycle-item{flex:1 1 auto; min-width:90px; text-align:center; padding:0 6px; position:relative;}
.lifecycle-circle{
  width:64px; height:64px; border-radius:50%; margin:0 auto 10px; display:flex; align-items:center; justify-content:center;
  border:2px solid var(--gold-600); background:var(--navy-800); position:relative;
}
.lifecycle-circle img{width:28px; height:28px;}
.lifecycle-circle .step-num{position:absolute; bottom:-8px; right:-4px; background:var(--navy-950); color:var(--gold-400); font-size:.68rem; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; border:1px solid var(--gold-600);}
.lifecycle-item h5{font-size:.82rem; font-weight:700; color:var(--ink); margin:0;}
.lifecycle-connector{flex:0 0 24px; height:2px; background:repeating-linear-gradient(90deg, var(--gold-600) 0 6px, transparent 6px 12px); margin-top:32px;}
@media(max-width:820px){.lifecycle-connector{display:none;} .lifecycle-item{flex:1 1 22%;}}

/* ---------- DAP / PoR side-by-side panels ---------- */
.dap-por-grid{display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start;}
@media(max-width:820px){.dap-por-grid{grid-template-columns:1fr;}}
.panel-card{border:1px solid var(--gold-700); border-radius:var(--radius); padding:0; overflow:hidden; background:var(--navy-800);}
.panel-card .panel-title{text-align:center; padding:14px; font-family:'Playfair Display'; font-weight:700; color:var(--gold-400); border-bottom:1px solid var(--line-soft); font-size:1.05rem;}
.panel-card .panel-body{padding:20px 22px;}
.dap-photo-row{display:flex; gap:16px; align-items:flex-start; margin-bottom:14px;}
.dap-photo-row img{width:100px; height:100px; object-fit:cover; border-radius:8px; flex:none;}
.dap-photo-row .qr-placeholder{width:70px; height:70px; background:#fff; border-radius:4px; display:flex; align-items:center; justify-content:center; font-size:.6rem; color:#111; text-align:center;}
.panel-row{display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--line-soft); font-size:.85rem;}
.panel-row:last-child{border-bottom:none;}
.panel-row .k{color:var(--ink-mute);}
.panel-row .v{font-weight:600;}
.panel-row .v.ok{color:var(--ok);}
.panel-row .v.pending{color:var(--warn);}
.panel-footnote{font-size:.72rem; color:var(--ink-mute); padding:10px 22px 0;}

/* ---------- Enterprise 6-icon grid ---------- */
.enterprise-icon-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:14px;}
@media(max-width:920px){.enterprise-icon-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:520px){.enterprise-icon-grid{grid-template-columns:repeat(2,1fr);}}
.enterprise-icon-card{border:1px solid var(--line-soft); border-radius:10px; padding:20px 10px; text-align:center; background:var(--navy-800);}
.enterprise-icon-card img{width:34px; height:34px; margin-bottom:10px;}
.enterprise-icon-card span{display:block; font-size:.78rem; font-weight:600; color:var(--ink-dim);}

/* ---------- Early Participation full-width banner ---------- */
.ep-banner{
  border:1px solid var(--gold-700); border-radius:var(--radius); overflow:hidden; position:relative;
  background:linear-gradient(90deg, var(--navy-900) 40%, transparent), url('/assets/images/heroes/globe-banner.jpg') right center/cover no-repeat;
  padding:36px 40px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.ep-banner h2{margin-bottom:8px;}
.ep-banner p{max-width:480px; margin-bottom:0;}
.ep-banner .ep-note{font-size:.76rem; color:var(--ink-mute); margin-top:8px;}

/* ---------- 8-column footer ---------- */
.footer-grid-8{display:grid; grid-template-columns:1.2fr repeat(8,1fr); gap:12px;}
@media(max-width:900px){.footer-grid-8{grid-template-columns:1fr 1fr 1fr 1fr;}}
@media(max-width:720px){.footer-grid-8{grid-template-columns:1fr 1fr;}}
@media(max-width:480px){.footer-grid-8{grid-template-columns:1fr;}}
.footer-grid-8 h4{font-size:.78rem; text-transform:uppercase; letter-spacing:1px; color:var(--gold-500); font-family:'Inter'; font-weight:700; margin-bottom:8px;}
.footer-grid-8 a{display:block; color:var(--ink-dim); font-size:.85rem; padding:4px 0;}
.footer-grid-8 a:hover{color:var(--gold-400);}
.footer-social{display:flex; gap:10px; margin-top:16px;}
.footer-social a{width:34px; height:34px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--ink-dim);}
.footer-social a:hover{border-color:var(--gold-600); color:var(--gold-400);}
