/* =====================================================================
   CVfolder brand theme "m2l" (2026-11-27): the meet2learn.com visual system.
   ONE place for every design token: colors, font, type scale, radius, shadow, spacing.
   Applied to a page by adding the body class "theme-m2l" (index.php sets it through $SiteTheme = 'm2l').
   It also re-points front.css's own variables (--ink, --accent, --font-body...) so the shared
   header, footer and buttons follow the theme on those pages only. Delete the class to undo.
   ===================================================================== */

/* Poppins, self-hosted (OFL, /vendor/fonts/poppins/OFL.txt): 400, 600, 700; latin + latin-ext */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(/vendor/fonts/poppins/poppins-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(/vendor/fonts/poppins/poppins-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/vendor/fonts/poppins/poppins-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/vendor/fonts/poppins/poppins-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/vendor/fonts/poppins/poppins-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/vendor/fonts/poppins/poppins-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
body.theme-m2l {
  /* colors: Ink, Frost, Cobalt (the single accent), white, muted, hairline; red = errors only, green = success only */
  --m-ink: #132345;
  --m-ink-2: #2a3a5e;            /* body text (a shade of Ink) */
  --m-frost: #f4f7ff;
  --m-frost-2: #e9eefb;          /* a deeper Frost for chips and hovers */
  --m-white: #ffffff;
  --m-cobalt: #3158d4;           /* white on it 6.0:1; it on white 6.0:1 */
  --m-cobalt-hover: #2546b3;
  --m-cobalt-soft: #e8eeff;      /* icon tiles */
  --m-cobalt-light: #a9bdff;     /* links and focus on Ink (7.6:1) */
  --m-muted: #5b6888;            /* 5.6:1 on white, 5.2:1 on Frost */
  --m-on-ink: #ffffff;
  --m-on-ink-muted: #bcc6df;     /* 9:1 on Ink */
  --m-line: rgba(19, 35, 69, .10);
  --m-line-2: rgba(19, 35, 69, .18);
  --m-line-on-ink: rgba(255, 255, 255, .14);
  --m-red: #dc2626;
  --m-green: #15803d;

  /* font */
  --m-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* type scale (the only font sizes used on themed pages) */
  --fs-display: clamp(1.75rem, 1.45rem + 1vw, 2rem);    /* 32px max (was 44; 2026-11-27, user): hero headline */
  --fs-hero: clamp(1.75rem, 1.45rem + 1vw, 2rem);       /* 32px max (was 36): page titles (blog, contact) */
  --fs-title: clamp(1.75rem, 1.45rem + 1vw, 2rem);      /* 32px max (was 30): section titles */
  --fs-subtitle: 1.125rem;        /* card and article sub-headings (18px) */
  --fs-heading: 15px;
  --fs-body: 15px;
  --fs-small: 15px;                                     /* was 13px; 2026-11-27, user: 15px everywhere instead of 14/16 */
  --fs-micro: 11px;
  --lh-body: 1.7;
  --lh-tight: 1.2;

  /* shape and depth */
  --m-radius: 20px;
  --m-radius-lg: 24px;
  --m-radius-sm: 12px;
  --m-shadow: 0 1px 2px rgba(19, 35, 69, .05), 0 10px 30px -12px rgba(19, 35, 69, .16);
  --m-shadow-lg: 0 2px 6px rgba(19, 35, 69, .05), 0 28px 60px -24px rgba(19, 35, 69, .28);

  /* layout */
  --m-container: 1200px;
  --m-section-y: 56px;           /* space above and below each section (was 96px; 2026-11-27, user: "huge spacing") */
  --m-tap: 44px;

  /* re-point front.css's variables, so the shared header, footer, buttons and focus rings follow the theme */
  --paper: var(--m-frost); --paper-2: var(--m-frost-2); --card: var(--m-white);
  --ink: var(--m-ink); --ink-2: var(--m-ink-2); --text: var(--m-ink-2); --muted: var(--m-muted);
  --line: var(--m-line); --line-2: var(--m-line-2);
  --accent: var(--m-cobalt); --accent-rgb: 49, 88, 212; --accent-ink: var(--m-cobalt-hover); --accent-strong: var(--m-cobalt); --accent-soft: var(--m-cobalt-soft);
  --on-ink: var(--m-on-ink); --on-ink-muted: var(--m-on-ink-muted);
  --font-body: var(--m-font); --font-display: var(--m-font); --font-mono: var(--m-font);
  --radius: var(--m-radius); --radius-lg: var(--m-radius-lg); --shadow: var(--m-shadow); --shadow-lg: var(--m-shadow-lg);
  --bs-body-font-family: var(--m-font); --bs-body-color: var(--m-ink-2); --bs-body-bg: var(--m-frost);
  --bs-link-color: var(--m-cobalt); --bs-link-color-rgb: 49, 88, 212; --bs-link-hover-color: var(--m-cobalt-hover);
  --bs-primary: var(--m-cobalt); --bs-primary-rgb: 49, 88, 212; --bs-border-color: var(--m-line);

  font-family: var(--m-font); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--m-ink-2); background: var(--m-frost);
  font-feature-settings: normal;
}
@media (max-width: 767.98px) { body.theme-m2l { --m-section-y: 40px; } }

/* ---------- Base ---------- */
.theme-m2l h1, .theme-m2l h2, .theme-m2l h3, .theme-m2l h4, .theme-m2l h5, .theme-m2l h6 { font-family: var(--m-font); color: var(--m-ink); letter-spacing: 0; font-style: normal; }
.theme-m2l em, .theme-m2l i:not(.bi) { font-style: normal; color: inherit; font-family: inherit; }
.theme-m2l a { color: var(--m-cobalt); }
.theme-m2l a:hover { color: var(--m-cobalt-hover); }
.theme-m2l ::selection { background: rgba(49, 88, 212, .18); color: var(--m-ink); }
.theme-m2l .container { max-width: calc(var(--m-container) + 2rem); }
.theme-m2l :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--m-cobalt); outline-offset: 3px; box-shadow: none; }

/* ---------- Buttons: one Cobalt primary per section, white secondaries ---------- */
.theme-m2l .btn { font-family: var(--m-font); font-weight: 600; font-size: var(--fs-body); letter-spacing: 0; border-radius: var(--m-radius-sm); min-height: var(--m-tap); padding: .6rem 1.3rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.theme-m2l .btn-lg { padding: .75rem 1.6rem; font-size: var(--fs-body); border-radius: 14px; min-height: 50px; }
.theme-m2l .btn-sm { padding: .45rem 1rem; font-size: var(--fs-small); min-height: 40px; }
.theme-m2l .btn:hover { transform: translateY(-2px); }
.theme-m2l .btn-brand, .theme-m2l .btn-accent, .theme-m2l .btn-primary { background: var(--m-cobalt); border: 1px solid var(--m-cobalt); color: #fff; }
.theme-m2l .btn-brand:hover, .theme-m2l .btn-brand:focus, .theme-m2l .btn-brand:active,
.theme-m2l .btn-accent:hover, .theme-m2l .btn-accent:focus, .theme-m2l .btn-primary:hover, .theme-m2l .btn-primary:focus { background: var(--m-cobalt-hover); border-color: var(--m-cobalt-hover); color: #fff; box-shadow: 0 8px 18px -8px rgba(49, 88, 212, .55); }
.theme-m2l .btn-ghost, .theme-m2l .btn-white { background: var(--m-white); color: var(--m-ink); border: 1px solid var(--m-line-2); }
.theme-m2l .btn-ghost:hover, .theme-m2l .btn-ghost.active, .theme-m2l .btn-white:hover { background: var(--m-white); color: var(--m-ink); border-color: var(--m-ink); box-shadow: var(--m-shadow); }
@media (prefers-reduced-motion: reduce) { .theme-m2l .btn:hover { transform: none; } }

/* text link with an arrow */
.theme-m2l .m-link { display: inline-flex; align-items: center; gap: .35rem; min-height: var(--m-tap); font-weight: 600; color: var(--m-cobalt); text-decoration: none; border: 0; padding: 0; }
.theme-m2l .m-link:hover { color: var(--m-cobalt-hover); text-decoration: underline; text-underline-offset: .2em; }
.theme-m2l .m-link .bi { transition: transform .18s ease; }
.theme-m2l .m-link:hover .bi { transform: translateX(3px); }

/* card */
.theme-m2l .m-card { background: var(--m-white); border: 1px solid var(--m-line); border-radius: var(--m-radius); box-shadow: var(--m-shadow); }

/* browser frame around screenshots */
.theme-m2l .browser { border-radius: 16px; border: 1px solid var(--m-line); box-shadow: var(--m-shadow-lg); background: var(--m-white); }
.theme-m2l .browser-bar { background: var(--m-frost); border-bottom: 1px solid var(--m-line); }
.theme-m2l .browser-bar > i { background: #cfd7ea; }
.theme-m2l .browser-url { font-family: var(--m-font); font-size: var(--fs-micro); color: var(--m-muted); border-color: var(--m-line); }

/* ---------- Shared header: dark Ink ---------- */
.theme-m2l .cvf-nav { background: var(--m-ink); border-bottom: 1px solid var(--m-line-on-ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.theme-m2l .cvf-nav.is-scrolled { background: var(--m-ink); border-bottom-color: var(--m-line-on-ink); box-shadow: 0 6px 20px -12px rgba(19, 35, 69, .6); }
.theme-m2l .cvf-nav .navbar { padding: .7rem 0; }
.theme-m2l .cvf-brand, .theme-m2l .cvf-brand:hover { color: var(--m-on-ink); }
.theme-m2l .cvf-brand .wm { font-family: var(--m-font); font-weight: 700; font-size: 1.45rem; letter-spacing: 0; -webkit-text-stroke: 0; }
.theme-m2l .cvf-brand .wm i { font-style: normal; font-weight: 400; color: inherit; }
.theme-m2l .cvf-brand-mark { width: 34px; height: 34px; }
.theme-m2l .cvf-nav .nav-link { color: var(--m-on-ink-muted); font-size: var(--fs-body); font-weight: 400; min-height: var(--m-tap); display: flex; align-items: center; }
.theme-m2l .cvf-nav .nav-link:hover, .theme-m2l .cvf-nav .nav-link.active { color: var(--m-on-ink); }
.theme-m2l .cvf-nav .nav-link::after { background: var(--m-cobalt-light); }
.theme-m2l .cvf-nav .navbar-toggler { color: var(--m-on-ink); border-color: var(--m-line-on-ink); min-width: var(--m-tap); min-height: var(--m-tap); }
.theme-m2l .cvf-nav .nav-login { color: var(--m-on-ink); font-weight: 600; text-decoration: none; padding: 0 .8rem; min-height: var(--m-tap); display: inline-flex; align-items: center; border-radius: var(--m-radius-sm); }
.theme-m2l .cvf-nav .nav-login:hover { color: var(--m-on-ink); text-decoration: underline; text-underline-offset: .25em; }
.theme-m2l .cvf-nav .btn-ghost { background: transparent; color: var(--m-on-ink); border-color: var(--m-line-on-ink); }
.theme-m2l .cvf-nav .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: var(--m-on-ink); border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.theme-m2l .cvf-nav :is(a, button):focus-visible, .theme-m2l .cvf-footer :is(a, button):focus-visible { outline-color: var(--m-cobalt-light); }
@media (max-width: 1199.98px) {
  .theme-m2l .cvf-nav .navbar-collapse { background: var(--m-ink); border-color: var(--m-line-on-ink); }
  .theme-m2l .cvf-nav .nav-link { font-size: var(--fs-body); border-bottom-color: var(--m-line-on-ink); }
  .theme-m2l .cvf-nav .nav-login { justify-content: center; border: 1px solid var(--m-line-on-ink); }
}

/* ---------- Shared footer: dark Ink ---------- */
.theme-m2l .cvf-footer { background: var(--m-ink); color: var(--m-on-ink-muted); font-size: var(--fs-small); }
.theme-m2l .cvf-footer h6 { font-family: var(--m-font); font-size: var(--fs-micro); font-weight: 600; letter-spacing: .12em; color: var(--m-on-ink); }
.theme-m2l .cvf-footer li { font-size: var(--fs-small); }
.theme-m2l .cvf-footer a { color: var(--m-on-ink-muted); }
.theme-m2l .cvf-footer a:hover { color: var(--m-on-ink); }
.theme-m2l .cvf-footer .footer-tag { font-size: var(--fs-small); color: var(--m-on-ink-muted); }
.theme-m2l .cvf-footer .footer-bottom { font-family: var(--m-font); font-size: var(--fs-micro); letter-spacing: .08em; border-top-color: var(--m-line-on-ink); }
.theme-m2l .back-top { background: var(--m-ink); color: #fff; font-family: var(--m-font); font-size: var(--fs-small); }
.theme-m2l .back-top:hover { background: var(--m-cobalt); color: #fff; }

/* ---------- Top bar sized like the reference (2026-11-27, user request) ----------
   about 68px tall, semi-bold 15px menu links in soft white (white when current or hovered, no underline),
   semi-bold "Log in", a 44px Cobalt button with a soft glow, a smaller logo and wordmark */
.theme-m2l .cvf-nav .navbar { padding: 12px 0; min-height: 68px; }
.theme-m2l .cvf-brand { gap: .55rem; }
.theme-m2l .cvf-brand-mark { width: 30px; height: 30px; }
.theme-m2l .cvf-brand .wm { font-size: 1.2rem; }
.theme-m2l .cvf-nav .navbar-nav { gap: .15rem; }
.theme-m2l .cvf-nav .nav-link { font-size: var(--fs-body); font-weight: 600; color: rgba(255, 255, 255, .82); padding: .45rem .6rem !important; letter-spacing: 0; }
.theme-m2l .cvf-nav .nav-link:hover, .theme-m2l .cvf-nav .nav-link.active { color: #fff; }
.theme-m2l .cvf-nav .nav-link::after { display: none; }
.theme-m2l .cvf-nav .nav-actions { gap: .75rem !important; }
.theme-m2l .cvf-nav .nav-login { font-size: var(--fs-body); font-weight: 600; color: rgba(255, 255, 255, .9); padding: 0 .5rem; }
.theme-m2l .cvf-nav .nav-actions .btn-brand { height: 44px; min-height: 44px; padding: 0 1.35rem; border-radius: 10px; font-size: var(--fs-body); font-weight: 600; box-shadow: 0 8px 22px -8px rgba(49, 88, 212, .85); }
.theme-m2l .cvf-nav .nav-actions .btn-brand:hover { box-shadow: 0 10px 26px -8px rgba(49, 88, 212, .95); }
@media (max-width: 1199.98px) {
  .theme-m2l .cvf-nav .nav-link { padding: .7rem 0 !important; }
  .theme-m2l .cvf-nav .nav-login { justify-content: center; padding: 0 1rem; }
  .theme-m2l .cvf-nav .nav-actions .btn-brand { width: 100%; }
}
