/* ============================================================================
   The public home page, in the style of a big orange opening panel: a rounded orange hero with a fine dot texture and
   a warm glow along the bottom edge, one large centred headline, then wide centred sections.
   Only the signed-out page uses this; the signed-in home is built by shell-home.js.
   ============================================================================ */
.mh { --mh-o1: #ff7a00; --mh-o2: #ff7a00; display: block; padding: 0 clamp(12px, 1.6vw, 28px) 0; max-width: none; }
.mh-hero, .mh-final { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(20px, 2vw, 32px); color: #fff; text-align: center; background: linear-gradient(180deg, var(--mh-o1) 0%, var(--mh-o2) 62%, #ff8f26 100%); }
.mh-hero { margin-top: 10px; min-height: min(calc(100vh - var(--pn-h, 88px) - 24px), 720px); display: grid; align-items: center; }
.mh-final { margin: clamp(56px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); padding: clamp(48px, 6vw, 84px) 0 0; }
.mh-dots { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.1px, transparent 1.5px); background-size: 6px 6px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%); }
.mh-glow { position: absolute; left: 50%; bottom: -12%; z-index: -1; width: 110%; height: 62%; transform: translateX(-50%); background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255, 246, 200, 1) 0%, rgba(255, 220, 120, 0.85) 28%, rgba(255, 160, 50, 0.4) 55%, transparent 78%); filter: blur(4px); }
.mh-in { max-width: 1060px; margin: 0 auto; padding: clamp(48px, 9vh, 110px) clamp(20px, 4vw, 56px) clamp(90px, 14vh, 170px); }
.mh-final .mh-in { padding-top: 0; padding-bottom: clamp(80px, 9vw, 130px); }
.mh-eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.88); }
.mh-title { margin: 0; font-size: clamp(40px, 6.4vw, 92px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.mh-title--s { font-size: clamp(34px, 5vw, 64px); }
.mh-sub { margin: clamp(20px, 3vw, 34px) auto 0; max-width: 52ch; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.95); }
.mh-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: clamp(26px, 4vw, 44px); }
.mh-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 34px; border: 0; border-radius: 999px; background: #fff; color: #111; font: inherit; font-size: 17px; font-weight: 550; letter-spacing: -0.01em; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.mh-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }
.mh-btn--dark { background: #111; color: #fff; height: 50px; font-size: 16px; }
.mh-link { font-size: 16.5px; font-weight: 550; color: #fff; text-decoration: none; border-bottom: 1.5px solid rgba(255, 255, 255, 0.6); padding-bottom: 2px; }
.mh-link:hover { border-bottom-color: #fff; }
.mh-link span { display: inline-block; transition: transform 180ms ease; }
.mh-link:hover span { transform: translateX(4px); }

.mh-sec { max-width: 1240px; margin: clamp(64px, 8vw, 120px) auto 0; padding: 0 clamp(8px, 2vw, 24px); text-align: center; }
.mh-h2 { margin: 0; font-size: clamp(30px, 4.2vw, 58px); font-weight: 500; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; color: var(--ink); }
.mh-p { margin: 16px auto 0; max-width: 54ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-soft); }
.mh-p b { color: var(--ink); font-weight: 600; }
.mh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); text-align: left; }
.mh-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 28px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color 180ms ease, box-shadow 180ms ease, transform 200ms ease; }
.mh-tile:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(255, 122, 0, 0.14); transform: translateY(-3px); }
.mh-tile-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 8px; border-radius: 15px; background: rgba(255, 122, 0, 0.1); color: var(--accent); }
.mh-tile b { font-size: 21px; font-weight: 550; letter-spacing: -0.02em; }
.mh-tile > span:not(.mh-tile-ic) { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.mh-tile i { position: absolute; right: 26px; top: 28px; font-style: normal; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 180ms ease, transform 180ms ease; }
.mh-tile:hover i { opacity: 1; transform: none; }
.mh-more { margin: clamp(28px, 3vw, 44px) 0 0; }
.mh-sec--band { padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px); border-radius: 32px; background: linear-gradient(180deg, rgba(255, 122, 0, 0.07), rgba(255, 122, 0, 0.02)); background-image: radial-gradient(rgba(255, 122, 0, 0.22) 1px, transparent 1.4px), linear-gradient(180deg, rgba(255, 122, 0, 0.07), rgba(255, 122, 0, 0.02)); background-size: 14px 14px, auto; }
.mh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: clamp(30px, 4vw, 52px) 0 0; text-align: left; }
.mh-facts div { padding-top: 18px; border-top: 2px solid var(--accent); }
.mh-facts b { display: block; margin-bottom: 8px; font-size: 20px; font-weight: 550; letter-spacing: -0.02em; }
.mh-facts span { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.mh-find { display: flex; gap: 10px; max-width: 760px; margin: clamp(34px, 4vw, 56px) auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); box-shadow: 0 14px 36px rgba(17, 17, 17, 0.07); }
.mh-find input { flex: 1 1 auto; min-width: 0; padding: 0 22px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
.mh-find .mh-btn { height: 52px; background: var(--accent); color: #111; }
.mh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mh-coach { max-width: 1240px; margin: clamp(56px, 7vw, 100px) auto 0; }
@media (max-width: 980px) { .mh-tiles, .mh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .mh-tiles, .mh-facts { grid-template-columns: 1fr; }
  .mh-find { flex-direction: column; border-radius: 28px; padding: 10px; }
  .mh-find input { height: 52px; }
  .mh-find .mh-btn { width: 100%; }
  .mh-hero { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .mh-btn, .mh-tile, .mh-link span { transition: none; } }

/* the closing panel's headline with the changing word: "Your business," and under it elevated. / online. / found. / trusted., in white */
.mh-title--rot { line-height: 1; }
html[data-ui="public"] .mh-final .hb-rot, html[data-ui="public"] .mh-final .hb-rot-word { background: none !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
.mh-final .hb-rot { display: block; position: relative; height: 1.08em; overflow: hidden; text-align: center; }
.mh-final .hb-rot-word { left: 50%; transform: translate(-50%, 105%); }
.mh-final .hb-rot-word.is-in { transform: translate(-50%, 0); }
.mh-final .hb-rot-word.is-out { transform: translate(-50%, -105%); }

/* the closing panel's content is larger, so it fills the panel */
.mh-final .mh-in { max-width: 1240px; }
.mh-final .mh-title--s { font-size: clamp(48px, 7.4vw, 116px); }
.mh-final .mh-sub { max-width: 46ch; font-size: clamp(19px, 2vw, 28px); }
.mh-final .mh-btn { height: 66px; padding: 0 46px; font-size: 20px; }
@media (max-width: 640px) {
  .mh-final .mh-title--s { font-size: clamp(40px, 12vw, 56px); }
  .mh-final .mh-btn { height: 56px; padding: 0 34px; font-size: 18px; }
}

/* the closing panel keeps its size, and its content is centred in it and made large enough to fill it */
.mh-final { min-height: min(88vh, 820px); display: grid; align-items: center; padding: 0; }
.mh-final .mh-in { width: 100%; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px) clamp(70px, 9vw, 130px); }
.mh-final .mh-title--s { font-size: clamp(52px, 8.6vw, 140px); }
.mh-final .mh-sub { margin-top: clamp(24px, 3.4vw, 44px); max-width: 48ch; font-size: clamp(20px, 2.2vw, 32px); }
.mh-final .mh-cta { margin-top: clamp(32px, 4.4vw, 60px); }
.mh-final .mh-btn { height: 72px; padding: 0 56px; font-size: 22px; }
@media (max-width: 640px) {
  .mh-final { min-height: 0; padding: clamp(40px, 10vw, 64px) 0 0; }
  .mh-final .mh-title--s { font-size: clamp(42px, 12.5vw, 60px); }
  .mh-final .mh-btn { height: 58px; padding: 0 38px; font-size: 18px; }
}

/* the opening panel fits one screen: a two-line headline, and a height that allows for the page being scaled up on big screens */
.mh-hero { min-height: min(calc(100vh - var(--pn-h, 88px) - 24px), 820px); }
.mh-hero .mh-in { max-width: 1240px; padding: clamp(36px, 6vh, 84px) clamp(20px, 4vw, 56px) clamp(80px, 12vh, 150px); }
.mh-hero .mh-title { font-size: clamp(40px, 5.6vw, 88px); line-height: 1.02; }
.mh-hero .mh-eyebrow { margin-bottom: clamp(14px, 2.4vh, 24px); }
.mh-hero .mh-sub { margin-top: clamp(16px, 2.6vh, 30px); }
.mh-hero .mh-cta { margin-top: clamp(22px, 3.6vh, 40px); }
@media (min-width: 1680px) { .mh-hero { min-height: min(calc((100vh - var(--pn-h, 96px)) / 1.12 - 24px), 820px); } }
@media (min-width: 2000px) { .mh-hero { min-height: min(calc((100vh - var(--pn-h, 96px)) / 1.3 - 24px), 820px); } }
@media (max-width: 640px) { .mh-hero .mh-title { font-size: clamp(38px, 11vw, 56px); } }

/* the closing panel on the front page: a little less room below its button, and a smaller gap before the footer */
.mh-final { margin-bottom: clamp(20px, 2.5vw, 32px); }
.mh-final .mh-in { padding-bottom: clamp(52px, 5.5vw, 80px); }
