/* Meedsy homepage (designer's "US home v3", Nov 2026). Loaded on the front page only. */
.mh { --mh-line: #ece6ee; }
.mh-display { font: 800 68px/70px var(--font-display) !important; letter-spacing: -0.035em !important; color: var(--ink); margin: 0 !important; }
.mh-mark { background: linear-gradient(transparent 60%, var(--accent) 60%, var(--accent) 92%, transparent 92%); }
.mh-lead { font: 400 18px/28px var(--font-sans) !important; color: var(--ink-muted); margin: 0 !important; max-width: 520px; }
.mh-h2 { font: 800 40px/46px var(--font-display) !important; letter-spacing: -0.03em !important; color: var(--ink); margin: 0 !important; }
.mh-sub { font: 400 18px/28px var(--font-sans) !important; color: var(--ink-muted); margin: 12px 0 0 !important; max-width: 640px; }
.mh-sec { padding: 112px 0; }
.mh-head { margin-bottom: 40px; max-width: 800px; }
.mh-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.mh-more { display: inline-flex; align-items: center; gap: 6px; font: 700 15px/20px var(--font-sans); color: var(--brand-strong) !important; text-decoration: none !important; white-space: nowrap; }
.mh-more:hover { color: var(--ink) !important; }
.mh-note { font-size: 13px !important; color: var(--line-strong); margin: 24px 0 0 !important; }
.mh-eyebrow { display: block; font: 700 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* Hero */
.mh-hero { background: radial-gradient(760px 480px at 88% 8%, var(--brand-tint) 0%, rgba(252,235,247,0) 70%), var(--surface); }
.mh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.mh-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.mh-finder { display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 22px; background: #fff; border: 1px solid var(--mh-line); box-shadow: 0 1px 2px rgba(28,20,36,.05), 0 18px 44px rgba(28,20,36,.08); max-width: 580px; margin: 0; }
.mh-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: #f6f2f6; border-radius: 16px; }
.mh-seg__btn { font: inherit; text-align: left; border: 0; cursor: pointer; padding: 12px 16px; border-radius: 12px; display: flex; flex-direction: column; gap: 2px; background: transparent; color: var(--ink); transition: background .15s, box-shadow .15s; }
.mh-seg__btn b { font: 700 15px/20px var(--font-sans); }
.mh-seg__btn small { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mh-seg__btn[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(28,20,36,.14); }
.mh-seg__btn[aria-pressed="true"] b { color: var(--brand-strong); }
.mh-finder__row { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 16px; border-radius: 14px; border: 1.5px solid #e2d8e5; color: var(--line-strong); }
.mh-finder__row:focus-within { border-color: var(--brand-strong); }
body.meedsy-brand .mh-finder__row input[type="search"] { flex: 1; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; font: 400 16px/22px var(--font-sans) !important; color: var(--ink); height: 48px; padding: 0 !important; }
body.meedsy-brand .mh-finder__row .md-btn { min-height: 48px; padding: 0 22px !important; border-radius: 12px !important; }
.mh-finder__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 4px 6px; }
.mh-finder__chips > span:first-child { font-size: 13px; color: var(--line-strong); margin-right: 2px; }
.mh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-chips[hidden] { display: none; }
.mh-chips a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-radius: 999px; background: #fff; border: 1px solid var(--mh-line); font: 600 14px var(--font-sans); color: var(--ink) !important; text-decoration: none !important; }
.mh-chips a:hover { border-color: var(--brand-strong); color: var(--brand-strong) !important; }
.mh-hero__visual { position: relative; padding: 24px 24px 72px 56px; }
.mh-shape { position: absolute; pointer-events: none; }
.mh-shape--panel { right: 0; top: 0; width: 80%; height: 86%; border-radius: 40px; background: var(--brand-tint); }
.mh-shape--sun { right: -18px; bottom: 120px; width: 96px; height: 96px; border-radius: 30px; background: var(--accent); transform: rotate(14deg); }
.mh-hero__img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 40% center; border-radius: 32px !important; }
.mh-example { position: absolute; left: 0; bottom: 0; width: 370px; max-width: 94%; box-sizing: border-box; padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(28,20,36,.18), 0 2px 6px rgba(28,20,36,.06); display: flex; flex-direction: column; gap: 10px; }
.mh-example__head { display: flex; justify-content: space-between; align-items: baseline; font: 600 13px var(--font-sans); color: var(--ink-muted); }
.mh-example__head small { font-size: 12px; color: var(--line-strong); font-weight: 400; }
.mh-example__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; opacity: .55; transition: opacity .2s; }
.mh-example__row.is-on { opacity: 1; outline: 2px solid var(--brand-strong); outline-offset: -2px; }
.mh-example__row--later { background: #e9f6ef; }
.mh-example__row--lease { background: #fff6e0; }
.mh-example__row strong { display: block; font: 700 15px/20px var(--font-sans); color: var(--ink); }
.mh-example__row span { display: block; font: 600 13px/18px var(--font-sans); }
.mh-example__row--later span { color: var(--success); }
.mh-example__row--lease span { color: var(--warning); }
.mh-example__row b { font: 800 22px/26px var(--font-display); letter-spacing: -0.02em; color: var(--ink); }

/* Provider strip */
.mh-strip { border-top: 1px solid #f0ebf1; border-bottom: 1px solid #f0ebf1; background: #fcfbfd; }
.mh-strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; padding-top: 26px; padding-bottom: 26px; }
.mh-strip__label { font: 700 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--line-strong); }
.mh-strip__name { font: 800 19px/24px var(--font-display); letter-spacing: -0.02em; color: #8b7f93 !important; text-decoration: none !important; white-space: nowrap; }
a.mh-strip__name:hover { color: var(--brand-strong) !important; }

/* Popular stores */
.mh-stores { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mh-stores li { margin: 0 !important; }
.mh-store { display: flex; flex-direction: column; gap: 8px; height: 100%; box-sizing: border-box; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--mh-line); color: var(--ink) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s, border-color .2s; }
.mh-store:hover { box-shadow: 0 16px 36px rgba(28,20,36,.09); transform: translateY(-2px); border-color: #e2d8e5; }
.mh-store .mdd-logo { width: 112px; height: 52px; margin-bottom: 6px; }
.mh-store__name { font: 700 17px/22px var(--font-sans); }
.mh-store__desc { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mh-store__go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font: 700 14px/20px var(--font-sans); color: var(--brand-strong); }

/* Two ways */
.mh-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mh-way { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--mh-line); color: var(--ink) !important; text-decoration: none !important; transition: box-shadow .2s, transform .2s; }
.mh-way:hover { box-shadow: 0 18px 40px rgba(28,20,36,.10); transform: translateY(-3px); }
.mh-way img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 !important; }
.mh-way__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mh-way__title { font: 800 24px/30px var(--font-display); letter-spacing: -0.02em; }
.mh-way__text { color: var(--ink-muted); font-size: 16px; line-height: 26px; }
.mh-pro { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.mh-pro .md-icon { flex: none; margin-top: 2px; }
.mh-pro.is-good .md-icon { color: var(--success); }
.mh-pro.is-watch .md-icon { color: var(--warning); }
.mh-way .mh-more { margin-top: auto; padding-top: 8px; }

/* Categories */
.mh-cats { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mh-cats li { margin: 0 !important; }
.mh-cat { display: flex; align-items: center; gap: 12px; height: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--mh-line); color: var(--ink) !important; text-decoration: none !important; font: 600 15px/20px var(--font-sans); transition: border-color .15s; }
.mh-cat:hover { border-color: var(--brand-strong); }
.mh-cat i { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-tint); display: grid; place-items: center; font-style: normal; color: var(--brand-strong); }

/* Calculator band: dark, with the designer's shapes faded so the calculator stays the focus */
.mh-calcband { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.mh-calcband .md-wrap { position: relative; z-index: 1; }
.mh-calcband .mh-h2 { color: #fff; }
.mh-calcband .mh-sub { color: #cfc5d6; }
.mh-shape--calc1 { right: -140px; top: -180px; width: 460px; height: 460px; border-radius: 140px; background: var(--brand); transform: rotate(18deg); opacity: .22; }
.mh-shape--calc2 { right: 38%; bottom: -60px; width: 140px; height: 140px; border-radius: 999px; background: var(--accent); opacity: .18; }
.mh-calcband .md-calc { box-shadow: 0 40px 80px rgba(0,0,0,.3); border-radius: 24px; }

/* Guides */
.mh-guides { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.mh-guides li { margin: 0 !important; }
.mh-guide { display: flex; flex-direction: column; gap: 12px; color: var(--ink) !important; text-decoration: none !important; }
.mh-guide__img { display: grid; place-items: center; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--brand-tint); color: var(--brand-strong); }
.mh-guide__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; transition: transform .4s ease-out; }
.mh-guide:hover .mh-guide__img img { transform: scale(1.04); }
.mh-guide__tag { font: 700 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); }
.mh-guide__title { font: 700 20px/28px var(--font-sans); }
.mh-guide:hover .mh-guide__title { text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 4px; }
.mh-guide__meta { font-size: 14px; color: var(--ink-muted); }

/* On your side */
.mh-side { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.mh-side__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px !important; }
.mh-side__copy { display: flex; flex-direction: column; gap: 32px; }
.mh-side__copy .mh-head { margin: 0; }
.mh-points { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 24px; }
.mh-points li { display: flex; gap: 16px; align-items: flex-start; margin: 0 !important; }
.mh-points__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--mh-line); display: grid; place-items: center; color: var(--brand-strong); }
.mh-points h3 { font: 700 17px/24px var(--font-sans) !important; margin: 0 0 2px !important; letter-spacing: 0 !important; }
.mh-points p { margin: 0 !important; color: var(--ink-muted); font-size: 16px !important; line-height: 26px !important; }

@media (max-width: 960px) {
  .mh-hero__grid, .mh-side { grid-template-columns: 1fr; gap: 48px; }
  .mh-ways, .mh-guides { grid-template-columns: 1fr; }
  .mh-stores, .mh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-sec { padding: 72px 0; }
  .mh-display { font-size: 46px !important; line-height: 50px !important; }
  .mh-h2 { font-size: 32px !important; line-height: 38px !important; }
  .mh-head--row { flex-direction: column; align-items: flex-start; }
  .mh-hero__visual { padding: 0 0 150px 0; }
  .mh-shape--panel, .mh-shape--sun, .mh-shape--calc1, .mh-shape--calc2 { display: none; }
  .mh-hero__img { aspect-ratio: 4 / 3.6; }
  .mh-strip__row { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .mh-hero__grid { padding-top: 40px; padding-bottom: 56px; }
  .mh-store { padding: 16px; }
  .mh-store .mdd-logo { width: 96px; height: 44px; }
  .mh-cat { padding: 12px; font-size: 14px; gap: 10px; }
  .mh-cat i { width: 32px; height: 32px; }
  .mh-seg__btn { padding: 10px 12px; }
  body.meedsy-brand .mh-finder__row .md-btn { padding: 0 16px !important; }
}
