:root{
  --bg:#f6f8fb;
  --card:#ffffff;
  --text:#0b1b2b;
  --muted:#5c6b7a;
  --border:#e6ebf2;
  --primary:#0097b2; /* Snout & About teal */
  --primary-2:#007b90;
  --danger:#b00020;
  --shadow:0 10px 30px rgba(11,27,43,.08);
  --radius:18px;
  --radius2:24px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}
.page{max-width:1100px;margin:0 auto;padding:22px}

.header{
  margin-bottom:18px;
}
.brand{
  display:flex;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
}
.logo{
  width:64px;height:64px;
  border-radius:16px;
  object-fit:contain;
  border:1px solid var(--border);
  background:#fff;
}
.title{font-size:26px;font-weight:800}
.subtitle{margin-top:2px;color:var(--muted)}
.byline{margin-top:4px;font-size:13px;color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:16px;
}
@media (max-width: 960px){
  .grid{grid-template-columns:1fr}
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  padding:18px;
}

.cardHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.stepPill{
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  background:#fff;
}

.progressWrap{display:flex;align-items:center;gap:10px;min-width:280px}
.progressBar{
  flex:1;
  height:10px;
  border-radius:999px;
  background:#eef2f7;
  overflow:hidden;
  border:1px solid var(--border);
}
.progressFill{height:100%;width:0%;background:var(--primary)}
.progressPct{min-width:40px;text-align:right;font-weight:700;color:var(--muted)}

h2{margin:0 0 10px 0}
h3{margin:18px 0 8px 0}
.muted{color:var(--muted);line-height:1.5}

.callout{
  margin-top:10px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fbfcff;
}
.callout ul{margin:8px 0 0 18px;color:var(--muted)}
.callout li{margin:4px 0}

.error{
  padding:12px;
  border:1px solid rgba(176,0,32,.25);
  background:rgba(176,0,32,.05);
  border-radius:16px;
  color:var(--danger);
  margin-bottom:12px;
}
.hidden{display:none}

.sectionTitle{
  font-size:18px;
  font-weight:900;
  margin:10px 0 10px 0;
}
.smallLabel{font-size:12px;color:var(--muted);margin:0 0 8px 0}

.block{
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  margin:10px 0;
  background:#fff;
}
.qText{font-weight:750;margin:0 0 10px 0}
.qHelp{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.45}

.scaleRow{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pill{
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 10px;
  background:#fff;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
}
.pill:hover{border-color:#cfd7e3}
.pill.active{
  border-color:var(--primary);
  color:var(--primary);
  background:rgba(0,151,178,.07);
}

.nav{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:14px;
}
.btn{
  border:none;
  border-radius:16px;
  padding:11px 14px;
  font-weight:850;
  cursor:pointer;
}
.btn.primary{background:var(--primary);color:#fff}
.btn.primary:hover{background:var(--primary-2)}
.btn.secondary{background:#fff;border:1px solid var(--border);color:var(--text)}
.btn.secondary:hover{border-color:#cfd7e3}
.btn:disabled{opacity:.55;cursor:not-allowed}

.full{width:100%}

.footerNote{
  margin-top:18px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 700px){ .kv{grid-template-columns:1fr} }
.input{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
}
