/* ===== Theme tokens ===== */
:root{
  --bg:#eef6f4;
  --surface:#ffffff;
  --ink:#153e37;
  --muted:#5e7b74;
  --accent:#0b5f53;
  --accent-600:#08483f;
  --shadow:0 12px 26px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
}

/* ===== Landing page ===== */
.wrap{max-width:1100px;margin:0 auto;padding:28px 18px 48px}
.lp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.lp-logo{height:52px}
.lp-co-logo{height:102px;margin-left:auto}
.lp-title{ text-align:center;margin:28px 0 8px;font-size:40px;line-height:1.1;font-weight:900;letter-spacing:.2px }

.lp-grid{
  display:grid;gap:24px;
  grid-template-columns: repeat(3, 1fr);
}
.feature{
  background:var(--surface); border-radius:16px; padding:22px 18px 20px; box-shadow:var(--shadow);
  display:flex;flex-direction:column;align-items:center;text-align:center
}
.feature h3{margin:14px 0 8px;font-size:22px;line-height:1.22}
.feature p{margin:0;color:var(--muted)}
.icon{
  width:140px;height:140px;display:grid;place-items:center;border-radius:20px;margin-top:6px;
  background:linear-gradient(180deg,#eaf6f4,#dbeeed);
}

.cta-group{ margin-top:26px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap }
.btn{
  background:var(--accent);color:#fff;border:0;border-radius:12px;
  padding:12px 18px;font-weight:800;cursor:pointer;box-shadow:var(--shadow);
}
.btn:hover{background:var(--accent-600)}
.btn.secondary{background:#0f7364}
.btn:focus{outline:3px solid #c6ece5;outline-offset:2px}

/* ===== Drawer / calculator ===== */
/* --- Calculator layout (fix) --- */

/* Drawer container (optional nice centering) */
aside.drawer{
  max-width: 1100px;
  width: 96vw;
  margin: 0 auto;
}

/* Make the two columns sit side-by-side */
aside.drawer .calc-wrap{
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: start;
}

/* Cards */
aside.drawer .calc-col{
  background:#f7fbfa;
  border:1px solid #dcefea;
  border-radius:12px;
  padding:14px;
}

aside.drawer .calc-col--right{
  background:#0a4d47;
  border-color:#0a4d47;
  color:#fff;
}

/* Inputs & outputs (cosmetic) */
aside.drawer .field{ display:flex; flex-direction:column; gap:6px; margin:10px 0 }
aside.drawer .field label{ font-weight:800; font-size:13px; color:#2e5650 }
aside.drawer .field input{
  padding:10px 12px; border:1px solid #cfe4e0; border-radius:10px;
  font:600 14px/1.2 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

aside.drawer .panel-title{ margin:4px 0 10px; font-size:16px; font-weight:800 }
aside.drawer .out-field{
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-radius:10px; padding:10px 12px; margin:8px 0; 
}
aside.drawer .out-field output{ font-weight:bold; }

/* Stack on small screens */
@media (max-width: 960px){
  aside.drawer .calc-wrap{ grid-template-columns: 1fr; }
}

.readout{
  padding:10px 12px;border:1px solid #dfe5e3;border-radius:10px;
  background:#f7fbfa;font-weight:700;color:#0c3d37;display:inline-block;min-width:140px
}
.hint{display:block;margin-top:6px;color:#6a8781;font-size:12px}

/* Responsive */
@media (max-width:960px){
  .lp-grid{ grid-template-columns:1fr }
  .lp-title{ font-size:34px }
  .icon{ width:120px; height:120px }
}
