:root{
  --bg:#1b201f;
  --surface:#252b2a;
  --surface-2:#2b3231;
  --paper:#eef1ec;
  --paper-2:#e5e9e4;
  --white:#f6f8f4;
  --text:#eef2ed;
  --ink:#242b29;
  --muted:#bac4c0;
  --muted-2:#89938f;
  --line:rgba(238,242,237,.13);
  --dark-line:#c6cec9;
  --pink:#e9167c;
  --pink-soft:#fde8f2;
  --green:#38d39a;
  --yellow:#e7c35a;
  --danger:#ff617d;
  --max:1180px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:
    linear-gradient(180deg, #1b201f 0%, #222928 48%, #1b201f 100%);
  color:var(--text);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing:0;
}

a{color:inherit}
img{display:block; max-width:100%}
button,input{font:inherit}

.site-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:270px minmax(0,1fr);
}

.side{
  position:sticky;
  top:0;
  height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px;
  border-right:1px solid var(--dark-line);
  background:var(--paper-2);
  color:var(--ink);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:inherit;
  text-decoration:none;
  font-weight:950;
}

.brand img{
  width:42px;
  height:42px;
  border-radius:8px;
}

.nav{
  display:grid;
  gap:8px;
  margin-top:28px;
}

.nav a,
.btn{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 13px;
  border:1px solid currentColor;
  border-radius:8px;
  color:inherit;
  background:transparent;
  text-decoration:none;
  font-size:14px;
  font-weight:850;
  line-height:1;
  cursor:pointer;
}

.nav a{
  justify-content:flex-start;
  color:#36403e;
  border-color:var(--dark-line);
  background:var(--white);
}

.nav a[aria-current="page"]{
  color:#fff;
  border-color:var(--pink);
  background:var(--pink);
}

.side-note{
  color:#68726f;
  font-size:13px;
  line-height:1.55;
}

.mobile-top{
  display:none;
  position:sticky;
  top:0;
  z-index:30;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  background:rgba(27,32,31,.96);
  backdrop-filter:blur(14px);
}

.mobile-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.mobile-links{
  display:flex;
  gap:8px;
  margin-top:10px;
  overflow:auto;
  padding-bottom:2px;
}

.mobile-links a{
  flex:0 0 auto;
  min-height:36px;
  padding:9px 11px;
  border:1px solid var(--line);
  border-radius:8px;
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  font-weight:850;
}

.mobile-links a[aria-current="page"]{
  border-color:var(--pink);
  background:var(--pink);
  color:#fff;
}

main{min-width:0}

.section{
  padding:34px 28px;
  border-bottom:1px solid var(--line);
}

.section.light{
  background:var(--paper);
  color:var(--ink);
  border-bottom-color:var(--dark-line);
}

.inner{
  max-width:var(--max);
  margin:0 auto;
}

.hero{
  min-height:560px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,430px);
  gap:28px;
  align-items:center;
}

.hero.compact{
  min-height:auto;
  padding-top:18px;
  padding-bottom:18px;
}

.home-hero-section{
  padding-top:34px;
}

.home-hero{
  min-height:auto;
  align-items:start;
}

.home-hero .metric{
  min-height:104px;
}

.condition-pass-value{
  color:var(--green);
}

.state-dot{
  width:14px;
  height:14px;
  border-radius:999px;
  background:#7a8580;
  flex:0 0 auto;
}

.state-dot.ok{background:var(--green)}
.state-dot.bad{background:#ff5d6c}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
  color:var(--pink);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
}

.kicker::before,
.status-dot::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--pink);
}

h1,h2,h3,p{letter-spacing:0}

h1{
  max-width:760px;
  margin:0;
  font-size:64px;
  line-height:.98;
}

.lead{
  max-width:620px;
  margin:18px 0 0;
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
}

.light .lead,
.light .section-title p,
.light .card p,
.light .step p,
.light .table-note,
.light .copy-help{
  color:#66716d;
}

.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}

.currency-control{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.currency-control span{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.btn.primary{
  border-color:var(--pink);
  background:var(--pink);
  color:#fff;
}

.btn.ghost{
  border-color:var(--line);
  color:var(--text);
}

.light .btn.ghost{
  border-color:var(--dark-line);
  color:var(--ink);
}

.status-panel,
.card,
.address,
.step,
.table-wrap,
.chart-panel{
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  overflow:hidden;
}

.status-panel,
.card,
.chart-panel{
  overflow:visible;
}

.light .status-panel,
.light .card,
.light .address,
.light .step,
.light .table-wrap,
.light .chart-panel{
  background:var(--white);
  border-color:var(--dark-line);
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border-bottom:1px solid var(--line);
}

.panel-statuses{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
}

.light .panel-head{border-bottom-color:var(--dark-line)}

.status-dot{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--green);
  font-size:13px;
  font-weight:900;
}

.status-dot::before{background:var(--green)}

.metric-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.metric{
  min-height:118px;
  padding:14px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  position:relative;
}

.light .metric{
  border-color:var(--dark-line);
}

.metric:nth-child(2n){border-right:0}
.metric:nth-last-child(-n+2){border-bottom:0}

.metric span,
.address span,
.card b,
.row span,
.copy-title,
.mini-label{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.light .metric span,
.light .address span,
.light .row span,
.light .copy-title,
.light .mini-label{
  color:#66706d;
}

.card b{color:var(--pink)}

.metric strong{
  display:block;
  margin-top:10px;
  font-size:27px;
  line-height:1.1;
  overflow-wrap:anywhere;
}

.metric strong.pre-reg-value{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:31px;
  line-height:1.1;
}

.metric strong.pre-reg-value span{
  display:inline;
  color:var(--text);
  font-size:inherit;
  font-weight:950;
  text-transform:none;
}

.metric .info-tip{
  top:10px;
  right:10px;
}

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.section-title h2{
  margin:0;
  font-size:34px;
  line-height:1.05;
}

.section-title p{
  max-width:560px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.section-side{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:18px;
  min-width:0;
}

.section-side p{
  max-width:620px;
}

.cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}

.uptime-wide{
  grid-column:span 2;
}

.proof-stack{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.proof-stack > *{
  grid-column:1 / -1;
  width:100%;
  min-width:0;
}

.validator-panel{
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  padding:26px;
}

.validator-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
}

.validator-head h3{
  margin:0;
  font-size:38px;
  line-height:1;
}

.validator-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:center;
  padding:20px;
  border-radius:8px;
  background:var(--surface-2);
}

.validator-id{
  grid-column:1 / -1;
}

.validator-progress{
  min-width:0;
}

.validator-id span,
.validator-stat span,
.validator-progress span,
.validator-foot span{
  display:block;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.validator-id strong,
.validator-stat strong{
  display:block;
  margin-top:8px;
  color:var(--text);
  font-size:20px;
  line-height:1.15;
  overflow-wrap:anywhere;
}

.validator-id strong{
  color:#8fb5ff;
  font-size:17px;
}

.validator-progress b{
  color:var(--text);
  font-size:18px;
  font-weight:760;
  text-transform:none;
}

.validator-progress .bar-track{
  margin-top:10px;
}

.validator-progress em{
  display:block;
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  font-style:normal;
  font-weight:850;
}

.bar-track.green .bar-fill{
  background:var(--green);
}

.validator-foot{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:16px;
}

.validator-foot span{
  min-width:170px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(238,242,237,.05);
}

.validator-foot strong{
  display:block;
  margin-top:5px;
  color:var(--text);
  font-size:18px;
  line-height:1.15;
  text-transform:none;
}

.proof-cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.rewards-card{
  grid-column:span 2;
}

.monthly-rewards-panel{
  width:100%;
  min-height:auto;
}

.card{
  min-height:190px;
  padding:16px;
  position:relative;
  overflow:visible;
}

.card strong{
  display:block;
  margin-top:10px;
  font-size:24px;
  line-height:1.15;
}

.card p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.info-tip{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:50%;
  background:rgba(238,242,237,.05);
  color:var(--muted);
  font-size:12px;
  font-weight:950;
  cursor:help;
}

.light .info-tip{
  border-color:var(--dark-line);
  background:#eef1ec;
  color:#66706d;
}

.info-tip span{
  position:absolute;
  right:-1px;
  top:30px;
  width:min(290px, calc(100vw - 40px));
  padding:13px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#202625;
  color:var(--text);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
  font-size:13px;
  font-weight:760;
  line-height:1.45;
  text-align:left;
  text-transform:none;
  opacity:0;
  pointer-events:none;
  transform:translateY(-4px);
  transition:opacity .16s ease, transform .16s ease;
}

.light .info-tip span{
  background:#202625;
  color:#eef2ed;
  border-color:rgba(238,242,237,.12);
}

.info-tip:hover span,
.info-tip:focus-visible span{
  opacity:1;
  transform:translateY(0);
}

.condition-dots,
.uptime-pills{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
}

.condition-dots.compact{
  margin-top:16px;
  gap:8px;
}

.condition-dots span{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#7b817f;
  color:#fff;
  font-size:17px;
  font-weight:950;
}

.condition-dots.compact span{
  width:32px;
  height:32px;
  font-size:15px;
}

.condition-dots span.ok{background:var(--green)}
.condition-dots span.bad{background:#e23d3d}
.condition-dots span.unknown{background:#7b817f}

.uptime-pills span{
  min-width:64px;
  padding:8px 9px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(238,242,237,.05);
  color:var(--text);
  font-size:14px;
  font-weight:950;
}

.light .uptime-pills span{
  border-color:var(--dark-line);
  background:#eef1ec;
  color:var(--ink);
}

.uptime-pills em{
  display:block;
  margin-bottom:2px;
  color:var(--muted);
  font-size:10px;
  font-style:normal;
  font-weight:950;
  text-transform:uppercase;
}

.mini-toggle{
  margin-top:10px;
}

.rewards-metric{
  min-height:142px;
}

.reward-lines{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}

.reward-lines div{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  column-gap:10px;
  align-items:baseline;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(238,242,237,.05);
}

.light .reward-lines div{
  border-color:var(--dark-line);
  background:#eef1ec;
}

.reward-lines em{
  color:var(--muted);
  font-size:11px;
  font-style:normal;
  font-weight:950;
  text-transform:uppercase;
}

.reward-lines strong{
  margin:0;
  font-size:24px;
  line-height:1.1;
}

.reward-lines small{
  grid-column:2;
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.toggle{
  display:inline-flex;
  gap:4px;
  padding:3px;
  border:1px solid var(--line);
  border-radius:8px;
  background:rgba(238,242,237,.05);
}

.card .toggle,
.metric .toggle{
  margin-top:12px;
}

.light .toggle{
  border-color:var(--dark-line);
  background:#e9eeea;
}

.toggle-btn{
  min-height:30px;
  padding:6px 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}

.toggle-btn.active{
  background:var(--pink);
  color:#fff;
}

.address-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.address{
  padding:16px;
}

.address code{
  display:block;
  margin-top:12px;
  color:#fff;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:14px;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.light .address code{color:var(--ink)}

.copy-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:14px;
}

.copy-help{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.step{
  min-height:168px;
  padding:16px;
}

.step em{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:var(--pink);
  color:#fff;
  font-style:normal;
  font-weight:950;
}

.step strong{
  display:block;
  margin-top:14px;
  font-size:20px;
}

.step p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
}

.table-wrap{
  overflow:auto;
}

table{
  width:100%;
  border-collapse:collapse;
  min-width:720px;
}

th,td{
  padding:13px 14px;
  border-bottom:1px solid var(--line);
  text-align:left;
  white-space:nowrap;
}

.light th,
.light td{
  border-bottom-color:var(--dark-line);
}

th{
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
}

.light th{color:#66706d}

tr:last-child td{border-bottom:0}

.table-note{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.chart-panel{
  padding:16px;
  overflow:hidden;
}

.chart-panel .panel-head{
  margin:-16px -16px 14px;
}

.reward-chart-wrap{
  position:relative;
}

.reward-chart{
  display:block;
  width:100%;
  height:300px;
}

.chart-tooltip{
  position:absolute;
  z-index:3;
  display:none;
  min-width:150px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--white);
  color:var(--ink);
  font-size:12px;
  font-weight:850;
  line-height:1.4;
  pointer-events:none;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.chart-summary{
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.chart-summary strong{
  color:var(--text);
}

.chart-summary small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
}

.bars{
  display:grid;
  gap:14px;
}

.bar-label{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
  font-size:13px;
  font-weight:850;
}

.bar-track{
  height:12px;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  background:rgba(238,242,237,.06);
}

.light .bar-track{
  border-color:var(--dark-line);
  background:#e5ebe7;
}

.bar-fill{
  width:0%;
  height:100%;
  background:var(--pink);
}

.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:50;
  transform:translateX(-50%) translateY(16px);
  opacity:0;
  pointer-events:none;
  padding:10px 13px;
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--white);
  color:var(--ink);
  font-weight:850;
  transition:opacity .18s ease, transform .18s ease;
}

.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

@media (max-width:980px){
  .site-shell{display:block}
  .side{display:none}
  .mobile-top{display:block}
  .section{padding:28px 18px}
  .hero{
    min-height:auto;
    grid-template-columns:1fr;
    padding-top:12px;
  }
  h1{font-size:48px}
  .cards,
  .flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
  .validator-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .validator-id{grid-column:1 / -1}
}

@media (max-width:620px){
  .section{padding:24px 14px}
  .mobile-top{padding:10px}
  .mobile-row .btn{
    min-height:38px;
    padding:9px 12px;
    font-size:13px;
  }
  .mobile-links{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    overflow:visible;
    padding-bottom:0;
  }
  .mobile-links a{
    min-width:0;
    justify-content:center;
    padding:9px 7px;
    font-size:12px;
    text-align:center;
  }
  h1{
    font-size:38px;
    line-height:1;
  }
  .lead{font-size:16px}
  .metric-grid,
  .cards,
  .cards.three,
  .cards.two,
  .proof-cards,
  .address-grid,
  .flow,
  .validator-row{grid-template-columns:1fr}
  .metric,
  .metric:nth-child(2n),
  .metric:nth-last-child(-n+2){
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .light .metric,
  .light .metric:nth-child(2n),
  .light .metric:nth-last-child(-n+2){
    border-bottom-color:var(--dark-line);
  }
  .metric:last-child{border-bottom:0}
  .uptime-wide{grid-column:auto}
  .rewards-card{grid-column:auto}
  .reward-lines{grid-template-columns:1fr}
  .validator-panel{padding:18px}
  .validator-head{align-items:flex-start; flex-direction:column}
  .validator-head h3{font-size:32px}
  .validator-row{padding:14px; gap:14px}
  .validator-id{grid-column:auto}
  .reward-chart{height:170px}
  .chart-panel{padding:14px}
  .chart-panel .panel-head{margin:-14px -14px 12px}
  .chart-summary{
    flex-direction:column;
    gap:8px;
    font-size:12px;
  }
  .chart-summary small{font-size:11px}
  .table-note{font-size:12px}
  .section-title{
    align-items:flex-start;
    flex-direction:column;
  }
  .section-side{
    width:100%;
    align-items:flex-start;
    flex-direction:column;
  }
  .currency-control{
    width:100%;
    justify-content:space-between;
  }
  .section-title h2{font-size:29px}
  .copy-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .btn{width:100%}
  .mobile-row .btn{width:auto}
}

@media (max-width:370px){
  .reward-chart{height:150px}
  .mobile-links a{
    padding-inline:5px;
    font-size:11px;
  }
}
