/* Ovium marketing website — light "exercise book" theme. Developed & Powered by Marian Anbu Juwan */
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --paper: #f7f9fd;          /* the page */
  --sheet: #ffffff;          /* the notebook sheet */
  --ink: #142152;            /* fountain-pen navy: headings */
  --text: #2b3553;
  --muted: #5d6987;
  --blue: #2456e6;           /* Ovium blue */
  --blue-soft: #e7eefe;
  --bus: #f5b301;            /* school-bus yellow */
  --bus-soft: #fff4d1;
  --board: #1f5144;          /* chalkboard green */
  --margin: #e5484d;         /* the red margin line */
  --rule: #e1e8f6;           /* ruled lines */
  --line: #e3e8f3;
  --radius-s: 10px; --radius-m: 16px; --radius-l: 26px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body.mk { margin: 0; background: var(--paper); color: var(--text); font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1.07rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.mk h1, .mk h2, .mk h3, .mk .mk-h1 { font-family: "Lexend", sans-serif; color: var(--ink); letter-spacing: -.02em; font-weight: 600; }
.mk h1, .mk .mk-h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); line-height: 1.05; margin: 0 0 1rem; }
.mk h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.12; margin: 0 0 .8rem; }
.mk h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .35rem; }
:where(.mk) a { color: var(--blue); }
.mk-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mk-narrow { max-width: 780px; }
.mk-lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.mk-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; }
.mk-skip:focus { left: 8px; }
.mk :focus-visible { outline: 3px solid var(--bus); outline-offset: 2px; border-radius: 6px; }

/* buttons */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: "Lexend", sans-serif; font-weight: 500; font-size: .98rem; padding: .66rem 1.2rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap; }
.mk-btn-lg { padding: .85rem 1.55rem; font-size: 1.05rem; }
.mk-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 0 -1px #183ca8; }
.mk-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 0 -1px #183ca8; }
.mk-btn-primary:active { transform: translateY(2px); box-shadow: 0 3px 0 -1px #183ca8; }
.mk-btn-ghost { background: var(--sheet); color: var(--ink); border-color: var(--line); }
.mk-btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.mk-link { font-family: "Lexend", sans-serif; font-weight: 500; text-decoration: none; background: linear-gradient(var(--bus), var(--bus)) 0 100% / 100% 3px no-repeat; padding-bottom: 2px; color: var(--ink); transition: background-size .25s var(--ease); }
.mk-link:hover { background-size: 100% 100%; color: var(--ink); }
.mk-tab { display: inline-block; font-family: "Lexend", sans-serif; font-size: .9rem; font-weight: 500; color: var(--ink); background: var(--bus-soft); border: 1px solid #f3dd94; padding: .22rem .75rem .22rem .65rem; border-radius: 6px 14px 14px 6px; margin-bottom: 1rem; }

/* scroll progress, announcement, header */
.mk-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.mk-progress span { display: block; height: 100%; width: 0; background: var(--bus); transition: width .1s linear; }
.mk-announce { background: var(--ink); color: #dfe6ff; font-size: .93rem; }
.mk-announce .mk-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; padding-top: .5rem; padding-bottom: .5rem; text-align: center; }
.mk-announce a { color: #ffd45a; font-weight: 600; }
.mk-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.mk-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(20,33,82,.06); }
.mk-header-in { display: flex; align-items: center; gap: 1.2rem; height: 74px; transition: height .3s var(--ease); }
.mk-header.is-stuck .mk-header-in { height: 62px; }
.mk-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.mk-brand svg { width: 38px; height: 38px; }
.mk-brand strong { display: block; font-family: "Lexend", sans-serif; font-size: 1.25rem; line-height: 1; color: var(--ink); }
.mk-brand small { display: block; font-size: .76rem; color: var(--muted); }
.mk-nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.mk-nav > a { position: relative; color: var(--text); text-decoration: none; font-weight: 600; padding: .45rem .75rem; border-radius: 8px; }
.mk-nav > a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 3px; border-radius: 2px; background: var(--bus); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.mk-nav > a:hover::after, .mk-nav > a.on::after { transform: scaleX(1); }
.mk-nav > a.on { color: var(--ink); }
.mk-nav-actions { display: flex; gap: .5rem; margin-left: .8rem; }
.mk-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mk-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.mk-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mk-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero: an exercise-book page */
.mk-hero { position: relative; padding: 2.2rem 0 3.2rem; background:
    linear-gradient(90deg, transparent calc(50% - var(--wrap) / 2 + 30px), var(--margin) calc(50% - var(--wrap) / 2 + 30px), var(--margin) calc(50% - var(--wrap) / 2 + 32px), transparent calc(50% - var(--wrap) / 2 + 32px)),
    repeating-linear-gradient(180deg, transparent 0 35px, var(--rule) 35px 36px), var(--sheet); border-bottom: 1px solid var(--line); overflow: hidden; }
.mk-hero::before { content: ""; position: absolute; left: max(8px, calc(50% - var(--wrap) / 2 + 6px)); top: 0; bottom: 0; width: 14px;
  background: radial-gradient(circle at 7px 7px, var(--paper) 6px, #d9e0ee 6.5px, transparent 7.5px) 0 40px / 14px 120px repeat-y; opacity: .9; }
.mk-hero-in { position: relative; }
.mk-slides { position: relative; display: grid; }
.mk-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 2.4rem 0 1rem 2.6rem; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s .6s; }
.mk-slide.is-on { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.mk-slide-text > * { opacity: 0; transform: translateY(22px); }
.mk-slide.is-on .mk-slide-text > * { animation: mkRise .8s var(--ease) forwards; }
.mk-slide.is-on .mk-slide-text > :nth-child(2) { animation-delay: .08s; }
.mk-slide.is-on .mk-slide-text > :nth-child(3) { animation-delay: .18s; }
.mk-slide.is-on .mk-slide-text > :nth-child(4) { animation-delay: .28s; }
.mk-slide-visual { opacity: 0; transform: translateX(40px) rotate(2deg); }
.mk-slide.is-on .mk-slide-visual { animation: mkVisual 1s var(--ease) .1s forwards; }
@keyframes mkRise { to { opacity: 1; transform: none; } }
@keyframes mkVisual { to { opacity: 1; transform: none; } }
.mk-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.mk-slider-ui { display: flex; align-items: center; gap: .5rem; padding-left: 2.6rem; margin-top: 1.2rem; }
.mk-dots { display: flex; gap: .45rem; margin-right: .6rem; }
.mk-dots button { width: 56px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.mk-dots span { display: block; width: 100%; height: 5px; border-radius: 4px; background: #dbe2f1; overflow: hidden; position: relative; }
.mk-dots span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.mk-dots button[aria-selected="true"] span::after { animation: mkFill var(--slide-ms, 6000ms) linear forwards; }
.mk-slides.is-paused ~ .mk-slider-ui .mk-dots button[aria-selected="true"] span::after, .mk-hero.is-paused .mk-dots button[aria-selected="true"] span::after { animation-play-state: paused; }
.mk-dots button.done span::after { transform: scaleX(1); }
@keyframes mkFill { to { transform: scaleX(1); } }
.mk-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s; }
.mk-arrow:hover { background: var(--ink); color: #fff; }

/* hero pictures */
.mkv { position: relative; min-height: 380px; display: grid; place-items: center; --acc: var(--blue); --acc-soft: var(--blue-soft); }
.theme-saffron .mkv { --acc: #e08a00; --acc-soft: #fff1d6; } .theme-violet .mkv { --acc: #6a4bd8; --acc-soft: #efe9ff; }
.theme-teal .mkv { --acc: #0d8b8b; --acc-soft: #dcf4f2; } .theme-rose .mkv { --acc: #d6336c; --acc-soft: #ffe3ec; }
.theme-saffron .mk-tab { background: #fff1d6; } .theme-violet .mk-tab { background: #efe9ff; border-color: #dccfff; } .theme-teal .mk-tab { background: #dcf4f2; border-color: #b6e4df; } .theme-rose .mk-tab { background: #ffe3ec; border-color: #ffc5d6; }
.mkv-image { margin: 0; padding: 12px; background: #fff; border-radius: 6px; box-shadow: 0 18px 50px rgba(20,33,82,.16); transform: rotate(-1.5deg); }
.mkv-image img { display: block; max-width: 100%; max-height: 420px; border-radius: 3px; object-fit: cover; }
.mkv-tape { position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(245,179,1,.55); }
.mkv-window { width: min(460px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 24px 60px rgba(20,33,82,.14); overflow: hidden; transform: rotate(1deg); }
.mkv-bar { display: flex; align-items: center; gap: 6px; padding: .6rem .9rem; background: #f3f5fb; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.mkv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4dbe9; } .mkv-bar span { margin-left: .5rem; }
.mkv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding: .9rem; }
.mkv-tiles div { background: var(--acc-soft); border-radius: 10px; padding: .55rem .7rem; }
.mkv-tiles small, .mkv-card small { display: block; font-size: .72rem; color: var(--muted); }
.mkv-tiles strong { font-family: "Lexend", sans-serif; color: var(--ink); font-size: 1.15rem; }
.mkv-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 1rem .6rem; }
.mkv-chart span { flex: 1; height: var(--h); background: linear-gradient(var(--acc), color-mix(in srgb, var(--acc) 55%, #fff)); border-radius: 6px 6px 2px 2px; transform-origin: bottom; transform: scaleY(0); }
.is-on .mkv-chart span { animation: mkGrow .9s var(--ease) forwards; }
.is-on .mkv-chart span:nth-child(2) { animation-delay: .06s } .is-on .mkv-chart span:nth-child(3) { animation-delay: .12s } .is-on .mkv-chart span:nth-child(4) { animation-delay: .18s } .is-on .mkv-chart span:nth-child(5) { animation-delay: .24s } .is-on .mkv-chart span:nth-child(6) { animation-delay: .3s } .is-on .mkv-chart span:nth-child(7) { animation-delay: .36s }
@keyframes mkGrow { to { transform: scaleY(1); } }
.mkv-list { padding: .3rem 1rem 1rem; font-size: .88rem; }
.mkv-list div { display: flex; gap: .55rem; align-items: center; padding: .4rem 0; border-top: 1px dashed var(--line); }
.mkv-list i { color: var(--acc); }
.mkv-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: 0 16px 40px rgba(20,33,82,.13); max-width: 240px; font-size: .85rem; }
.mkv-card strong { display: block; font-family: "Lexend", sans-serif; color: var(--ink); font-size: 1.05rem; }
.mkv-card span { color: var(--muted); font-size: .8rem; }
.mkv-card-a { top: 6%; right: -2%; animation: mkFloat 6s ease-in-out infinite; }
.mkv-card-b { bottom: 4%; left: -4%; animation: mkFloat 7s ease-in-out .8s infinite; }
.mkv-up { color: #12855a !important; font-weight: 600; }
@keyframes mkFloat { 50% { transform: translateY(-10px); } }
.mkv-phone { width: 230px; background: #fff; border: 10px solid #1b2547; border-radius: 34px; padding: .8rem .8rem 1rem; box-shadow: 0 26px 60px rgba(20,33,82,.22); position: relative; font-size: .86rem; }
.mkv-phone::before { content: ""; display: block; width: 70px; height: 6px; border-radius: 4px; background: #1b2547; margin: -4px auto 10px; }
.mkv-phone-top { display: flex; justify-content: space-between; font-family: "Lexend", sans-serif; font-weight: 600; color: var(--ink); margin-bottom: .6rem; }
.mkv-due { background: var(--acc-soft); border-radius: 14px; padding: .8rem; }
.mkv-due strong { display: block; font-family: "Lexend", sans-serif; font-size: 1.6rem; color: var(--ink); }
.mkv-due span, .mkv-due small { color: var(--muted); font-size: .78rem; }
.mkv-pay { margin-top: .7rem; background: var(--acc); color: #fff; border-radius: 12px; padding: .6rem; text-align: center; font-weight: 600; }
.mkv-upi { background: #fff; color: var(--acc); border-radius: 5px; padding: 0 .3rem; font-size: .72rem; margin-right: .2rem; }
.mkv-done { display: flex; gap: .4rem; align-items: center; margin-top: .7rem; color: #12855a; font-size: .8rem; opacity: 0; }
.is-on .mkv-done { animation: mkRise .6s var(--ease) 1.1s forwards; }
.mkv-done i { width: 22px; height: 22px; border-radius: 50%; background: #12855a; color: #fff; display: grid; place-items: center; }
.mkv-mobile { grid-template-columns: auto auto; gap: 1.2rem; }
.mkv-mobile .mkv-phone { width: 200px; } .mkv-mobile .mkv-phone-2 { transform: translateY(36px); }
.mkv-row { display: flex; justify-content: space-between; padding: .38rem .2rem; border-bottom: 1px solid #eef1f8; }
.mkv-row b { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: .75rem; color: #fff; }
.st-P { background: #12855a; } .st-A { background: var(--margin); } .st-L { background: var(--bus); color: var(--ink) !important; }
.mkv-map { position: relative; height: 170px; border-radius: 14px; background: #eef4ec; overflow: hidden; }
.mkv-map svg, .mkv-mapbig svg { width: 100%; height: 100%; }
.mkv-route { fill: none; stroke: var(--acc); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 10; }
.mkv-stop { fill: #fff; stroke: var(--acc); stroke-width: 3; }
.mkv-busdot { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--bus); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(245,179,1,.3); offset-path: path("M10 130 C 40 90, 70 120, 90 80 S 140 40, 150 15"); offset-rotate: 0deg; animation: mkDrive 7s ease-in-out infinite alternate; top: 0; left: 0; margin: -15px 0 0 -15px; }
.mkv-busdot.big { offset-path: path("M20 230 C 90 150, 140 220, 200 140 S 330 80, 380 30"); width: 40px; height: 40px; margin: -20px 0 0 -20px; font-size: 1.2rem; }
@keyframes mkDrive { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.mkv-near { margin-top: .6rem; font-size: .78rem; color: var(--ink); background: var(--bus-soft); border-radius: 10px; padding: .45rem .6rem; }
.mkv-mapbig { position: relative; width: min(460px, 100%); aspect-ratio: 400 / 260; background: #eef4ec; border-radius: var(--radius-l); box-shadow: 0 24px 60px rgba(20,33,82,.14); overflow: hidden; }

/* sections */
.mk-section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.mk-section.pt-0 { padding-top: 0; }
.mk-center-head { text-align: center; max-width: 760px; margin: 0 auto 2.6rem; }
.mk-center-head .mk-lede { margin-left: auto; margin-right: auto; }
.mk-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.mk-split-head { position: sticky; top: 110px; }

.mk-stats { background: var(--ink); color: #fff; }
.mk-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.mk-stats-row > div { padding: 1.7rem 1.2rem; border-left: 1px dashed rgba(255,255,255,.18); }
.mk-stats-row > div:first-child { border-left: 0; }
.mk-stats dt { font-family: "Lexend", sans-serif; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 600; color: #fff; line-height: 1.1; }
.mk-stats dd { margin: 0; color: #b8c4ec; }

.mk-highlights { list-style: none; margin: 0; padding: 0; }
.mk-highlights li { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.mk-highlights li:first-child { padding-top: 0; }
.mk-hl-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: var(--ink); background: var(--bus-soft); transition: transform .3s var(--ease), background .3s; }
.mk-highlights li:hover .mk-hl-icon { transform: rotate(-8deg) scale(1.06); background: var(--bus); }
.mk-highlights p { margin: 0; color: var(--muted); }

.mk-modules { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.mk-marquee { display: grid; gap: .7rem; margin: 0 0 3rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mk-marquee-track { display: flex; gap: .7rem; width: max-content; animation: mkMarquee 70s linear infinite; }
.mk-marquee-track.rev { animation-direction: reverse; animation-duration: 80s; }
.mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
.mk-marquee span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; color: var(--ink); white-space: nowrap; }
.mk-marquee i { color: var(--blue); }
@keyframes mkMarquee { to { transform: translateX(-50%); } }
.mk-areas { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; }
.mk-area-tabs { display: flex; flex-direction: column; gap: .25rem; }
.mk-area-tabs button { display: flex; align-items: center; gap: .65rem; text-align: left; border: 0; background: none; padding: .7rem .9rem; border-radius: 12px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.mk-area-tabs button small { margin-left: auto; font-weight: 600; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; }
.mk-area-tabs button:hover { background: var(--paper); color: var(--ink); }
.mk-area-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.mk-area-tabs button[aria-selected="true"] small { background: rgba(255,255,255,.15); color: #fff; }
.mk-area-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; align-content: start; }
.mk-area-panel:not([hidden]) .mk-mod { animation: mkRise .5s var(--ease) both; }
.mk-area-panel .mk-mod:nth-child(2) { animation-delay: .04s } .mk-area-panel .mk-mod:nth-child(3) { animation-delay: .08s } .mk-area-panel .mk-mod:nth-child(4) { animation-delay: .12s } .mk-area-panel .mk-mod:nth-child(n+5) { animation-delay: .16s }
.mk-mod { display: flex; gap: .85rem; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.mk-mod > i { color: var(--blue); font-size: 1.25rem; margin-top: .1rem; }
.mk-mod h3 { font-size: 1.02rem; } .mk-mod p { margin: 0; color: var(--muted); font-size: .96rem; }

.mk-roles-title { max-width: 22ch; }
.mk-roles-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2rem; border-top: 2px solid var(--ink); }
.mk-role { padding: 1.4rem 1.4rem 0 0; }
.mk-role + .mk-role { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.mk-role > i { font-size: 1.6rem; color: var(--blue); }
.mk-role p { color: var(--muted); margin: 0; }

/* plans */
.mk-plans-sec { background: linear-gradient(180deg, var(--paper), #eef2fb); }
.mk-cycle { position: relative; display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: .4rem; }
.mk-cycle button { position: relative; z-index: 1; border: 0; background: none; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .25s; }
.mk-cycle button small { color: #12855a; font-weight: 700; }
.mk-cycle button[aria-checked="true"] { color: #fff; } .mk-cycle button[aria-checked="true"] small { color: #c8f2dd; }
.mk-cycle-knob { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); transition: transform .35s var(--ease), width .35s var(--ease); }
.mk-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.4rem; align-items: start; }
.mk-plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.8rem 1.6rem 1.4rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mk-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(20,33,82,.1); }
.mk-plan.is-best { border: 2px solid var(--ink); box-shadow: 0 18px 0 -8px var(--bus); }
.mk-plan-flag { position: absolute; top: -14px; left: 1.6rem; background: var(--bus); color: var(--ink); font-weight: 700; font-size: .82rem; padding: .25rem .8rem; border-radius: 999px; }
.mk-plan h3 { font-size: 1.4rem; }
.mk-plan-tag { color: var(--muted); margin: 0 0 1rem; min-height: 1.6em; }
.mk-price { font-family: "Lexend", sans-serif; font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.mk-price small { font-size: 1rem; font-weight: 400; color: var(--muted); margin-left: .2rem; }
.mk-price [hidden] { display: none; }
.mk-plan-limit { display: flex; gap: .45rem; align-items: center; color: var(--muted); font-size: .95rem; margin: .5rem 0 1.2rem; }
.mk-plan-points { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.mk-plan-points li { padding: .25rem 0 .25rem 1.6rem; position: relative; }
.mk-plan-points li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #12855a; }
.mk-plan-mods { margin-top: 1.2rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.mk-plan-mods-head { margin-bottom: .4rem; color: var(--ink); }
.mk-plan-mods details { border-bottom: 1px solid #f0f2f8; }
.mk-plan-mods summary { display: flex; align-items: center; gap: .55rem; padding: .5rem 0; cursor: pointer; font-weight: 600; list-style: none; color: var(--text); }
.mk-plan-mods summary::-webkit-details-marker { display: none; }
.mk-plan-mods summary span { margin-left: auto; font-size: .8rem; color: var(--muted); background: var(--paper); border-radius: 999px; padding: 0 .5rem; }
.mk-plan-mods summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-size: .8rem; color: var(--muted); transition: transform .25s; }
.mk-plan-mods details[open] summary::after { transform: rotate(180deg); }
.mk-plan-mods summary i { color: var(--blue); }
.mk-plan-mods ul { list-style: none; padding: 0 0 .6rem 1.7rem; margin: 0; columns: 1; }
.mk-plan-mods li { position: relative; font-size: .93rem; color: var(--muted); padding: .15rem 0 .15rem 1.2rem; }
.mk-plan-mods li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #12855a; font-size: .9rem; }

/* steps along a bus route */
.mk-routebox { position: relative; margin-top: 2rem; --p: 0; }
.mk-route { list-style: none; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; padding: 3.2rem 0 0; margin: 0; }
.mk-route::before { content: ""; position: absolute; top: 1.4rem; left: 2%; right: 2%; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px); border-radius: 2px; }
.mk-route-bus { position: absolute; top: calc(1.4rem - 18px); left: calc(2% + var(--p) * 92%); width: 40px; height: 40px; border-radius: 12px; background: var(--bus); color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 6px 16px rgba(245,179,1,.45); transition: left .2s linear; z-index: 1; }
.mk-stop { position: absolute; top: -2.55rem; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; font-family: "Lexend", sans-serif; font-weight: 600; font-size: .85rem; color: var(--ink); }
.mk-route li { position: relative; }
.mk-route p { color: var(--muted); margin: 0; }

/* testimonials */
.mk-quotes { background: var(--sheet); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mk-quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2.2rem; }
.mk-quote { margin: 0; padding: 0 0 0 1.4rem; border-left: 4px solid var(--bus); }
.mk-quote blockquote { margin: 0 0 1rem; font-size: 1.15rem; color: var(--ink); line-height: 1.55; }
.mk-quote figcaption strong { display: block; color: var(--ink); }
.mk-quote figcaption span { color: var(--muted); font-size: .95rem; }

/* faq */
.mk-faq-list details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.mk-faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-family: "Lexend", sans-serif; font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.mk-faq-list summary::-webkit-details-marker { display: none; }
.mk-faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .3s var(--ease); }
.mk-faq-list details[open] summary::after { transform: rotate(45deg); }
.mk-faq-list details p { margin: 0 0 1rem; color: var(--muted); max-width: 64ch; }
.mk-faq-list details[open] p { animation: mkRise .4s var(--ease) both; }

/* call to action on a chalkboard */
.mk-cta { padding: 0 0 clamp(3.5rem, 2rem + 5vw, 6rem); }
.mk-board { position: relative; background: var(--board); color: #e9f3ee; border-radius: var(--radius-l); padding: clamp(2.2rem, 1.5rem + 3vw, 4rem); border: 12px solid #8a5a35; box-shadow: inset 0 0 80px rgba(0,0,0,.25), 0 24px 50px rgba(20,33,82,.15); overflow: hidden; }
.mk-board::after { content: ""; position: absolute; right: 2.5rem; bottom: 0; width: 90px; height: 10px; border-radius: 3px 3px 0 0; background: #f4f1e8; box-shadow: -110px 0 0 #f5b301; }
.mk-board h2 { color: #fff; max-width: 20ch; }
.mk-board p { color: #c9e2d7; font-size: 1.15rem; max-width: 52ch; }
.mk-btn-chalk { background: #fff; color: var(--board); }
.mk-btn-chalk:hover { color: var(--board); transform: translateY(-2px); background: var(--bus); }
.mk-btn-outline-chalk { color: #fff; border-color: rgba(255,255,255,.55); }
.mk-btn-outline-chalk:hover { color: var(--board); background: #fff; }

/* inner pages */
.mk-pagehead { padding: clamp(3rem, 2rem + 4vw, 5rem) 0 2.4rem; background: repeating-linear-gradient(180deg, transparent 0 35px, var(--rule) 35px 36px), var(--sheet); border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.mk-filter { margin-top: 1.8rem; }
.mk-search { display: flex; align-items: center; gap: .6rem; max-width: 520px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: .6rem .9rem; transition: border-color .2s; }
.mk-search:focus-within { border-color: var(--blue); }
.mk-search input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; background: none; min-width: 0; }
.mk-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.mk-chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.mk-chips button:hover { border-color: var(--ink); color: var(--ink); }
.mk-chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mk-fgroup { margin-bottom: 3.2rem; }
.mk-fgroup h2 { display: flex; align-items: baseline; gap: .7rem; font-size: 1.6rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.mk-fgroup h2 i { color: var(--blue); } .mk-fgroup h2 small { margin-left: auto; font-family: "Source Sans 3", sans-serif; font-size: .95rem; color: var(--muted); font-weight: 600; }
.mk-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 2.2rem; }
.mk-feature { position: relative; padding: 1.3rem 0 1.3rem 2.6rem; border-bottom: 1px dashed var(--line); }
.mk-feature > i { position: absolute; left: 0; top: 1.35rem; font-size: 1.4rem; color: var(--blue); transition: transform .3s var(--ease); }
.mk-feature:hover > i { transform: scale(1.18) rotate(-6deg); }
.mk-feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.mk-inplans { display: inline-block; margin-top: .4rem; font-size: .8rem; color: var(--ink); background: var(--bus-soft); border-radius: 6px; padding: .05rem .5rem; }
.mk-empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.mk-compare-sec { background: var(--sheet); border-top: 1px solid var(--line); }
.mk-compare-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius-m); }
.mk-compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.mk-compare thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font-family: "Lexend", sans-serif; font-weight: 500; padding: .9rem 1rem; text-align: center; z-index: 1; }
.mk-compare thead th:first-child { text-align: left; }
.mk-compare thead small { display: block; font-family: "Source Sans 3", sans-serif; color: #b8c4ec; font-size: .82rem; }
.mk-compare thead small[hidden] { display: none; }
.mk-compare tbody th { font-weight: 500; text-align: left; padding: .55rem 1rem; color: var(--text); }
.mk-compare td { text-align: center; padding: .55rem 1rem; }
.mk-compare tbody tr:not(.mk-compare-group):hover { background: #f6f8fd; }
.mk-compare tbody tr { border-bottom: 1px solid #eef1f8; }
.mk-compare-group th { background: var(--paper); font-family: "Lexend", sans-serif !important; color: var(--ink) !important; font-weight: 600 !important; padding-top: .8rem !important; }
.mk-compare-group i { color: var(--blue); margin-right: .45rem; }
.mk-yes { color: #12855a; font-size: 1.1rem; } .mk-no { color: #c3cbe0; font-size: 1.2rem; }
.mk-prose { font-size: 1.1rem; line-height: 1.75; }
.mk-prose h2 { font-size: 1.6rem; margin-top: 2.2rem; } .mk-prose h3 { margin-top: 1.6rem; }
.mk-prose ul, .mk-prose ol { padding-left: 1.3rem; } .mk-prose li { margin-bottom: .35rem; }
.mk-prose blockquote { border-left: 4px solid var(--bus); margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem; color: var(--ink); }
.mk-prose img { max-width: 100%; border-radius: 12px; }
.mk-updated { color: var(--muted); font-size: .9rem; margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* contact */
.mk-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 2.5rem; align-items: start; }
.mk-contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.mk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-bottom: 1.4rem; }
.mk-fields label { display: block; font-weight: 600; color: var(--ink); font-size: .96rem; }
.mk-fields label > input, .mk-fields label > select, .mk-fields label > textarea { display: block; width: 100%; margin-top: .35rem; box-sizing: border-box; }
.mk-fields em { display: block; margin-top: .25rem; }
.mk-fields label span { color: var(--muted); font-weight: 400; }
.mk-fields label.wide { grid-column: 1 / -1; }
.mk-fields input, .mk-fields select, .mk-fields textarea { font: inherit; font-weight: 400; color: var(--text); border: 2px solid var(--line); border-radius: 12px; padding: .62rem .8rem; background: var(--paper); transition: border-color .2s, background .2s; }
.mk-fields input:focus, .mk-fields select:focus, .mk-fields textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.mk-fields em { color: #c8372d; font-style: normal; font-size: .88rem; font-weight: 500; }
.mk-hp { position: absolute; left: -5000px; height: 1px; overflow: hidden; }
.mk-fine { color: var(--muted); font-size: .88rem; margin: .8rem 0 0; }
.mk-sent { display: flex; gap: 1rem; align-items: flex-start; }
.mk-sent > i { font-size: 2.6rem; color: #12855a; animation: mkPop .6s var(--ease) both; }
@keyframes mkPop { from { transform: scale(.4); opacity: 0; } }
.mk-contact-side h2 { font-size: 1.4rem; }
.mk-contact-line { display: flex; gap: .9rem; align-items: center; padding: .85rem 0; border-bottom: 1px dashed var(--line); color: var(--text); text-decoration: none; }
.mk-contact-line > i { width: 42px; height: 42px; border-radius: 12px; background: var(--bus-soft); color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.mk-contact-line small { display: block; color: var(--muted); font-size: .82rem; }
a.mk-contact-line:hover { color: var(--blue); }
.mk-contact-trial { margin-top: 1.6rem; background: var(--ink); color: #dfe6ff; border-radius: var(--radius-m); padding: 1.3rem; }
.mk-contact-trial strong { color: #fff; font-family: "Lexend", sans-serif; font-weight: 500; font-size: 1.1rem; }
.mk-contact-trial p { margin: .3rem 0 .9rem; }

/* footer */
.mk-footer { background: #fff; border-top: 1px solid var(--line); padding: 3.5rem 0 0; }
.mk-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
.mk-footer h3 { font-size: 1rem; margin-bottom: .8rem; }
.mk-footer-grid > div > a, .mk-footer-grid > div > span { display: block; color: var(--muted); text-decoration: none; padding: .22rem 0; }
.mk-footer-grid > div > a:hover { color: var(--blue); }
.mk-footer-about p { color: var(--muted); margin: 1rem 0; max-width: 40ch; }
.mk-footer-about .mk-brand { display: inline-flex; }
.mk-social { display: flex; gap: .45rem; }
.mk-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, transform .2s; }
.mk-social a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.mk-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.2rem 0; margin-top: 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.mk-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; font-size: 1.1rem; box-shadow: 0 10px 24px rgba(20,33,82,.25); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); cursor: pointer; }
.mk-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* reveal on scroll (only once the script runs, so nothing is hidden without it) */
.mk-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.mk-js [data-reveal].is-in { opacity: 1; transform: none; }

/* moving between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: mkPageOut .28s var(--ease) both; }
::view-transition-new(root) { animation: mkPageIn .45s var(--ease) both; }
@keyframes mkPageOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes mkPageIn { from { opacity: 0; transform: translateY(12px); } }
.mk-main { animation: mkPageIn .5s var(--ease) both; }
.mk-header { view-transition-name: mk-header; }

/* phones and tablets */
@media (max-width: 1080px) {
  .mk-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .mk-burger { display: flex; }
  .mk-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: .2rem; padding: 76px 1.2rem 1.5rem; background: #fff; box-shadow: -20px 0 50px rgba(20,33,82,.18); transform: translateX(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; z-index: 55; overflow-y: auto; }
  .mk-nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  body.mk-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,33,82,.35); z-index: 45; animation: mkPageIn .3s both; }
  .mk-nav > a { padding: .8rem .6rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mk-nav > a::after { display: none; }
  .mk-nav-actions { flex-direction: column; margin: 1rem 0 0; }
  .mk-burger { position: relative; z-index: 56; }
  .mk-burger[aria-expanded="true"] { position: fixed; top: 14px; right: 16px; }
  .mk-slide { grid-template-columns: 1fr; gap: 2rem; padding-left: 2rem; }
  .mk-slide-visual { order: 2; }
  .mk-split { grid-template-columns: 1fr; gap: 2rem; }
  .mk-split-head { position: static; }
  .mk-areas { grid-template-columns: 1fr; }
  .mk-area-tabs { flex-direction: row; overflow-x: auto; padding-bottom: .3rem; }
  .mk-area-tabs button { white-space: nowrap; }
  .mk-roles-row { grid-template-columns: 1fr 1fr; }
  .mk-role:nth-child(3) { padding-left: 0; border-left: 0; }
  .mk-footer-grid { grid-template-columns: 1fr 1fr; }
  .mk-contact { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body.mk { font-size: 1.02rem; }
  .mk-wrap { padding: 0 16px; }
  .mk-hero { padding-top: 1rem; }
  .mk-hero::before { display: none; }
  .mk-slide { padding-left: 1.4rem; }
  .mk-slider-ui { padding-left: 1.4rem; }
  .mk-dots button { width: 34px; }
  .mkv { min-height: 300px; }
  .mkv-card-a { right: 0; } .mkv-card-b { left: 0; }
  .mkv-mobile .mkv-phone { width: 150px; font-size: .74rem; } .mkv-mobile .mkv-phone-2 { display: none; }
  .mk-stats-row { grid-template-columns: 1fr 1fr; }
  .mk-stats-row > div:nth-child(3) { border-left: 0; }
  .mk-stats-row > div { border-top: 1px dashed rgba(255,255,255,.18); }
  .mk-area-panel { grid-template-columns: 1fr; }
  .mk-roles-row { grid-template-columns: 1fr; }
  .mk-role, .mk-role + .mk-role { padding: 1.2rem 0 0; border-left: 0; }
  .mk-route { grid-template-columns: 1fr; padding: 0 0 0 3rem; gap: 1.8rem; }
  .mk-route::before { top: 0; bottom: 0; left: 14px; right: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 14px, transparent 14px 26px); }
  .mk-route-bus { display: none; }
  .mk-stop { top: 0; left: -3rem; }
  .mk-fields { grid-template-columns: 1fr; }
  .mk-footer-grid { grid-template-columns: 1fr; }
  .mk-board { border-width: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .mk-js [data-reveal] { opacity: 1; transform: none; }
  .mk-marquee-track { animation: none; }
}
@media print { .mk-header, .mk-progress, .mk-top, .mk-announce, .mk-slider-ui { display: none !important; } }

/* ---------- 3.1.4: the new seal, and handwriting (Platform → Website → Brand → Lettering) ---------- */
.mk-brand svg.brand-mark { width: 40px; height: 40px; }
.mk-brand strong .mk-i, .mk-i { color: #3a60a8; }
.mk-brand strong { font-weight: 400; letter-spacing: .01em; }

@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; 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: "Kalam"; src: url("../fonts/kalam-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; 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: "Kalam"; src: url("../fonts/kalam-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; 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: "Kalam"; src: url("../fonts/kalam-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-ext-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; src: url("../fonts/kalam-devanagari-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF; }
@font-face { font-family: "Dancing Script"; src: url("../fonts/dancing-script-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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: "Dancing Script"; src: url("../fonts/dancing-script-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Written by hand: cursive headings in fountain-pen blue, the rest in a neat print hand */
body.mk.mk-hand { --ink: #1b3594; --pen-red: #d4421e; font-family: "Kalam", "Segoe Print", "Comic Neue", cursive; font-weight: 400; font-size: 1.12rem; line-height: 1.65; }
.mk-hand h1, .mk-hand h2, .mk-hand .mk-h1 { font-family: "Dancing Script", "Kalam", cursive; font-weight: 700; letter-spacing: 0; line-height: 1.08; }
.mk-hand h1, .mk-hand .mk-h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); }
.mk-hand h2 { font-size: clamp(2.1rem, 1.4rem + 2vw, 3.1rem); }
.mk-hand h3 { font-family: "Kalam", cursive; font-weight: 700; letter-spacing: 0; font-size: 1.2rem; }
.mk-hand .mk-btn, .mk-hand .mk-link, .mk-hand .mk-tab, .mk-hand .mk-nav > a, .mk-hand .mk-faq-list summary, .mk-hand .mk-plan-flag,
.mk-hand .mk-cycle button, .mk-hand .mk-area-tabs button, .mk-hand .mk-chips button, .mk-hand .mk-compare thead th, .mk-hand .mk-compare-group th,
.mk-hand .mk-fgroup h2 small, .mk-hand .mk-contact-trial strong, .mk-hand .mk-stop, .mk-hand .mkv, .mk-hand input, .mk-hand select, .mk-hand textarea, .mk-hand button { font-family: "Kalam", cursive; }
.mk-hand .mk-btn { font-weight: 700; font-size: 1.05rem; }
.mk-hand .mk-tab { color: var(--pen-red); background: transparent; border: 0; border-bottom: 2px solid currentColor; border-radius: 0; padding: 0 .1rem; font-weight: 700; font-size: 1.05rem; }
.mk-hand .mk-price, .mk-hand .mk-stats dt, .mk-hand .mkv-tiles strong, .mk-hand .mkv-due strong, .mk-hand .mkv-card strong { font-family: "Kalam", cursive; font-weight: 700; }
.mk-hand .mk-brand strong { font-family: "Dancing Script", cursive; font-weight: 700; font-size: 1.7rem; }
.mk-hand .mk-faq-list summary { font-weight: 700; font-size: 1.15rem; }
.mk-hand .mk-quote blockquote { font-family: "Dancing Script", cursive; font-size: 1.55rem; line-height: 1.35; }
.mk-hand .mk-board h2 { color: #fff; }
.mk-hand .mk-lede { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
.mk-hand .mk-fgroup h2 { font-size: 2rem; }
/* the headline is "written" across the page when its slide appears */
.mk-hand .mk-slide.is-on h1, .mk-hand .mk-slide.is-on .mk-h1 { animation: mkWrite 1.3s cubic-bezier(.6, .05, .3, 1) both; }
@keyframes mkWrite { from { clip-path: inset(0 100% 0 0); opacity: 1; transform: none; } to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mk-hand .mk-slide.is-on h1, .mk-hand .mk-slide.is-on .mk-h1 { animation: none; opacity: 1; transform: none; } }

/* ---------- 3.1.4: the website chat ---------- */
.mk-top { bottom: 92px; }
.mk-chat { position: fixed; right: 18px; bottom: 18px; z-index: 70; font-size: 1rem; }
.mk-chat-fab { display: flex; align-items: center; gap: .55rem; border: 0; background: #fff; color: var(--ink); padding: .45rem 1.1rem .45rem .45rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(20,33,82,.22), 0 0 0 1px var(--line); cursor: pointer; font-family: inherit; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s; }
.mk-chat-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,33,82,.28), 0 0 0 1px var(--line); }
.mk-chat-fab-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--bus-soft); display: grid; place-items: center; animation: mkBob 3.5s ease-in-out infinite; }
.mk-chat-fab-mark svg { width: 28px; height: 28px; }
.mk-chat-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: scale(.8); }
@keyframes mkBob { 50% { transform: translateY(-3px) rotate(-6deg); } }
.mk-chat-panel { position: fixed; right: 18px; bottom: 18px; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 36px)); display: flex; flex-direction: column; background:
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px), #fff; border-radius: 22px; box-shadow: 0 28px 70px rgba(20,33,82,.3), 0 0 0 1px var(--line); overflow: hidden; transform-origin: bottom right; animation: mkChatIn .35s var(--ease) both; }
.mk-chat-panel[hidden] { display: none; }
@keyframes mkChatIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.mk-chat-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: var(--ink); color: #fff; }
.mk-chat-head strong { display: block; font-size: 1.1rem; line-height: 1.1; }
.mk-chat-head small { color: #b8c4ec; font-size: .8rem; }
.mk-chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.mk-chat-avatar svg { width: 28px; height: 28px; }
.mk-chat-x { margin-left: auto; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; }
.mk-chat-x:hover { background: rgba(255,255,255,.25); }
.mk-chat-log { flex: 1; overflow-y: auto; padding: 1rem .9rem .5rem; display: flex; flex-direction: column; gap: .6rem; scroll-behavior: smooth; }
.mk-msg { max-width: 88%; padding: .55rem .85rem; border-radius: 16px; line-height: 1.5; animation: mkRise .35s var(--ease) both; word-wrap: break-word; }
.mk-msg p { margin: 0 0 .35rem; } .mk-msg p:last-child { margin: 0; }
.mk-msg ul { margin: .2rem 0 .35rem; padding-left: 1.1rem; }
.mk-msg a { color: inherit; text-decoration: underline; }
.mk-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--text); box-shadow: 0 2px 6px rgba(20,33,82,.05); }
.mk-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.mk-msg.typing { display: flex; gap: 4px; padding: .8rem .9rem; }
.mk-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: mkDot 1s infinite; }
.mk-msg.typing i:nth-child(2) { animation-delay: .15s; } .mk-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mkDot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.mk-chat-suggest { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .9rem .5rem; }
.mk-chat-suggest button { border: 1px solid #f3dd94; background: var(--bus-soft); color: var(--ink); border-radius: 999px; padding: .25rem .7rem; font-size: .86rem; cursor: pointer; font-family: inherit; text-align: left; }
.mk-chat-suggest button:hover { background: var(--bus); }
.mk-chat-form { display: flex; gap: .4rem; align-items: flex-end; padding: .6rem .7rem; border-top: 1px solid var(--line); background: #fff; }
.mk-chat-form textarea { flex: 1; resize: none; border: 2px solid var(--line); border-radius: 14px; padding: .5rem .7rem; font: inherit; max-height: 120px; background: var(--paper); }
.mk-chat-form textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.mk-chat-form button { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; flex: none; }
.mk-chat-form button:disabled { opacity: .5; }
.mk-chat-cb { border: 0; background: #fff; color: var(--blue); font: inherit; font-weight: 700; font-size: .9rem; padding: .1rem 0 .65rem; cursor: pointer; }
.mk-chat-cb:hover { text-decoration: underline; }
.mk-chat-lead { display: grid; gap: .45rem; padding: .7rem .9rem; border-top: 1px dashed var(--line); background: #fffdf3; }
.mk-chat-lead p { margin: 0; font-size: .92rem; }
.mk-chat-lead input:not(.mk-hp) { border: 2px solid var(--line); border-radius: 10px; padding: .45rem .6rem; font: inherit; }
.mk-chat-lead input:focus { outline: 0; border-color: var(--blue); }
.mk-chat-lead-actions { display: flex; gap: .4rem; }
.mk-chat-lead-actions .mk-btn { padding: .45rem .9rem; font-size: .92rem; }
.mk-chat-err { color: #c8372d; font-style: normal; font-size: .85rem; }
@media (max-width: 520px) {
    .mk-chat-fab-text { display: none; }
    .mk-chat-fab { padding: .4rem; }
    .mk-chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
}
@media print { .mk-chat { display: none !important; } }

.mk-hand .mk-nav > a, .mk-hand .mk-chat-fab, .mk-hand .mk-chat-head strong, .mk-hand .mk-mod h3, .mk-hand .mkv-card strong, .mk-hand .mk-quote figcaption strong, .mk-hand .mk-area-tabs button, .mk-hand .mk-chips button, .mk-hand .mk-cycle button, .mk-hand .mk-fields label { font-weight: 700; }
.mk-hand .mk-chat-head strong, .mk-hand .mkv-card strong, .mk-hand .mk-chat-lead p strong { font-family: "Kalam", cursive; }
