:root{
  --bone: #F5F2ED;
  --char: #1E1F23;
  --gray: #8A8D91;
  --amber: #D4A85F;
  --night: #121317;

  --border: #E3E1DC;
  --borderDark: #2A2C31;
  --card: #FFFFFF;

  --shadow: 0 18px 55px rgba(30,31,35,0.10);
  --shadow2: 0 10px 30px rgba(30,31,35,0.08);

  --radius: 18px;
  --radius2: 14px;

  --ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bone);
  color: var(--char);
  line-height: 1.45;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }

.container{
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

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

.skip{
  position:absolute;
  left:-999px; top:10px;
  background:var(--char);
  color:var(--bone);
  padding:10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip:focus{ left: 12px; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,242,237,0.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227,225,220,0.75);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}
.brand-logo{
  width: 40px; height: 40px;
  display:block;
}
.brand-text{ display:flex; flex-direction:column; line-height: 1.05; }
.brand-name{
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-sub{
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Statusbar */
.statusbar{
  border-top: 1px solid rgba(227,225,220,0.65);
  background: rgba(255,255,255,0.35);
}
.statusbar-inner{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: rgba(30,31,35,0.80);
}
.status-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(212,168,95,0.95);
  box-shadow: 0 0 18px rgba(212,168,95,0.35);
}
.status-spacer{ flex: 1; }
.status-link{
  font-weight: 650;
  opacity: 0.9;
}
.status-link:hover{ text-decoration: underline; text-underline-offset: 4px; }

.nav{ display:flex; align-items:center; gap: 10px; }
.nav-toggle{
  display:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.65);
  border-radius: 12px;
  padding: 10px;
  cursor:pointer;
}
.nav-toggle-bar{
  display:block;
  width: 20px;
  height: 2px;
  background: var(--char);
  margin: 4px 0;
  border-radius: 2px;
}
.nav-menu{
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav-link{
  font-size: 14px;
  color: var(--char);
  opacity: 0.9;
  padding: 8px 10px;
  border-radius: 12px;
  text-decoration:none;
}
.nav-link:hover{
  background: rgba(255,255,255,0.6);
  text-decoration:none;
}

/* Nav active */
.nav-link.active{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(227,225,220,0.9);
  text-decoration: none;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(30,31,35,0.14);
  background: var(--char);
  color: var(--bone);
  box-shadow: var(--shadow2);
  text-decoration:none;
  font-weight: 650;
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease), opacity 450ms var(--ease);
  will-change: transform;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration:none;
}
.btn.small{
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 12px;
}
.btn.ghost{
  background: rgba(255,255,255,0.75);
  color: var(--char);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.ghost:hover{
  box-shadow: var(--shadow2);
}

/* Hero */
.hero{
  padding: 54px 0 28px;
  position: relative;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:-120px;
  pointer-events:none;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 30%), rgba(212,168,95,0.22), rgba(212,168,95,0.00) 55%),
    radial-gradient(circle at 45% 60%, rgba(30,31,35,0.10), rgba(30,31,35,0.00) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.25), rgba(245,242,237,0.0) 55%);
  filter: saturate(1.05);
  opacity: 0.95;
  transform: translateZ(0);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.kicker{
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30,31,35,0.62);
  margin-bottom: 10px;
}

.hero-title{
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0 0 14px 0;
  font-weight: 750;
}

.hero-lead{
  font-size: 16px;
  color: rgba(30,31,35,0.88);
  margin: 0 0 18px 0;
  max-width: 70ch;
}

.hero-cta{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

/* Metrics */
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 14px;
}
.metric{
  border-radius: var(--radius2);
  border: 1px solid rgba(227,225,220,0.95);
  background: rgba(255,255,255,0.62);
  padding: 12px 12px;
}
.metric-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.metric-label{
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(30,31,35,0.60);
  font-weight: 650;
}
.metric-chip{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(227,225,220,0.95);
  background: rgba(245,242,237,0.75);
  color: rgba(30,31,35,0.78);
}
.metric-body{
  font-size: 13px;
  color: rgba(30,31,35,0.78);
}

.callout{
  display:flex;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.55);
}
.callout-icon{
  width: 12px; height: 12px;
  margin-top: 4px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(212,168,95,0.85), rgba(212,168,95,0.0) 70%);
  box-shadow: 0 0 22px rgba(212,168,95,0.22);
}
.callout-text{
  font-size: 14px;
  color: rgba(30,31,35,0.86);
}

/* Trust pills */
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}
.trust-pill{
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  color: rgba(30,31,35,0.86);
  text-decoration:none;
}
.trust-pill:hover{ text-decoration:none; box-shadow: var(--shadow2); }

/* Right hero panel */
.hero-panel{ position: relative; min-height: 380px; }
.glass-card{
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  border: 1px solid rgba(227,225,220,0.9);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  padding: 18px;
}
.glass-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.glass-title{ font-weight: 700; letter-spacing: -0.02em; }
.glass-badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: rgba(30,31,35,0.80);
  background: rgba(245,242,237,0.8);
}
.stack{ display:flex; flex-direction:column; gap: 14px; }
.row{ display:flex; gap: 12px; align-items:flex-start; }
.dot{
  width: 10px; height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(30,31,35,0.92);
}
.row-title{ font-weight: 700; letter-spacing: -0.01em; }
.row-sub{
  font-size: 13px;
  color: rgba(30,31,35,0.72);
  margin-top: 2px;
}
.divider{ height: 1px; background: var(--border); margin: 16px 0; }
.fineprint{ font-size: 12.5px; color: rgba(30,31,35,0.72); }

.core-glow{
  position:absolute;
  inset: -40px -40px -40px -40px;
  z-index: 1;
  pointer-events:none;
  background:
    radial-gradient(circle at 70% 35%, rgba(212,168,95,0.18), rgba(212,168,95,0.00) 55%),
    radial-gradient(circle at 45% 60%, rgba(30,31,35,0.10), rgba(30,31,35,0.00) 60%);
  animation: glowPulse 900ms var(--ease) alternate infinite;
  opacity: 0.78;
}
@keyframes glowPulse{
  from { opacity: 0.55; }
  to   { opacity: 0.85; }
}

/* Sections */
.section{ padding: 54px 0; }
.section-head{ margin-bottom: 18px; }
.section-head.split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
}
.section-title{
  margin: 0 0 8px 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.section-sub{
  margin: 0;
  color: rgba(30,31,35,0.78);
  max-width: 70ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.card-kicker{
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
.card-title{
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}
.card-body{
  margin: 0;
  color: rgba(30,31,35,0.78);
}

.list{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(30,31,35,0.78);
}
.list li{ margin: 8px 0; }

.pillbox{ display:flex; flex-wrap: wrap; gap: 8px; }
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  font-size: 13px;
  color: rgba(30,31,35,0.80);
}

/* Why */
.why-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.why-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.why-card-wide{
  grid-column: 1 / -1;
  background:
    linear-gradient(180deg, rgba(245,242,237,0.25), rgba(255,255,255,0.95)),
    radial-gradient(circle at 30% 20%, rgba(212,168,95,0.10), rgba(212,168,95,0) 55%);
}
.why-kicker{
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}
.why-title{
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}
.why-body{
  margin: 0;
  color: rgba(30,31,35,0.78);
}
.why-foot{ margin-top: 12px; }

.link{
  display:inline-flex;
  margin-top: 12px;
  font-weight: 650;
  color: rgba(30,31,35,0.90);
  text-decoration:none;
}
.link:hover{ text-decoration: underline; text-underline-offset: 4px; }

/* Carousel */
.carousel-wrap{ margin-top: 18px; }
.swiper-slide{ display:flex; justify-content:center; }

.shot{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  overflow:hidden;
  box-shadow: var(--shadow2);
  width: 100%;
}
.shot-img{
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: #FFFFFF;
  display:block;
}
.shot-cap{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(227,225,220,0.75);
  background: rgba(245,242,237,0.45);
}
.shot-cap-title{
  font-weight: 700;
  letter-spacing: -0.01em;
}
.shot-cap-sub{
  font-size: 13px;
  color: rgba(30,31,35,0.68);
}

.swiper-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 12px;
}
.iconbtn{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.65);
  cursor:pointer;
  font-size: 22px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform 450ms var(--ease), box-shadow 450ms var(--ease);
}
.iconbtn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
}
.swiper-pagination-bullet{
  background: rgba(30,31,35,0.35) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active{
  background: rgba(212,168,95,0.85) !important;
}

.note{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(30,31,35,0.72);
}

/* Node mini rows */
.mini-rows{
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(245,242,237,0.35);
  overflow:hidden;
}
.mini-row{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 12px;
  border-top: 1px solid rgba(227,225,220,0.75);
}
.mini-row:first-child{ border-top: none; }
.mini-label{
  color: rgba(30,31,35,0.70);
  font-size: 13px;
}
.mini-value{
  font-size: 13px;
  font-weight: 700;
  color: rgba(30,31,35,0.88);
}

/* Banner */
.banner{
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow2);
  padding: 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
}
.banner-title{ font-weight: 750; letter-spacing: -0.02em; }
.banner-sub{
  font-size: 13px;
  color: rgba(30,31,35,0.74);
  margin-top: 3px;
}
.banner-right{ display:flex; gap: 10px; flex-wrap:wrap; }

/* Whitepaper card */
.paper-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow2);
  padding: 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
}
.paper-title{
  font-family: "Source Serif 4", serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.paper-meta{
  font-size: 13px;
  color: rgba(30,31,35,0.68);
  margin-bottom: 10px;
}
.paper-body{
  font-size: 14px;
  color: rgba(30,31,35,0.78);
}
.paper-right{ display:flex; gap: 10px; flex-wrap:wrap; }

/* Footer */
.footer{
  border-top: 1px solid var(--border);
  padding: 24px 0;
  background: rgba(255,255,255,0.35);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
}
.foot-left{ display:flex; align-items:center; gap: 12px; }
.foot-logo{ width: 36px; height: 36px; }
.foot-title{ font-weight: 750; letter-spacing: -0.02em; }
.foot-sub{
  font-size: 13px;
  color: rgba(30,31,35,0.70);
}
.foot-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
  font-size: 13px;
  color: rgba(30,31,35,0.78);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-panel{ min-height: 0; }
  .section-head.split{ align-items:flex-start; flex-direction:column; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .paper-card{ flex-direction:column; align-items:flex-start; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
  .hero-metrics{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav-toggle{ display:inline-flex; }
  .nav-menu{
    position: absolute;
    right: 24px;
    top: 64px;
    width: min(360px, calc(100vw - 48px));
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(245,242,237,0.92);
    box-shadow: var(--shadow);
  }
  .nav-menu.open{ display:flex; }
  .nav-link{ padding: 10px 10px; }
}

@media (max-width: 720px) {
  .shot-img { height: 320px; }
  .statusbar-inner{ flex-wrap: wrap; }
  .status-spacer{ display:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html{ scroll-behavior: auto; }
  .btn, .iconbtn{ transition: none; }
  .core-glow{ animation: none; }
}
