/* =====================================================================
   Postbing marketing site (v4). Loaded by public_base.html after
   postbing.css, and by pricing.html when logged in.
   Neutral ground, ink type, hairline cards, Geist 600 headlines with tight
   tracking. Coral appears only in the logo and tiny markers. Homepage
   classes use the mk- prefix; shared marketing classes follow.
   ===================================================================== */

:root {
  --mk-tint: #FBF9F7;
  --mk-grid: rgba(14, 14, 18, 0.045);
  --mk-shadow: 0 1px 1px rgba(16, 16, 24, 0.03), 0 2px 4px rgba(16, 16, 24, 0.03), 0 12px 32px -8px rgba(16, 16, 24, 0.08);
  --mk-shadow-lg: 0 1px 1px rgba(16, 16, 24, 0.04), 0 8px 16px -4px rgba(16, 16, 24, 0.06), 0 40px 80px -24px rgba(16, 16, 24, 0.18);
}

/* ---------------------------------------------------------------------
   Shell: header, menu, footer
   --------------------------------------------------------------------- */
.is-public { background: var(--ground); overflow-x: clip; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.8) blur(12px); -webkit-backdrop-filter: saturate(1.8) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur);
}
.site-header.is-stuck, .site-header.is-solid { border-bottom-color: var(--line); }
.site-header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.brand-lg { font-size: 19px; }
.site-header .brand-logo { height: 34px; }
.site-nav { display: flex; gap: 2px; font-size: 14px; font-weight: 500; margin-right: auto; margin-left: 28px; }
.site-nav a {
  text-decoration: none; padding: 0 11px; border-radius: var(--r-sm); height: 34px;
  display: inline-flex; align-items: center; color: var(--muted); transition: color var(--dur), background-color var(--dur);
}
.site-nav a:hover { color: var(--ink); background: var(--fill); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-actions { display: flex; gap: 6px; align-items: center; }
.site-actions .btn { height: 34px; font-size: 14px; }
.site-menu { display: none; position: relative; }
@media (max-width: 900px) {
  .site-nav, .site-actions .hide-sm { display: none; }
  .site-menu { display: block; }
}
.site-menu > summary { list-style: none; color: var(--ink); }
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu-panel {
  position: fixed; left: 12px; right: 12px; top: 68px; z-index: 40;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card-lg); padding: 6px; box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: 0;
}
.site-menu-panel a { padding: 0 12px; height: 44px; display: flex; align-items: center; border-radius: var(--r-md); text-decoration: none; font-weight: 500; font-size: 15px; }
.site-menu-panel a:hover { background: var(--fill); color: var(--ink); }
.site-menu-panel .menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }

.site-footer { border-top: 1px solid var(--line); background: #FFFFFF; }
.site-footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 40px;
  display: grid; gap: 32px; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
}
.site-footer h2 { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.site-footer p { font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.site-footer ul a { text-decoration: none; display: inline-flex; min-height: 30px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 400; }
.site-footer ul a:hover { color: var(--ink); }
.footer-works { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--caption); }
.footer-works span { display: inline-flex; align-items: center; gap: 6px; }
.footer-base {
  max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 32px; font-size: 13px; color: var(--caption);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; position: relative;
}
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; padding-top: 40px; }
  .site-footer-inner > :first-child { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------------
   Shared marketing layout (pricing, blog, legal)
   --------------------------------------------------------------------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section-tight { padding-top: 24px; padding-bottom: 24px; }
.section-head { max-width: 680px; margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-head .lede { font-size: 17px; max-width: 58ch; }
.is-public .h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
.is-public .h2 { letter-spacing: -0.03em; }
.eyebrow-coral { color: var(--caption); }
.hero-note { font-size: 13.5px; color: var(--caption); margin-top: 12px; }

/* Small mono label with a coral tick, used above section titles */
.mk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-text);
}
.mk-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--brand-grad); }

/* FAQ: hairline list, thin plus */
.faq { display: flex; flex-direction: column; max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 2px; min-height: 44px;
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-weight: 500; font-size: 16px; letter-spacing: -0.012em; color: var(--ink);
}
.faq summary:hover { color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 12px; height: 12px;
  background:
    linear-gradient(var(--caption), var(--caption)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--caption), var(--caption)) center / 1.5px 12px no-repeat;
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 40px 22px 2px; color: var(--muted); max-width: 68ch; font-size: 15px; line-height: 1.65; }
.faq .answer a { color: var(--ink); }

/* Neutral call to action panel (blog posts) */
.cta-coral, .mk-cta-panel {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line); border-radius: 16px; padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  background-color: var(--mk-tint);
  background-image: linear-gradient(var(--mk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mk-grid) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center center;
}
.cta-coral .h1, .mk-cta-panel .h1 { max-width: 760px; margin: 0 auto 24px; }
.cta-coral p { color: var(--muted); }

/* ---------------------------------------------------------------------
   Auth (login, signup, reset, payment wall): form left, product panel right
   --------------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; background: #FFFFFF; }
.auth-form-side { display: flex; flex-direction: column; padding: 20px clamp(20px, 5vw, 56px); min-width: 0; }
.auth-form-side > .row:first-child { min-height: 44px; }
.auth-form { width: 100%; max-width: 380px; margin: auto; padding: 40px 0; display: flex; flex-direction: column; gap: 20px; }
.auth-form h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; }
.auth-form .muted { font-size: 14.5px; }
.auth-form .btn-lg { margin-top: 4px; }
.auth-form .link-strong { font-weight: 500; }
.auth-foot { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.auth-foot a { color: var(--caption); text-decoration: none; }
.auth-foot a:hover { color: var(--ink); }
.auth-art {
  position: relative; border-left: 1px solid var(--line); background-color: var(--mk-tint); color: var(--ink);
  background-image: linear-gradient(var(--mk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mk-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 36px; overflow: hidden;
}
.auth-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, var(--mk-tint) 85%);
}
.auth-art > * { position: relative; z-index: 1; }
.auth-art.is-sky, .auth-art.is-peach { background-color: var(--mk-tint); }
.auth-art .h1 { font-size: clamp(26px, 2.4vw, 34px); color: var(--ink); max-width: 20ch; line-height: 1.12; letter-spacing: -0.035em; }
.auth-art p { color: var(--muted); }
.auth-art-top { color: var(--ink) !important; }
.auth-art-mid { display: flex; flex-direction: column; gap: 32px; max-width: 480px; width: 100%; margin: 0 auto; }
.auth-art-foot { font-size: 14px; color: var(--muted); max-width: 480px; width: 100%; margin: 0 auto; }
.auth-art .post-card p { color: var(--ink-2); }
.auth-art .post-card .pc-foot .row { --row: 6px; }
.auth-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.auth-points li { display: flex; gap: 10px; align-items: flex-start; }
.auth-points svg { width: 16px; height: 16px; margin-top: 3px; color: var(--ink); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* Article preview card (auth panel) */
.post-card {
  background: #FFFFFF; color: var(--ink); border-radius: var(--r-card-lg); border: 1px solid var(--line);
  box-shadow: var(--mk-shadow-lg); overflow: hidden; max-width: 480px; font-size: 13px;
}
.post-card .pc-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; background: var(--mk-tint); border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--caption); }
.post-card .pc-bar::before { content: ""; width: 34px; height: 8px; flex-shrink: 0; background: radial-gradient(circle at 4px 4px, var(--line-2) 3.5px, transparent 4px) 0 0 / 13px 8px repeat-x; }
.post-card .pc-bar .url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 11px; text-align: center; padding-right: 34px; }
.post-card .pc-body { padding: 22px 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.post-card .pc-kicker { align-self: flex-start; font-size: 11.5px; font-weight: 500; color: var(--muted); background: var(--fill); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 1px 7px; }
.post-card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.post-card .pc-meta { font-size: 11.5px; color: var(--caption); }
.post-card p { color: var(--ink-2); line-height: 1.6; }
.post-card .pc-take { border-radius: var(--r-md); padding: 12px 14px; background: var(--mk-tint); border: 1px solid var(--line); }
.post-card .pc-take strong { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.post-card .pc-take ul { margin: 0; padding-left: 16px; color: var(--ink-2); font-size: 12.5px; }
.post-card .pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 24px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------------
   Error pages
   --------------------------------------------------------------------- */
.error-page { min-height: 66vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding-top: 48px; padding-bottom: 64px; }
.error-code {
  font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--caption); display: inline-flex; align-items: center; gap: 8px; line-height: 1;
}
.error-code::before { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--coral); }
.error-code .o { color: inherit; }
.error-page .h1 { max-width: 18ch; }
.error-page .lede { max-width: 52ch; }
.error-page .btn-row { margin-top: 8px; }

/* ---------------------------------------------------------------------
   Legal and long-form pages
   --------------------------------------------------------------------- */
.legal-head { padding-top: clamp(48px, 7vw, 88px); padding-bottom: 32px; }
.legal-head .h1 { margin-top: 14px; }
.legal-body { padding-bottom: 96px; }
.is-public .container-narrow.prose { max-width: 720px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.is-public .prose { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.is-public .prose h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2.2em; }
.is-public .prose h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.is-public .prose a { text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; }
.is-public .prose a:hover { color: var(--accent); text-decoration-color: currentColor; }
.is-public .prose blockquote { border-left: 2px solid var(--line-2); }
.is-public .prose code { border: 1px solid var(--line); border-radius: var(--r-xs); font-size: 0.86em; }
.is-public .back-link { font-weight: 500; border-radius: var(--r-sm); padding: 0 8px 0 4px; margin-left: -4px; }

/* Blog index */
.blog-feature {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-card-lg); padding: clamp(24px, 4vw, 44px); margin-bottom: 16px;
  background: #FFFFFF; box-shadow: var(--shadow-xs); transition: border-color var(--dur), box-shadow var(--dur);
}
.blog-feature:hover, .blog-card:hover { color: var(--ink); border-color: var(--line-2); box-shadow: var(--mk-shadow); }
.blog-feature .h2 { max-width: 26ch; }
.blog-feature .muted { max-width: 70ch; }
.blog-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.blog-card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0;
  border: 1px solid var(--line); border-radius: var(--r-card-lg); padding: 22px; background: #FFFFFF;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.blog-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: 14px; }
.blog-more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.blog-more svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease-out); }
.blog-feature:hover .blog-more svg, .blog-card:hover .blog-more svg { transform: translateX(2px); }

/* =====================================================================
   Homepage (index.html). Prefix mk-.
   ===================================================================== */
.mk-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mk-section { padding: clamp(72px, 8.5vw, 112px) 0; position: relative; }
.mk-section + .mk-section { border-top: 1px solid var(--line); }
.mk-tint { background: var(--mk-tint); }
.mk-h1 {
  font-size: clamp(40px, 6.2vw, 76px); font-weight: 600; line-height: 1.0; letter-spacing: -0.048em;
  text-wrap: balance; color: var(--ink);
}
.mk-h2 { font-size: clamp(30px, 3.7vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; text-wrap: balance; }
.mk-h3 { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.018em; }
.mk-lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.mk-body { font-size: 15px; line-height: 1.6; color: var(--muted); }
.mk-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.mk-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.mk-head .mk-lede { max-width: 60ch; }
.mk-head-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 72px; align-items: end; }
.mk-head-split > div { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .mk-head-split { grid-template-columns: 1fr; } }
.mk-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.mk-link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease-out); }
.mk-link:hover { color: var(--ink); }
.mk-link:hover svg { transform: translateX(3px); }
.mk-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.mk-checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.mk-checks svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); flex-shrink: 0; }

/* Hero */
.mk-hero { position: relative; padding-top: clamp(56px, 8vw, 104px); }
.mk-hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 820px; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--mk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--mk-grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.mk-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 920px; margin: 0 auto; }
.mk-hero .mk-h1 { max-width: 15ch; }
.mk-hero .mk-lede { max-width: 58ch; }
.mk-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 6px;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: #FFFFFF; box-shadow: var(--shadow-xs);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.mk-badge-logos { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 7px; border-radius: var(--r-pill); background: var(--fill); }
.mk-hero-form { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 8px; }
.mk-hero-form .url-form { width: 100%; max-width: none; }
.mk-assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 13.5px; color: var(--caption); }
.mk-assure li { display: inline-flex; align-items: center; gap: 6px; }
.mk-assure svg { width: 14px; height: 14px; color: var(--accent); }

/* Product shot: the calendar, rebuilt in HTML */
.mk-shot-wrap { margin-top: clamp(56px, 7vw, 88px); position: relative; }
.mk-shot-wrap::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 8%; bottom: -4%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 107, 71, 0.10), transparent 60%), radial-gradient(ellipse at 20% 70%, rgba(46, 107, 240, 0.06), transparent 60%);
  filter: blur(40px);
}
.mk-shot-wrap {
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 99%);
}
.mk-app-body { max-height: 640px; }
.mk-app {
  position: relative; border: 1px solid var(--line-2); border-radius: 14px; background: #FFFFFF; overflow: hidden;
  box-shadow: var(--mk-shadow-lg); font-size: 12px; color: var(--ink); text-align: left;
  padding: 0; outline: 6px solid rgba(14, 14, 18, 0.025);
}
.mk-chrome { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--mk-tint); }
.mk-chrome-dots { display: inline-flex; gap: 6px; }
.mk-chrome-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mk-chrome-url {
  flex: 0 1 320px; margin: 0 auto; height: 24px; border-radius: var(--r-sm); background: #FFFFFF; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--caption);
  transform: translateX(-24px);
}
.mk-chrome-url svg { width: 10px; height: 10px; }
.mk-app-body { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: 560px; }
.mk-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; background: #FFFFFF; }
.mk-side-logo { padding: 2px 8px 12px; }
.mk-side-logo .brand-logo { height: 15px; }
.mk-side-site {
  display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; margin-bottom: 10px;
  border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 500; color: var(--ink-2);
}
.mk-side-site .fav { width: 16px; height: 16px; border-radius: 4px; background: var(--ink); color: #FFFFFF; font-size: 9px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.mk-side-site svg:last-child { margin-left: auto; width: 12px; height: 12px; color: var(--caption); }
.mk-side-nav { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: var(--r-sm); color: var(--muted); font-weight: 500; }
.mk-side-nav svg { width: 14px; height: 14px; }
.mk-side-nav.is-on { background: var(--fill); color: var(--ink); }
.mk-side-quota { margin-top: auto; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; gap: 7px; }
.mk-side-quota .row { justify-content: space-between; font-size: 11.5px; color: var(--caption); }
.mk-side-quota b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.mk-side-quota .meter { height: 4px; }
.mk-main { display: flex; flex-direction: column; min-width: 0; background: var(--mk-tint); }
.mk-top { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #FFFFFF; }
.mk-top b { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; margin-right: 4px; }
.mk-top .mk-mini-btns { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.mk-top .mk-mini-btns span { height: 24px; padding: 0 8px; display: inline-flex; align-items: center; color: var(--muted); font-size: 11.5px; }
.mk-top .mk-mini-btns span + span { border-left: 1px solid var(--line); }
.mk-seg { display: inline-flex; padding: 2px; border-radius: var(--r-sm); background: var(--fill); border: 1px solid var(--line); }
.mk-seg span { height: 20px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 4px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.mk-seg span.on { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 2px rgba(16,16,24,0.1); }
.mk-top-right { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.mk-mode { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.mk-new { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-sm); background: var(--ink); color: #FFFFFF; font-size: 11.5px; font-weight: 500; }
.mk-new svg { width: 12px; height: 12px; }
.mk-work { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 12px; padding: 12px; flex: 1; }
.mk-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; align-content: start; }
.mk-cal-dow { background: #FFFFFF; padding: 7px 8px; font-size: 11px; font-weight: 500; color: var(--caption); }
.mk-cal-cell { background: #FFFFFF; min-height: 97px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-cal-cell.is-out { background: #FCFCFC; }
.mk-cal-cell.is-out .mk-cal-n { color: var(--faint); }
.mk-cal-cell.is-weekend { background: #FDFDFD; }
.mk-cal-n { font-size: 11px; font-weight: 500; color: var(--caption); font-variant-numeric: tabular-nums; height: 18px; display: inline-flex; align-items: center; gap: 6px; padding-left: 2px; }
.mk-cal-cell.is-today .mk-cal-n b { width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; margin-left: -2px; }
.mk-chip {
  display: flex; align-items: flex-start; gap: 6px; padding: 5px 6px; border-radius: 5px; min-width: 0;
  background: var(--mk-tint); border: 1px solid var(--line); font-size: 11px; line-height: 1.3; color: var(--ink-2); font-weight: 500;
}
.mk-chip .dot { width: 6px; height: 6px; margin-top: 4px; }
.mk-chip .t { overflow: hidden; overflow-wrap: anywhere; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mk-chip.s-published { color: var(--muted); }
.mk-chip.is-sel { background: #FFFFFF; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); color: var(--ink); }
.mk-panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; display: flex; flex-direction: column; gap: 12px; align-self: start; box-shadow: var(--shadow-xs); }
.mk-panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--caption); }
.mk-panel-head .pill { height: 20px; font-size: 11px; }
.mk-panel-title { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.mk-panel dl { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mk-panel dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mk-panel dt { color: var(--caption); }
.mk-panel dd { margin: 0; font-weight: 500; text-align: right; display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.mk-panel-outline { display: flex; flex-direction: column; gap: 6px; }
.mk-panel-outline span { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.mk-panel-outline span i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--caption); width: 18px; }
.mk-panel-check { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: var(--r-sm); background: #F3FBF6; border: 1px solid #D3F0DD; color: var(--success-text); font-weight: 500; }
.mk-panel-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-panel-btns span { height: 28px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; font-weight: 500; border: 1px solid var(--line-2); }
.mk-panel-btns span.a { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.mk-agenda { display: none; }
@media (max-width: 1100px) {
  .mk-work { grid-template-columns: minmax(0, 1fr); }
  .mk-panel { display: none; }
}
@media (max-width: 860px) {
  .mk-app-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mk-side { display: none; }
  .mk-top .mk-mini-btns, .mk-mode { display: none; }
}
@media (max-width: 640px) {
  .mk-cal { display: none; }
  .mk-agenda { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
  .mk-agenda-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
  .mk-agenda-row:last-child { border-bottom: 0; }
  .mk-agenda-row .d { font-size: 11px; color: var(--caption); font-variant-numeric: tabular-nums; line-height: 1.2; }
  .mk-agenda-row .d b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
  .mk-agenda-row .t { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mk-agenda-row .pill { height: 20px; font-size: 11px; }
  .mk-agenda-row.is-sel { background: var(--mk-tint); }
  .mk-top { height: 46px; padding: 0 12px; }
  .mk-seg { display: none; }
  .mk-chrome-url { transform: none; }
  .mk-work { padding: 10px; }
  .mk-app-body { max-height: 520px; }
}

/* Platforms strip */
.mk-strip { padding: 28px 0 8px; }
.mk-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.mk-strip-label { font-size: 13px; color: var(--caption); }
.mk-lockup { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); }
.mk-lockup .mono { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line-2); font-size: 11px; color: var(--muted); }
.mk-lockup.is-plain { font-weight: 500; color: var(--muted); font-size: 15px; letter-spacing: -0.01em; }

/* How it works: one frame, four columns with hairline dividers */
.mk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-card-lg); background: #FFFFFF; overflow: hidden; }
.mk-step { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-step + .mk-step { border-left: 1px solid var(--line); }
.mk-step-n { font-family: var(--font-mono); font-size: 12px; color: var(--caption); margin-top: 8px; }
.mk-step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.mk-mini { height: 168px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--mk-tint); padding: 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; overflow: hidden; margin-bottom: 10px; }
.mk-mini-input { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); margin-bottom: 4px; }
.mk-mini-input svg { width: 12px; height: 12px; color: var(--caption); }
.mk-mini-input .cur { width: 1px; height: 13px; background: var(--ink); margin-left: -4px; animation: mk-blink 1.1s steps(1) infinite; }
.mk-mini-kv { display: flex; justify-content: space-between; gap: 10px; padding: 5px 2px; border-bottom: 1px dashed var(--line-2); }
.mk-mini-kv:last-child { border-bottom: 0; }
.mk-mini-kv span { color: var(--caption); }
.mk-mini-kv b { font-weight: 500; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mk-mini-row { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 9px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-sm); min-width: 0; }
.mk-mini-row .d { color: var(--caption); font-variant-numeric: tabular-nums; flex-shrink: 0; font-size: 11px; }
.mk-mini-row .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.mk-mini-doc { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mk-mini-doc b { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }
.mk-mini-doc i { display: block; height: 5px; border-radius: 3px; background: var(--fill); }
.mk-mini-doc i.h { height: 6px; width: 40%; background: var(--line-2); margin-top: 2px; }
@keyframes mk-blink { 50% { opacity: 0; } }
@media (max-width: 1000px) {
  .mk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-step:nth-child(3) { border-left: 0; }
  .mk-step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .mk-steps { grid-template-columns: 1fr; }
  .mk-step + .mk-step { border-left: 0; border-top: 1px solid var(--line); }
}

/* Feature grid */
.mk-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.mk-card {
  grid-column: span 2; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card-lg);
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; box-shadow: var(--shadow-xs);
}
.mk-card.w-4 { grid-column: span 4; }
.mk-card.w-3 { grid-column: span 3; }
.mk-card-copy { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.mk-card-copy p { font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.mk-card-visual { margin: 20px 0 0 24px; flex: 1; border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-top-left-radius: var(--r-card); background: var(--mk-tint); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; min-height: 200px; overflow: hidden; }
.mk-card-visual.pad-r { margin-right: 24px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--r-card); }
@media (max-width: 1000px) {
  .mk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-card, .mk-card.w-3 { grid-column: span 1; }
  .mk-card.w-4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .mk-bento { grid-template-columns: 1fr; }
  .mk-card, .mk-card.w-3, .mk-card.w-4 { grid-column: span 1; }
}
/* Topic table */
.mk-table { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.mk-table-row { display: grid; grid-template-columns: 52px minmax(0, 2.2fr) minmax(0, 1.4fr) 92px 86px; gap: 12px; align-items: center; height: 38px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.mk-table-row:last-child { border-bottom: 0; }
.mk-table-row.is-head { height: 30px; background: #FCFCFC; color: var(--caption); font-size: 11px; font-weight: 500; }
.mk-table-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mk-table-row .d { color: var(--caption); font-variant-numeric: tabular-nums; }
.mk-table-row .t { font-weight: 500; }
.mk-table-row .k { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.mk-table-row .vol { font-variant-numeric: tabular-nums; color: var(--muted); }
.mk-table-row .pill { height: 20px; font-size: 11px; padding: 0 6px; justify-self: start; }
.mk-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: var(--r-xs); border: 1px solid var(--line); background: var(--fill); color: var(--ink-2); font-size: 11px; font-weight: 500; justify-self: start; }
@media (max-width: 760px) {
  .mk-table-row { grid-template-columns: 40px minmax(0, 1fr) 80px; }
  .mk-table-row .k, .mk-table-row > :nth-child(4) { display: none; }
}
/* Voice card */
.mk-voice { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.mk-voice-row { display: flex; flex-direction: column; gap: 6px; }
.mk-voice-row > span { font-size: 11px; color: var(--caption); font-weight: 500; }
.mk-scale { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.mk-scale i { position: relative; height: 4px; border-radius: 2px; background: var(--fill); border: 1px solid var(--line); }
.mk-scale i b { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid var(--ink); }
.mk-avoid { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-avoid s { display: inline-flex; height: 20px; align-items: center; padding: 0 6px; border-radius: var(--r-xs); background: #FEF3F2; border: 1px solid #FECDCA; color: var(--danger-text); font-size: 11px; text-decoration-thickness: 1px; }
/* Internal links */
.mk-links { display: flex; flex-direction: column; gap: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 12px; }
.mk-links-head { font-weight: 600; font-size: 12.5px; padding: 8px 0 6px; border-bottom: 1px solid var(--line); }
.mk-links span { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); color: var(--ink-2); min-width: 0; }
.mk-links span:last-child { border-bottom: 0; }
.mk-links span svg { width: 12px; height: 12px; color: var(--caption); flex-shrink: 0; }
.mk-links span em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.mk-links span .caption { margin-left: auto; font-size: 11px; flex-shrink: 0; }
/* Schema */
.mk-code { margin: 0; background: var(--ink); color: #D4D4DA; border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 11px; line-height: 1.65; overflow: hidden; white-space: pre; }
.mk-code .k { color: #FFFFFF; }
.mk-code .s { color: #FFB59E; }
.mk-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 10px; }
.mk-meta span { color: var(--caption); }
.mk-meta b { font-weight: 500; font-family: var(--font-mono); font-size: 11px; color: var(--success-text); }
/* Search and AI answer */
.mk-serp { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.mk-serp-q { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink-2); margin-bottom: 6px; }
.mk-serp-q svg { width: 12px; height: 12px; color: var(--caption); }
.mk-serp .u { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.mk-serp .t { font-size: 13.5px; color: #1A4FD8; font-weight: 500; line-height: 1.3; }
.mk-serp .dsc { color: var(--muted); line-height: 1.5; }
.mk-ai { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.mk-ai-head { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 11.5px; }
.mk-ai-head svg { width: 12px; height: 12px; }
.mk-ai p { color: var(--ink-2); line-height: 1.5; }
.mk-ai-src { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--caption); }
.mk-src { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink-2); background: var(--mk-tint); }
.mk-fav { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mk-fav .brand-mark { width: 9px; height: auto; }
.mk-illus { font-size: 11px; color: var(--caption); align-self: flex-end; font-family: var(--font-mono); }

/* Writing comparison */
.mk-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .mk-compare { grid-template-columns: 1fr; } }
.mk-draft { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card-lg); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-xs); }
.mk-draft header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: #FCFCFC; }
.mk-draft-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.mk-draft-body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mk-draft h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.mk-draft p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.mk-draft.is-before h3, .mk-draft.is-before p { color: var(--muted); }
.mk-draft mark { background: #FEF3F2; color: var(--danger-text); border-radius: 3px; padding: 0 2px; text-decoration: line-through; text-decoration-color: rgba(180, 35, 24, 0.5); text-decoration-thickness: 1px; }
.mk-draft.is-after b { color: var(--ink); font-weight: 600; }
.mk-draft footer { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 24px 20px; }
.mk-draft footer span { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; font-weight: 500; border: 1px solid var(--line); background: var(--mk-tint); color: var(--muted); }
.mk-draft.is-after footer span { background: #F3FBF6; border-color: #D3F0DD; color: var(--success-text); }
.mk-points { list-style: none; margin: 40px 0 0; padding: 32px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.mk-points li { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.mk-points b { color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
@media (max-width: 960px) { .mk-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mk-points { grid-template-columns: 1fr; } }

/* Publishing */
.mk-cms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .mk-cms { grid-template-columns: 1fr; } }
.mk-cms-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-xs); min-width: 0; }
.mk-cms-logo { display: flex; align-items: center; gap: 12px; }
.mk-cms-logo .ico { width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; background: #FFFFFF; flex-shrink: 0; }
.mk-cms-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.mk-cms-card .mk-checks { font-size: 14px; gap: 8px; }
.mk-cms-card .mk-link { margin-top: auto; padding-top: 4px; }
.mk-modes { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 0; }
.mk-modes > div { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.mk-modes > div + div { border-top: 1px solid var(--line); }
.mk-modes > div.is-on { background: var(--mk-tint); }
.mk-modes dt { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.mk-modes dd { margin: 0 0 0 15px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Programmatic pages: the one dark panel */
.mk-pseo {
  background: radial-gradient(ellipse 55% 70% at 100% 0%, rgba(255,107,71,0.22), transparent 70%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(120,90,255,0.16), transparent 70%), var(--night); color: #FFFFFF; border-radius: 16px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; position: relative; overflow: hidden;
}
.mk-pseo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000 20%, transparent 80%);
}
.mk-pseo > * { position: relative; }
@media (max-width: 960px) { .mk-pseo { grid-template-columns: 1fr; gap: 36px; } }
.mk-pseo-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mk-pseo-copy p:not(.mk-eyebrow) { color: var(--on-ink-muted); font-size: 16px; line-height: 1.65; max-width: 52ch; }
.mk-pseo .mk-eyebrow, .mk-pseo-copy .mk-eyebrow { color: #FFB59E; font-size: 12px; }
.mk-pseo .mk-h2 { color: #FFFFFF; }
.mk-pseo .mk-checks { color: #E4E4E7; }
.mk-pseo .mk-checks svg { color: #FF8A66; }
.mk-build { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-card-lg); padding: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.mk-build-label { font-size: 11px; font-weight: 500; font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: #8E8E98; margin-bottom: 8px; }
.mk-pchip { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: var(--r-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #F4F4F5; font-size: 12.5px; font-weight: 500; }
.mk-pchip.is-ghost { background: transparent; border-style: dashed; color: #A1A1AA; }
.mk-times { display: flex; align-items: center; gap: 10px; color: #6B6B74; font-family: var(--font-mono); font-size: 12px; }
.mk-times::before, .mk-times::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
.mk-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--r-md); background: #FFFFFF; color: var(--ink); }
.mk-count strong { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-right: 6px; }
.mk-count .btn-sm { height: 28px; }
.mk-slugs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); overflow: hidden; }
.mk-slugs li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; font-size: 12px; color: #D4D4DA; min-width: 0; }
.mk-slugs li + li { border-top: 1px solid rgba(255,255,255,0.08); }
.mk-slugs .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mk-slugs .st { display: inline-flex; align-items: center; gap: 6px; color: #A1A1AA; flex-shrink: 0; }

/* Pricing on the homepage */
.mk-pricing .segmented { background: #FFFFFF; }

/* FAQ layout */
.mk-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 32px 72px; align-items: start; }
.mk-faq-head { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.mk-faq-head p:not(.mk-eyebrow) { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .mk-faq { grid-template-columns: 1fr; } .mk-faq-head { position: static; } }

/* Final CTA */
.mk-cta { padding: 0 0 clamp(72px, 8.5vw, 112px); }
.mk-cta-panel { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mk-cta-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: none;
}
.mk-cta-panel > * { position: relative; z-index: 1; }
.mk-cta-panel .mk-h2 { max-width: 18ch; }
.mk-cta-panel .mk-lede { max-width: 52ch; }
.mk-cta-panel .url-form { width: 100%; max-width: 480px; margin-top: 4px; }
.mk-cta-mark { width: 48px; height: 48px; border-radius: 12px; background: #FFFFFF; border: 0; box-shadow: var(--mk-shadow); display: inline-flex; align-items: center; justify-content: center; }

/* Motion: a gentle rise on load, nothing on scroll */
@keyframes mk-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mk-rise { animation: mk-rise 700ms var(--ease-out) both; }
.mk-rise-2 { animation-delay: 80ms; }
.mk-rise-3 { animation-delay: 160ms; }
.mk-rise-4 { animation-delay: 260ms; }
@media (prefers-reduced-motion: reduce) {
  .mk-rise { animation: none; }
  .mk-mini-input .cur { animation: none; }
}

@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .mk-card-copy { padding: 20px 20px 0; }
  .mk-card-visual { margin-left: 20px; }
  .mk-card-visual.pad-r { margin-right: 20px; margin-bottom: 20px; }
  .mk-draft-body { padding: 20px; }
  .mk-draft footer { padding: 12px 20px 18px; }
  .price-card { padding: 22px; }
}


/* =====================================================================
   v4.1 colour pass: brand orange accent, warm glow, deep navy panels.
   ===================================================================== */
.mk-grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-hero { padding-top: clamp(28px, 4vw, 52px); }
.mk-hero::after {
  content: ""; position: absolute; inset: -80px 0 auto 0; height: 900px; pointer-events: none; z-index: -2;
  background:
    radial-gradient(ellipse 45% 40% at 18% 8%, rgba(255,107,71,0.16), transparent 70%),
    radial-gradient(ellipse 40% 38% at 85% 14%, rgba(120,90,255,0.10), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(255,184,140,0.10), transparent 70%);
}
.mk-hero-copy { gap: 20px; }
.mk-hero .mk-h1 { max-width: 18ch; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; }
.mk-proof { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mk-proof li {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.8); border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.mk-proof .ic { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-50); color: var(--accent); }
.mk-proof .ic svg { width: 13px; height: 13px; }
.mk-shot-wrap { margin-top: clamp(36px, 4.5vw, 56px); }
.mk-shot-wrap::before { background: radial-gradient(ellipse at 50% 30%, rgba(255,107,71,0.22), transparent 60%), radial-gradient(ellipse at 15% 70%, rgba(120,90,255,0.12), transparent 60%); }

/* Product mock picks up the brand */
.mk-new, .mk-panel-btns span.a { background: var(--accent); border-color: var(--accent); }
.mk-side-nav.is-on { background: var(--accent-50); color: var(--accent-text); }

/* Final CTA: the second dark panel */
.mk-cta-panel {
  border: 0; color: #FFFFFF;
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 50% 70% at 50% 0%, rgba(255,107,71,0.30), transparent 70%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.mk-cta-panel .h1, .mk-cta-panel .mk-h2, .mk-cta-panel h2 { color: #FFFFFF; }
.mk-cta-panel p { color: var(--on-ink-muted); }
.mk-cta-panel .url-form { border-color: transparent; }

/* Pricing: the featured plan carries the accent */
.price-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 48px -16px rgba(212,64,15,0.28); }

/* =====================================================================
   v4.2 motion: FAQ height animation, scroll reveal (postbing.js adds
   .pb-reveal / .is-in), a slow drift on the hero product mock.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 280ms var(--ease-out), content-visibility 280ms allow-discrete;
  }
  .faq details[open]::details-content { block-size: auto; }
  .faq .answer { transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
  .faq details:not([open]) .answer { opacity: 0; transform: translateY(-4px); }
  .faq summary::after { transition: transform 220ms var(--ease-out); }

  /* Hero product mock: a gentle float, a live dot, a pulse on the selected chip */
  @keyframes mk-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
  .mk-app { animation: mk-float 6s ease-in-out 1s infinite alternate; will-change: transform; }
  @keyframes mk-ring { 0% { box-shadow: 0 0 0 1px var(--ink), 0 0 0 1px rgba(212,64,15,0.0); } 50% { box-shadow: 0 0 0 1px var(--ink), 0 0 0 5px rgba(212,64,15,0.16); } 100% { box-shadow: 0 0 0 1px var(--ink), 0 0 0 1px rgba(212,64,15,0.0); } }
  .mk-chip.is-sel { animation: mk-ring 2.4s ease-in-out 1.2s infinite; }
  @keyframes mk-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  .mk-mode .dot, .mk-panel-check .dot { animation: mk-live 2s ease-in-out infinite; }

  /* Cards on the homepage lift a little on hover */
  .mk-card { transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out); }
  .mk-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(16,16,24,0.05), 0 16px 32px -16px rgba(16,16,24,0.18); }
}
