/* ===== Wrapper & Hero ===== */
.pricing-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:32px 16px;
}
.pricing-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:18px 20px;
  min-height:108px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(16,72,121,.06);
  margin-bottom:18px;
  text-align:center;
}
.pricing-head h1{
  color:#104879;
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.15;
  margin:0;
  font-size:clamp(24px,2.4vw,34px);
}
.pricing-head p{
  color:#64748b;
  margin:0;
  line-height:1.4;
  font-size:clamp(13px,1.4vw,16px);
}

/* ===== Plans Grid ===== */
.plans{
  display:grid;
  grid-template-columns:1fr;
  gap:22px;
  margin-top:14px;
}
/* Exactly two columns on desktop */
@media (min-width:900px){
  .plans{ grid-template-columns:repeat(2, minmax(360px, 1fr)); }
}

/* ===== Plan Card ===== */
.plan{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:18px;
  position:relative;
  display:flex;
  flex-direction:column;
  box-shadow:0 2px 12px rgba(16,72,121,.06);
}
.plan--popular{
  border-color:#ffe29a;
  box-shadow:0 8px 24px rgba(16,72,121,.10);
}
.plan__badge{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  background:#ffda77;
  color:#0f355e;
  font-weight:700;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}

/* ===== Plan Header (centered) ===== */
.plan__head{
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;

  padding:22px 16px;
  min-height:116px;
  background:#fff;
  border:1px solid #e9eef5;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(16,72,121,.06);
  margin:0 0 12px;
}
.plan--popular .plan__head{ padding-top:26px; }

.plan__left{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  gap:12px;
  min-width:0;
}
.plan__title{
  margin:0;
  font-size:20px;
  font-weight:800;
  color:#0f355e;
}

.price{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  color:#0f355e;
  line-height:1;
}
.price .currency{ font-size:22px; font-weight:700; transform:translateY(-1px); }
.price .amount  { font-size:clamp(34px,4.2vw,46px); font-weight:800; letter-spacing:-.02em; }
.price .amount .cents{ font-size:.55em; }
.price .period  { font-size:14px; color:#6b7280; margin-left:2px; }

.plan__tagline{
  margin:0;
  color:#64748b;
  font-size:14px;
}

/* ===== Features List (no grid; solid wrapping) ===== */
.plan__list{
  list-style:none;
  margin:12px 0 16px;
  padding:0;
  display:grid;
  gap:10px;
}
.plan__list li{
  position:relative;
  padding-left:26px;              /* space for icon */
  color:#1f2937;
  line-height:1.45;
  display:block;
  word-break:normal;
  overflow-wrap:normal;           /* prevent weird word-by-word wrapping */
}
.plan__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.45em;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#16a34a;            /* green check */
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') no-repeat center/contain;
          mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') no-repeat center/contain;
}

/* ===== Buttons ===== */
.plan__foot{ margin-top:auto; }
.btn{
  display:block;
  width:100%;
  text-align:center;
  padding:12px 16px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:opacity .15s ease;
}
.btn-primary{ background:#104879; color:#fff; }
.btn-outline{ background:#fff; color:#104879; border:2px solid #104879; }
.btn:hover{ opacity:.95; }

/* ===== Fine print ===== */
.pricing-fine{
  margin-top:14px;
  text-align:center;
  color:#6b7280;
  font-size:12px;
}

/* Optional: highlight the currently selected plan */
.plan.is-current{ outline:2px solid #104879; outline-offset:2px; }

.pill { display:inline-block; margin-left:.5rem; padding:.15rem .4rem; font-size:.7rem; border-radius:.4rem; background:#eef4ff; color:#104879; }
.pill-new { background:#e8fff3; color:#087443; }

