:root{
  --bg:#F7F9F8;
  --surface:#FFFFFF;
  --text:#1E1E1E;
  --muted:#5B6360;
  --border:rgba(18,60,43,.14);
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --green:#123C2B;
  --sage:#A4C3B2;
  --sage-2:#D7E7E0;
  --focus:rgba(164,195,178,.45);
  --radius:22px;
  --radius-sm:14px;
  --max:1120px;
  --pad:24px;
  --pad-lg:44px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(164,195,178,.35), transparent 60%),
              radial-gradient(900px 600px at 95% 10%, rgba(18,60,43,.14), transparent 55%),
              var(--bg);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
p{margin:0 0 14px}
h1,h2,h3{margin:0 0 12px; line-height:1.15}
h1{font-size: clamp(34px, 4.2vw, 56px); letter-spacing:-.02em}
h2{font-size: clamp(22px, 2.4vw, 34px); letter-spacing:-.02em}
h3{font-size: 18px}

.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.section{padding: min(88px, 9vw) 0}
.section.compact{padding: min(64px, 7vw) 0}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  font-size:13px; color:var(--muted)
}
.badge .dot{width:8px;height:8px;border-radius:99px;background:var(--sage)}

.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(247,249,248,.72);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(18,60,43,.10);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:-.01em
}
.logo{
  width:34px; height:34px; border-radius:12px;
  background: url("true-mass-logo.png") no-repeat center/cover;
  background-color: var(--bg);
  box-shadow: 0 8px 18px rgba(18,60,43,.18);
}
.nav-links{display:flex; gap:18px; align-items:center; color:var(--muted); font-size:14px}
.nav-links a{padding:8px 10px; border-radius:10px}
.nav-links a.active{color:var(--green); background:rgba(164,195,178,.22); border:1px solid rgba(18,60,43,.10)}
.nav-cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 14px; border-radius:14px;
  border:1px solid rgba(18,60,43,.18);
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(0,0,0,.05);
  font-weight:600; font-size:14px;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn.primary{
  background: linear-gradient(180deg, rgba(18,60,43,.98), rgba(18,60,43,.88));
  color:white;
  border-color: rgba(18,60,43,.45);
  box-shadow: 0 14px 34px rgba(18,60,43,.18);
}
.btn.ghost{
  background:transparent;
  box-shadow:none;
}
.btn.small{padding:9px 12px; border-radius:12px}

.hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.hero .lead{
  font-size:18px; color:var(--muted); max-width:56ch
}
.hero-actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.hero-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  border:1px solid rgba(18,60,43,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card .top{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px;
  border-bottom:1px solid rgba(18,60,43,.10);
}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  font-size:12px; color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  background: rgba(164,195,178,.18);
  border:1px solid rgba(18,60,43,.10);
}
.kpi-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  padding:16px 18px 18px;
}
.kpi{
  border-radius: 16px;
  border:1px solid rgba(18,60,43,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,249,248,.9));
  padding:14px;
}
.kpi .label{font-size:12px; color:var(--muted)}
.kpi .value{font-size:20px; font-weight:700; letter-spacing:-.02em; margin-top:6px}
.spark{
  margin-top:10px;
  height:34px; width:100%;
}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  border:1px solid rgba(18,60,43,.14);
  box-shadow: var(--shadow);
  padding:18px;
}
.card.slim{padding:16px}
.card h3{margin-bottom:8px}
.muted{color:var(--muted)}
.small{font-size:13px}
.mono{font-family:var(--mono)}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}

.flow{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.step{
  position:relative;
  border-radius: var(--radius);
  border:1px solid rgba(18,60,43,.14);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  padding:16px;
  min-height:150px;
}
.step .num{
  width:34px;height:34px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  background: rgba(164,195,178,.25);
  border:1px solid rgba(18,60,43,.12);
  color: var(--green);
  font-weight:800;
  margin-bottom:10px;
}
.step::after{
  content:"";
  position:absolute;
  right:-8px; top:50%;
  width:16px;height:16px;border-radius:99px;
  background: rgba(164,195,178,.65);
  border:1px solid rgba(18,60,43,.12);
  transform: translateY(-50%);
}
.step:last-child::after{display:none}

.table-wrap{
  overflow:auto;
  border-radius: var(--radius);
  border:1px solid rgba(18,60,43,.14);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}
table{border-collapse:collapse; width:100%; min-width:860px}
th,td{padding:12px 14px; border-bottom:1px solid rgba(18,60,43,.10); text-align:left; font-size:14px}
th{font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); background: rgba(164,195,178,.10)}
tr:hover td{background: rgba(164,195,178,.12)}
.conf{
  display:inline-flex; align-items:center; gap:8px;
}
.conf .bar{
  width:84px; height:10px; border-radius:999px;
  background: rgba(18,60,43,.08);
  border:1px solid rgba(18,60,43,.10);
  overflow:hidden;
}
.conf .bar > i{
  display:block; height:100%;
  background: linear-gradient(90deg, var(--sage), rgba(18,60,43,.85));
  width: var(--w, 72%);
}
.chip{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(18,60,43,.12);
  background: rgba(164,195,178,.14);
  font-size:12px; color:var(--green); font-weight:600;
}

.footer{
  padding:28px 0 42px;
  color:var(--muted);
  border-top:1px solid rgba(18,60,43,.10);
  background: rgba(255,255,255,.35);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}
.footer a{color:var(--green); font-weight:600}
.hr{height:1px;background:rgba(18,60,43,.10); margin:14px 0}

.notice{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(164,195,178,.18), rgba(255,255,255,.72));
  border:1px solid rgba(18,60,43,.14);
  padding:16px;
}

@media (max-width: 980px){
  .hero{grid-template-columns:1fr; }
  .grid-3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .flow{grid-template-columns:1fr}
  .step::after{display:none}
  .nav-links{display:none}
}
