:root {
  --navy: #0b2f5e;
  --blue: #087be6;
  --blue-2: #12a9e9;
  --green: #46b84d;
  --orange: #ff7a1a;
  --gold: #f6ad16;
  --purple: #6f3fd4;
  --magenta: #ad35b4;
  --pink: #ea4c91;
  --ink: #17324d;
  --muted: #60748a;
  --line: #dbe7f2;
  --soft: #f4f9fd;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 72, 118, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,231,242,.9);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(145deg, var(--navy), var(--blue-2));
  box-shadow: 0 8px 20px rgba(8,123,230,.2);
}
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-size: 1.12rem; color: var(--navy); }
.brand-text small { margin-top: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; }
.main-nav { display: flex; align-items: center; gap: 25px; font-size: .94rem; font-weight: 650; }
.main-nav a { text-decoration: none; color: #314e6b; }
.main-nav a:hover { color: var(--blue); }
.main-nav .nav-signin {
  color: #fff;
  background: var(--navy);
  padding: 10px 17px;
  border-radius: 999px;
}
.main-nav .nav-signin:hover { color: #fff; background: var(--blue); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 44px;
  align-items: center;
}
.hero-copy { padding: 24px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 850;
  font-size: .76rem;
  letter-spacing: .16em;
}
.hero h1,
.section h2,
.closing-cta h2 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(2.65rem, 5vw, 4.5rem); max-width: 680px; }
.hero-lead { max-width: 650px; margin: 22px 0 0; color: #536b81; font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 46px;
  padding: 0 21px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 10px 24px rgba(8,123,230,.23); }
.button.secondary { background: #fff; color: var(--navy); border: 1px solid #bad1e4; }
.button.white { background: #fff; color: var(--navy); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-points span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #57708a;
  font-size: .82rem;
}
.hero-art {
  position: relative;
  background: #fff;
  border: 1px solid #e0ebf4;
  border-radius: 30px;
  padding: 8px;
  box-shadow: var(--shadow);
  transform: rotate(.5deg);
}
.hero-art img { border-radius: 24px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .3; }
.hero-glow-one { width: 420px; height: 420px; background: #d6efff; top: -180px; right: -90px; }
.hero-glow-two { width: 330px; height: 330px; background: #dff5df; bottom: -220px; left: -100px; }

.intro-strip { background: var(--navy); color: #fff; }
.intro-strip-grid { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.intro-strip-grid div { display: flex; flex-direction: column; gap: 3px; }
.intro-strip-grid strong { font-size: 1.08rem; }
.intro-strip-grid span { color: #bcd2e7; }
.intro-strip-grid > a { color: #fff; text-decoration: none; font-weight: 800; white-space: nowrap; }

.section { padding: 92px 0; }
.soft-section { background: var(--soft); border-top: 1px solid #e7f0f7; border-bottom: 1px solid #e7f0f7; }
.section-heading { max-width: 780px; margin-bottom: 38px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2,
.story-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading > p:last-child,
.story-panel > p { color: var(--muted); font-size: 1.04rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  --accent: var(--blue);
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid #e1ebf3;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28,78,116,.07);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -55px;
  bottom: -55px;
  background: color-mix(in srgb, var(--accent) 14%, white);
}
.feature-card.green { --accent: var(--green); }
.feature-card.blue { --accent: var(--blue); }
.feature-card.orange { --accent: var(--orange); }
.feature-card.gold { --accent: var(--gold); }
.feature-card.purple { --accent: var(--purple); }
.feature-card.magenta { --accent: var(--magenta); }
.feature-card.pink { --accent: var(--pink); }
.feature-card.emphasis { border-color: color-mix(in srgb, var(--accent) 28%, white); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 13%, white);
  color: var(--accent);
  font-weight: 900;
  font-size: .78rem;
  margin-bottom: 18px;
}
.feature-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.25rem; }
.feature-card p { margin: 0; color: #62798f; font-size: .95rem; }

.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: start; }
.story-panel { position: sticky; top: 110px; }
.benefit-list { display: grid; gap: 13px; }
.benefit {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid #dfeaf3;
  border-radius: 20px;
  padding: 22px;
}
.benefit-number { color: var(--blue); font-weight: 900; font-size: 1.05rem; padding-top: 1px; }
.benefit strong { color: var(--navy); font-size: 1.08rem; }
.benefit p { margin: 5px 0 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.step { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.step > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-weight: 900;
  margin-bottom: 20px;
}
.step h3 { margin: 0 0 9px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.closing-cta { padding: 0 0 92px; }
.closing-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 50px 55px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  background: linear-gradient(125deg, #0b2f5e 0%, #087be6 62%, #12a9e9 100%);
  box-shadow: 0 24px 55px rgba(8, 80, 151, .22);
}
.closing-card::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  right: -120px;
  top: -170px;
  border: 52px solid rgba(255,255,255,.08);
}
.closing-card > * { position: relative; z-index: 1; }
.eyebrow.light { color: #bde2ff; }
.closing-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.closing-cta p:not(.eyebrow) { max-width: 680px; margin-bottom: 0; color: #d9ebfb; }

.site-footer { border-top: 1px solid var(--line); background: #fbfdff; }
.footer-inner { min-height: 170px; display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 25px; align-items: center; color: #60748a; font-size: .86rem; }
.footer-inner > div { display: grid; }
.footer-inner strong { color: var(--navy); font-size: 1.06rem; }
.footer-inner span { text-transform: uppercase; letter-spacing: .11em; font-size: .67rem; }
.footer-inner p { margin: 0; }
.copyright { text-align: right; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 780px; }
  .hero-art { max-width: 860px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-column { grid-template-columns: 1fr; gap: 34px; }
  .story-panel { position: static; }
  .footer-inner { grid-template-columns: 1fr; padding: 38px 0; }
  .copyright { text-align: left; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .site-header { position: static; }
  .header-inner { min-height: 70px; }
  .main-nav a:not(.nav-signin) { display: none; }
  .main-nav { gap: 0; }
  .hero { padding: 44px 0 48px; }
  .hero-copy { padding-top: 0; }
  .hero-grid { gap: 26px; }
  .hero-art { border-radius: 20px; padding: 5px; }
  .hero-art img { border-radius: 16px; }
  .intro-strip-grid { padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
  .section { padding: 66px 0; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .closing-cta { padding-bottom: 66px; }
  .closing-card { min-height: 0; padding: 38px 28px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .brand-text small { display: none; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .nav-signin { padding: 9px 14px !important; }
  .hero h1 { font-size: 2.45rem; }
  .hero-lead { font-size: 1.02rem; }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 7px; }
  .hero-points span { font-size: .76rem; }
  .feature-grid { gap: 13px; }
  .section-heading h2, .story-panel h2, .closing-cta h2 { font-size: 2rem; }
}

/* Product tour / real FM Central screens */
.product-tour {
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 50%, #f8fbfe 100%);
  border-top: 1px solid #e6eff7;
  border-bottom: 1px solid #e6eff7;
}
.tour-heading { max-width: 880px; margin-bottom: 58px; }
.tour-row {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 58px;
  align-items: center;
  padding: 44px 0 70px;
  border-bottom: 1px solid #e0ebf4;
}
.tour-row.reverse { grid-template-columns: 1.18fr .82fr; }
.tour-row.reverse .tour-copy { order: 2; }
.tour-row.reverse .screenshot-frame { order: 1; }
.tour-row:last-of-type { border-bottom: 0; padding-bottom: 40px; }
.tour-copy { max-width: 500px; }
.tour-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 9px 22px rgba(8, 123, 230, .20);
}
.tour-copy h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.tour-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.tour-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.tour-points li {
  position: relative;
  padding-left: 26px;
  color: #49647d;
  font-weight: 650;
}
.tour-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}
.two-col-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.screenshot-frame {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid #d6e4ef;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(26, 73, 112, .14);
  overflow: hidden;
  cursor: zoom-in;
  appearance: none;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}
.screenshot-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px rgba(26, 73, 112, .18);
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #f5f8fb;
}
.screenshot-frame.wide img { max-height: 560px; object-fit: contain; }
.screenshot-frame.tall { max-width: 690px; justify-self: center; }
.screenshot-frame.tall img { max-height: 710px; object-fit: contain; }
.screenshot-frame.tree { max-width: 620px; justify-self: center; }
.screenshot-frame.tree img { max-height: 800px; object-fit: contain; }
.zoom-hint {
  position: absolute;
  right: 22px;
  bottom: 20px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 47, 94, .88);
  font-size: .75rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease;
}
.screenshot-frame:hover .zoom-hint,
.screenshot-frame:focus-visible .zoom-hint { opacity: 1; transform: translateY(0); }
.family-tree-tour { align-items: start; }
.demo-note {
  margin: 18px 0 0;
  color: #7a8da0;
  font-size: .82rem;
  text-align: center;
}
body.lightbox-open { overflow: hidden; }
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(7, 23, 43, .91);
}
.lightbox img {
  max-width: min(1500px, 94vw);
  max-height: 91vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .4);
  background: #fff;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.25);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .main-nav { gap: 17px; font-size: .88rem; }
}

@media (max-width: 1020px) {
  .tour-row,
  .tour-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .tour-row.reverse .tour-copy,
  .tour-row.reverse .screenshot-frame { order: initial; }
  .tour-copy { max-width: 760px; }
  .screenshot-frame,
  .screenshot-frame.tall,
  .screenshot-frame.tree { max-width: 820px; justify-self: start; }
  .screenshot-frame.wide img,
  .screenshot-frame.tall img,
  .screenshot-frame.tree img { max-height: none; }
}

@media (max-width: 760px) {
  .tour-heading { margin-bottom: 28px; }
  .tour-row { padding: 32px 0 48px; }
  .two-col-list { grid-template-columns: 1fr; }
  .screenshot-frame { padding: 5px; border-radius: 18px; }
  .screenshot-frame img { border-radius: 13px; }
  .zoom-hint { display: none; }
  .lightbox { padding: 14px; }
  .lightbox-close { top: 10px; right: 10px; }
}


/* Learn More gallery and single-screen detail pages */
.learn-hero {
  padding: 52px 0 28px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #e6eff7;
}
.learn-hero-inner {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.learn-hero h1,
.feature-detail-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.learn-hero p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.standard-back {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #8fc69d;
  background: #bfe3c8;
  color: #173a22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 4px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.standard-back:hover {
  background: #add9b9;
  border-color: #7ab88a;
  color: #12331d;
}
.learn-grid-section { padding-top: 48px; }
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.learn-card {
  display: block;
  overflow: hidden;
  border: 1px solid #dce8f1;
  border-radius: 22px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(24, 70, 106, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.learn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 70, 106, .14);
  border-color: #b9d4e8;
}
.learn-thumb {
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f8fb;
  border-bottom: 1px solid #e4edf4;
  padding: 8px;
}
.learn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
.learn-card-copy { padding: 18px 20px 22px; }
.learn-card-copy > span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--blue);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .08em;
}
.learn-card-copy h2 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1.22rem;
}
.learn-card-copy p { margin: 0; color: var(--muted); font-size: .92rem; }

.feature-detail-main { padding: 42px 0 74px; background: #f8fbfe; }
.feature-detail-wrap { position: relative; }
.detail-back { margin-bottom: 24px; }
.feature-detail-copy {
  max-width: 880px;
  margin: 0 auto 28px;
  text-align: center;
}
.feature-detail-lead {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.feature-detail-points {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.feature-detail-points li {
  padding: 8px 12px;
  border: 1px solid #d9e6f0;
  border-radius: 999px;
  background: #fff;
  color: #49647d;
  font-weight: 650;
  font-size: .9rem;
}
.detail-image-card {
  max-width: 980px;
  margin: 30px auto 0;
  padding: 10px;
  border: 1px solid #d7e5ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(24, 70, 106, .14);
}
.detail-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.detail-bottom-actions {
  max-width: 980px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .learn-hero-inner { grid-template-columns: 44px 1fr; gap: 12px; }
  .learn-grid { grid-template-columns: 1fr; }
  .learn-thumb { height: 145px; }
  .feature-detail-main { padding-top: 24px; }
  .feature-detail-copy { text-align: left; }
  .feature-detail-lead { margin-left: 0; }
  .feature-detail-points { justify-content: flex-start; }
}

/* v2: Compact Learn More strip directly on the home page. */
.home-learn-strip {
  padding: 28px 0 30px;
  background: #f8fbfe;
  border-top: 1px solid #e5eef6;
  border-bottom: 1px solid #e5eef6;
  scroll-margin-top: 92px;
}
.home-learn-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 16px;
}
.home-learn-heading .eyebrow { margin-bottom: 3px; }
.home-learn-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
}
.home-learn-heading > p {
  margin: 0 0 2px;
  max-width: 520px;
  color: var(--muted);
  font-size: .93rem;
}
.home-learn-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.home-learn-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dce8f1;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(24, 70, 106, .07);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.home-learn-card:hover,
.home-learn-card:focus-visible {
  transform: translateY(-2px);
  border-color: #9fc6e3;
  box-shadow: 0 12px 25px rgba(24, 70, 106, .13);
  outline: none;
}
.home-learn-card strong {
  display: block;
  min-height: 2.1em;
  margin: 0 0 7px;
  color: var(--navy);
  text-align: center;
  font-size: .87rem;
  line-height: 1.05;
}
.home-learn-thumb {
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #eef4f8;
}
.home-learn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}
.home-learn-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: .78rem;
}

@media (max-width: 1000px) {
  .home-learn-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-learn-thumb { height: 115px; }
}
@media (max-width: 680px) {
  .home-learn-heading { display: block; }
  .home-learn-heading > p { margin-top: 7px; }
  .home-learn-row {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 2px 9px;
    scroll-snap-type: x proximity;
  }
  .home-learn-card {
    flex: 0 0 145px;
    scroll-snap-align: start;
  }
  .home-learn-thumb { height: 88px; }
}

/* v3: Learn More previews — 3 across, 2 rows on desktop. */
.home-learn-strip {
  padding: 24px 0 28px;
}
.home-learn-heading {
  margin-bottom: 14px;
}
.home-learn-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  max-width: 1060px;
  margin: 0 auto;
}
.home-learn-card {
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px !important;
  border-radius: 14px !important;
}
.home-learn-card strong {
  min-height: 0 !important;
  margin: 0 0 8px !important;
  font-size: 1rem !important;
  line-height: 1.15 !important;
}
.home-learn-thumb {
  width: 100% !important;
  height: 155px !important;
  border-radius: 9px !important;
  overflow: hidden !important;
  background: #eef4f8 !important;
}
.home-learn-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

@media (max-width: 760px) {
  .home-learn-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .home-learn-thumb {
    height: 125px !important;
  }
}

@media (max-width: 480px) {
  .home-learn-row {
    grid-template-columns: 1fr !important;
  }
  .home-learn-thumb {
    height: 150px !important;
  }
}


/* v5: six SMALL picture holders on the home page — three across, two rows. */
#learn-more .home-learn-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  max-width: 1020px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}
#learn-more .home-learn-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 330px !important;
  justify-self: center !important;
  padding: 10px !important;
  margin: 0 !important;
  border: 1px solid #d4e2ed !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
#learn-more .home-learn-card strong {
  display: block !important;
  margin: 0 0 8px !important;
  min-height: 0 !important;
  color: #0b2f5e !important;
  text-align: center !important;
  font-size: 1rem !important;
  line-height: 1.15 !important;
}
#learn-more .home-learn-thumb {
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  min-height: 170px !important;
  max-height: 170px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #e2eaf1 !important;
  border-radius: 9px !important;
  background: #f4f8fc !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#learn-more .home-learn-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
}
@media (max-width: 820px) {
  #learn-more .home-learn-row { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 520px) {
  #learn-more .home-learn-row { grid-template-columns: 1fr !important; }
  #learn-more .home-learn-card { max-width: 360px !important; }
}
