/* ==========================================================================
   VOSTAY · public landing page
   Colours come from tokens.css (--brand-* are the brand-book values). Motion
   rules: transform/opacity only, ease-out curves from tokens, everything
   collapses to a still page under prefers-reduced-motion or without JS.
   ========================================================================== */

.mk {
  /* Light sections */
  --mk-bg: var(--brand-mist);
  --mk-surface: 0 0% 100%;
  --mk-fg: var(--brand-ink);
  --mk-muted: 195 14% 33%;
  --mk-line: 190 22% 86%;
  /* Dark (petrol) sections */
  --mk-dark-fg: 187 30% 96%;
  --mk-dark-muted: 188 22% 76%;
  --mk-dark-line: 190 40% 28%;
  --mk-glass: 0 0% 100%;

  --mk-display: "Sora", var(--font-sans);
  --mk-serif: "Fraunces", Georgia, serif;
  --mk-max: 76rem;
  --mk-gutter: clamp(var(--space-4), 4vw, var(--space-10));
  --mk-section: clamp(var(--space-12), 6.5vw, 6rem);
  --mk-nav-h: 4.25rem;

  margin: 0; background: hsl(var(--mk-bg)); color: hsl(var(--mk-fg));
  font-family: var(--font-sans); font-size: var(--text-base); line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mk {
    --mk-bg: 195 43% 6%; --mk-surface: 193 38% 10%; --mk-fg: 187 30% 94%;
    --mk-muted: 190 14% 68%; --mk-line: 190 25% 19%;
  }
}
:root[data-theme="dark"] .mk {
  --mk-bg: 195 43% 6%; --mk-surface: 193 38% 10%; --mk-fg: 187 30% 94%;
  --mk-muted: 190 14% 68%; --mk-line: 190 25% 19%;
}

/* No elastic overscroll on desktop: a trackpad pull past the top showed the
   light page colour above the dark hero as a white band. Touch screens keep
   their bounce (pull-to-refresh, the native feel). */
@media (pointer: fine) {
  html:has(> body.mk) { overscroll-behavior-y: none; }
}
/* Where a bounce still happens (phones), the colour above the page is the
   hero's petrol, not a white strip. */
html:has(> body.mk) { background: hsl(var(--brand-petrol-deep)); }

/* In-page links land below the fixed nav. */
.mk [id] { scroll-margin-top: calc(var(--mk-nav-h) + var(--space-4)); }
@media (prefers-reduced-motion: no-preference) { html:has(> body.mk) { scroll-behavior: smooth; } }
#mk-top { position: absolute; top: var(--space-10); left: 0; width: 1px; height: 1px; }
.mk-wrap { width: 100%; max-width: var(--mk-max); margin-inline: auto; padding-inline: calc(var(--mk-gutter) + env(safe-area-inset-left)) calc(var(--mk-gutter) + env(safe-area-inset-right)); }
.mk-section { padding-block: var(--mk-section); position: relative; }
.mk-dark {
  --mk-fg: var(--mk-dark-fg); --mk-muted: var(--mk-dark-muted); --mk-line: var(--mk-dark-line);
  color: hsl(var(--mk-dark-fg));
  background:
    radial-gradient(60rem 30rem at 85% -10%, hsl(var(--brand-petrol) / .9), transparent 70%),
    radial-gradient(40rem 26rem at 0% 110%, hsl(var(--brand-coral) / .07), transparent 70%),
    linear-gradient(180deg, hsl(var(--brand-petrol-deep)), hsl(var(--brand-ink)));
}

/* Film grain: one fixed layer, never on a scrolling element. */
.mk-grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Type ---------- */
.mk h1, .mk h2, .mk h3 { font-family: var(--mk-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.mk-h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; font-weight: 700; max-width: 18ch; }
.mk-lede { margin: var(--space-4) 0 0; max-width: 46ch; font-size: clamp(var(--text-base), 1.3vw, var(--text-lg)); color: hsl(var(--mk-muted)); text-wrap: pretty; }
.mk-fine { margin-top: var(--space-4); font-size: var(--text-xs); color: hsl(var(--mk-muted)); max-width: 44ch; }

.mk-pill {
  display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-5);
  padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-full);
  border: 1px solid hsl(var(--mk-line)); background: hsl(var(--mk-glass) / .06);
  font-size: var(--text-sm); font-weight: 600; color: hsl(var(--mk-fg));
}
.mk-live { width: var(--space-2); height: var(--space-2); border-radius: 50%; background: hsl(var(--brand-coral)); box-shadow: 0 0 0 0 hsl(var(--brand-coral) / .6); flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) { .mk-live { animation: mk-pulse 2.2s var(--ease-out) infinite; } }
@keyframes mk-pulse { 70% { box-shadow: 0 0 0 var(--space-2) hsl(var(--brand-coral) / 0); } 100% { box-shadow: 0 0 0 0 hsl(var(--brand-coral) / 0); } }

.mk-soon {
  display: inline-block; vertical-align: middle; margin-left: var(--space-1); padding: var(--space-0-5) var(--space-2);
  border-radius: var(--radius-full); background: hsl(var(--brand-coral) / .14); color: hsl(var(--brand-coral-text));
  font-family: var(--font-sans); font-size: var(--text-3xs); font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
.mk-dark .mk-soon { color: hsl(var(--brand-coral)); }

/* ---------- Buttons ----------
   Coral fill with ink text: the brand coral (#FF6B4E) under white text is
   2.8:1; ink on it is 6:1. */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--space-10); padding: 0 var(--space-5); border-radius: var(--radius-full); border: 1px solid transparent;
  font-family: var(--mk-display); font-size: var(--text-ui); font-weight: 700; letter-spacing: -0.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.mk-btn svg { width: var(--space-4); height: var(--space-4); }
.mk-btn:active { transform: scale(.97); }
.mk-btn:focus-visible { outline: 2px solid hsl(var(--brand-coral)); outline-offset: 3px; }
.mk-btn--sm { min-height: var(--space-8); padding: 0 var(--space-4); font-size: var(--text-sm); }
.mk-btn--lg { min-height: var(--space-12); padding: 0 var(--space-6); font-size: var(--text-base); }
.mk-btn--coral { background: hsl(var(--brand-coral)); color: hsl(var(--brand-ink)); box-shadow: 0 8px 24px -8px hsl(var(--brand-coral) / .7); }
.mk-btn--ink { background: hsl(var(--brand-ink)); color: hsl(0 0% 100%); }
.mk-btn--glass { background: hsl(var(--mk-glass) / .08); color: hsl(var(--mk-fg)); border-color: hsl(var(--mk-glass) / .2); backdrop-filter: blur(8px); }
.mk-btn--ghost { color: hsl(var(--mk-fg)); }
.mk-btn--outline { border-color: hsl(var(--mk-line)); color: hsl(var(--mk-fg)); background: hsl(var(--mk-surface)); }
@media (hover: hover) and (pointer: fine) {
  .mk-btn--coral:hover { background: hsl(var(--brand-coral-deep)); box-shadow: 0 12px 30px -8px hsl(var(--brand-coral) / .8); }
  .mk-btn--glass:hover { background: hsl(var(--mk-glass) / .14); }
  .mk-btn--ghost:hover { background: hsl(var(--mk-fg) / .07); }
  .mk-btn--outline:hover { border-color: hsl(var(--mk-fg) / .4); }
  .mk-btn--ink:hover { background: hsl(var(--brand-petrol-deep)); }
}

/* ---------- Nav: transparent over the hero, glass once you scroll ---------- */
.mk-nav { position: fixed; inset: 0 0 auto; z-index: 80; padding-top: env(safe-area-inset-top); color: hsl(var(--mk-dark-fg)); transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.mk-nav__inner { display: flex; align-items: center; gap: var(--space-6); height: var(--mk-nav-h); }
.mk-nav .mk-btn--ghost { color: inherit; }
.mk-logo { display: inline-flex; color: inherit; margin-right: auto; }
.mk-logo__svg { height: 2rem; width: auto; }
.mk-nav__links { display: flex; gap: var(--space-1); }
.mk-nav__links a { padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600; color: inherit; opacity: .82; text-decoration: none; transition: opacity var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.mk-nav__links a:hover { opacity: 1; background: hsl(var(--mk-glass) / .1); }
.mk-nav__cta { display: flex; gap: var(--space-2); }
.mk-nav.is-scrolled {
  color: hsl(var(--mk-fg)); background: hsl(var(--mk-surface) / .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 hsl(var(--mk-line));
}
.mk-nav.is-scrolled .mk-logo { color: hsl(var(--brand-petrol)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mk-nav.is-scrolled .mk-logo { color: hsl(var(--petrol-300)); } }
:root[data-theme="dark"] .mk-nav.is-scrolled .mk-logo { color: hsl(var(--petrol-300)); }
.mk-nav.is-scrolled .mk-nav__links a:hover { background: hsl(var(--mk-fg) / .06); }
@media (max-width: 900px) { .mk-nav__links { display: none; } .mk-nav__inner { gap: var(--space-3); } }
@media (max-width: 420px) { .mk-nav__cta .mk-btn--ghost { display: none; } }

/* ---------- Reveal on scroll ---------- */
/* Content is never fully hidden: it starts at .6 and slides a few pixels,
   so a fast scroll never lands on a blank block. */
html:not(.no-js) .mk-reveal { opacity: .6; transform: translateY(var(--space-2)); }
html:not(.no-js) .mk-reveal.is-in { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: calc(var(--d, 0) * 50ms); }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .mk-reveal { opacity: 1; transform: none; } }

/* ================================ HERO ================================
   Centred copy, then one large, legible product shot. The shot sits across
   the dark/light seam (the light band is the ::after) and tilts back a few
   degrees until you scroll, then lies flat: --p comes from marketing.js. */
.mk-hero { position: relative; padding: calc(var(--mk-nav-h) + var(--space-10)) 0 var(--space-10); overflow: hidden; }
.mk-hero::after { content: ""; position: absolute; inset: auto 0 0; height: clamp(6rem, 14vw, 11rem); background: hsl(var(--mk-bg)); }
.mk-hero__glow { position: absolute; inset: -20% 10% auto; height: 70%; background: radial-gradient(closest-side, hsl(var(--brand-coral) / .14), transparent); pointer-events: none; }
.mk-hero__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mk-eyebrow { margin: 0 0 var(--space-5); padding: var(--space-1-5) var(--space-4); border-radius: var(--radius-full); border: 1px solid hsl(var(--mk-dark-line)); background: hsl(var(--mk-glass) / .05);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .02em; color: hsl(var(--mk-dark-muted)); text-wrap: balance; }
/* The h1 holds the eyebrow and the signature (search engines read both as the
   heading) and looks like neither: each line keeps its own type. */
.mk .mk-hero__h1 { display: flex; flex-direction: column; align-items: center; font: inherit; letter-spacing: normal; }
.mk .mk-hero__title { font-family: var(--mk-display); font-weight: 700; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; padding-bottom: var(--space-1); }
.mk-eyebrow__ch i { font-style: normal; }
.mk-hero__title em { display: block; font-style: normal; color: hsl(var(--brand-coral)); }
.mk-hero__lede { margin: var(--space-5) 0 0; max-width: 44rem; font-size: clamp(var(--text-base), 1.5vw, 1.25rem); line-height: var(--leading-relaxed); color: hsl(var(--mk-dark-muted)); text-wrap: pretty; }
.mk-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.mk-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); margin: var(--space-5) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); font-weight: 600; color: hsl(var(--mk-dark-fg)); }
.mk-assure li { display: inline-flex; align-items: center; gap: var(--space-1-5); }
.mk-assure svg { width: var(--space-4); height: var(--space-4); color: hsl(var(--brand-coral)); }
.mk-quote-hero { margin: var(--space-6) 0 0; }
.mk-quote-hero blockquote { margin: 0; font-style: italic; font-size: var(--text-lg); font-weight: 500; color: hsl(var(--mk-dark-fg)); }
.mk-quote-hero figcaption { margin-top: var(--space-1); font-size: var(--text-xs); color: hsl(var(--mk-dark-muted)); }

/* Visual: the inbox in a centre column, four status cards in side columns
   that never reach over it: each side is a pair, centred on the inbox
   (rows 1 and 4 are flexible spacers). The row is allowed wider than the text wrap. */
.mk-hero__visual { position: relative; z-index: 1; max-width: 88rem; margin-top: var(--space-10);
  display: grid; grid-template-columns: 12rem minmax(0, 1fr) 12rem; grid-template-rows: 1fr auto auto 1fr; gap: var(--space-4) var(--space-6); }
.mk-hero__visual .mk-shot { grid-column: 2; grid-row: 1 / -1; margin: 0; max-width: none; }
.mk-pings { display: contents; list-style: none; }
.mk-ping { display: flex; align-items: center; gap: var(--space-2-5); padding: var(--space-3); border-radius: var(--radius-lg);
  background: hsl(var(--brand-paper)); color: hsl(var(--brand-ink)); box-shadow: var(--shadow-popover); }
.mk-ping:nth-child(1) { grid-column: 1; grid-row: 2; }
.mk-ping:nth-child(2) { grid-column: 3; grid-row: 2; }
.mk-ping:nth-child(3) { grid-column: 1; grid-row: 3; }
.mk-ping:nth-child(4) { grid-column: 3; grid-row: 3; }
.mk-ping > div { min-width: 0; }
.mk-ping small { display: block; font-size: var(--text-3xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--brand-ink-muted)); }
.mk-ping b { display: block; margin-top: var(--space-0-5); font-size: var(--text-xs); line-height: var(--leading-snug); font-weight: 600; }
.mk-ping__icon { width: var(--space-8); height: var(--space-8); flex-shrink: 0; border-radius: var(--radius-md); display: grid; place-items: center; background: hsl(var(--brand-petrol) / .1); color: hsl(var(--brand-petrol)); }
.mk-ping__icon svg { width: var(--space-4); height: var(--space-4); }
.mk-ping--coral .mk-ping__icon { background: hsl(var(--brand-coral) / .16); color: hsl(var(--brand-coral-text)); }
/* A slow bob, on `translate` so it never fights the reveal's `transform`. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1180px) {
  .mk-ping { animation: mk-bob 5s var(--ease-in-out) infinite alternate; }
  .mk-ping:nth-child(2) { animation-delay: -1.2s; } .mk-ping:nth-child(3) { animation-delay: -2.4s; } .mk-ping:nth-child(4) { animation-delay: -3.6s; }
}
@keyframes mk-bob { to { translate: 0 calc(var(--space-2) * -1); } }
@media (max-width: 1179px) {
  .mk-hero__visual { display: block; max-width: var(--mk-max); }
  .mk-pings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-6) 0 0; padding: 0; }
  .mk-ping, .mk-ping:nth-child(n) { grid-column: auto; grid-row: auto; align-self: stretch; margin: 0; }
}
@media (max-width: 420px) { .mk-ping { padding: var(--space-2-5); gap: var(--space-2); } .mk-ping__icon { width: var(--space-7); height: var(--space-7); } }

.mk-shot { --p: 1; position: relative; z-index: 1; max-width: 68rem; margin: var(--space-10) auto 0;
  transform: perspective(1800px) rotateX(calc((1 - var(--p)) * 14deg)) scale(calc(.94 + var(--p) * .06)); transform-origin: 50% 100%; }
html:not(.no-js) .mk-shot { --p: .35; }
@media (prefers-reduced-motion: no-preference) { html:not(.no-js) .mk-shot { animation: mk-rise 1000ms var(--ease-out) 350ms both; } }
@keyframes mk-rise { from { opacity: 0; translate: 0 var(--space-8); } }
.mk-shot .mk-toast--ok { right: var(--space-6); bottom: auto; top: calc(var(--space-4) * -1); }

/* ---------- Product mockups ----------
   Screens drawn in HTML: crisp at any size, translated with the page. They
   stay light in dark mode, like a screenshot would. */
.ui {
  --ui-bg: 0 0% 100%; --ui-soft: 190 30% 96%; --ui-line: 190 22% 89%; --ui-fg: var(--brand-ink); --ui-muted: 195 12% 40%;
  position: relative; border-radius: var(--radius-xl); overflow: hidden; background: hsl(var(--ui-bg)); color: hsl(var(--ui-fg));
  border: 1px solid hsl(var(--ui-line)); font-size: var(--text-sm); line-height: var(--leading-snug); text-align: left;
  box-shadow: 0 2px 4px hsl(var(--brand-ink) / .04), 0 40px 80px -36px hsl(var(--brand-petrol-deep) / .55);
}
.mk-dark .ui { border-color: hsl(0 0% 100% / .6); box-shadow: 0 50px 100px -40px hsl(0 0% 0% / .7); }
.ui svg { width: var(--space-3-5); height: var(--space-3-5); flex-shrink: 0; }
.ui b { font-weight: 700; }
.ui small { color: hsl(var(--ui-muted)); font-size: var(--text-xs); }
.ui-av { width: var(--space-9); height: var(--space-9); flex-shrink: 0; border-radius: 50%; display: inline-grid; place-items: center; font-size: var(--text-3xs); font-weight: 800;
  background: hsl(var(--hue, 192) 45% 90%); color: hsl(var(--hue, 192) 50% 26%); }
.ui-av--xs { width: var(--space-5); height: var(--space-5); font-size: .6rem; margin-right: var(--space-1-5); vertical-align: middle; }
/* Channel tag: a brand-coloured dot, the name stays in ink for contrast. */
.ui-ch { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-3xs); font-weight: 700; font-style: normal; color: hsl(var(--ui-muted)); white-space: nowrap; }
.ui-ch::before { content: ""; width: var(--space-2); height: var(--space-2); border-radius: 50%; background: hsl(var(--ch)); }
.ui-ch--airbnb { --ch: var(--channel-airbnb); }
.ui-ch--booking { --ch: var(--channel-booking); }
.ui-ch--vrbo { --ch: var(--channel-vrbo); }
.ui-btn { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-full); border: 1px solid hsl(var(--ui-line)); font-size: var(--text-xs); font-weight: 700; }
.ui-btn--coral { background: hsl(var(--brand-coral)); border-color: transparent; color: hsl(var(--brand-ink)); }
.ui-status { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); font-size: var(--text-3xs); font-weight: 700; white-space: nowrap; background: hsl(var(--ui-soft)); color: hsl(var(--ui-muted)); }
.ui-status.is-done { background: hsl(var(--success) / .12); color: hsl(152 55% 26%); }
.ui-status.is-live { background: hsl(var(--brand-petrol) / .1); color: hsl(var(--brand-petrol)); }
.ui-status.is-you { background: hsl(var(--brand-coral)); color: hsl(var(--brand-ink)); }

/* Window bar */
.ui-bar { display: flex; align-items: center; gap: var(--space-4); height: 2.75rem; padding: 0 var(--space-4); border-bottom: 1px solid hsl(var(--ui-line)); background: hsl(var(--ui-soft)); }
.ui-dots { display: flex; gap: var(--space-1-5); }
.ui-dots i { width: var(--space-2-5); height: var(--space-2-5); border-radius: 50%; background: hsl(var(--ui-line)); }
.ui-bar__title { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; }
.ui-bar__logo { width: var(--space-5); height: auto; color: hsl(var(--brand-petrol)); }
.ui-bar__search { margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-2); width: 15rem; padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-full); background: hsl(var(--ui-bg)); border: 1px solid hsl(var(--ui-line)); color: hsl(var(--ui-muted)); font-size: var(--text-xs); }

/* Inbox (hero) */
.ui-inbox__body { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); min-height: 24rem; }
.ui-threads { border-right: 1px solid hsl(var(--ui-line)); padding: var(--space-3); display: grid; align-content: start; gap: var(--space-1); }
.ui-tabs { display: flex; gap: var(--space-1); margin-bottom: var(--space-2); font-size: var(--text-xs); }
.ui-tabs > * { padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); color: hsl(var(--ui-muted)); }
.ui-tabs b { background: hsl(var(--brand-petrol)); color: white; }
.ui-tabs em { font-style: normal; font-weight: 700; color: hsl(var(--ui-fg)); }
.ui-tabs em.is-coral { color: hsl(var(--brand-coral-text)); }
.ui-thread { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-2-5); align-items: center; padding: var(--space-2-5); border-radius: var(--radius-md); }
.ui-thread.is-active { background: hsl(var(--brand-petrol) / .07); box-shadow: inset 3px 0 0 hsl(var(--brand-coral)); }
.ui-thread__txt { min-width: 0; }
.ui-thread__txt b, .ui-thread__txt small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-thread__txt small { display: flex; align-items: center; gap: var(--space-1); }
.ui-thread__txt small svg { color: hsl(var(--brand-coral-text)); width: var(--space-3); height: var(--space-3); }
.ui-thread__meta { display: grid; justify-items: end; gap: var(--space-1); }
.ui-thread__meta time { font-size: var(--text-3xs); color: hsl(var(--ui-muted)); font-variant-numeric: tabular-nums; }
.ui-convo { display: flex; flex-direction: column; min-width: 0; }
.ui-convo__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5); border-bottom: 1px solid hsl(var(--ui-line)); }
.ui-convo__head > div { flex: 1; min-width: 0; }
.ui-convo__head b, .ui-convo__head small { display: block; }
.ui-msgs { flex: 1; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
.ui-msg { max-width: 82%; }
.ui-msg p { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-sm); background: hsl(var(--ui-soft)); font-size: var(--text-base); }
.ui-msg small { display: flex; gap: var(--space-1-5); margin-top: var(--space-1-5); padding-left: var(--space-1); }
.ui-msg small svg { margin-top: 2px; }
.ui-reply { align-self: flex-end; max-width: 82%; }
.ui-reply p { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg); background: hsl(var(--brand-petrol)); color: white; font-size: var(--text-base); min-height: 3.2em; }
.ui-reply small { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-1); margin-top: var(--space-1-5); color: hsl(152 55% 28%); font-weight: 600; }
.ui-langs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); padding: var(--space-3) var(--space-5); border-top: 1px solid hsl(var(--ui-line)); font-size: var(--text-xs); color: hsl(var(--ui-muted)); }
.ui-langs__key { display: inline-flex; align-items: center; gap: var(--space-1-5); margin-right: var(--space-2); font-weight: 600; color: hsl(var(--ui-fg)); }
.ui-langs b { padding: var(--space-0-5) var(--space-2); border-radius: var(--radius-sm); background: hsl(var(--ui-soft)); color: hsl(var(--ui-fg)); font-size: var(--text-3xs); }

/* ================================ CHANNELS ================================
   Monochrome by default, each channel's own colour on hover. */
.mk-channels { padding-block: var(--space-6) var(--space-8); }
.mk-channels__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; }
.mk-channels p { margin: 0; font-size: var(--text-sm); font-weight: 600; color: hsl(var(--mk-muted)); }
.mk-channels ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); margin: 0; padding: 0; list-style: none; }
.mk-chan { font-family: var(--mk-display); font-size: clamp(var(--text-lg), 2.2vw, var(--text-2xl)); font-weight: 700; letter-spacing: -0.02em; color: hsl(var(--mk-muted) / .75); cursor: default; transition: color 220ms ease; }
.mk-chan--airbnb { --ch: var(--channel-airbnb); }
.mk-chan--booking { --ch: var(--channel-booking); }
.mk-chan--vrbo { --ch: var(--channel-vrbo); }
@media (hover: hover) and (pointer: fine) { .mk-chan:hover { color: hsl(var(--ch)); } }

/* ================================ PRODUCT ================================ */
.mk-product { padding-bottom: var(--space-8); }
.mk-product__head { margin-bottom: var(--space-4); text-align: center; }
.mk-product__head .mk-h2, .mk-product__head .mk-lede { margin-inline: auto; }

/* Product table of contents: six pills on one line (desktop), 3 x 2 on
   tablets and phones (icon above the word on phones). Each is a link to its row; icons are decoration. */
.mk-toc { margin: var(--space-8) 0 var(--space-4); }
.mk-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-3); }
.mk-toc a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--space-10); padding: 0 var(--space-4); border-radius: var(--radius-full);
  border: 1px solid hsl(var(--mk-line)); background: hsl(var(--mk-surface)); color: hsl(var(--mk-fg)); font-size: var(--text-sm); font-weight: 600; text-decoration: none;
  touch-action: manipulation; transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), transform 160ms var(--ease-out); }
.mk-toc svg { width: var(--space-4); height: var(--space-4); color: hsl(var(--brand-petrol)); }
.mk-toc a:active { transform: scale(.97); }
.mk-toc a:focus-visible { outline: 2px solid hsl(var(--brand-coral)); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .mk-toc a:hover { border-color: hsl(var(--brand-petrol) / .45); background: hsl(var(--brand-petrol) / .05); } }
@media (max-width: 900px) {
  .mk-toc ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-toc a { justify-content: center; width: 100%; }
}
@media (max-width: 560px) {
  .mk-toc a { flex-direction: column; justify-content: center; gap: var(--space-1); width: 100%; min-height: var(--space-16); padding: var(--space-2); border-radius: var(--radius-lg); font-size: var(--text-xs); text-align: center; }
  .mk-toc svg { width: var(--space-5); height: var(--space-5); }
}
.mk-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(var(--space-8), 6vw, var(--space-20)); align-items: center; padding-block: clamp(var(--space-10), 6vw, var(--space-16)); }
.mk-row--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.mk-row--flip .mk-row__copy { order: 2; }
.mk-label { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); font-size: var(--text-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--brand-petrol)); }
.mk-label svg { width: var(--space-4); height: var(--space-4); }
.mk-label--coral { color: hsl(var(--brand-coral-text)); }
.mk-dark .mk-label--coral { color: hsl(var(--brand-coral)); }
.mk-row h3, .mk-row .mk-row__h { font-size: clamp(1.6rem, 2.9vw, 2.4rem); line-height: 1.1; font-weight: 700; max-width: 18ch; }
.mk-row__copy > p:not(.mk-label, .mk-plan-tag) { margin: var(--space-4) 0 0; font-size: var(--text-lg); color: hsl(var(--mk-muted)); max-width: 34rem; text-wrap: pretty; }
.mk-facts { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-2-5); }
.mk-facts li { position: relative; padding-left: var(--space-7); font-weight: 600; }
.mk-facts li::before { content: ""; position: absolute; left: 0; top: .2em; width: var(--space-5); height: var(--space-5); border-radius: 50%;
  background: hsl(var(--brand-petrol) / .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4553' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 62% no-repeat; }
.mk-dark .mk-facts li::before { background-color: hsl(var(--brand-coral) / .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.mk-facts--quotes li { font-style: italic; font-weight: 500; }
.mk-row__shot { position: relative; }
.mk-plan-tag { display: inline-flex; align-items: center; gap: var(--space-1-5); margin: var(--space-3) 0 0; padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  background: hsl(var(--brand-coral) / .16); color: hsl(var(--brand-coral)); font-size: var(--text-xs); font-weight: 700; }
.mk-plan-tag svg { width: var(--space-3-5); height: var(--space-3-5); }
/* Small badge sitting in a row's label line (who it was built with, which plan). */
.mk-badge { display: inline-flex; align-items: center; margin-left: var(--space-1); padding: var(--space-0-5) var(--space-2-5); border-radius: var(--radius-full);
  background: hsl(var(--brand-coral) / .12); color: hsl(var(--brand-coral-text)); font-size: var(--text-3xs); font-weight: 700; letter-spacing: 0; text-transform: none; }
.mk-badge--petrol { background: hsl(var(--brand-petrol) / .1); color: hsl(var(--brand-petrol)); }
.mk-label { flex-wrap: wrap; row-gap: var(--space-1-5); }
.mk-label .mk-soon { margin-left: 0; }
.mk-row__cta { margin-top: var(--space-6); }
.mk-row__cta svg { width: var(--space-4); height: var(--space-4); }
.mk-row__shot > .ui { padding: var(--space-5); }

/* List of conversations */
.ui-list__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-4); }
.ui-list__head b { font-family: var(--mk-display); font-size: var(--text-lg); }
.ui-list__head span { font-size: var(--text-xs); color: hsl(var(--ui-muted)); }
.ui-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3); border-radius: var(--radius-lg); border: 1px solid hsl(var(--ui-line)); }
.ui-item + .ui-item { margin-top: var(--space-2); }
.ui-item__txt b { display: flex; align-items: center; gap: var(--space-2); }
.ui-item__txt b { flex-wrap: wrap; row-gap: var(--space-1); }
.ui-item__txt q { display: block; margin-top: var(--space-1); color: hsl(var(--ui-fg)); quotes: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The guest's words translated for the host: grey, under the original. */
.ui-tr { display: flex; align-items: center; gap: var(--space-1); margin-top: var(--space-0-5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-tr svg { width: var(--space-3); height: var(--space-3); flex-shrink: 0; }
/* Which host account a conversation belongs to: a quiet tinted tag. */
.ui-acct { padding: var(--space-0-5) var(--space-2); border-radius: var(--radius-full); font-size: var(--text-3xs); font-weight: 700; white-space: nowrap; }
.ui-acct--1 { background: hsl(var(--brand-petrol) / .1); color: hsl(var(--brand-petrol)); }
.ui-acct--2 { background: hsl(var(--brand-coral) / .14); color: hsl(var(--brand-coral-text)); }

/* Calendar */
.ui-cal__head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.ui-cal__head b { font-family: var(--mk-display); font-size: var(--text-lg); }
.ui-legend { display: flex; gap: var(--space-3); }
.ui-cal__grid { display: grid; grid-template-columns: 5.5rem repeat(10, minmax(0, 1fr)); row-gap: var(--space-2); align-items: center; }
.ui-cal__grid > span { text-align: center; font-size: var(--text-3xs); font-weight: 700; color: hsl(var(--ui-muted)); padding-bottom: var(--space-1); }
.ui-cal__grid > b { font-size: var(--text-xs); }
.ui-cal__lane { grid-column: span 10; position: relative; height: 2.25rem; border-radius: var(--radius-sm);
  background: repeating-linear-gradient(90deg, hsl(var(--ui-soft)) 0 calc(10% - 2px), transparent calc(10% - 2px) 10%); }
.ui-cal__lane i { position: absolute; top: 3px; bottom: 3px; left: calc((var(--s) - 1) * 10%); width: calc(var(--w) * 10% - 3px); border-radius: var(--radius-sm);
  display: flex; align-items: center; padding: 0 var(--space-2); overflow: hidden; white-space: nowrap; font-style: normal; font-size: var(--text-3xs); font-weight: 700; color: white; }
.ui-cal__lane .is-airbnb { background: hsl(var(--channel-airbnb)); color: hsl(var(--brand-ink)); }
.ui-cal__lane .is-booking { background: hsl(var(--channel-booking)); }
.ui-cal__lane .is-vrbo { background: hsl(var(--channel-vrbo)); }
.ui-cal__lane .is-blocked { background: repeating-linear-gradient(135deg, hsl(var(--ui-muted) / .35) 0 3px, hsl(var(--ui-muted) / .12) 3px 6px); }
.ui-cal__lane .is-new { box-shadow: 0 0 0 2px hsl(var(--ui-bg)), 0 0 0 4px hsl(var(--brand-coral) / .55); }
.ui-note { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-4); padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-md); background: hsl(var(--brand-petrol) / .07); color: hsl(var(--brand-petrol)); font-size: var(--text-xs); font-weight: 600; }

/* Cleaning plan */
.ui-job { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: var(--space-3); align-items: center; padding: var(--space-3) 0; border-top: 1px solid hsl(var(--ui-line)); }
.ui-job time { font-weight: 800; font-variant-numeric: tabular-nums; }
.ui-job b, .ui-job small { display: block; }
.ui-job small { margin-top: var(--space-0-5); }
.ui-prog { display: block; height: var(--space-1); margin-top: var(--space-1-5); border-radius: var(--radius-full); background: hsl(var(--ui-soft)); max-width: 9rem; }
.ui-prog i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: hsl(var(--brand-petrol)); }
.ui-ticket { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-3); padding: var(--space-3); border-radius: var(--radius-lg); background: hsl(var(--warning) / .1); }
.ui-ticket b, .ui-ticket small { display: block; }
.ui-ticket__icon { width: var(--space-9); height: var(--space-9); border-radius: var(--radius-md); display: grid; place-items: center; background: hsl(var(--warning) / .18); color: hsl(var(--warning)); }

/* Copilot */
.ui-ask { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid hsl(var(--ui-line)); background: hsl(var(--ui-bg)); box-shadow: 0 8px 20px -14px hsl(var(--brand-ink) / .35); font-size: var(--text-base); }
.ui-ask > svg { color: hsl(var(--brand-coral-text)); width: var(--space-4); height: var(--space-4); }
.ui-ask > span:first-of-type { flex: 1; }
.ui-ask__send { width: var(--space-8); height: var(--space-8); border-radius: 50%; display: grid; place-items: center; background: hsl(var(--brand-petrol)); color: white; flex-shrink: 0; }
.ui-done { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-lg); background: hsl(var(--ui-soft)); }
.ui-done > b { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-base); }
.ui-done > b svg { width: var(--space-5); height: var(--space-5); color: hsl(var(--success)); }
.ui-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-1); margin: var(--space-4) 0 var(--space-3); }
.ui-strip span { padding: var(--space-2) 0; text-align: center; border-radius: var(--radius-sm); background: hsl(var(--ui-bg)); font-size: var(--text-xs); font-weight: 700; }
.ui-strip .is-blocked { background: repeating-linear-gradient(135deg, hsl(var(--brand-petrol) / .28) 0 3px, hsl(var(--brand-petrol) / .1) 3px 6px); color: hsl(var(--brand-petrol)); }
.ui-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ui-chips .ui-ch { padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); background: hsl(var(--ui-bg)); color: hsl(var(--ui-fg)); }

/* Cleaning -> guest told -> better review: three steps joined by a rail.
   The steps light up in turn once the screen is revealed. */
.ui-flow { display: grid; }
.ui-flow__step { position: relative; display: grid; grid-template-columns: var(--space-8) minmax(0, 1fr); gap: var(--space-3); align-items: center; }
.ui-flow__n { width: var(--space-8); height: var(--space-8); border-radius: 50%; display: grid; place-items: center; font-size: var(--text-xs); font-weight: 800; background: hsl(var(--brand-petrol)); color: white; z-index: 1; }
.ui-flow__link { display: grid; grid-template-columns: var(--space-8) minmax(0, 1fr); gap: var(--space-3); min-height: var(--space-10); align-items: center; }
.ui-flow__link::before { content: ""; justify-self: center; width: 2px; height: 100%; background: linear-gradient(hsl(var(--brand-petrol) / .5), hsl(var(--brand-coral) / .7)); }
.ui-flow__link span { display: inline-flex; align-items: center; gap: var(--space-1-5); font-size: var(--text-xs); font-weight: 700; color: hsl(var(--brand-coral-text)); }
.ui-job--card { grid-template-columns: auto minmax(0, 1fr) auto; padding: var(--space-3); border: 1px solid hsl(var(--ui-line)); border-radius: var(--radius-lg); }
.ui-job__icon { width: var(--space-9); height: var(--space-9); border-radius: var(--radius-md); display: grid; place-items: center; background: hsl(var(--success) / .12); color: hsl(152 55% 28%); }
.ui-flow__msg { padding: var(--space-3); border-radius: var(--radius-lg); background: hsl(var(--ui-soft)); }
.ui-flow__msg small { display: flex; align-items: center; gap: var(--space-1); }
.ui-flow__msg p { margin: var(--space-2) 0 0; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-lg); background: hsl(var(--brand-petrol)); color: white; }
.ui-flow__review { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-lg); border: 1px solid hsl(var(--brand-coral) / .35); background: hsl(var(--brand-coral) / .06); }
.ui-stars { color: hsl(42 96% 48%); letter-spacing: 1px; font-size: var(--text-lg); }
.ui-flow .ui-ticket { margin-top: var(--space-5); }
html:not(.no-js) .ui-flow > :is(.ui-flow__step, .ui-flow__link) { opacity: .25; transform: translateY(var(--space-1)); }
.mk-row__shot.is-in .ui-flow > :is(.ui-flow__step, .ui-flow__link) { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.mk-row__shot.is-in .ui-flow > :nth-child(3) { transition-delay: 450ms; } .mk-row__shot.is-in .ui-flow > :nth-child(4) { transition-delay: 700ms; }
.mk-row__shot.is-in .ui-flow > :nth-child(5) { transition-delay: 1150ms; } .mk-row__shot.is-in .ui-flow > :nth-child(6) { transition-delay: 1400ms; }
/* Live status above step 1: the pulsing dot is .mk-live (its pulse only
   runs without prefers-reduced-motion). */
.ui-flow__live { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); padding: var(--space-2) var(--space-3); border-radius: var(--radius-full);
  justify-self: start; background: hsl(var(--brand-coral) / .08); color: hsl(var(--brand-ink)); font-size: var(--text-xs); font-weight: 600; }

/* Accounting: a real books screen — tabs, KPIs, a bookings table with one
   row opened down to its lines. */
.ui-books { padding: 0 !important; }
.ui-books__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid hsl(var(--ui-line)); background: hsl(var(--ui-soft)); }
.ui-books__tabs { display: flex; gap: var(--space-1); font-size: var(--text-xs); overflow: hidden; }
.ui-books__tabs > * { padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); color: hsl(var(--ui-muted)); white-space: nowrap; }
.ui-books__right { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.ui-recon { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); background: hsl(var(--success) / .12); color: hsl(var(--success)); font-size: var(--text-3xs); font-weight: 700; white-space: nowrap; }
.ui-recon svg { width: var(--space-3); height: var(--space-3); }
.ui-books__tabs b { background: hsl(var(--ui-bg)); color: hsl(var(--ui-fg)); box-shadow: 0 1px 3px hsl(var(--brand-ink) / .12); }
.ui-books__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid hsl(var(--ui-line)); }
.ui-books__kpis > div { padding: var(--space-3) var(--space-4); }
.ui-books__kpis > div + div { border-left: 1px solid hsl(var(--ui-line)); }
.ui-books__kpis small, .ui-books__kpis b { display: block; white-space: nowrap; }
.ui-books__kpis b { margin-top: var(--space-1); font-family: var(--mk-display); font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.ui .is-neg { color: hsl(var(--destructive)); }
.ui-table { width: 100%; border-collapse: collapse; font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.ui-table th { padding: var(--space-2) var(--space-4); text-align: right; font-weight: 600; color: hsl(var(--ui-muted)); font-size: var(--text-3xs); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid hsl(var(--ui-line)); }
.ui-table td { padding: var(--space-2-5) var(--space-4); text-align: right; border-bottom: 1px solid hsl(var(--ui-line)); }
.ui-table th:first-child, .ui-table td:first-child { text-align: left; }
.ui-table td small { display: flex; align-items: center; gap: var(--space-1); margin-top: var(--space-0-5); }
.ui-table tr.is-open td { background: hsl(var(--brand-petrol) / .05); }
.ui-table tr.is-open td:first-child { box-shadow: inset 3px 0 0 hsl(var(--brand-coral)); }
.ui-drill td { padding: var(--space-2) var(--space-4) var(--space-3) var(--space-8); background: hsl(var(--brand-petrol) / .03); text-align: left; }
.ui-drill span { display: flex; justify-content: space-between; padding: var(--space-1) 0; }
.ui-drill em { font-style: normal; }
.ui-drill .is-total { margin-top: var(--space-1); padding-top: var(--space-1-5); border-top: 1px dashed hsl(var(--ui-line)); font-weight: 700; }

/* ============================ WELCOME BOOK ============================ */
.mk-wb { background: hsl(var(--mk-surface)); }
.mk-device { position: relative; width: min(100%, 19rem); margin-inline: auto; padding: var(--space-2); border-radius: 3.4rem; background: hsl(var(--device-black));
  /* Titanium band, its darker outer edge, then the drop shadow. */
  box-shadow: 0 0 0 3px hsl(var(--device-titanium)), 0 0 0 4px hsl(var(--device-titanium-deep)), inset 0 0 0 1px hsl(0 0% 100% / .06), 0 50px 90px -40px hsl(var(--brand-petrol-deep) / .7); }
.mk-device__btn { position: absolute; width: var(--space-1); border-radius: var(--radius-sm); background: hsl(var(--device-titanium-deep)); }
.mk-device__btn--action, .mk-device__btn--vol1, .mk-device__btn--vol2 { left: calc(var(--space-2) * -1); }
.mk-device__btn--power, .mk-device__btn--cam { right: calc(var(--space-2) * -1); }
.mk-device__btn--action { top: 17%; height: 4%; }
.mk-device__btn--vol1 { top: 25%; height: 8%; }
.mk-device__btn--vol2 { top: 35%; height: 8%; }
.mk-device__btn--power { top: 27%; height: 12%; }
.mk-device__btn--cam { top: 55%; height: 7%; width: 3px; right: calc(var(--space-1) * -1.5); }
.mk-device__screen { position: relative; aspect-ratio: 1320 / 2868; overflow: hidden; border-radius: 2.9rem; }
.mk-device__status { position: absolute; z-index: 3; inset: 0 0 auto; height: 3.1rem; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--space-6) 0 var(--space-7); color: hsl(var(--brand-paper)); }
.mk-device__status time { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 600; letter-spacing: -0.01em; }
.mk-device__icons { display: flex; align-items: center; gap: var(--space-1); }
.mk-device__icons svg { width: var(--space-3-5); height: var(--space-3-5); stroke-width: 2.6; }
.mk-device__signal { display: flex; align-items: flex-end; gap: 1px; height: var(--space-2-5); }
.mk-device__signal i { width: 3px; border-radius: 1px; background: currentColor; }
.mk-device__signal i:nth-child(1) { height: 35%; } .mk-device__signal i:nth-child(2) { height: 55%; } .mk-device__signal i:nth-child(3) { height: 78%; } .mk-device__signal i:nth-child(4) { height: 100%; }
.mk-device__battery { position: relative; width: 1.35rem; height: var(--space-2-5); padding: 1px; border-radius: 3px; border: 1px solid hsl(var(--brand-paper) / .5); }
.mk-device__battery::after { content: ""; position: absolute; right: -3px; top: 30%; width: 2px; height: 40%; border-radius: 0 1px 1px 0; background: hsl(var(--brand-paper) / .5); }
.mk-device__battery i { display: block; width: 80%; height: 100%; border-radius: 1px; background: currentColor; }
.mk-device__island { position: absolute; z-index: 4; top: var(--space-2-5); left: 50%; translate: -50% 0; width: 32%; height: 1.75rem; border-radius: var(--radius-full); background: hsl(var(--device-black)); }
.mk-device__home { position: absolute; z-index: 4; bottom: var(--space-2); left: 50%; translate: -50% 0; width: 36%; height: 5px; border-radius: var(--radius-full); background: hsl(var(--brand-ink) / .85); }
.wbm { height: 100%; overflow: hidden; background: hsl(36 33% 97%); color: hsl(var(--brand-ink)); }
.wbm__cover { position: relative; height: 17rem; color: white; }
.wbm__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wbm__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(hsl(var(--brand-ink) / .25), transparent 35%, hsl(var(--brand-ink) / .7)); }
.wbm__top, .wbm__hero { position: absolute; z-index: 1; left: var(--space-4); right: var(--space-4); }
.wbm__top { top: 3.4rem; display: flex; justify-content: space-between; align-items: center; font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wbm__lang { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2); border-radius: var(--radius-full); background: hsl(0 0% 100% / .2); backdrop-filter: blur(6px); letter-spacing: 0; }
.wbm__lang svg { width: var(--space-3); height: var(--space-3); }
.wbm__hero { bottom: var(--space-4); display: grid; gap: var(--space-1); }
.wbm__hero small { font-size: var(--text-3xs); opacity: .9; }
.wbm__hero b { font-family: var(--mk-display); font-size: var(--text-2xl); font-weight: 700; line-height: 1.1; }
.wbm__hero span { font-size: var(--text-xs); opacity: .9; }
.wbm__body { padding: var(--space-4); }
.wbm__h { margin: 0 0 var(--space-2); font-size: var(--text-3xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: hsl(195 12% 40%); }
.wbm__h:not(:first-child) { margin-top: var(--space-4); }
.wbm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.wbm__card { position: relative; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); background: white; border: 1px solid hsl(30 20% 90%); }
.wbm__card--wide { grid-column: 1 / -1; }
.wbm__card small { display: flex; align-items: center; gap: var(--space-1); font-size: var(--text-3xs); color: hsl(195 12% 40%); }
.wbm__card small svg { width: var(--space-3); height: var(--space-3); }
.wbm__card b { display: block; margin-top: var(--space-0-5); font-family: var(--mk-display); font-size: var(--text-lg); font-variant-numeric: tabular-nums; }
.wbm__card code { display: block; margin-top: var(--space-0-5); font-size: var(--text-sm); font-weight: 600; }
.wbm__copy { position: absolute; right: var(--space-3); top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2); border-radius: var(--radius-full); background: hsl(var(--brand-petrol)); color: white; font-size: var(--text-3xs); font-weight: 700; }
.wbm__copy svg { width: var(--space-3); height: var(--space-3); }
.wbm__card--code { background: hsl(var(--brand-petrol)); border-color: transparent; color: white; }
.wbm__card--code small, .wbm__card--code span { color: hsl(0 0% 100% / .75); }
.wbm__card--code b { letter-spacing: .3em; font-size: var(--text-xl); }
.wbm__card--code span { position: absolute; right: var(--space-3); bottom: var(--space-2-5); font-size: var(--text-3xs); }
.wbm__place { display: flex; gap: var(--space-2-5); align-items: center; padding: var(--space-2-5) var(--space-3); border-radius: var(--radius-lg); background: white; border: 1px solid hsl(30 20% 90%); font-size: var(--text-xs); }
.wbm__place svg { width: var(--space-4); height: var(--space-4); color: hsl(var(--brand-coral-text)); }
.wbm__place b, .wbm__place small { display: block; }
.wbm__place small { color: hsl(195 12% 40%); font-size: var(--text-3xs); }

/* ========================= WHAT VOSTAY REPLACES =========================
   On reveal: each tool card greys out and is struck through in turn
   (--i × 220ms), then the Vostay card arrives. Once, CSS only. */
.mk-swap__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-6); align-items: center; margin-top: var(--space-10); }
.mk-swap__stack { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.mk-swap__stack li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); }
.mk-swap__stack svg { width: var(--space-4); height: var(--space-4); color: hsl(var(--mk-muted)); }
.mk-swap__stack b { font-weight: 600; }
.mk-swap__stack span { font-size: var(--text-xs); font-weight: 600; color: hsl(var(--mk-muted)); font-variant-numeric: tabular-nums; text-align: right; }
.mk-swap__note { margin: var(--space-8) auto 0; text-align: center; max-width: 52rem; }
.mk-swap__stack li::after { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); top: 50%; height: 2px; border-radius: var(--radius-full); background: hsl(var(--brand-coral)); transform: scaleX(0); transform-origin: left; }
.mk-swap__arrow { display: grid; place-items: center; width: var(--space-12); height: var(--space-12); border-radius: 50%; background: hsl(var(--brand-coral) / .14); color: hsl(var(--brand-coral-text)); }
.mk-swap__arrow svg { width: var(--space-6); height: var(--space-6); }
.mk-swap__one { position: relative; padding: clamp(var(--space-6), 3vw, var(--space-10)); border-radius: var(--radius-xl); color: white; overflow: hidden;
  background: radial-gradient(20rem 12rem at 100% 0%, hsl(var(--brand-coral) / .28), transparent 70%), linear-gradient(150deg, hsl(var(--brand-petrol)), hsl(var(--brand-petrol-deep)));
  box-shadow: 0 40px 80px -40px hsl(var(--brand-petrol-deep) / .8); }
.mk-swap__svg { height: 1.75rem; width: auto; color: white; }
.mk-swap__all { margin: var(--space-6) 0 0; font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--brand-coral)); }
.mk-swap__price { margin: var(--space-1) 0 0; font-size: var(--text-lg); color: hsl(var(--mk-dark-muted)); }
.mk-swap__price b { font-family: var(--mk-display); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: white; letter-spacing: -0.02em; }
.mk-swap__inc { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-1-5); }
.mk-swap__inc li { padding: var(--space-1) var(--space-2-5); border-radius: var(--radius-full); background: hsl(0 0% 100% / .1); font-size: var(--text-xs); font-weight: 600; }
.mk-swap__terms { margin: var(--space-5) 0 0; padding-top: var(--space-4); border-top: 1px solid hsl(var(--brand-paper) / .14); font-size: var(--text-sm); font-weight: 600; color: hsl(var(--mk-dark-fg)); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js) .mk-swap__one { opacity: 0; transform: translateY(var(--space-4)) scale(.97); }
  .mk-swap__grid.is-in .mk-swap__stack li { transition: opacity 400ms var(--ease-out); transition-delay: calc(var(--i) * 220ms + 300ms); opacity: .5; }
  .mk-swap__grid.is-in .mk-swap__stack li::after { transition: transform 360ms var(--ease-out); transition-delay: calc(var(--i) * 220ms + 300ms); transform: scaleX(1); }
  .mk-swap__grid.is-in .mk-swap__one { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out) 1500ms, transform 700ms var(--ease-out) 1500ms; }
}
/* No motion, no JS: show the end state straight away. */
@media (prefers-reduced-motion: reduce) { .mk-swap__stack li { opacity: .5; } .mk-swap__stack li::after { transform: scaleX(1); } }
html.no-js .mk-swap__stack li { opacity: .5; }
html.no-js .mk-swap__stack li::after { transform: scaleX(1); }

/* "New" pill above the founder's section */

/* ============================== SAFETY NET ==============================
   A glass card: the decision flow (draws with --p: the first line, then the
   fork, then the two outcomes light up) and the one notification a host
   gets when something falls outside the rules. */
.mk-guard { margin: var(--space-4) 0 var(--space-12); padding: clamp(var(--space-6), 3.5vw, var(--space-10)); border-radius: var(--radius-xl);
  background: hsl(var(--mk-surface) / .7); border: 1px solid hsl(var(--mk-line)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -40px hsl(var(--brand-petrol-deep) / .35), inset 0 1px 0 hsl(0 0% 100% / .6); }
.mk-guard__head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; max-width: 24ch; }
.mk-guard__head > p:not(.mk-label, .mk-plan-tag) { margin: var(--space-3) 0 0; color: hsl(var(--mk-muted)); max-width: 44rem; }
/* The decision, on one line: step 1 → step 2 → fork → two outcomes.
   Tablet: the two steps on a row, the outcomes side by side under them.
   Phone: the same, steps stacked. Always short. */
.mk-hflow { display: grid; grid-template-columns: minmax(0, 1fr) var(--space-10) minmax(0, 1fr) var(--space-16) minmax(0, 1.25fr); align-items: center; margin-top: var(--space-8); }
.mk-hflow__step { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); }
.mk-hflow__step b, .mk-hflow__step small { display: block; }
.mk-hflow__step b { font-size: var(--text-sm); line-height: var(--leading-snug); }
.mk-hflow__step small { margin-top: var(--space-0-5); font-size: var(--text-xs); color: hsl(var(--mk-muted)); }
.mk-hflow__n { width: var(--space-8); height: var(--space-8); flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: var(--text-sm); background: hsl(var(--brand-petrol) / .1); color: hsl(var(--brand-petrol)); }
.mk-hflow__step--q { border-color: hsl(var(--brand-petrol) / .4); }
.mk-hflow__step--q .mk-hflow__n { background: hsl(var(--brand-petrol)); color: hsl(var(--brand-paper)); }
.mk-hflow__arrow { display: grid; place-items: center; color: hsl(var(--brand-petrol) / .55); }
.mk-hflow__arrow svg { width: var(--space-5); height: var(--space-5); }
.mk-hflow__fork { width: 100%; height: 9rem; overflow: visible; }
.mk-hflow__fork path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mk-hflow__fork .is-yes { stroke: hsl(var(--success)); }
.mk-hflow__fork .is-no { stroke: hsl(var(--brand-coral)); }
.mk-hflow__outs { display: grid; gap: var(--space-3); }
.mk-out { padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); border-left: 3px solid; }
.mk-out--yes { border-left-color: hsl(var(--success)); }
.mk-out--no { border-left-color: hsl(var(--brand-coral)); }
.mk-out__tag { display: inline-flex; align-items: center; gap: var(--space-1); margin: 0; font-size: var(--text-3xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mk-out__tag svg { width: var(--space-3); height: var(--space-3); }
.mk-out--yes .mk-out__tag { color: hsl(var(--success)); }
.mk-out--no .mk-out__tag { color: hsl(var(--brand-coral-text)); }
.mk-out b { display: block; margin-top: var(--space-1); font-family: var(--mk-display); font-weight: 700; font-size: var(--text-base); }
.mk-out small { display: block; margin-top: var(--space-0-5); font-size: var(--text-xs); color: hsl(var(--mk-muted)); }
@media (max-width: 1000px) {
  .mk-hflow { grid-template-columns: minmax(0, 1fr) var(--space-10) minmax(0, 1fr); row-gap: var(--space-4); }
  .mk-hflow__fork { display: none; }
  .mk-hflow__outs { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mk-hflow { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); }
  .mk-hflow__arrow { transform: rotate(90deg); }
  .mk-hflow__outs { grid-column: auto; margin-top: var(--space-3); gap: var(--space-2); }
  .mk-out { padding: var(--space-3); }
}



/* ============================== BENEFITS ============================== */
.mk-gains__grid { list-style: none; margin: var(--space-10) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.mk-gain { padding: var(--space-6); border-radius: var(--radius-xl); color: white;
  background: radial-gradient(16rem 10rem at 100% 0%, hsl(var(--brand-coral) / .14), transparent 70%), linear-gradient(160deg, hsl(var(--brand-petrol)), hsl(var(--brand-petrol-deep))); }
.mk-gain > span { width: var(--space-10); height: var(--space-10); border-radius: var(--radius-md); display: grid; place-items: center; background: hsl(var(--brand-coral) / .16); color: hsl(var(--brand-coral)); }
.mk-gain > span svg { width: var(--space-5); height: var(--space-5); }
.mk-gain b { display: block; margin-top: var(--space-5); font-family: var(--mk-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.25; letter-spacing: -0.01em; }
.mk-gain p { margin: var(--space-2) 0 0; font-size: var(--text-sm); color: hsl(var(--mk-dark-muted)); }
@media (max-width: 1000px) { .mk-gains__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mk-gains__grid { grid-template-columns: minmax(0, 1fr); } .mk-gain { padding: var(--space-5); } }

/* ================================= VOICE =================================
   The differentiator: a full-bleed dark band inside the product section. */
.mk-voice { margin-block: var(--space-6); padding-block: clamp(var(--space-6), 4vw, var(--space-10)); }
.mk-voice .mk-row h3, .mk-voice .mk-row__copy > p:not(.mk-label, .mk-plan-tag) { color: inherit; }
.mk-voice .mk-row__copy > p:not(.mk-label, .mk-plan-tag) { color: hsl(var(--mk-dark-muted)); }
.mk-phone { position: relative; max-width: 28rem; margin-inline: auto; padding: var(--space-5); border-radius: 2rem; background: hsl(var(--mk-glass) / .06); border: 1px solid hsl(var(--mk-dark-line)); box-shadow: 0 40px 80px -40px hsl(0 0% 0% / .8), inset 0 1px 0 hsl(var(--mk-glass) / .08); }
.mk-phone__top { display: flex; align-items: center; gap: var(--space-3); }
.mk-phone__top b { display: block; font-size: var(--text-sm); }
.mk-phone__top small { color: hsl(var(--mk-dark-muted)); font-variant-numeric: tabular-nums; }
.mk-call__icon { width: var(--space-10); height: var(--space-10); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: hsl(var(--brand-coral) / .2); color: hsl(var(--brand-coral)); }
.mk-call__icon svg { width: var(--space-5); height: var(--space-5); }
.mk-rec { margin-left: auto; font-size: var(--text-3xs); font-weight: 800; letter-spacing: .1em; color: hsl(var(--brand-coral)); }
/* The player: a play button and the waveform, which is also the seek bar
   (a transparent range input over the bars). Bars before the playhead are
   lit; while the call plays, marketing.js drives their height from the
   real audio. */
.mk-player { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-5) 0; }
/* Round by default; while it invites a first tap (.is-inviting) it opens
   into a pill that says what it does, then folds back once the call plays. */
.mk-play {
  position: relative; flex-shrink: 0; min-width: var(--space-12); height: var(--space-12); padding: 0 var(--space-3-5);
  border: 0; border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: hsl(var(--brand-coral)); color: hsl(var(--brand-ink));
  font: inherit; font-size: var(--text-sm); font-weight: 700; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, padding 450ms var(--ease-out);
  touch-action: manipulation;
}
.mk-play__label {
  display: inline-block; max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width 450ms var(--ease-out), opacity 250ms ease, margin 450ms var(--ease-out);
}
.mk-phone.is-inviting .mk-play { padding-inline: var(--space-4) var(--space-5); box-shadow: 0 10px 28px -10px hsl(var(--brand-coral) / .7); }
.mk-phone.is-inviting .mk-play__label { max-width: 10rem; opacity: 1; margin-left: var(--space-2); transition-delay: 0ms, 120ms, 0ms; }
@media (hover: hover) and (pointer: fine) { .mk-play:hover { background: hsl(var(--brand-coral) / .88); } }
.mk-play:active { transform: scale(.95); }
.mk-play:focus-visible { outline: 2px solid hsl(var(--brand-coral)); outline-offset: 3px; }
.mk-play__icon { display: grid; }
.mk-play svg { width: var(--space-5); height: var(--space-5); fill: currentColor; stroke: none; }
.mk-play__icon--pause, .mk-phone.is-playing .mk-play__icon--play { display: none; }
.mk-phone.is-playing .mk-play__icon--pause { display: grid; }
.mk-wave { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; height: 3.5rem; }
.mk-wave i {
  flex: 1; height: 100%; border-radius: var(--radius-full);
  background: hsl(var(--brand-coral) / .35); transform: scaleY(var(--h, .3));
  transition: background-color 200ms ease;
}
.mk-wave i.is-past { background: hsl(var(--brand-coral)); }
/* A still waveform still reads as speech: uneven bar heights. */
.mk-wave i:nth-child(2n) { --h: .55; } .mk-wave i:nth-child(3n) { --h: .85; } .mk-wave i:nth-child(5n) { --h: .4; } .mk-wave i:nth-child(7n) { --h: 1; }
.mk-wave__seek { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; touch-action: manipulation; }
.mk-wave:has(.mk-wave__seek:focus-visible) { outline: 2px solid hsl(var(--brand-coral)); outline-offset: var(--space-1); border-radius: var(--radius-md); }
.mk-voice-note { margin: calc(var(--space-2) * -1) 0 var(--space-3); font-size: var(--text-xs); color: hsl(var(--mk-dark-muted)); }
.mk-rec { opacity: .45; transition: opacity 200ms ease; }
.mk-phone:is(.is-playing, .is-miming) .mk-rec { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  /* Where the browser can't measure the audio, the bars still move. */
  .mk-phone.is-playing:not(.has-meter) .mk-wave i,
  .mk-phone.is-miming.is-talking .mk-wave i { animation: mk-wave 900ms var(--ease-in-out) infinite alternate; }
  .mk-wave i:nth-child(3n) { animation-delay: -300ms; } .mk-wave i:nth-child(3n+1) { animation-delay: -600ms; } .mk-wave i:nth-child(4n) { animation-duration: 700ms; }
  .mk-phone:is(.is-playing, .is-miming) .mk-rec { animation: mk-blink 1.2s steps(1) infinite; }
  /* In view and not started yet: two ripples leave the button, one after
     the other, and the play sign leans forward now and then. */
  .mk-phone.is-inviting .mk-play::before,
  .mk-phone.is-inviting .mk-play::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid hsl(var(--brand-coral));
    animation: mk-ring 2.4s var(--ease-out) infinite; pointer-events: none;
  }
  .mk-phone.is-inviting .mk-play::after { animation-delay: 1.2s; }
  .mk-phone.is-inviting .mk-play__icon--play { animation: mk-nudge 2.4s var(--ease-out) infinite; }
}
@keyframes mk-wave { from { transform: scaleY(.18); } to { transform: scaleY(1); } }
@keyframes mk-blink { 50% { opacity: .35; } }
@keyframes mk-ring { from { transform: scale(1); opacity: .65; } to { transform: scale(1.18, 1.6); opacity: 0; } }
@keyframes mk-nudge { 0%, 70%, 100% { transform: none; } 78% { transform: translateX(3px); } 86% { transform: translateX(-1px); } }

/* The conversation, like a messaging app: the newest line at the bottom,
   older ones pushed up and out under a fade. Lines appear as they are
   spoken (marketing.js sets [hidden]); without JavaScript, all of them. */
.mk-transcript {
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2);
  position: relative; height: 17rem; overflow: hidden;
  /* Room for the speaking line's ring, glow and lift, which overflow:hidden would clip. */
  padding: var(--space-2) var(--space-2) var(--space-4);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black var(--space-10)); mask-image: linear-gradient(to bottom, transparent, black var(--space-10));
}
.mk-transcript li { flex-shrink: 0; padding: var(--space-2) var(--space-3); border-radius: var(--radius-lg); font-size: var(--text-sm); line-height: var(--leading-snug); max-width: 88%; transition: box-shadow 200ms ease, transform 250ms var(--ease-out); }
.mk-transcript li.is-later { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mk-transcript .is-guest { align-self: flex-start; background: hsl(var(--mk-glass) / .08); border-bottom-left-radius: var(--radius-sm); transform-origin: bottom left; }
.mk-transcript .is-ai { align-self: flex-end; background: hsl(var(--brand-petrol)); border: 1px solid hsl(var(--mk-glass) / .12); border-bottom-right-radius: var(--radius-sm); transform-origin: bottom right; }
/* The line being spoken right now. */
.mk-transcript .is-speaking { box-shadow: var(--shadow-speaking); transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .mk-transcript .is-speaking { transform: none; } }
.mk-transcript .is-flag { align-self: center; display: inline-flex; align-items: center; gap: var(--space-2); background: hsl(var(--warning) / .18); color: hsl(42 95% 85%); font-weight: 600; font-size: var(--text-xs); }
.mk-transcript .is-flag.is-sent { background: hsl(var(--success) / .35); color: inherit; }
.mk-transcript .is-flag svg { width: var(--space-4); height: var(--space-4); }
html.no-js .mk-transcript { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
html.no-js .mk-player { display: none; }
html:not(.no-js) .mk-phone .mk-toast { opacity: 0; transform: translateY(var(--space-2)); transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); }
.mk-phone.is-done .mk-toast { opacity: 1 !important; transform: none !important; }

/* Toasts (hero shot, phone) */
.mk-toast { position: absolute; display: inline-flex; align-items: center; gap: var(--space-1-5); padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; white-space: nowrap; box-shadow: 0 10px 24px -10px hsl(var(--brand-ink) / .6); }
.mk-toast svg { width: var(--space-3-5); height: var(--space-3-5); }
.mk-toast--ok { background: hsl(var(--success)); color: white; }
.mk-toast--coral { position: relative; margin-top: var(--space-4); background: hsl(var(--brand-coral)); color: hsl(var(--brand-ink)); }
html:not(.no-js) .mk-shot .mk-toast { opacity: 0; transform: translateY(var(--space-2)) scale(.96); transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out); }
.mk-shot.is-sent .mk-toast { opacity: 1 !important; transform: none !important; }
.mk-type::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: mk-caret 1s steps(1) infinite; }
.mk-type.is-done::after, html.no-js .mk-type::after { display: none; }
@keyframes mk-caret { 50% { opacity: 0; } }

/* ================================ PRICING ================================ */
.mk-pricing .mk-h2 { margin-inline: auto; text-align: center; }
.mk-toggle { display: flex; width: fit-content; margin: var(--space-8) auto 0; padding: var(--space-1); border-radius: var(--radius-full); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); }
.mk-toggle button { min-height: var(--space-10); padding: 0 var(--space-5); border: 0; border-radius: var(--radius-full); background: none; color: hsl(var(--mk-muted)); font: inherit; font-weight: 600; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.mk-toggle button[aria-pressed="true"] { background: hsl(var(--brand-ink)); color: white; }
.mk-toggle button span { margin-left: var(--space-1); font-size: var(--text-3xs); font-weight: 700; color: hsl(var(--brand-coral-text)); }
.mk-toggle button[aria-pressed="true"] span { color: hsl(var(--brand-coral)); }
.mk-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 22rem)); justify-content: center; align-items: stretch; gap: var(--space-5); margin-top: var(--space-10); }
.mk-plan { position: relative; display: flex; flex-direction: column; padding: var(--space-8); border-radius: var(--radius-xl); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); }
.mk-plan h3 { font-size: var(--text-2xl); }
.mk-plan__for { margin: var(--space-1) 0 0; color: hsl(var(--mk-muted)); }
.mk-plan__price { margin: var(--space-6) 0; font-family: var(--mk-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mk-plan__price small { display: block; margin-top: var(--space-1); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: hsl(var(--mk-muted)); }
.mk-plan .mk-btn { width: 100%; }
.mk-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2-5); }
.mk-ticks li { position: relative; padding-left: var(--space-6); }
.mk-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: var(--space-4); height: var(--space-4); border-radius: 50%;
  background: hsl(var(--brand-coral) / .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.mk-plan .mk-ticks { margin-top: var(--space-6); font-size: var(--text-sm); }
.mk-plan--pro { background: linear-gradient(160deg, hsl(var(--brand-petrol)), hsl(var(--brand-petrol-deep))); color: white; border-color: transparent; box-shadow: 0 40px 80px -40px hsl(var(--brand-petrol-deep)); }
.mk-plan--pro .mk-plan__for, .mk-plan--pro .mk-plan__price small { color: hsl(var(--mk-dark-muted)); }
.mk-plan__badge { position: absolute; top: calc(var(--space-3) * -1); left: var(--space-8); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: hsl(var(--brand-coral)); color: hsl(var(--brand-ink)); font-size: var(--text-xs); font-weight: 800; }
.mk-pricing__more { margin: var(--space-8) 0 0; text-align: center; }
.mk-pricing__fine { text-align: center; margin: var(--space-8) 0 0; color: hsl(var(--mk-muted)); font-size: var(--text-sm); font-weight: 600; line-height: var(--leading-relaxed); }
@media (max-width: 1000px) { .mk-plans { grid-template-columns: minmax(0, 28rem); } }
@media (max-width: 760px) { .mk-plans { grid-template-columns: minmax(0, 1fr); } .mk-plan { padding: var(--space-6); } }

/* ================================ SAFETY ================================ */
.mk-safe__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-10); }
.mk-safe__item { padding: var(--space-6); border-radius: var(--radius-xl); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); }
.mk-safe__icon { width: var(--space-12); height: var(--space-12); border-radius: var(--radius-lg); display: grid; place-items: center; background: hsl(var(--brand-petrol) / .08); color: hsl(var(--brand-petrol)); margin-bottom: var(--space-4); }
.mk-safe__icon svg { width: var(--space-6); height: var(--space-6); }
@media (prefers-reduced-motion: no-preference) { .mk-safe__item.is-in .mk-safe__icon svg { animation: mk-pop 600ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 70ms + 200ms); } }
@keyframes mk-pop { from { transform: scale(.6) rotate(-12deg); opacity: 0; } }
.mk-safe__item h3 { font-size: var(--text-lg); }
.mk-safe__item p { margin: var(--space-2) 0 0; color: hsl(var(--mk-muted)); font-size: var(--text-sm); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mk-safe__icon,  { color: hsl(var(--petrol-300)); background: hsl(var(--petrol-300) / .1); } }
@media (max-width: 1000px) { .mk-safe__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mk-safe__grid { grid-template-columns: minmax(0, 1fr); } }

/* ================================== FAQ ================================== */
.mk-faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-12); align-items: start; }
.mk-faq__list { display: grid; gap: var(--space-2); }
.mk-qa { border-radius: var(--radius-lg); background: hsl(var(--mk-surface)); border: 1px solid hsl(var(--mk-line)); overflow: hidden; }
.mk-qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5); font-family: var(--mk-display); font-weight: 700; cursor: pointer; list-style: none; }
.mk-qa summary::-webkit-details-marker { display: none; }
.mk-qa summary span { display: grid; place-items: center; width: var(--space-8); height: var(--space-8); border-radius: 50%; background: hsl(var(--mk-fg) / .06); flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.mk-qa summary span svg { width: var(--space-4); height: var(--space-4); }
.mk-qa[open] summary span { transform: rotate(45deg); background: hsl(var(--brand-coral)); color: hsl(var(--brand-ink)); }
.mk-qa summary:focus-visible { outline: 2px solid hsl(var(--brand-coral)); outline-offset: -2px; }
.mk-qa__a { padding: 0 var(--space-5) var(--space-5); color: hsl(var(--mk-muted)); }
.mk-qa__a p { margin: 0; max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) { .mk-qa[open] .mk-qa__a { animation: mk-drop 360ms var(--ease-out); } }
@media (max-width: 900px) { .mk-faq__wrap { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }

/* =============================== FINAL CTA =============================== */
.mk-final { padding-block: var(--mk-section); color: white; text-align: center;
  background:
    radial-gradient(40rem 20rem at 85% 120%, hsl(var(--brand-coral) / .95), transparent 70%),
    linear-gradient(120deg, hsl(var(--brand-petrol-deep)) 0%, hsl(var(--brand-petrol)) 55%, hsl(var(--brand-coral-deep)) 135%); }
.mk-final__inner { display: grid; justify-items: center; gap: var(--space-5); }
.mk .mk-final__title { font-family: var(--mk-serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; max-width: 16ch; }
.mk-final p { margin: 0; color: hsl(var(--mk-dark-muted)); font-size: var(--text-lg); }

/* ================================= FOOTER ================================= */
.mk-footer { padding: var(--space-16) 0 calc(var(--space-8) + env(safe-area-inset-bottom)); border-top: 1px solid hsl(var(--mk-line)); }
.mk-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.mk-footer__logo { height: 2rem; width: auto; color: hsl(var(--mk-fg)); }
.mk-footer__brand p { margin: var(--space-3) 0 0; color: hsl(var(--mk-muted)); font-size: var(--text-sm); }
.mk-footer nav { display: grid; gap: var(--space-2); align-content: start; font-size: var(--text-sm); }
.mk-footer nav b { font-family: var(--mk-display); margin-bottom: var(--space-1); }
.mk-footer nav a, .mk-footer nav .mk-footer__consent { color: hsl(var(--mk-muted)); text-decoration: none; }
.mk-footer nav a:hover, .mk-footer nav .mk-footer__consent:hover { color: hsl(var(--mk-fg)); }
.mk-footer__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid hsl(var(--mk-line)); font-size: var(--text-sm); color: hsl(var(--mk-muted)); }
.mk-lang { display: inline-flex; padding: var(--space-0-5); border-radius: var(--radius-full); border: 1px solid hsl(var(--mk-line)); }
.mk-lang a { padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-weight: 700; font-size: var(--text-xs); color: hsl(var(--mk-muted)); text-decoration: none; }
.mk-lang a[aria-current="true"] { background: hsl(var(--brand-ink)); color: white; }
@media (max-width: 760px) { .mk-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-footer__brand { grid-column: 1 / -1; } }

/* ===================== Phone: sticky CTA in thumb reach ===================== */
.mk-dock { display: none; }
@media (max-width: 760px) {
  .mk-dock { display: block; position: fixed; z-index: 85; left: var(--space-4); right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
    opacity: 0; transform: translateY(150%); transition: opacity var(--dur-base) var(--ease-out), transform 400ms var(--ease-drawer); }
  .mk-dock.is-on { opacity: 1; transform: none; }
  .mk-dock .mk-btn { width: 100%; }
  .mk-footer { padding-bottom: calc(var(--space-24, 6rem) + env(safe-area-inset-bottom)); }
}

/* ======================= Tablet / phone ======================= */
@media (max-width: 1000px) {
  .mk-row, .mk-row--flip { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .mk-row--flip .mk-row__copy { order: 0; }
  .ui-inbox__body { grid-template-columns: 15rem minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .mk-hero { padding-top: calc(var(--mk-nav-h) + var(--space-10)); }
  .mk-hero__ctas { width: 100%; }
  /* Channels on their own line, so no line starts with a separator. */
  .mk-eyebrow { border-radius: var(--radius-lg); }
  .mk-eyebrow__ch { display: block; }
  .mk-eyebrow__ch i { display: none; }
  .mk-quote-hero blockquote { font-size: var(--text-base); text-wrap: balance; }
  .mk-hero__ctas .mk-btn { flex: 1 1 100%; }
  /* Phone: the conversation alone, big enough to read. */
  .ui-inbox__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ui-threads, .ui-bar__search { display: none; }
  .ui-msgs { padding: var(--space-4); }
  .ui-msg { max-width: 92%; }
  .ui-msg p, .ui-reply p { font-size: var(--text-sm); }
  .ui-reply { max-width: 92%; }
  .ui-convo__head, .ui-langs { padding-inline: var(--space-4); }
  .mk-row__shot > .ui { padding: var(--space-4); }
  .ui-cal__grid { grid-template-columns: 4.25rem repeat(10, minmax(0, 1fr)); }
  .ui-cal__lane i { padding: 0 var(--space-1); font-size: .6rem; }
  .ui-cal__grid > b { font-size: var(--text-3xs); }
  .ui-books__kpis { grid-template-columns: 1fr 1fr; }
  .ui-books__kpis > div:nth-child(3) { border-left: 0; }
  .ui-books__kpis > div:nth-child(n+3) { border-top: 1px solid hsl(var(--ui-line)); }
  .ui-hide-sm { display: none; }
  .ui-books__tabs > :nth-child(n+3) { display: none; }
  .ui-books__bar { flex-wrap: wrap; }
  .ui-books__tabs > :nth-child(n+2) { display: none; }
  .mk-swap__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mk-swap__grid > * { width: 100%; }
  .mk-swap__arrow { width: var(--space-10); height: var(--space-10); transform: rotate(90deg); }
}
@media (max-width: 560px) {
  /* Phone: price under the tool's name; the strike crosses the name line. */
  .mk-swap__stack li { grid-template-columns: auto minmax(0, 1fr); row-gap: var(--space-0-5); }
  .mk-swap__stack span { grid-column: 2; text-align: left; }
  .mk-swap__stack li::after { top: calc(var(--space-3) + .7em); }
}
@media (max-width: 760px) {
  .ui-item { grid-template-columns: auto minmax(0, 1fr); }
  .ui-item .ui-status { grid-column: 2; justify-self: start; }
  .ui-item__txt q, .ui-tr { white-space: normal; }
  .ui-tr { align-items: flex-start; }
  .ui-tr svg { margin-top: var(--space-0-5); }
}

/* ============================ Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  .mk-shot { --p: 1 !important; }
  .mk-type::after { display: none; }
}

/* ---- Public pages (legal notice, privacy, contact) ----------------------
   The landing's nav and footer around a dark title band and a plain body. */
.mk-page-head { padding-block: calc(var(--mk-nav-h) + var(--space-16)) var(--space-16); }
.mk-page-head .mk-h2 { max-width: none; }
.mk-page-body { padding-block: var(--space-16) var(--space-20); min-height: 40vh; }

/* "All about …": each landing row's way to its own page (web/site_pages.py). */
.mk .mk-more { display: inline-flex; align-items: center; gap: var(--space-1-5); margin-top: var(--space-5); font-weight: 650; color: inherit; text-decoration: underline; text-decoration-color: hsl(var(--brand-coral)); text-underline-offset: 4px; }
.mk .mk-more svg { width: var(--space-4); height: var(--space-4); transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mk .mk-more:hover svg { transform: translateX(var(--space-0-5)); } }
.mk .mk-more:focus-visible { outline: 2px solid hsl(var(--brand-coral)); outline-offset: 3px; border-radius: var(--radius-sm); }
.mk-row__copy .mk-row__cta + .mk-more { margin-left: var(--space-4); }
.mk-swap__more { margin: var(--space-6) 0 0; text-align: center; }

/* ===================== Consent card (templates/marketing/_consent.html) =====================
   A corner card, never an overlay: the page stays readable and clickable.
   Accept is coral, Refuse the same size and as easy (CNIL). Enters with the strong ease-out,
   leaves faster; reduced motion zeroes the durations (tokens.css). */
.mk-consent { position: fixed; z-index: 86; left: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); width: min(23rem, calc(100vw - 2 * var(--space-4)));
  padding: var(--space-5); border-radius: var(--radius-xl); background: hsl(var(--mk-surface)); color: hsl(var(--mk-fg)); border: 1px solid hsl(var(--mk-line)); box-shadow: var(--shadow-popover);
  opacity: 0; transform: translateY(var(--space-4)); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.mk-consent[data-state="open"] { opacity: 1; transform: none; transition-duration: var(--dur-slow); }
.mk-consent[hidden] { display: none; }
.mk-consent__title { text-wrap: balance; margin: 0 0 var(--space-1-5); font-family: var(--mk-display); font-weight: 650; font-size: var(--text-base); }
.mk-consent__text { margin: 0; font-size: var(--text-sm); line-height: 1.5; color: hsl(var(--mk-fg)); }
.mk-consent__text a { color: inherit; text-decoration: underline; text-decoration-color: hsl(var(--mk-muted) / .5); text-underline-offset: 0.2em; }
.mk-consent__text a:hover { color: hsl(var(--mk-fg)); }
.mk-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-4); }
.mk-consent__btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; min-height: var(--space-10); border-color: hsl(var(--mk-line)); background: hsl(var(--mk-surface)); color: hsl(var(--mk-fg)); transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) { .mk-consent__btn:hover { background: hsl(var(--mk-fg) / .06); border-color: hsl(var(--mk-fg) / .3); } }
.mk-consent__btn--yes { background: hsl(var(--brand-coral)); border-color: hsl(var(--brand-coral)); color: hsl(var(--brand-ink)); }
@media (hover: hover) and (pointer: fine) { .mk-consent__btn--yes:hover { background: hsl(var(--brand-coral) / .88); border-color: hsl(var(--brand-coral) / .88); } }
/* The phone's sticky trial button waits while the card is up. */
html.has-consent .mk-dock { visibility: hidden; }
.mk-footer__consent { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.mk-footer__consent[hidden] { display: none; }
@media (max-width: 760px) {
  .mk-consent { padding: var(--space-4); }
  .mk-consent__actions { margin-top: var(--space-3); }
}
@media (pointer: coarse) { .mk-consent__btn { min-height: var(--space-12); } }
