/* ExplainOwl home page for visitors who are not signed in (static/landing/, served by tutor_landing.py at /welcome and, with
   TUTOR_LANDING=1, at / for signed-out visitors). Tokens and components follow the redesign mockup (research/redesign/mockups);
   no libraries. Fonts: Inter + Caveat from /static/vendor/fonts.css, Fredoka (OFL) from static/vendor/fonts/faces/.
   Light by default, dark with prefers-color-scheme (or <html data-theme="dark"|"light"> to force one). */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url(/static/vendor/fonts/faces/fredoka.woff2) format("woff2"); }

:root {
  /* colour: brand from the owl (indigo body, cream face, orange beak, navy cap, gold tassel) */
  --bg: #f6f5fe; --bg-2: #efedfc; --surface: #ffffff; --surface-2: #f7f6fd; --surface-3: #efecff;
  --ink: #1d1b3a; --ink-2: #3b3860; --muted: #5e5a7e; --faint: #8a86a8;
  --line: #e7e4f5; --line-2: #d6d1ee;
  --brand: #5b4bdb; --brand-hover: #4a3cc4; --brand-ink: #4a3cc4; --brand-soft: #efecff; --brand-softer: #f7f5ff; --on-brand: #ffffff;
  --navy: #232a52; --beak: #f59e0b; --gold: #f4b740; --cream: #f8efe4;
  --ok: #15803d; --ok-soft: #e7f6ec; --warn: #b45309; --warn-soft: #fff4e5; --err: #c2400c; --err-soft: #fdeee6;
  --live: #e5484d; --live-soft: #fdecec;
  --board: #fffdf8; --board-ink: #1f2a44; --board-line: #ece7da;
  --scrim: rgba(22, 18, 54, .42);
  /* type: Fredoka for display, Inter for UI, Caveat for the board */
  --f-display: "Fredoka", "Inter", ui-rounded, system-ui, sans-serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --f-hand: "Caveat", "Kalam", "Comic Sans MS", cursive;
  --t-12: 12px; --t-13: 13px; --t-14: 14px; --t-16: 16px; --t-18: 18px; --t-22: 22px; --t-28: 28px; --t-36: 36px; --t-48: 48px; --t-60: 60px;
  /* spacing (4-based) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-24: 96px;
  /* radius */
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  /* shadow: soft, lavender-tinted */
  --sh-1: 0 1px 2px rgba(40, 30, 120, .06), 0 2px 8px rgba(40, 30, 120, .05);
  --sh-2: 0 4px 12px rgba(40, 30, 120, .07), 0 12px 32px rgba(40, 30, 120, .08);
  --sh-3: 0 12px 28px rgba(40, 30, 120, .12), 0 32px 80px rgba(40, 30, 120, .18);
  --ring: 0 0 0 3px rgba(91, 75, 219, .35);
  /* motion: calm */
  --ease: cubic-bezier(.2, .8, .2, 1); --d-1: 140ms; --d-2: 220ms; --d-3: 360ms;
  --tap: 44px; --head: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  --bg: #12112a; --bg-2: #171634; --surface: #1b1a36; --surface-2: #211f42; --surface-3: #2a2660;
  --ink: #f1efff; --ink-2: #d9d6f5; --muted: #b6b2d8; --faint: #8f8bb5;
  --line: #2e2c55; --line-2: #3d3a6b;
  --brand: #6d5ef0; --brand-hover: #7d70f5; --brand-ink: #b3a8ff; --brand-soft: #2a2660; --brand-softer: #201e45; --on-brand: #ffffff;
  --ok: #4ade80; --ok-soft: #173b2a; --warn: #fbbf24; --warn-soft: #3a2c10; --err: #fb923c; --err-soft: #3d2116;
  --live: #ff6b6f; --live-soft: #3d1c25;
  --board: #f7f4ea; --board-ink: #1f2a44; --board-line: #e6dfcd;
  --scrim: rgba(5, 4, 20, .62);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 8px 24px rgba(0, 0, 0, .35); --sh-3: 0 24px 64px rgba(0, 0, 0, .5);
  --ring: 0 0 0 3px rgba(179, 168, 255, .45);
  color-scheme: dark;
}
}
:root[data-theme="dark"] {
  --bg: #12112a; --bg-2: #171634; --surface: #1b1a36; --surface-2: #211f42; --surface-3: #2a2660;
  --ink: #f1efff; --ink-2: #d9d6f5; --muted: #b6b2d8; --faint: #8f8bb5;
  --line: #2e2c55; --line-2: #3d3a6b;
  --brand: #6d5ef0; --brand-hover: #7d70f5; --brand-ink: #b3a8ff; --brand-soft: #2a2660; --brand-softer: #201e45; --on-brand: #ffffff;
  --ok: #4ade80; --ok-soft: #173b2a; --warn: #fbbf24; --warn-soft: #3a2c10; --err: #fb923c; --err-soft: #3d2116;
  --live: #ff6b6f; --live-soft: #3d1c25;
  --board: #f7f4ea; --board-ink: #1f2a44; --board-line: #e6dfcd;
  --scrim: rgba(5, 4, 20, .62);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3); --sh-2: 0 8px 24px rgba(0, 0, 0, .35); --sh-3: 0 24px 64px rgba(0, 0, 0, .5);
  --ring: 0 0 0 3px rgba(179, 168, 255, .45);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-16)/1.5 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: var(--brand-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; margin: 0; color: var(--ink); }
p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 24px; height: 24px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.only-phone { display: none !important; }
@media (max-width: 720px) { .only-phone { display: revert !important; } .only-wide { display: none !important; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ------------------------------------------------------------------ buttons, inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 18px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 var(--t-14)/1 var(--f-ui); text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background var(--d-1), border-color var(--d-1), transform var(--d-1), box-shadow var(--d-1); -webkit-tap-highlight-color: transparent; }
.btn:hover { border-color: var(--faint); }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px rgba(91, 75, 219, .28); }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.soft { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.btn.soft:hover { border-color: var(--line-2); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-3); }
.btn.lg { min-height: 52px; padding: 0 24px; font-size: var(--t-16); border-radius: var(--r-lg); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: var(--t-13); border-radius: var(--r-sm); }
.btn.icon { width: var(--tap); padding: 0; }
.btn.round { border-radius: var(--r-pill); }
.btn.block { width: 100%; }
/* inputs */
.field { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); }
.field input { flex: 1; min-width: 0; border: 0; background: none; font: 400 var(--t-16) var(--f-ui); color: var(--ink); }
.field input::placeholder { color: var(--faint); }
.field:focus-within { border-color: var(--brand); box-shadow: var(--ring); }

/* ------------------------------------------------------------------ header */
.head { position: sticky; top: 0; z-index: 40; height: var(--head); display: flex; align-items: center; gap: 8px; padding: 0 20px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; }
.head.solid { background: var(--surface); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); color: var(--ink); text-decoration: none; font: 600 22px/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.brand b { font-weight: 600; color: var(--brand); }
.brand .owlslot { width: 36px; height: 36px; }
.head nav { display: flex; gap: 2px; margin-left: 16px; }
.head nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); color: var(--muted); font: 600 var(--t-14) var(--f-ui); text-decoration: none; }
.head nav a:hover { color: var(--ink); background: var(--surface-3); }
.head .sp { flex: 1; }
.brand img { width: 36px; height: 36px; }

/* ------------------------------------------------------------------ owl slot */
.owlslot { display: inline-grid; place-items: center; flex: none; position: relative; }
.owlslot > .eo { margin: auto; }
.owlslot > img { width: 100%; height: 100%; object-fit: contain; }

/* ------------------------------------------------------------------ lesson shelf */
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec-h h2 { font-size: var(--t-22); }
.sec-h a { font: 600 var(--t-14) var(--f-ui); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.lcard:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.lcard .meta { padding: 12px 14px 14px; }
.lcard .meta b { display: block; font: 600 var(--t-14)/1.3 var(--f-ui); }
.lcard .meta small { color: var(--muted); font-size: var(--t-12); }
.lcard { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform var(--d-2) var(--ease), box-shadow var(--d-2); box-shadow: var(--sh-1); }
.lcard .thumb { aspect-ratio: 16 / 9; background: var(--board); position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.lcard .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lcard .thumb .playo { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity var(--d-2); }
.lcard:hover .playo, .lcard:focus-visible .playo { opacity: 1; }
.playo span { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--sh-2); }

/* ------------------------------------------------------------------ composer */
.composer { width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: 8px; transition: border-color var(--d-2), box-shadow var(--d-2); }
.composer:focus-within { border-color: var(--brand); box-shadow: var(--sh-2), var(--ring); }
.composer .c-top { display: flex; align-items: flex-start; gap: 8px; padding: 8px 8px 4px 14px; }
.composer textarea { flex: 1; min-width: 0; min-height: 56px; max-height: 160px; resize: none; border: 0; background: none; outline: none; font: 400 18px/1.45 var(--f-ui); color: var(--ink); padding: 6px 0; }
.composer textarea::placeholder { color: var(--faint); }
.composer .send { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 0; background: var(--brand); color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(91, 75, 219, .32); transition: transform var(--d-1), background var(--d-1); }
.composer .send:hover { background: var(--brand-hover); transform: translateY(-1px); }
.composer .send .ic { width: 22px; height: 22px; }
.composer .c-bar { display: flex; align-items: center; gap: 6px; padding: 4px 4px 2px; flex-wrap: wrap; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all var(--d-1); flex: none; }
.cbtn:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-softer); }
.cbtn.cam { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.cbtn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all var(--d-1); flex: none; }
.cbtn:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-softer); }
.cbtn.cam { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
@media (max-width: 720px) {
  .composer { border-radius: 24px; }
  .composer textarea { font-size: 17px; min-height: 52px; }
}

/* ------------------------------------------------------------------ whiteboard picture in the hero */
.board { position: relative; flex: 1; min-width: 0; border-radius: var(--r-xl); background: var(--board); box-shadow: var(--sh-2), inset 0 0 0 1px var(--board-line); overflow: hidden; display: flex; flex-direction: column; }
.board .btitle { font: 700 40px/1 var(--f-hand); color: var(--board-ink); padding: 18px 28px 0; display: flex; align-items: center; gap: 14px; }
.board .bfig { flex: 1; min-height: 0; padding: 4px 16px 10px; }
.board .bfig svg { width: 100%; height: 100%; }
.draw { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); animation: drawin 1.2s var(--ease) forwards; }
.fadein { opacity: 0; animation: fadeup .6s var(--ease) forwards; }
@keyframes drawin { to { stroke-dashoffset: 0; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ the page */
.mk section { padding: 72px 0; }
.mk .eyebrow { font: 700 var(--t-12)/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 12px; display: block; }
.mk h2.big { font-size: 40px; line-height: 1.12; margin-bottom: 12px; }
.mk .lead { color: var(--muted); font-size: var(--t-18); max-width: 620px; }
.mkhero { position: relative; padding: 56px 0 64px !important; overflow: hidden; }
.mkhero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(139, 124, 248, .22), transparent 70%); pointer-events: none; }
.mkhero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.mkhero h1 { font-size: var(--t-60); line-height: 1.04; margin: 6px 0 18px; }
.mkhero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.mkhero h1 em svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 14px; }
.mkhero .lead { margin-bottom: 26px; }
.mkhero .composer .c-top textarea { min-height: 48px; }
.mkhero .after { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 14px; font-size: var(--t-14); color: var(--muted); }
.mkhero .after a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.tagline { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px 6px 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font: 600 var(--t-13)/1 var(--f-ui); color: var(--ink-2); box-shadow: var(--sh-1); }
.tagline .dots { display: inline-flex; gap: 4px; }
.tagline .dots i { padding: 4px 8px; border-radius: var(--r-pill); font-style: normal; background: var(--brand-soft); color: var(--brand-ink); }
.demo { position: relative; }
.demo .board { aspect-ratio: 16 / 11; box-shadow: var(--sh-3), inset 0 0 0 1px var(--board-line); }
.demo .board .btitle { font-size: 34px; }
.demo .democap { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 86%; padding: 12px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2); font: 500 var(--t-14)/1.4 var(--f-ui); text-align: center; border: 1px solid var(--line); }
.demo .democap b { color: var(--brand-ink); background: var(--brand-soft); border-radius: 5px; padding: 0 3px; }
.demo .demoowl { position: absolute; left: -46px; bottom: -36px; width: 150px; height: 150px; z-index: 3; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: st; }
.step { padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); position: relative; }
.step .owlslot { width: 84px; height: 84px; margin-bottom: 8px; }
.step .num { position: absolute; right: 20px; top: 20px; font: 600 48px/1 var(--f-display); color: var(--surface-3); }
.step h3 { font-size: var(--t-22); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: var(--t-14); }
.step .mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step .mini span { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: var(--r-pill); background: var(--surface-2); font: 600 12px/1 var(--f-ui); color: var(--ink-2); }
.step .mini .ic { width: 14px; height: 14px; color: var(--brand-ink); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 36px; }
.fc { grid-column: span 3; padding: 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 8px; }
.fc.w6 { grid-column: span 6; } .fc.w4 { grid-column: span 4; }
.fc .ib { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); margin-bottom: 6px; }
.fc .ib .ic { color: var(--brand-ink); }
.fc h3 { font-size: var(--t-18); }
.fc p { color: var(--muted); font-size: var(--t-14); }
.fc.hero2 { background: linear-gradient(160deg, var(--brand-softer), var(--surface) 60%); }
.fc .vis { margin-top: auto; padding-top: 10px; }
.langcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.langcloud span { padding: 5px 10px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.ticks { display: grid; gap: 6px; font: 600 15px/1.3 var(--f-hand); font-size: 22px; color: var(--board-ink); background: var(--board); border-radius: 14px; padding: 12px 16px; border: 1px solid var(--board-line); }
.ticks div { display: flex; justify-content: space-between; align-items: center; }
.ticks .y { color: var(--ok); font-family: var(--f-ui); font-size: 16px; } .ticks .n { color: var(--err); font-family: var(--f-ui); font-size: 16px; }
.alsolist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 20px; margin-top: 22px; padding: 22px; border-radius: var(--r-xl); border: 1px dashed var(--line-2); }
.alsolist div { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-14); }
.alsolist .ic { color: var(--brand-ink); width: 18px; height: 18px; margin-top: 2px; }
.mkshelf { background: var(--bg-2); }
.vidrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.trustlist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trustlist div { padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.trustlist .ic { color: var(--ok); margin-bottom: 8px; }
.trustlist b { display: block; font-size: var(--t-14); margin-bottom: 4px; }
.trustlist p { color: var(--muted); font-size: var(--t-13); }
.faq { max-width: 820px; margin: 30px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 60px; font: 600 var(--t-16)/1.3 var(--f-ui); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { margin-left: auto; color: var(--muted); transition: transform var(--d-2); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: var(--t-14); line-height: 1.55; }
.cta { text-align: center; padding: 56px 24px; border-radius: 32px; background: radial-gradient(120% 140% at 50% 0%, #8b7cf8, #5b4bdb 50%, #3a2ca8); color: #fff; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: 40px; margin: 10px 0 8px; }
.cta p { opacity: .9; margin-bottom: 22px; }
.cta .owlslot { width: 120px; height: 120px; margin: 0 auto; }
.cta .btn { background: #fff; color: #3a2ca8; border: 0; }
.mkfoot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.mkfoot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.mkfoot h4 { margin: 0 0 10px; font: 700 12px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.mkfoot a { display: flex; align-items: center; min-height: 36px; color: var(--muted); text-decoration: none; font-size: var(--t-14); }
.mkfoot a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .mkhero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .bento .fc, .bento .fc.w6, .bento .fc.w4 { grid-column: span 6; }
  .alsolist { grid-template-columns: 1fr 1fr; }
  .vidrow { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mk section { padding: 48px 0; }
  .mkhero { padding: 24px 0 48px !important; }
  .mkhero h1 { font-size: 40px; }
  .mk h2.big { font-size: 30px; }
  .mk .lead { font-size: var(--t-16); }
  .steps3 { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 72px 1fr; gap: 0 14px; padding: 18px; }
  .step .owlslot { width: 72px; height: 72px; grid-row: span 3; }
  .step .num { font-size: 32px; right: 14px; top: 12px; }
  .bento { gap: 10px; }
  .bento .fc, .bento .fc.w6, .bento .fc.w4 { grid-column: span 12; padding: 18px; }
  .alsolist { grid-template-columns: 1fr; padding: 16px; }
  .vidrow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trustlist { grid-template-columns: 1fr; }
  .demo .demoowl { width: 96px; height: 96px; left: -8px; bottom: -40px; }
  .demo .democap { width: 78%; left: 58%; font-size: 13px; }
  .mkfoot .wrap { grid-template-columns: 1fr 1fr; }
  .cta h2 { font-size: 30px; }
}

.mkfoot .brand img { width: 28px; height: 28px; }
.maketile { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: all var(--d-2); }
.maketile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--sh-2); }
.maketile .ib { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); flex: none; }
.maketile .ib .ic { color: var(--brand-ink); }
.maketile b { display: block; font: 600 var(--t-14)/1.3 var(--f-ui); }
.maketile small { color: var(--muted); font-size: var(--t-12); line-height: 1.35; display: block; margin-top: 2px; }
@media (max-width: 720px) { .maketile { padding: 12px; gap: 10px; flex-direction: column; } .maketile .ib { width: 38px; height: 38px; } }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; color: var(--brand-ink); }
.skip:focus { top: 8px; }
.hint { color: var(--err); font-size: var(--t-14); margin: 8px 4px 0; }
.hint:empty { display: none; }
.mk section[id] { scroll-margin-top: 72px; }
@media (max-width: 720px) {
  .btn.only-phone { display: inline-flex !important; }
  .mkhero .after a { min-height: 44px; }
  .mkfoot a { min-height: 44px; }
  .head nav a { min-height: 44px; }
}
.demo .democap { left: 57%; width: 76%; }
@media (max-width: 720px) { .demo .democap { width: 78%; left: 58%; } }

/* the light / dark toggle in the header (light is the default; the choice is saved as "eo-theme", shared with the app) */
.theme-btn { width: 44px; min-width: 44px; padding: 0; display: inline-grid; place-items: center; }
.theme-btn .ic { width: 20px; height: 20px; }
