/* ==== Palette (match landing vars; tweak if needed) ==== */
:root{
  --ink:#142237;
  --muted:#5f6b7a;
  --bg:#f7f9fc;
  --blue:#0d3b66;
  --orange:#d9682a;
  --green:#2a7d6c;
  --blue-100:#e8f0fb;
  --blue-200:#dbe7ff;
  --tip-bg:#e9f2ff;
  --tip-br:#c9dbff;
}

/* top copy */
.lm-hero{padding:36px 0 8px;background:#fff}
.ta-center{text-align:center}
.lm-h1{margin:.25rem 0 .5rem;font-size:2.1rem}
.lm-lead{color:var(--muted);max-width:70ch;margin:0 auto}

/* steps */
.lm-steps-wrap{padding:10px 0 28px;background:#fff}
.lm-steps{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:18px}
.lm-step{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start}
.lm-badge{display:grid;place-items:center;width:36px;height:36px;border-radius:999px;color:#fff;font-weight:700}
.lm-badge--blue{background:var(--blue)}
.lm-badge--orange{background:var(--blue)}
.lm-badge--green{background:var(--blue)}
.lm-step-title{display:flex;align-items:center;gap:10px;font-weight:700}
.lm-step p{color:var(--muted);margin:.25rem 0 0}

/* chips */
.lm-chip{display:inline-block;padding:.3rem .6rem;border-radius:999px;font-size:.85rem;color:#fff;text-decoration:none}
.lm-chip--blue{background:var(--blue)}
.lm-chip--orange{background:var(--blue)}
.lm-chip--green{background:var(--blue)}

/* tip panel */
.lm-tip{margin:22px 0 0;padding:16px 18px;border-radius:12px;background:var(--tip-bg);border:1px solid var(--tip-br);color:var(--ink)}
.lm-tip p{margin:.35rem 0 0;color:var(--muted)}

/* content blocks */
.lm-block{padding:40px 0;background:#fff}
.lm-block--alt{background:var(--bg)}
.lm-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.lm-grid--swap{grid-auto-flow:dense}
.lm-grid--swap .lm-col:first-child{order:2}
.lm-grid--swap .lm-col:last-child{order:1}
.lm-col{min-width:0}
.lm-h2{font-size:1.6rem;margin:0 0 .5rem}
.lm-logo{height:106px;margin:0 0 12px}
.lm-cta{margin-top:12px}

/* lists with check icons (SVG placeholders injected with ::before) */
.lm-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px;color:var(--muted)}
.lm-list li{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start}
.lm-list .lm-ico{width:20px;height:20px;border-radius:999px;display:inline-block;margin-top:3px}
.lm-list--blue  .lm-ico{background:var(--blue)}
.lm-list--orange.lm-list .lm-ico{background:var(--blue)}
.lm-list--green .lm-ico{background:var(--blue)}
/* white check mark */
.lm-list .lm-ico::before{
  content:""; display:block; width:10px; height:10px; margin:5px auto 0;
  border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(45deg);
}

.lm-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.lm-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

/* Circle container */
.lm-list .lm-ico {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  margin-top: 3px;

  display: flex;              /* center the SVG */
  align-items: center;
  justify-content: center;
}

/* Color variants for the circle */
.lm-list--blue  .lm-ico { background: var(--blue); }
.lm-list--orange .lm-ico { background: var(--blue); }
.lm-list--green  .lm-ico { background: var(--blue); }

/* The checkmark SVG */
.lm-ico-check {
  width: 12px;
  height: 12px;
  color: #fff;    /* white checkmark */
}

/* REMOVE the old ::before checkmark */
.lm-list .lm-ico::before {
  content: none;
}


/* illustration boxes with placeholders */
.lm-illus-box{position:relative}
.lm-illus{width:100%;max-width:420px;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.08);display:block;margin-left:auto;margin-right:auto}
.lm-illus-ph{display:none}
.lm-illus-box.is-placeholder .lm-illus-ph{display:block;width:100%;max-width:420px;border-radius:10px;border:1px solid #dfe7f3;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.08);overflow:hidden}
.lm-illus-ph-top{background:#e7f1ea;color:#33524a;font-weight:600;padding:8px 12px;text-align:center}
.lm-illus-ph-body{height:260px;background:linear-gradient(0deg,#f6f7f9 0%,#f1f3f7 50%,#f6f7f9 100%)}

/* responsive */
@media (max-width: 900px){
  .lm-grid{grid-template-columns:1fr;gap:20px}
  .lm-grid--swap .lm-col:first-child{order:initial}
  .lm-grid--swap .lm-col:last-child{order:initial}
}


/* ===== Sample Risk Score card ===== */
.score-card{
  width: 340px; max-width: 100%;
  background:#fff; border:1px solid #e4e9f1; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08); overflow:hidden;
  margin:0 auto;
  font-size:12px; color:var(--ink);
}
.score-card__header{
  background:#e9f2ff; color:#1b3555; text-align:center;
  font-weight:700; padding:10px 12px;
}
.score-card__score{
  width: 260px; max-width: 86%; margin:12px auto 8px;
  background: var(--orange); color:#fff; border-radius:10px;
  text-align:center; padding:14px 10px 10px;
  line-height:1.1;
}
.score-card__score-value{ font-size:26px; font-weight:800; letter-spacing:.2px; }
.score-card__score-sub{ font-size:11px; opacity:.95; margin-top:6px; }

.score-card__section{
  text-align:center; font-size:11px; color:#6b7280;
  margin:8px 0 6px;
}

.score-card__row{
  display:grid; grid-template-columns: 1fr 1.4fr auto;
  gap:10px; align-items:center;
  padding:8px 14px;
}
.score-card__label{ color:#334155; white-space:nowrap; }
.score-card__barwrap{
  position:relative; height:8px; background:#edf2f7;
  border-radius:999px; overflow:hidden;
}
.score-card__bar{
  position:absolute; inset:0 auto 0 0;
  width: var(--w,50%); height:100%; border-radius:999px;
}
.score-card__bar--green{ background:#2fb66d; }   /* Low */
.score-card__bar--orange{ background:#f39a1e; }  /* Medium */
.score-card__bar--red{ background:#e2574c; }     /* High */

.score-card__side{ text-align:right; }
.score-card__value{ color:#6b7280; margin-bottom:4px; }
.score-card__tag{
  display:inline-block; padding:2px 8px; border-radius:999px;
  font-size:10px; line-height:1; font-weight:600;
}
.score-card__tag--green{ background:#e7f6ee; color:#1e8a53; }
.score-card__tag--orange{ background:#fff1df; color:#a86112; }
.score-card__tag--red{ background:#ffe4e1; color:#b04338; }

@media (max-width: 900px){
  .score-card{ width: 100%; }
}

/* ===== Sample Action Plan card ===== */
.plan-card{
  width:340px; max-width:100%;
  background:#fff; border:1px solid #e4e9f1; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08); overflow:hidden; margin:0 auto;
  font-size:12px; color:var(--ink);
}
.plan-card__header{
  background:#e6f3ea; color:#33524a; text-align:center;
  font-weight:700; padding:10px 12px;
  border-bottom:1px solid #d7e6de;
}
.plan-card__inner{ padding:12px; }
.plan-card__subtitle{
  text-align:center; font-size:11px; color:#6b7280; margin:2px 0 10px;
}

/* Goal block */
.plan-goal{
  border:1px solid #e7edf5; border-radius:8px; padding:10px 10px 8px; margin-bottom:10px;
  background:#fff;
}
.plan-goal__top{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.plan-goal__title{ font-weight:600; color:#263348; }

/* Status chips */
.plan-chip{
  display:inline-block; padding:2px 8px; border-radius:999px; font-size:10px; line-height:1; font-weight:700;
  white-space:nowrap;
}
.plan-chip--green { background:#e7f6ee; color:#1e8a53; }
.plan-chip--orange{ background:#fff1df; color:#a86112; }
.plan-chip--link  { color:#2b6cb0; text-decoration:none; background:transparent; padding:0; }

/* Progress bar */
.plan-bar{ position:relative; height:12px; background:#edf2f7; border-radius:999px; overflow:hidden; }
.plan-bar__fill{ position:absolute; inset:0 auto 0 0; width:var(--w,0%); border-radius:999px; }
.plan-bar__fill--green { background:#2fb66d; }
.plan-bar__fill--orange{ background:#f39a1e; }
.plan-bar__fill--blue  { background:#0d3b66; }

/* End markers (check or dot) */
.plan-mark{ position:absolute; top:50%; transform:translateY(-50%); right:6px; }
.plan-mark--check{
  width:16px; height:16px; border-radius:999px; background:#2fb66d; display:inline-block;
}
.plan-mark--check::before{
  content:""; position:absolute; left:5px; top:3px; width:6px; height:9px;
  border-right:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(45deg);
}
.plan-mark--dot{ width:10px; height:10px; border-radius:999px; display:inline-block; }
.plan-mark--orange{ background:#f39a1e; }
.plan-mark--blue  { background:#0d3b66; }

/* Meta row */
.plan-goal__meta{
  margin-top:6px; display:flex; justify-content:space-between; font-size:10px; color:#6b7280;
}
.plan-progress{ }
.plan-target  { }

/* Buttons */
.plan-btn{
  display:block; width:100%; border:0; border-radius:10px; padding:10px 12px;
  font-weight:700; margin-top:8px; cursor:pointer;
}
.plan-btn--primary{ background:var(--blue); color:#fff; }
.plan-btn--success{ background:#cfeee0; color:#1e8a53; } /* light green like the mock */

@media (max-width: 900px){
  .plan-card{ width:100%; }
}


/* ===== Sample Coaching Session card ===== */
.coach-card{
  width:340px; max-width:100%;
  background:#fff; border:1px solid #e4e9f1; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.08); overflow:hidden; margin:0 auto;
  font-size:12px; color:var(--ink);
}
.coach-card__header{
  background:#e6f3ea; color:#33524a; text-align:center;
  font-weight:700; padding:10px 12px; border-bottom:1px solid #d7e6de;
}
.coach-card__body{ padding:12px; }

/* header row with avatar */
.coach-head{ display:flex; align-items:center; gap:10px; margin:6px 0 10px; }
.coach-avatar{
  width:36px; height:36px; border-radius:999px; background:#2a7d6c;
  display:grid; place-items:center;
}
.coach-avatar svg{ width:22px; height:22px; }
.coach-name{ font-weight:700; color:#263348; line-height:1.1; }
.coach-role{ font-size:10px; color:#6b7280; }

/* chat bubbles */
.coach-msg{
  background:#eef7f2; border:1px solid #dbece3;
  border-radius:8px; padding:8px 10px; margin:10px 0;
}
.coach-msg__text{ font-size:11px; color:#2f3b4a; }

/* next session pill */
.coach-next{ display:flex; justify-content:center; margin-top:10px; }
.coach-next__pill{
  display:inline-block; background:#e0f2e7; color:#1e8a53;
  border-radius:999px; font-size:10px; font-weight:700;
  padding:4px 10px; border:1px solid #c7e6d7;
}

@media (max-width: 900px){
  .coach-card{ width:100%; }
}


html { scroll-behavior: smooth; }

/* If your nav ever becomes sticky, this prevents anchors from hiding under it */
#kys, #inspire, #soar { scroll-margin-top: 80px; }


/* Top row layout: title on left, circle + chip on right */
.plan-goal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.plan-goal__top-right {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Progress circle */
.plan-goal__circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

/* Colors to match the bars/status */
.plan-goal__circle--green {
  background: #00c853;   /* bright green */
}

.plan-goal__circle--orange {
  background: #f97316;   /* orange */
}

.plan-goal__circle--blue {
  background: #1d4ed8;   /* deep blue */
}


/* Header area: title + progress left, circle + status right */
.plan-goal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 8px;
}

.plan-goal__head-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-goal__head-right {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers status under circle */
  gap: 4px;
}

/* Smaller circle */
.plan-goal__circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

/* Color variants (keep your existing colors if you already set them) */
.plan-goal__circle--green  { background: #00c853; }
.plan-goal__circle--orange { background: #f97316; }
.plan-goal__circle--blue   { background: #1d4ed8; }

/* Progress line styling under the title */
.plan-progress {
  font-size: 0.9rem;
  color: #1f2933;
}

/* Keep target on its own line at the bottom */
.plan-goal__meta {
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  font-size: 0.85rem;
  color: #6b7280;
}
