/* Madani Landing — reference design system (Baloo 2 + Plus Jakarta Sans) */
:root {
  --primary: #1E7A5C;
  --primary-dark: #124F39;
  --primary-tint: #E4F3EC;
  --accent: #F2994A;
  --accent-dark: #DB7B27;
  --ink: #17241D;
  --paper: #FBF8F2;
  --card: #F2F0E8;
  --muted: #5C6B62;
  --line: #E7E2D4;
  --max: 1240px;
  --display: 'Baloo 2', sans-serif;
  --body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-chip, .reveal,
  #planFeatureModal .modal-dialog { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
section.mss-sec { padding: clamp(56px, 8vw, 108px) 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- NAV ---------- */
.mss-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(20px, 5vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-dark);
}
.brand img { height: 34px; width: auto; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: .85rem; font-weight: 700;
}
.navlinks { display: none; gap: 30px; font-weight: 600; font-size: .95rem; }
.navlinks a { opacity: .8; transition: opacity .2s; }
.navlinks a:hover { opacity: 1; color: var(--primary); }
@media (min-width: 880px) { .navlinks { display: flex; } }

.nav-toggle {
  display: inline-flex; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer;
}
@media (min-width: 880px) { .nav-toggle { display: none; } .nav-cta, .nav-login { display: inline-flex !important; } }
.nav-cta, .nav-login { display: none; }
.nav-panel {
  display: none; padding: 0 clamp(20px, 5vw, 56px) 16px;
  border-top: 1px solid var(--line);
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: block; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-weight: 600;
}

.btn {
  font-family: var(--body); font-weight: 700; font-size: .9rem;
  border-radius: 999px; padding: 12px 22px;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; border: 0; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent {
  background: var(--accent) !important; color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(242, 153, 74, .7);
}
.btn-accent:hover { box-shadow: 0 14px 28px -10px rgba(242, 153, 74, .8); }
.btn-outline { border: 2px solid var(--ink) !important; color: var(--ink) !important; background: transparent !important; }
.btn-ghost-link {
  font-weight: 700; color: var(--primary-dark);
  border-bottom: 2px solid var(--primary); padding-bottom: 2px;
}

/* ---------- HERO ---------- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 88px); position: relative; overflow: visible; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
h1.headline {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 1.05; margin: 0 0 22px; color: var(--ink);
}
.underline-wrap { position: relative; display: inline-block; }
.underline-wrap svg {
  position: absolute; left: 0; bottom: -10px;
  width: 100%; height: 14px; stroke: var(--accent); fill: none;
}
.hero p.lede { font-size: 1.08rem; color: var(--muted); max-width: 46ch; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 38px; }
.hero-info-row { display: flex; gap: 16px; flex-wrap: wrap; }
.info-card {
  background: var(--card); border-radius: 20px; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; min-width: 190px;
}
.info-card .icon-circle {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--primary-tint); display: flex; align-items: center; justify-content: center;
}
.info-card .icon-circle img { width: 100%; height: 100%; object-fit: cover; }
.info-card b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--primary-dark); }
.info-card span { font-size: .78rem; color: var(--muted); }

.hero-art { position: relative; }
.hero-photo-blob {
  position: relative; border-radius: 40px 40px 40px 100px; overflow: hidden;
  background: var(--primary); aspect-ratio: 1 / 1.05;
}
.hero-photo-blob img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.doodle {
  position: absolute; stroke: var(--accent); stroke-width: 2.5;
  fill: none; stroke-linecap: round; pointer-events: none;
}
.float-chip {
  position: absolute; bottom: -18px; left: -22px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 20px 40px -16px rgba(23, 36, 29, .25);
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  animation: floaty 5s ease-in-out infinite; z-index: 2;
}
@media (max-width: 640px) { .float-chip { left: 6px; } }
.float-chip .check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.float-chip b { display: block; font-family: var(--display); font-size: .95rem; }
.float-chip span { font-size: .72rem; color: var(--muted); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- SHARED HEADS ---------- */
.strip-head { max-width: 640px; margin: 0 auto 48px; text-align: left; }
.strip-head h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 12px;
}
.strip-head h2 em { font-style: normal; color: var(--accent-dark); }
.strip-head p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- INTRO STRIP ---------- */
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .strip-grid { grid-template-columns: 1fr; } }
.strip-card {
  background: var(--card); border-radius: 28px; padding: 30px 26px;
  min-height: 220px; display: flex; flex-direction: column;
}
.strip-card .row-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.strip-card .icon-badge {
  width: 44px; height: 44px; border-radius: 12px; background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
}
.strip-card .icon-badge svg { width: 22px; height: 22px; stroke: var(--primary-dark); fill: none; stroke-width: 1.8; }
.strip-card .arrow-btn {
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.strip-card .arrow-btn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2; }
.strip-card h3 { font-family: var(--display); font-size: 1.28rem; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.strip-card h3 em { font-style: normal; color: var(--accent-dark); }
.strip-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- MOSAIC / STATS ---------- */
.strip-head-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px 40px;
  align-items: end;
  text-align: left;
}
.strip-head-split h2 { margin-bottom: 0; }
.strip-head-split p { margin: 0; max-width: 36ch; }
@media (max-width: 800px) {
  .strip-head-split { grid-template-columns: 1fr; }
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.partner-logo {
  background: #fff;
  border: 1px solid rgba(30, 122, 92, .08);
  border-radius: 16px;
  height: 84px;
  min-width: 132px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo img {
  max-height: 64px;
  max-width: 118px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.15);
  opacity: .88;
  transition: filter .2s ease, opacity .2s ease;
}
.partner-logo:hover img { filter: none; opacity: 1; }

.mosaic {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 110px; gap: 16px;
  overflow: visible;
  padding-top: 36px;
  margin-top: -12px;
}
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
}
.m-cell { border-radius: 26px; overflow: hidden; position: relative; }
.m-photo {
  grid-column: span 2;
  grid-row: span 3;
  background: transparent;
  overflow: visible;
  border-radius: 0;
  z-index: 2;
}
.m-photo-plate {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 18%;
  border-radius: 26px;
  z-index: 0;
  pointer-events: none;
}
.m-photo img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 92%;
  height: 112%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.m-photo-main .m-photo-plate { background: var(--primary); }
.m-photo-side .m-photo-plate { background: var(--primary-dark); }
.m-photo-side { z-index: 1; }
.m-photo-side img { width: 88%; height: 108%; }
.m-teal { background: var(--primary); grid-column: span 2; grid-row: span 1; }
.m-teal.tall { grid-row: span 2; }
.m-chip {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: #fff; padding: 0 20px;
}
.m-chip b {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1;
}
.m-chip span { font-size: .85rem; opacity: .92; }
.m-quote {
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px; padding: 22px 24px; color: #fff;
}
.m-quote-doodle {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 96px;
  height: 64px;
  pointer-events: none;
  opacity: .9;
}
.m-quote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 28ch;
  position: relative;
  z-index: 1;
}
.m-quote a {
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  width: fit-content;
  border-bottom: 2px solid rgba(255,255,255,.55);
  padding-bottom: 2px;
  transition: border-color .2s ease, opacity .2s ease;
  position: relative;
  z-index: 1;
}
.m-quote a:hover { border-color: #fff; opacity: .92; }
.m-stat {
  background: var(--accent); color: #fff;
  grid-column: span 1; grid-row: span 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 10px;
}
.m-stat b { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.m-stat span { font-size: .72rem; opacity: .92; }
.m-doodle {
  grid-column: span 1; grid-row: span 1; background: var(--card);
  display: flex; align-items: center; justify-content: center;
}
.m-doodle svg { width: 50%; height: 50%; stroke: var(--primary); fill: none; stroke-width: 1.6; }
.m-mini {
  gap: 10px; padding: 12px 14px; justify-content: flex-start;
}
.m-mini svg { width: 28px; height: 28px; flex-shrink: 0; }
.m-mini div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.m-mini b { font-size: .78rem; line-height: 1.2; color: var(--ink); }
.m-mini span { font-size: .68rem; color: var(--muted); line-height: 1.25; }


/* ---------- BENEFIT STRIP ---------- */
.benefit-block { display: grid; gap: 28px; }
.benefit-block .lead h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin: 0 0 10px;
  color: #fff;
}
.benefit-block .lead p {
  font-size: 1.05rem;
  opacity: .9;
  margin: 0;
  max-width: 46ch;
  color: #fff;
}
.benefit-panel {
  background: var(--primary);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 900px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .benefit-grid { grid-template-columns: 1fr; }
}
.benefit-card {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  padding: 22px 20px;
  text-align: left;
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: inherit;
}
.benefit-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .18);
}
.benefit-card .ic {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
}
.benefit-card .ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefit-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.benefit-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  opacity: .92;
}
.benefit-card .more {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 700;
  color: #FCE1C0;
}

/* legacy tiny strip styles kept unused */
.benefit-strip { display: none; }
.benefit-item { text-align: center; }
.benefit-item .ic {
  width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.benefit-item .ic img { width: 100%; height: 100%; object-fit: cover; }
.benefit-item span { font-size: .78rem; font-weight: 600; line-height: 1.3; display: block; }

/* ---------- FEATURES ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--card); border-radius: 28px; padding: 28px 24px;
  min-height: 230px; display: flex; flex-direction: column;
  transition: transform .2s ease;
}
.feat-card:hover { transform: translateY(-3px); }
.feat-card .row-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.feat-card .icon-badge {
  width: 46px; height: 46px; border-radius: 14px; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.feat-card .icon-badge svg { width: 22px; height: 22px; stroke: var(--primary-dark); fill: none; stroke-width: 1.7; }
.feat-card .arrow-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feat-card .arrow-btn svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
.feat-card h3 { font-family: var(--display); font-size: 1.18rem; font-weight: 700; margin: 0 0 8px; }
.feat-card p { font-size: .88rem; color: var(--muted); margin: 0; flex: 1; }
.feat-more { text-align: center; margin-top: 28px; }
.d-none { display: none !important; }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--primary-tint); border-radius: 26px; padding: 28px; }
.testi-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi-top img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff;
}
.testi-top b { display: block; font-family: var(--display); font-size: 1rem; }
.testi-top span { font-size: .78rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; font-size: .9rem; }
.testi-card p { font-size: .92rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { background: var(--card); border-radius: 28px; padding: clamp(20px, 3vw, 36px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 4px; font-family: var(--display); font-size: 1.05rem;
  font-weight: 600; color: var(--ink);
}
.faq-q .plus {
  width: 30px; height: 30px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--body); font-size: 1.1rem; color: var(--primary);
  transition: transform .25s, background .25s, color .25s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { margin: 0 0 20px; color: var(--muted); font-size: .92rem; padding: 0 4px; max-width: 62ch; }
.faq-more { margin-top: 16px; text-align: center; }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: var(--primary); border-radius: 36px; overflow: hidden;
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center;
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.cta-text { padding: clamp(28px, 4vw, 52px); color: #fff; }
.cta-text .eyebrow { font-weight: 700; color: #FCE1C0; font-size: .85rem; margin-bottom: 10px; display: block; }
.cta-text h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 14px; }
.cta-text p { font-size: .95rem; opacity: .9; margin: 0 0 24px; max-width: 46ch; }

/* ---------- PAGE HERO (detail/privacy) ---------- */
.page-hero {
  background: var(--primary); color: #fff;
  padding: clamp(40px, 6vw, 72px) 0;
}
.page-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem); margin: .5rem 0 0; max-width: 18ch;
}
.page-hero .eyebrow { opacity: .85; font-weight: 700; font-size: .85rem; }
.mss-detail { padding: clamp(40px, 6vw, 72px) 0; }
.mss-detail__carousel {
  border-radius: 24px; overflow: hidden; margin-bottom: 1.5rem;
  background: var(--card); border: 1px solid var(--line);
}
.mss-detail__carousel img {
  width: 100%; max-height: 420px; object-fit: contain; background: #fff;
}
.mss-detail__body { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.mss-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- FOOTER ---------- */
.mss-footer { padding: clamp(50px, 7vw, 80px) 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 50px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 40px; margin-bottom: 24px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  color: var(--primary-dark); margin-bottom: 14px;
}
.foot-brand .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--primary);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-size: .75rem; font-weight: 700;
}
.mss-footer p { color: var(--muted); font-size: .9rem; max-width: 32ch; }
.mss-footer h4,
.mss-footer .foot-heading {
  font-family: var(--display);
  font-size: .95rem;
  margin: 0 0 16px;
  font-weight: 700;
}
.mss-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mss-footer ul a { color: var(--muted); font-size: .9rem; }
.mss-footer ul a:hover { color: var(--primary); }
.mss-footer ul li { color: var(--muted); font-size: .9rem; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px; font-size: .8rem; color: var(--muted);
}
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center;
}
.socials svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.8; }

/* Modal soft override */
#benefitModal .modal-content { border: 0; border-radius: 20px; overflow: hidden; }
#benefitModal .modal-header,
#benefitModal .modal-body,
#benefitModal .modal-footer { padding: 1.25rem 1.5rem; }
#benefitModal .modal-title { font-family: var(--display); font-size: 1.35rem; }
#benefitModal #benefitModalDesc { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; }
#benefitModal #benefitModalLogo {
  width: 100%;
  border-radius: 16px;
  background: var(--card);
  object-fit: cover;
  max-height: 220px;
}

/* Hero AI/entity readability */
.hero-eyebrow {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.hero-entity {
  margin: 0 0 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: .95rem;
}
.video-embed {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ink);
}

/* Audience */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  background: var(--card);
  border-radius: 24px;
  padding: 22px 20px;
}
.audience-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.audience-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* How to */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
@media (max-width: 800px) { .howto-grid { grid-template-columns: 1fr; } }
.howto-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 20px;
}
.howto-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 12px;
}
.howto-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.howto-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }
.price-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 24px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.price-billing-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: .88rem;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s ease, color .2s ease;
}
.price-billing-btn.is-active { background: var(--primary); color: #fff; }
.price-billing-badge {
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}
.price-billing-btn.is-active .price-billing-badge { background: rgba(255, 255, 255, .25); }
.price-billing-note { margin: -8px 0 20px; color: var(--muted); font-size: .84rem; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.price-card.is-featured {
  border-color: var(--primary);
  background: var(--primary-tint);
  box-shadow: 0 16px 30px -20px rgba(30, 122, 92, .55);
}
.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card.is-featured { padding-top: 40px; }
.price-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.price-feat-btn {
  flex-shrink: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.price-card.is-featured .price-feat-btn { background: var(--paper); }
.price-feat-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -10px rgba(30, 122, 92, .7);
}
.price-feat-btn:active { transform: translateY(0); }
.price-feat-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0;
}
.price-amount {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}
.price-amount span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}
.price-meta { margin: 0 0 8px; color: var(--muted); font-size: .88rem; }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
}

/* Plan feature modal */
#planFeatureModal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 64px -28px rgba(23, 36, 29, .5);
}
#planFeatureModal .modal-header,
#planFeatureModal .modal-body,
#planFeatureModal .modal-footer { padding: 1.25rem 1.5rem; }
#planFeatureModal .modal-header { align-items: flex-start; }
.plan-feat-dialog { max-width: 520px; }
.plan-feat-kicker {
  margin: 0 0 2px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
}
#planFeatureModal .modal-title {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0;
}
#planFeatureModal.modal.fade .modal-dialog {
  transform: translate3d(0, 22px, 0) scale(.96);
  opacity: 0;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .36s ease;
}
#planFeatureModal.modal.show .modal-dialog {
  transform: none;
  opacity: 1;
}
.plan-feat-group { margin: 0 0 18px; }
.plan-feat-group:last-child { margin-bottom: 0; }
.plan-feat-group h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--primary-dark);
}
.plan-feat-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: var(--ink);
  line-height: 1.4;
}
.plan-feat-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Security */
.security-panel {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 24px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 40px);
}
@media (max-width: 800px) { .security-panel { grid-template-columns: 1fr; } }
.security-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 10px;
}
.security-panel p { margin: 0; opacity: .92; max-width: 54ch; }
.security-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.security-list li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: .9rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}
.cta-actions .btn-ghost-link { color: #fff; border-bottom-color: rgba(255,255,255,.7); }
