@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");
@font-face { font-family: 'Boing'; font-weight: 700; font-style: normal; font-display: swap;
  src: url("https://6968579.fs1.hubspotusercontent-na1.net/hubfs/6968579/Archive%20-%20Sept%202022/Memrise%20July%202020/fonts/Boing.woff2") format("woff2"); }
/* ===== Memrise beta landing page (v3). Paste into Page settings > Advanced > Head HTML inside a style tag ===== */
.mb, .mb * { box-sizing: border-box; }
.mb { color: #293749; font-family: 'Open Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.mb h1, .mb h2, .mb h3, .mb p, .mb ul, .mb ol { margin: 0; padding: 0; }
.mb a { color: #293749; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.mb-wrap { max-width: 1308px; margin: 0 auto; padding: 0 64px; }
.mb-sec { padding: 96px 0; }
.mb-h1 { font-family: 'Boing', 'Open Sans', sans-serif; font-weight: 700; font-size: 64px; line-height: 1.05; color: #001122; letter-spacing: -0.5px; }
.mb-sub { font-size: 28px; line-height: 1.4; font-weight: 700; color: #001122; margin-top: 16px !important; }
.mb-h2 { font-family: 'Boing', 'Open Sans', sans-serif; font-weight: 700; font-size: 44px; line-height: 1.1; color: #293749; margin-bottom: 16px !important; }
.mb-h3 { font-size: 21px; line-height: 1.3; font-weight: 800; color: #293749; margin-bottom: 8px !important; }
.mb p, .mb li { font-size: 17px; line-height: 1.6; color: #344559; }
.mb p + p { margin-top: 12px; }
.mb-lead { font-size: 19px !important; max-width: 720px; }
/* buttons (homepage .mem-btn) */
.mb-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.mb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border-radius: 16px;
  font: 700 18px/1.2 'Open Sans', sans-serif; text-decoration: none !important; white-space: nowrap; }
.mb-btn--navy { background: #001122; color: #fff !important; box-shadow: 0 4px 0 #000; }
.mb-btn--ghost { background: transparent; color: #001122 !important; box-shadow: inset 0 0 0 2px #001122; }
.mb-btn--yellow { background: #FFBB00; color: #001122 !important; box-shadow: 0 4px 0 #CC9600; }
/* hero: section background image, contain + centre, yellow fill */
.mb-hero { background: #FFBB00 url(https://6968579.fs1.hubspotusercontent-na1.net/hubfs/6968579/new-app-beta-v3/hero-2400x1260.png) no-repeat center center / contain; min-height: 640px; display: flex; align-items: center; padding: 72px 0; }
.mb-hero .mb-wrap { width: 100%; }
.mb-hero-text { max-width: 560px; }
/* two-column */
.mb-2col { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 64px; align-items: center; }
.mb-2col--top { align-items: start; }
.mb-2col--even { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.mb-phone { display: block; width: 280px; height: auto; margin: 0 auto; }
/* icon bullets */
.mb-ilist { list-style: none; margin: 16px 0 !important; display: grid; gap: 12px; }
.mb-ilist li { display: flex; gap: 14px; align-items: flex-start; }
.mb-ico { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: #FFE9A6; color: #001122; display: grid; place-items: center; }
.mb-ilist li > span:last-child { padding-top: 5px; }
.mb-note { display: inline-flex; gap: 10px; align-items: center; background: #FFBB00; color: #001122 !important; font-weight: 700; border-radius: 9999px; padding: 8px 20px 8px 10px; margin-top: 20px !important; }
.mb-note .mb-ico { background: #001122; color: #FFBB00; width: 32px; height: 32px; }
/* callouts */
.mb-callout { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 24px; border-radius: 24px; padding: 36px 40px; }
.mb-callout--warn { background: #FFF1E8; box-shadow: inset 0 0 0 2px #FE7F4B; }
.mb-callout--warn .mb-cico { background: #FE7F4B; color: #fff; }
.mb-cico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.mb-callout .mb-h3 { font-size: 24px; }
.mb-placeholder { border: 3px dashed #536175; border-radius: 24px; padding: 40px; background: #F6F8FB; }
.mb-ph-banner { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 20px; align-items: center; background: repeating-linear-gradient(135deg, #FFE9A6 0 18px, #FFF4CF 18px 36px); border-radius: 16px; padding: 20px 24px; margin-bottom: 32px; }
.mb-ph-banner .mb-cico { width: 56px; height: 56px; background: #001122; color: #FFBB00; }
.mb-ph-title { font: 800 20px/1.3 'Open Sans', sans-serif; color: #001122; letter-spacing: .2px; }
/* step cards */
.mb-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 40px; }
.mb-card { background: #fff; border-radius: 24px; padding: 28px 24px 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,.10); }
.mb-card .mb-phone { margin-top: auto; padding-top: 24px; width: 280px; }
.mb-card--text { padding-bottom: 28px; }
.mb-pill { align-self: flex-start; background: #FFBB00; color: #001122; border-radius: 9999px; font: 700 15px/1.4 'Open Sans', sans-serif; padding: 4px 14px; margin-bottom: 14px; }
.mb-badge { width: 44px; height: 44px; border-radius: 50%; background: #FFBB00; color: #001122; font: 700 24px/44px 'Boing', sans-serif; text-align: center; margin-bottom: 14px; }
.mb-stack { display: grid; gap: 24px; align-content: start; }
.mb-info { background: #344559; border-radius: 24px; padding: 28px; }
.mb-info .mb-h3, .mb-info p { color: #fff; }
.mb-info p { color: #E7EAEF; }
.mb-info .mb-ico { background: #FFBB00; margin-bottom: 14px; width: 44px; height: 44px; }
.mb-wide { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 20px; align-items: start; background: #fff; border-radius: 24px; padding: 28px 32px; margin-top: 24px; box-shadow: 0 15px 40px rgba(0,0,0,.08); }
.mb-wide .mb-ico { width: 44px; height: 44px; }
.mb-wide { grid-template-columns: 44px minmax(0,1fr) !important; }
/* navy section */
.mb-navy { background: #293749; }
.mb-navy .mb-h2 { color: #fff; }
.mb-navy .mb-lead { color: #CCD2DE; }
.mb-navy .mb-card a { color: #293749; }
/* numbered list */
.mb-olist { list-style: none; counter-reset: n; display: grid; gap: 14px; margin: 16px 0 !important; }
.mb-olist li { counter-increment: n; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 14px; }
.mb-olist li::before { content: counter(n); width: 32px; height: 32px; border-radius: 50%; background: #FFBB00; color: #001122; font: 700 17px/32px 'Boing', sans-serif; text-align: center; }
.mb-panel { background: #FFFCF3; border-radius: 24px; padding: 36px; }
.mb-small { font-size: 15px !important; color: #536175 !important; }
/* check grid */
.mb-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 40px; }
.mb-tile { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.mb-tile .mb-ico { width: 44px; height: 44px; margin-bottom: 14px; }
.mb-tile .mb-h3 { font-size: 18px; }
.mb-tile p { font-size: 16px; }
.mb-lead-in { display: block; font-size: 18px; font-weight: 800; color: #293749; margin-bottom: 4px; }
.mb-center { text-align: center; }
.mb-strong { font-weight: 800 !important; color: #293749 !important; font-size: 19px !important; margin-top: 36px !important; }
/* FAQ */
.mb-faqsec { background: #FFBB00; }
.mb-faq { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 24px; margin-top: 32px; align-items: start; }
.mb-faq details { background: #293749; border-radius: 16px; box-shadow: 0 2px 0 #001122; }
.mb-faq summary { list-style: none; cursor: pointer; padding: 16px 56px 16px 22px; position: relative; font: 700 17px/1.4 'Open Sans', sans-serif; color: #fff; }
.mb-faq summary::-webkit-details-marker { display: none; }
.mb-faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); }
.mb-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.mb-faq details p { color: #E7EAEF; padding: 0 22px 20px; font-size: 16px; }
/* CTA band */
.mb-cta { background: #293749; padding: 72px 0; text-align: center; }
.mb-cta .mb-h2 { color: #fff; margin: 0 !important; }
.mb-cta .mb-btns { justify-content: center; }
.mb-cta .mb-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 2px #fff; }

@media (max-width: 1199px) {
  .mb-h1 { font-size: 54px; }
  .mb-hero-text { max-width: 46%; }
}
@media (max-width: 1023px) {
  .mb-steps, .mb-grid3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mb-h1 { font-size: 44px; }
  .mb-sub { font-size: 22px; }
  .mb-hero-text { max-width: 44%; }
  .mb-hero .mb-btn { padding: 0 20px; font-size: 16px; }
}
@media (max-width: 767px) {
  .mb-wrap { padding: 0 24px; }
  .mb-sec { padding: 56px 0; }
  .mb-h1 { font-size: 38px; }
  .mb-hero-text { max-width: none; }
  .mb-sub { font-size: 20px; margin-top: 10px !important; }
  .mb-h2 { font-size: 32px; }
  .mb-h3 { font-size: 19px; }
  .mb p, .mb li { font-size: 16px; }
  .mb-lead { font-size: 17px !important; }
  .mb-hero { background-image: url(https://6968579.fs1.hubspotusercontent-na1.net/hubfs/6968579/new-app-beta-v3/hero-mobile-1080x1920.png); background-position: center bottom; background-size: 100% auto;
             min-height: 177.8vw; align-items: flex-start; padding: 36px 0 0; }
  .mb-btns { gap: 12px; margin-top: 22px; }
  .mb-hero .mb-btn { padding: 0 18px; font-size: 16px; min-height: 48px; }
  .mb-2col, .mb-2col--even { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .mb-note { border-radius: 20px; }
  .mb-tile--ico { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; padding: 20px; }
  .mb-tile--ico .mb-ico { margin: 0; }
  .mb-phone, .mb-card .mb-phone { width: 220px; }
  .mb-steps, .mb-grid3, .mb-faq { grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 28px; }
  .mb-callout { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 24px; }
  .mb-callout .mb-cico { width: 52px; height: 52px; }
  .mb-callout .mb-h3 { font-size: 20px; }
  .mb-placeholder { padding: 20px; }
  .mb-ph-banner { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .mb-wide { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 24px; }
  .mb-panel { padding: 24px; }
  .mb-btn { white-space: normal; text-align: center; }
  .mb-cta { padding: 56px 0; }
}

/* ===== HubSpot drag-and-drop glue: put these classes in each section's (row's) CSS class field ===== */
/* content width: HubSpot's own section container replaces .mb-wrap */
.mb-sec > .row-fluid, .mb-hero > .row-fluid, .mb-cta > .row-fluid, .mb-faqsec > .row-fluid { max-width: 1180px; margin: 0 auto; }
/* equal-height cards in a row of columns */
.mb-cards > .row-fluid, .mb-cards .row-fluid { display: flex; flex-wrap: wrap; }
.mb-cards .dnd-column { display: flex; flex-direction: column; }
.mb-cards .dnd-column > .row-fluid-wrapper, .mb-cards .dnd-column .dnd-module, .mb-cards .dnd-column .hs_cos_wrapper_type_rich_text { flex: 1 1 auto; display: flex; flex-direction: column; }
.mb-cards .mb-card, .mb-cards .mb-stack { flex: 1 1 auto; }
@media (max-width: 767px) { .mb-cards .dnd-column { margin-bottom: 16px; } }

/* ===== v3 additions (Sandra): phone screenshots capped at 280px desktop / 220px mobile, centred, height auto ===== */
.mb img.mb-phone, .mb .mb-card img.mb-phone { display: block; width: 280px; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .mb img.mb-phone, .mb .mb-card img.mb-phone { width: 220px; max-width: 100%; height: auto; } }
/* section backgrounds (set via CSS classes because the section wrapper carries the class) */
.mb-bg-cream { background: #FFFCF3; } .mb-bg-white { background: #fff; } .mb-bg-grey { background: #EEF1F6; }
/* the wrapper is HubSpot's dnd-section; keep inner modules full width and remove default gutters */
.dnd-section.mb > .row-fluid { padding-left: 24px; padding-right: 24px; }
.dnd-section.mb .mb-2col, .dnd-section.mb .mb-card { max-width: 100%; }
