/* ============================================
   Knocket · shared page styles
   Reused across products/*, solutions, compare
   ============================================ */

/* --- GLOBAL KILL-SWITCH: falling stickers & sweep button removed ---
   These decorative elements have been retired site-wide. This unscoped
   rule guarantees they never render on ANY page, even if a stale cached
   copy of interactions.js somehow injects them. Do not remove. */
.sticker-drop,
.sticker-field,
.sticker-sweep,
.k-physics-field,
.k-sweep-btn { display: none !important; }

/* --- Sub-page hero (compact, single-column optional) --- */
.p-hero {
  position: relative;
  padding: 0 24px;
  min-height: calc(100vh - 40px);
  display: flex; align-items: center;
  background: var(--k-cream);
  overflow: hidden;
}
.p-hero::before {
  content:''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,26,15,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,26,15,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 40%, transparent 90%);
  pointer-events: none;
}
.p-hero::after {
  content:''; position: absolute;
  width: 620px; height: 620px; border-radius: 50%;
  background: var(--k-lemon);
  top: -180px; right: -160px;
  z-index: 0;
  animation: splat-morph 12s ease-in-out infinite;
}
@keyframes splat-morph {
  0%,100%{ border-radius: 50% 40% 60% 30% / 40% 50% 30% 60%;}
  33%{ border-radius: 40% 60% 30% 50% / 60% 30% 50% 40%;}
  66%{ border-radius: 60% 30% 50% 40% / 30% 60% 40% 50%;}
}
.p-hero-inner {
  max-width: 1240px; margin: 0 auto;
  position: relative; z-index: 2;
  padding-top: 150px;
  padding-bottom: 40px;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 60px; align-items: center;
}
.p-hero-copy .breadcrumbs {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--k-muted); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; gap: 8px; align-items: center;
}
.p-hero-copy .breadcrumbs, .p-hero-copy .breadcrumbs * { cursor: auto !important; }
.p-hero-copy .breadcrumbs a { color: var(--k-muted); transition: color .15s; cursor: pointer !important; }
.p-hero-copy .breadcrumbs a:hover { color: var(--k-ink);}
.p-hero-copy .breadcrumbs span.sep { opacity: .4;}
.p-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--k-ink); color: var(--k-lemon);
  font-family: var(--font-mono); font-size: 12px; font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 3px 3px 0 var(--k-lemon);
  margin-bottom: 14px;
}
.p-eyebrow.fire { background: var(--k-coral); color: var(--k-cream); box-shadow: 3px 3px 0 var(--k-ink);}
.p-eyebrow.fire::after { content: '🔥'; font-size: 14px;}

/* Perks rendered under the hero image (product pages) */
.p-hero-visual { flex-direction: column;}
.p-hero-visual .p-hero-perks-under {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-self: center;
  margin: 24px auto 0;
  max-width: 620px;
  position: relative;
  z-index: 3;
}
/* Force perk row to break into 2 rows of 2 (used on Contact Page) */
.p-hero-visual .p-hero-perks-under.p-hero-perks-2rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: center;
  max-width: 480px;
}
.p-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800; line-height: .98;
  letter-spacing: -.04em;
  color: var(--k-ink);
  margin-bottom: 16px;
}
.p-hero-copy h1 .serif { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit;}
.p-hero-copy h1 .hl { position: relative; z-index: 1; color: inherit;}
.p-hero-copy h1 .hl::after { content: none; display: none; }
.p-hero-copy h1 .dot { color: inherit;}
/* Unified single-line hero title (product pages) */
.p-hero-copy h1.cp-h1-single {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--k-ink);
  margin-bottom: 16px;
}
.p-hero-copy .lead {
  font-size: 16px; line-height: 1.5; color: var(--k-ink);
  max-width: 520px; margin-bottom: 20px; font-weight: 500;
}
.p-hero-copy .lead b { background: transparent; padding: 0;}
.p-hero-actions {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.p-hero-actions .free-note {
  font-family: var(--font-hand); font-size: 22px; color: var(--k-ink);
  transform: rotate(-3deg);
}
.p-hero-actions .free-note::before {
  content: '←'; margin-right: 6px; color: var(--k-coral);
}
.p-hero-perks {
  display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap;
}
.p-hero-perks .perk {
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--k-white); border: 2px solid var(--k-ink);
  font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 3px 3px 0 var(--k-ink);
}

/* Hero visual — centered mock area, sub-pages define specifics */
.p-hero-visual {
  position: relative;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
}

/* Wide Figma feature-block image used as product page hero visual */
.p-hero-figma-wide {
  position: relative;
  width: 100%;
  padding: 8px;
  background: var(--k-ink);
  border: 3px solid var(--k-ink);
  border-radius: 20px;
  box-shadow: 12px 12px 0 var(--k-ink);
  transform: rotate(-1.5deg);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.p-hero-figma-wide:hover { transform: rotate(0) translate(-3px, -3px);}
.p-hero-figma-wide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* When p-hero-visual contains a wide Figma image, allow it to span both grid columns for breathing room */
.p-hero-visual:has(.p-hero-figma-wide) {
  min-height: auto;
}

/* --- Feature grid section (shared) --- */
.p-fgrid-sec {
  padding: 100px 24px;
  background: var(--k-paper);
  border-top: 3px solid var(--k-ink);
  border-bottom: 3px solid var(--k-ink);
}
.p-fgrid-inner { max-width: 1280px; margin: 0 auto;}
.p-fgrid-head { text-align: center; margin-bottom: 60px;}
.p-fgrid-head h2 { margin-top: 18px;}
.p-fgrid-head .lead { margin-top: 16px; max-width: 640px; margin-left: auto; margin-right: auto;}

.p-fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-fcard {
  padding: 30px 26px 26px;
  background: var(--k-white);
  border: 3px solid var(--k-ink);
  border-radius: var(--r-lg);
  box-shadow: 6px 6px 0 var(--k-ink);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.p-fcard:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--k-ink);}
.p-fcard-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--k-lemon); color: var(--k-ink);
  border: 2.5px solid var(--k-ink);
  box-shadow: 3px 3px 0 var(--k-ink);
  display: grid; place-items: center;
  font-size: 22px; font-weight: 800;
  transform: rotate(-4deg);
  margin-bottom: 4px;
}
.p-fcard:nth-child(2n) .p-fcard-icon { background: var(--k-sky); transform: rotate(4deg);}
.p-fcard:nth-child(3n) .p-fcard-icon { background: var(--k-coral); color: var(--k-cream); transform: rotate(-3deg);}
.p-fcard h4 {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.05;
}
.p-fcard p {
  font-size: 14.5px; line-height: 1.55; color: var(--k-ink); opacity: .78;
}
.p-fcard p b { background: transparent; padding: 0;}
.p-fcard code {
  font-family: var(--font-mono);
  background: var(--k-ink); color: var(--k-lemon);
  padding: 2px 7px; border-radius: 5px;
  font-size: 12px; font-weight: 700;
}

/* Big spec card (highlight one feature) */
.p-highlight {
  padding: 60px 40px;
  margin-top: 60px;
  background: var(--k-ink); color: var(--k-cream);
  border-radius: var(--r-xl);
  border: 3px solid var(--k-ink);
  box-shadow: 8px 8px 0 var(--k-lemon);
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  position: relative; overflow: hidden;
}
.p-highlight h3 {
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1; margin-bottom: 16px;
  color: var(--k-cream);
}
.p-highlight h3 .serif { color: var(--k-lemon); font-family: inherit; font-style: normal; font-weight: inherit;}
.p-highlight p { font-size: 16px; line-height: 1.55; color: rgba(245,239,224,.8);}
.p-highlight p b { color: var(--k-lemon);}

/* --- Section head shared --- */
.p-sec-head {
  text-align: center; margin-bottom: 50px;
}
.p-sec-head h2 { margin-top: 18px;}
.p-sec-head .lead { margin-top: 14px; max-width: 620px; margin-left: auto; margin-right: auto;}

/* --- Final CTA reused (or inherit from index) --- */

/* --- FAQ style — reuse from index --- */

/* ============ Mobile ============ */
@media (max-width: 900px) {
  .p-hero { padding: 100px 18px 60px;}
  .p-hero-inner { grid-template-columns: 1fr; gap: 40px;}
  .p-hero-visual { min-height: 300px; margin-top: 20px;}
  .p-fgrid-sec { padding: 60px 18px;}
  .p-fgrid { grid-template-columns: 1fr; gap: 20px;}
  .p-highlight { grid-template-columns: 1fr; padding: 40px 24px; gap: 30px;}
  .p-highlight h3 { font-size: 32px;}
  .p-hero-copy h1 { font-size: clamp(30px, 8.5vw, 46px);}
  .p-hero-copy .lead { font-size: 17px;}
  .p-hero-actions { justify-content: center;}
  .p-hero-actions .free-note { display: none;}
  .p-hero-perks .perk { font-size: 12px; padding: 6px 12px;}
}

@media (max-width: 440px) {
  .p-hero { padding: 90px 14px 40px;}
  .p-hero-copy h1 { font-size: 30px;}
  .p-fgrid-sec { padding: 50px 14px;}
  .p-fcard { padding: 24px 20px 20px;}
  .p-highlight { padding: 32px 20px;}
}

/* ============ PRODUCT NAV DROPDOWN ============ */
.k-nav-links .has-drop { position: relative;}
.k-nav-links .drop-label {
  padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 400; color: inherit; font-size: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer;
  transition: all .18s;
  user-select: none;
}
/* Invisible hover bridge — closes the 6px gap between label and dropdown
   so hover doesn't drop when the pointer moves from label → drop */
.k-nav-links .has-drop::after {
  content: '';
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 14px;
  z-index: 99;
}
.k-nav-links .drop-label .caret {
  font-size: 12px; opacity: .55;
  transition: transform .18s;
}
.k-nav-links .has-drop:hover .drop-label,
.k-nav-links .has-drop:focus-within .drop-label {
  background: #e7f8ed; color: #0b3c28;
}
.k-nav-links .has-drop:hover .drop-label .caret,
.k-nav-links .has-drop:focus-within .drop-label .caret {
  transform: rotate(180deg); opacity: 1;
}
.k-nav-links .drop {
  position: absolute; top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: #fbfdf9;
  border: 1px solid #d9eadf;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(8, 52, 33, .16);
  padding: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 100;
}
.k-nav-links .has-drop:hover .drop,
.k-nav-links .has-drop:focus-within .drop {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Wide multi-column dropdown for Solutions */
.k-nav-links .drop-wide {
  min-width: 620px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
}
.drop-col { min-width: 0;}
.drop-col-h {
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--k-muted); margin: 4px 12px 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #dcebe0;
}
.k-nav-links .drop a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 14px;
  background: transparent;
  transition: background .15s;
}
.k-nav-links .drop a:hover { background: #eaf8ed;}
.drop-ic {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #13764b;
  background: #e9f7eb;
  border: 1px solid #d0ebd9;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease;
}
.drop-ic svg {
  width: 23px; height: 23px;
  display: block;
  color: inherit;
  stroke-width: 1.75;
}
.k-nav-links .drop a:hover .drop-ic {
  color: #fff;
  background: #16885a;
}
@media (max-width: 900px) {
  .drop-ic { width: 36px; height: 36px;}
}
/* Legacy background variants retained as no-op — kept so other pages/components
   that still ship these class names don't lose alignment. Bg + border removed
   because Nav dropdown is now flat icons only. */
.drop-ic-page,
.drop-ic-web,
.drop-ic-mob,
.drop-ic-cmp,
.drop-ic-sol { color: #13764b; }
.drop-item b {
  display: block; font-family: var(--font-display);
  font-size: 14px; font-weight: 800; letter-spacing: -.01em;
  color: var(--k-ink); line-height: 1.1;
  display: flex; align-items: center; gap: 6px;
}
.drop-item b .nav-featured {
  display: inline-block; margin: 0; padding: 2px 6px;
  border-radius: 999px; background: #dffc7c;
  color: #17452c; font-size: 9px; font-weight: 800;
  line-height: 1.2; letter-spacing: .04em;
}
.drop-item > div > span {
  display: block; font-size: 12px;
  color: var(--k-muted); margin-top: 3px; line-height: 1.35;
}

/* Top-level nav link (no dropdown) — matches drop-label affordance */
.k-nav-links .nav-top-link {
  padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 400; color: inherit; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .18s;
  position: relative;
}
.k-nav-links .nav-top-link::before {
  content: none;
}
.k-nav-links .nav-top-link--plain::before { display: none;}
.k-nav-links .nav-top-link:hover {
  background: #e7f8ed; color: #0b3c28;
}
.k-nav-links .nav-top-link:hover::before {
  color: var(--k-lemon);
  transform: rotate(180deg) scale(1.1);
}

/* ============================================
   MARQUEE (belt) — shared with index
   ============================================ */
.marquee {
  background: var(--k-ink); color: var(--k-cream);
  padding: 20px 0; overflow: hidden;
  border-top: 3px solid var(--k-ink);
  border-bottom: 3px solid var(--k-ink);
  transform: rotate(-1.5deg);
  margin: -20px 0 -20px;
}
.marquee-track {
  display: flex; gap: 40px; width: max-content;
  animation: marquee 35s linear infinite;
  align-items: center;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -.02em;
  color: var(--k-cream); white-space: nowrap;
}
.marquee-item::after {
  content: '✦'; color: var(--k-lemon); font-size: 22px;
  margin-left: 40px;
}
@keyframes marquee { to { transform: translateX(-50%);} }

/* ============================================
   SECTION HEAD utilities (shared)
   ============================================ */
.sec-head {
  text-align: center; margin-bottom: 60px; position: relative;
}
.sec-head h2 { margin-top: 20px;}
.sec-head .lead { max-width: 640px; margin: 20px auto 0;}

/* Highlight underline stroke reused — disabled site-wide (no colored pad behind headline words) */
.hl-line { position: relative; z-index: 1;}
.hl-line::after { content: none; display: none; }

/* ============================================
   FAQ (shared)
   ============================================ */
.faq {
  padding: 120px 24px;
  background: var(--k-paper);
}
.faq-inner { max-width: 860px; margin: 0 auto;}
.faq-list { margin-top: 60px;}
.faq-item {
  background: var(--k-white); border: 3px solid var(--k-ink);
  border-radius: var(--r-md); margin-bottom: 12px;
  box-shadow: 4px 4px 0 var(--k-ink);
  overflow: hidden; transition: transform .2s;
}
.faq-item:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--k-ink);}
.faq-item summary {
  padding: 22px 26px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  letter-spacing: -.015em; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none;}
.faq-item summary::after {
  content: '+'; font-size: 32px; font-weight: 400;
  color: var(--k-coral); flex-shrink: 0; transition: transform .3s; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg);}
.faq-item[open] { background: var(--k-lemon);}
.faq-answer {
  padding: 0 26px 24px; font-size: 15px; line-height: 1.65;
  color: var(--k-ink); opacity: .85;
}
.faq-item code {
  font-family: var(--font-mono); background: var(--k-cream);
  padding: 1px 6px; border-radius: 4px;
  border: 1px solid rgba(10,26,15,.15);
  font-size: 13px; font-weight: 700;
}

/* ============================================
   FINAL CTA (shared)
   ============================================ */
.final {
  padding: 140px 24px;
  background: var(--k-ink); color: var(--k-cream);
  text-align: center;
  position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232,255,59,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,86,56,.12), transparent 40%);
}
.final-inner { max-width: 900px; margin: 0 auto; position: relative;}
.final h2 {
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 700; line-height: .88;
  letter-spacing: -.05em; margin: 30px 0 30px;
  color: var(--k-cream); font-family: var(--font-display);
}
.final h2 .lemon { color: var(--k-lemon);}
.final h2 .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400;}
.final h2 .stroke {
  -webkit-text-stroke: 3px var(--k-lemon); color: transparent;
}
.final p { font-size: 20px; color: rgba(245,239,224,.75); margin-bottom: 40px;}
.final code {
  background: rgba(232,255,59,.15); padding: 6px 16px; border-radius: 8px;
  font-family: var(--font-mono); color: var(--k-lemon); font-size: 18px; font-weight: 700;
  border: 1.5px solid rgba(232,255,59,.3);
  cursor: pointer; transition: all .2s;
}
.final code:hover { background: var(--k-lemon); color: var(--k-ink);}
.final .fine { margin-top: 24px; font-size: 14px; color: rgba(245,239,224,.5);}

/* ============================================
   FOOTER (shared with index)
   ============================================ */
.k-foot {
  background: var(--k-ink); color: var(--k-cream);
  padding: 100px 32px 40px; position: relative; overflow: hidden;
}
.k-foot::before {
  content: 'KNOCKET'; position: absolute; bottom: -20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(120px, 22vw, 340px);
  font-weight: 900; color: rgba(232,255,59,.08);
  letter-spacing: -.05em; line-height: 1; pointer-events: none;
  white-space: nowrap;
}
.k-foot-inner { max-width: 1360px; margin: 0 auto; position: relative;}
.k-foot-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 0.9fr 2.2fr;
  gap: 32px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.k-foot-two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.k-foot-two ul { display: flex; flex-direction: column; gap: 12px;}
.k-foot .k-foot-sub {
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(232,255,59,.5);
  margin-bottom: 18px;
  padding-top: 4px;
  list-style: none;
}
.k-foot-wide h3 { margin-bottom: 40px;}
.k-foot h3 {
  font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
  color: var(--k-lemon); margin-bottom: 40px;
}
.k-foot ul { list-style: none; display: flex; flex-direction: column; gap: 16px;}
.k-foot a { color: rgba(245,239,224,.7); font-size: 15px; transition: color .15s;}
.k-foot a:hover { color: var(--k-lemon);}
.k-foot-brand p {
  color: rgba(245,239,224,.6); font-size: 15px; line-height: 1.6;
  margin-top: 16px; max-width: 340px;
}
.k-foot-bot {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(245,239,224,.4); font-size: 13px;
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 900px) {
  .k-foot { padding: 60px 20px 30px;}
  /* Single full-width column so no link block ever leaves a sibling
     cell empty. The old rigid 2-col grid put the long Alternatives
     list in the left cell with an empty right cell, then pushed the
     wide Solutions block onto its own row at the bottom-left — the
     big blank gap the user flagged. Stacking each block full width
     keeps the order clean and lets Solutions use its own 2-col split. */
  .k-foot-top { grid-template-columns: 1fr; gap: 34px; padding-bottom: 40px;}
  .k-foot-two { grid-template-columns: 1fr 1fr; gap: 12px 24px;}
  .k-foot-wide { grid-column: 1 / -1;}
  .k-foot-brand { grid-column: 1 / -1;}
  .k-foot-bot { flex-direction: column; text-align: center;}
}

/* ============================================
   SEO TEMPLATE — unified compact page layout
   All /templates/* and /page-templates/* pages share this
   ============================================ */
.seo-hero {
  padding: 170px 24px 60px;
  background: var(--k-cream);
  position: relative;
  border-bottom: 3px solid var(--k-ink);
  overflow: hidden;
}
.seo-hero::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--k-lemon);
  top: -160px; right: -140px;
  z-index: 0;
  animation: splat-morph 12s ease-in-out infinite;
}
.seo-hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.seo-hero-inner.narrow {
  max-width: 900px;
  grid-template-columns: 1fr;
  text-align: center;
}
.seo-hero-copy { min-width: 0;}
.seo-hero-inner.narrow .seo-hero-copy { text-align: center;}
.seo-crumbs {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--k-muted); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex; gap: 8px; align-items: center;
}
.seo-crumbs a { color: var(--k-muted); transition: color .15s;}
.seo-crumbs a:hover { color: var(--k-ink);}
.seo-crumbs .sep { opacity: .35;}

/* Hide breadcrumb hierarchy text across all pages */
.seo-crumbs,
.breadcrumbs,
.p-hero-copy .breadcrumbs { display: none !important; }
.seo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 54px);
  font-weight: 800; line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--k-ink);
  margin-bottom: 18px;
}
.seo-hero h1 .hl {
  background: transparent; padding: 0;
}
.seo-sub {
  font-size: 18px; line-height: 1.5;
  color: var(--k-ink); opacity: .8;
  margin-bottom: 26px;
}
.seo-hero-inner.narrow .seo-sub { max-width: 640px; margin: 0 auto 26px;}

.seo-direct-answer {
  margin: 0 0 26px;
  padding: 18px 22px;
  background: var(--k-white);
  border: 2.5px solid var(--k-ink); border-radius: var(--r-md);
  box-shadow: 4px 4px 0 var(--k-ink);
  text-align: left;
}
.seo-hero-inner.narrow .seo-direct-answer { max-width: 720px; margin: 0 auto 26px;}
.seo-direct-answer .label {
  display: inline-block;
  padding: 3px 10px; margin-bottom: 10px;
  background: var(--k-ink); color: var(--k-lemon);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  letter-spacing: .1em;
}
.seo-direct-answer p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--k-ink);
}
.seo-direct-answer p b { background: transparent; padding: 0;}

.seo-hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 8px;
}
.seo-hero-cta .free-note {
  font-family: var(--font-hand); font-size: 20px; color: var(--k-ink);
  transform: rotate(-3deg);
}
.seo-hero-cta .free-note::before {
  content: '←'; margin-right: 6px; color: var(--k-coral);
}

/* ============================================
   SEO HERO MOCK — right column preview
   Two variants: widget (browser + chat popup) and page (contact card)
   ============================================ */
.seo-mock {
  position: relative;
  display: flex; justify-content: center;
  align-items: center;
  min-height: 340px;
}

/* --- Widget mock: browser + chat popup + launcher --- */
.seo-mock-widget {
  position: relative;
  width: 100%; max-width: 440px;
}
.seo-mw-browser {
  background: var(--k-white);
  border: 3px solid var(--k-ink); border-radius: 14px;
  box-shadow: 10px 10px 0 var(--k-ink);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.seo-mw-bar {
  padding: 9px 12px;
  background: #D9D2BC;
  border-bottom: 2.5px solid var(--k-ink);
  display: flex; align-items: center; gap: 10px;
}
.seo-mw-bar .dots { display: flex; gap: 5px;}
.seo-mw-bar .dots span { width: 10px; height: 10px; border-radius: 50%;}
.seo-mw-bar .dots span:nth-child(1) { background: #ED6A5E;}
.seo-mw-bar .dots span:nth-child(2) { background: #F5BF4F;}
.seo-mw-bar .dots span:nth-child(3) { background: #62C554;}
.seo-mw-bar .url {
  flex: 1; padding: 4px 10px;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.15); border-radius: 6px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
}
.seo-mw-body {
  padding: 26px 22px 40px;
  background: var(--k-white);
  min-height: 220px;
}
.seo-mw-h {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1;
  color: var(--k-ink); margin-bottom: 12px;
}
.seo-mw-h .hl { background: transparent; padding: 0;}
.seo-mw-p {
  height: 7px; background: rgba(10,26,15,.15);
  border-radius: 2px; margin-bottom: 7px;
}
.seo-mw-p.short { width: 60%;}
.seo-mw-p.mid { width: 78%;}
.seo-mw-tiles {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-top: 16px;
}
.seo-mw-tile {
  aspect-ratio: 1; border-radius: 6px;
  border: 1.5px solid rgba(10,26,15,.1);
}
.seo-mw-tile.t1 { background: linear-gradient(135deg, #FDBA74, #F97316);}
.seo-mw-tile.t2 { background: linear-gradient(135deg, #C9B8FF, #A78BFA);}
.seo-mw-tile.t3 { background: linear-gradient(135deg, #86EFAC, #22C55E);}

.seo-mw-popup {
  position: absolute;
  right: -20px; bottom: 20px;
  width: 240px;
  background: var(--k-white);
  border: 3px solid var(--k-ink); border-radius: 18px;
  box-shadow: 7px 7px 0 var(--k-ink);
  overflow: hidden;
  transform: rotate(2deg);
  z-index: 4;
}
.seo-mw-popup-hd {
  padding: 10px 12px;
  background: linear-gradient(135deg, #16A34A 0%, #0D4A24 100%);
  color: var(--k-cream);
  display: flex; align-items: center; gap: 9px;
}
.seo-mw-popup-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--k-lemon); color: var(--k-ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  border: 2px solid var(--k-cream);
  flex-shrink: 0;
}
.seo-mw-popup-name {
  font-family: var(--font-display); font-size: 12px; font-weight: 800;
  line-height: 1;
}
.seo-mw-popup-online {
  font-family: var(--font-mono); font-size: 9px; color: var(--k-lemon);
  margin-top: 3px; letter-spacing: .03em;
  display: inline-flex; align-items: center; gap: 4px;
}
.seo-mw-popup-online .live-dot { width: 5px; height: 5px;}
.seo-mw-popup-body {
  padding: 10px 12px 12px;
  background: #FDFAF0;
}
.seo-mw-popup-body .msg {
  padding: 6px 10px; border-radius: 10px;
  font-size: 11px; line-height: 1.35;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.08);
  border-bottom-left-radius: 3px;
  margin-bottom: 4px;
}
.seo-mw-popup-body .quick {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 6px;
}
.seo-mw-popup-body .quick span {
  padding: 5px 9px;
  background: var(--k-lemon-soft);
  border: 1.2px solid var(--k-ink); border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
}

.seo-mw-launcher {
  position: absolute;
  right: -10px; bottom: -14px;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #16A34A, #0D4A24);
  color: var(--k-lemon);
  border: 3px solid var(--k-ink);
  box-shadow: 3px 3px 0 var(--k-ink);
  display: grid; place-items: center;
  font-size: 20px;
  z-index: 5;
  animation: bounce-launcher 2.4s ease-in-out infinite;
}

/* --- Page mock: full contact page card --- */
.seo-mock-page {
  width: 100%; max-width: 340px;
  background: var(--k-white);
  border: 3px solid var(--k-ink); border-radius: 16px;
  box-shadow: 12px 12px 0 var(--k-ink);
  overflow: hidden;
  transform: rotate(-2deg);
}
.seo-mp-bar {
  padding: 8px 12px;
  background: #D9D2BC;
  border-bottom: 2.5px solid var(--k-ink);
  display: flex; align-items: center; gap: 10px;
}
.seo-mp-bar .dots { display: flex; gap: 5px;}
.seo-mp-bar .dots span { width: 9px; height: 9px; border-radius: 50%;}
.seo-mp-bar .dots span:nth-child(1) { background: #ED6A5E;}
.seo-mp-bar .dots span:nth-child(2) { background: #F5BF4F;}
.seo-mp-bar .dots span:nth-child(3) { background: #62C554;}
.seo-mp-bar .url {
  flex: 1; padding: 3px 10px;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.15); border-radius: 6px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
}
.seo-mp-body {
  background: linear-gradient(180deg, #FDFBF4 0%, #F5EFE0 100%);
  padding: 0 0 18px;
}
.seo-mp-cover {
  height: 88px;
  background: linear-gradient(135deg, #DFF362 0%, #A8DBFF 100%);
  border-bottom: 2px solid var(--k-ink);
  position: relative;
}
.seo-mp-cover-tag {
  position: absolute; top: 10px; right: 12px;
  padding: 3px 9px;
  background: var(--k-ink); color: var(--k-cream);
  border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 9px; font-weight: 800;
  letter-spacing: .08em;
}
.seo-mp-av {
  width: 68px; height: 68px; margin: -38px auto 8px;
  border-radius: 50%;
  border: 4px solid var(--k-cream);
  box-shadow: 3px 3px 0 var(--k-ink);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.seo-mp-av img { display: block; width: 100%; height: 100%; object-fit: cover;}
.seo-mp-av-online {
  position: absolute;
  bottom: 3px; right: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--k-green);
  border: 3px solid var(--k-cream);
  z-index: 3;
  animation: pulse-ring 2s infinite;
}
.seo-mp-name {
  text-align: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1;
}
.seo-mp-role {
  text-align: center;
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .1em; color: var(--k-green-dark);
  margin-top: 5px;
}
.seo-mp-cta {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 18px;
  padding: 11px 14px;
  background: var(--k-ink); color: var(--k-cream);
  border: 3px solid var(--k-ink); border-radius: 12px;
  box-shadow: 3px 3px 0 var(--k-lemon), 5px 5px 0 var(--k-ink);
  text-align: left;
}
.seo-mp-cta-dot {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--k-lemon);
  border: 2px solid var(--k-cream);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.seo-mp-cta-dot .live-dot { width: 9px; height: 9px;}
.seo-mp-cta-body b {
  display: block;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 800;
  color: var(--k-cream); line-height: 1;
}
.seo-mp-cta-body span {
  display: block;
  font-family: var(--font-mono); font-size: 9px; color: var(--k-lemon);
  margin-top: 4px; letter-spacing: .03em;
}
.seo-mp-cta-arrow {
  margin-left: auto;
  color: var(--k-lemon); font-size: 11px; font-weight: 800;
}
.seo-mp-links {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin: 0 18px;
}
.seo-mp-link {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 10px;
  background: var(--k-white);
  border: 2px solid var(--k-ink); border-radius: 8px;
  box-shadow: 2px 2px 0 var(--k-ink);
  font-size: 11px; font-weight: 700;
}
.seo-mp-link-ic {
  width: 18px; height: 18px; border-radius: 5px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800;
  border: 1.5px solid var(--k-ink);
  flex-shrink: 0;
}
.seo-mp-link-ic.tg { background: #A8DBFF;}
.seo-mp-link-ic.em { background: #FFB899;}
.seo-mp-link-ic.gh { background: var(--k-lemon);}
.seo-mp-link-ic.li { background: #C9B8FF;}

/* Section styling for all SEO pages */
.seo-sec {
  padding: 70px 24px;
}
.seo-sec:nth-of-type(odd) { background: var(--k-paper);}
.seo-sec:nth-of-type(even) { background: var(--k-cream);}
.seo-sec-inner { max-width: 900px; margin: 0 auto;}
.seo-sec h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--k-ink);
}

/* Pain points */
.seo-pain-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.seo-pain-list li {
  padding: 14px 18px;
  background: var(--k-white);
  border: 2px solid var(--k-ink); border-radius: 10px;
  box-shadow: 3px 3px 0 var(--k-ink);
  font-size: 15px; line-height: 1.5;
  color: var(--k-ink);
  display: flex; gap: 12px; align-items: flex-start;
}
.seo-pain-list li::before {
  content: '×'; font-family: var(--font-display); font-size: 20px;
  font-weight: 800; color: var(--k-coral); line-height: 1;
  flex-shrink: 0;
}

/* Comparison table */
.seo-cmp {
  width: 100%;
  background: var(--k-white);
  border: 2.5px solid var(--k-ink); border-radius: var(--r-md);
  box-shadow: 6px 6px 0 var(--k-ink);
  overflow: hidden;
  border-collapse: collapse;
}
.seo-cmp thead th {
  padding: 14px 16px;
  background: var(--k-ink); color: var(--k-cream);
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  text-align: left;
  border-right: 1px solid rgba(232,255,59,.15);
}
.seo-cmp thead th:first-child { color: rgba(245,239,224,.6); font-weight: 700;}
.seo-cmp thead th.k { color: var(--k-lemon);}
.seo-cmp thead th:last-child { border-right: none;}
.seo-cmp tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(10,26,15,.08);
  border-right: 1px solid rgba(10,26,15,.05);
  font-size: 14px;
}
.seo-cmp tbody tr:last-child td { border-bottom: none;}
.seo-cmp tbody td:first-child {
  font-weight: 600;
  background: var(--k-cream);
}
.seo-cmp .check {
  color: var(--k-green); font-weight: 800; font-size: 18px;
}
.seo-cmp .dash {
  color: rgba(10,26,15,.3); font-weight: 600;
}
.seo-cmp .cell-txt {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--k-ink); opacity: .8;
  line-height: 1.4;
}
.seo-cmp tbody td:nth-child(n+2) {
  text-align: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
}
.seo-cmp-prose {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--k-lemon-soft);
  border-left: 4px solid var(--k-lemon);
  border-radius: 4px;
  font-size: 14.5px; line-height: 1.6;
  color: var(--k-ink);
}
.seo-cmp-prose b { background: transparent; padding: 0;}

/* FAQ (reuse .faq-item styling but drop the huge padding) */
.seo-faq .faq-item {
  background: var(--k-white); border: 2.5px solid var(--k-ink);
  border-radius: var(--r-md); margin-bottom: 10px;
  box-shadow: 3px 3px 0 var(--k-ink);
  overflow: hidden;
}
.seo-faq .faq-item summary {
  padding: 16px 20px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  letter-spacing: -.01em; gap: 20px;
}
.seo-faq .faq-item summary::-webkit-details-marker { display: none;}
.seo-faq .faq-item summary::after {
  content: '+'; font-size: 24px; font-weight: 400;
  color: var(--k-coral); flex-shrink: 0; transition: transform .3s;
  line-height: 1;
}
.seo-faq .faq-item[open] summary::after { transform: rotate(45deg);}
.seo-faq .faq-item[open] { background: var(--k-lemon-soft);}
.seo-faq .faq-answer {
  padding: 0 20px 18px;
  font-size: 14.5px; line-height: 1.65;
  color: var(--k-ink); opacity: .85;
}
.seo-faq .faq-answer code {
  font-family: var(--font-mono); background: var(--k-cream);
  padding: 1px 6px; border-radius: 4px;
  border: 1px solid rgba(10,26,15,.15);
  font-size: 13px; font-weight: 600;
}

/* Related templates */
.seo-related {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.seo-related-card {
  padding: 20px 20px 18px;
  background: var(--k-white);
  border: 2.5px solid var(--k-ink); border-radius: var(--r-md);
  box-shadow: 4px 4px 0 var(--k-ink);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px;
}
.seo-related-card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--k-ink);}
.seo-related-card b {
  display: block;
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  letter-spacing: -.01em; line-height: 1.2;
  color: var(--k-ink);
}
.seo-related-card p {
  font-size: 13px; line-height: 1.5;
  color: var(--k-muted); margin: 0;
}
.seo-related-card .arrow {
  margin-top: auto;
  font-size: 13px; font-weight: 800;
  color: var(--k-coral);
}

/* Final block */
.seo-final {
  padding: 80px 24px;
  background: var(--k-ink); color: var(--k-cream);
  text-align: center;
}
.seo-final h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--k-cream); margin-bottom: 14px;
}
.seo-final h2 .lemon { color: var(--k-lemon);}
.seo-final p {
  font-size: 16px; color: rgba(245,239,224,.75);
  margin-bottom: 26px; max-width: 500px; margin-left: auto; margin-right: auto;
}

@media (max-width: 900px) {
  .seo-hero { padding: 100px 18px 40px;}
  .seo-hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center;}
  .seo-hero-copy { text-align: center;}
  .seo-hero .seo-sub, .seo-hero .seo-direct-answer { max-width: 100%;}
  .seo-hero-cta { justify-content: center;}
  .seo-hero-cta .free-note { display: none;}
  .seo-sec { padding: 50px 18px;}
  .seo-sec h2 { font-size: 22px;}
  .seo-related { grid-template-columns: 1fr;}
  .seo-cmp { font-size: 12px;}
  .seo-cmp thead th, .seo-cmp tbody td { padding: 10px 12px;}
  .seo-mock { min-height: 260px;}
  .seo-mock-widget { max-width: 340px;}
  .seo-mw-popup { right: 0; width: 200px;}
  .seo-mock-page { transform: rotate(-1deg); max-width: 300px;}
  .seo-mw-browser { transform: rotate(-.5deg);}
  .seo-mw-launcher { display: none;}
}

@media (max-width: 440px) {
  .seo-hero { padding: 90px 14px 30px;}
  .seo-hero h1 { font-size: 30px;}
  .seo-sec { padding: 40px 14px;}
  .seo-mock-widget { max-width: 100%;}
  .seo-mock-page { max-width: 100%;}
  .seo-mw-popup { position: relative; right: auto; bottom: auto; margin: -10px auto 0; transform: rotate(1deg);}
}

/* ============================================
   LANGUAGE SWITCHER (nav)
   ============================================ */
.lang-switch {
  position: relative;
  margin-right: 4px;
}
.lang-current {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--k-ink); letter-spacing: .05em;
  cursor: default;
  border: 1.5px solid transparent;
  transition: all .15s;
  user-select: none;
}
.lang-switch:hover .lang-current {
  background: var(--k-ink); color: var(--k-lemon);
  border-color: var(--k-ink);
}
.lang-drop {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 180px;
  background: var(--k-white);
  border: 2.5px solid var(--k-ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--k-ink);
  padding: 6px;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s;
  z-index: 100;
}
.lang-switch:hover .lang-drop {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.lang-drop a, .lang-drop span {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
  border-radius: 8px;
  color: var(--k-ink);
  transition: background .12s;
}
.lang-drop a:hover { background: var(--k-cream);}
.lang-drop .lang-cur-item {
  color: var(--k-green-dark);
  background: var(--k-lemon-soft);
  font-weight: 700;
}
.lang-drop .lang-soon {
  color: var(--k-muted);
  font-size: 11px;
  cursor: not-allowed;
}

/* ============================================================
   MOCK VISUAL VARIANTS (v2)
   10 distinct visual structures for the right-column mock across
   solutions/templates/compare/page-templates pages. Each variant
   has its own DOM + palette so pages don't all look identical.
   ============================================================ */

/* Shared wrapper */
.mv {
  position: relative;
  width: 100%; max-width: 460px;
  margin: 0 auto;
}
.mv-frame {
  background: var(--k-white);
  border: 3px solid var(--k-ink);
  border-radius: 14px;
  box-shadow: 12px 12px 0 var(--k-ink);
  overflow: hidden;
  transform: rotate(-1deg);
}
.mv-bar {
  padding: 9px 12px;
  background: #D9D2BC;
  border-bottom: 2.5px solid var(--k-ink);
  display: flex; align-items: center; gap: 10px;
}
.mv-bar .dots { display: flex; gap: 5px;}
.mv-bar .dots span { width: 10px; height: 10px; border-radius: 50%;}
.mv-bar .dots span:nth-child(1) { background: #ED6A5E;}
.mv-bar .dots span:nth-child(2) { background: #F5BF4F;}
.mv-bar .dots span:nth-child(3) { background: #62C554;}
.mv-bar .url {
  flex: 1; padding: 4px 10px;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.15); border-radius: 6px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  color: var(--k-ink);
}
.mv-sticker {
  position: absolute;
  padding: 6px 14px;
  background: var(--k-lemon);
  border: 2.5px solid var(--k-ink); border-radius: var(--r-pill);
  box-shadow: 3px 3px 0 var(--k-ink);
  font-family: var(--font-hand); font-size: 18px;
  color: var(--k-ink);
  z-index: 3;
  transform: rotate(-6deg);
}

/* ============ 1. eCommerce Grid ============ */
.mv-ecom .mv-frame { background: #FFFCF3;}
.mv-ecom-head {
  padding: 14px 16px 10px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--k-ink);
}
.mv-ecom-brand {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  letter-spacing: -.02em;
}
.mv-ecom-cart {
  position: relative;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--k-ink); color: var(--k-lemon);
  display: grid; place-items: center; font-size: 14px;
}
.mv-ecom-cart::after {
  content: '3'; position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--k-coral); color: var(--k-cream);
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  display: grid; place-items: center;
  border: 1.5px solid var(--k-ink);
}
.mv-ecom-grid {
  padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mv-ecom-item {
  background: var(--k-white);
  border: 2px solid var(--k-ink); border-radius: 10px;
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--k-ink);
}
.mv-ecom-item-img {
  aspect-ratio: 1;
  position: relative;
}
.mv-ecom-item-img.i1 { background: linear-gradient(135deg, #FCA5A5, #EF4444);}
.mv-ecom-item-img.i2 { background: linear-gradient(135deg, #FDE68A, #F59E0B);}
.mv-ecom-item-img.i3 { background: linear-gradient(135deg, #86EFAC, #22C55E);}
.mv-ecom-item-img.i4 { background: linear-gradient(135deg, #A5F3FC, #06B6D4);}
.mv-ecom-item-img.i5 { background: linear-gradient(135deg, #C9B8FF, #A78BFA);}
.mv-ecom-item-img.i6 { background: linear-gradient(135deg, #F0ABFC, #D946EF);}
.mv-ecom-item-body {
  padding: 8px 10px;
}
.mv-ecom-item-name {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: -.01em; line-height: 1.1;
  margin-bottom: 4px;
  color: var(--k-ink);
}
.mv-ecom-item-price {
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  color: var(--k-coral);
}
.mv-ecom-item-price s {
  color: rgba(10,26,15,.35); font-weight: 500; margin-right: 4px;
}
.mv-ecom-cta {
  margin: 4px 12px 14px;
  padding: 10px;
  background: var(--k-ink); color: var(--k-lemon);
  border-radius: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  text-align: center;
  letter-spacing: .05em;
}

/* ============ 2. SaaS Dashboard ============ */
.mv-saas .mv-frame { background: #FAFAFB;}
.mv-saas-body {
  display: grid; grid-template-columns: 40px 1fr;
  min-height: 260px;
}
.mv-saas-side {
  background: var(--k-ink);
  padding: 12px 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  border-right: 2px solid var(--k-ink);
}
.mv-saas-side .ic {
  width: 26px; height: 26px; border-radius: 6px;
  background: rgba(232,255,59,.15);
  color: var(--k-lemon);
  display: grid; place-items: center;
  font-size: 12px;
}
.mv-saas-side .ic.active { background: var(--k-lemon); color: var(--k-ink);}
.mv-saas-main {
  padding: 14px 16px;
}
.mv-saas-h {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  margin-bottom: 12px;
  color: var(--k-ink);
}
.mv-saas-metrics {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-bottom: 12px;
}
.mv-saas-metric {
  padding: 8px 10px;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.15); border-radius: 6px;
}
.mv-saas-metric-lbl {
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
  color: var(--k-muted); letter-spacing: .1em;
  text-transform: uppercase;
}
.mv-saas-metric-val {
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  color: var(--k-ink); margin-top: 3px;
  line-height: 1;
}
.mv-saas-metric-val .up { color: var(--k-green); font-size: 11px; font-weight: 700;}
.mv-saas-chart {
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.15); border-radius: 8px;
  padding: 12px 10px 6px;
  margin-bottom: 10px;
}
.mv-saas-chart-title {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--k-muted); letter-spacing: .08em;
  margin-bottom: 6px;
}
.mv-saas-chart svg { width: 100%; height: 50px;}
.mv-saas-feed { display: flex; flex-direction: column; gap: 4px;}
.mv-saas-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px;
  background: rgba(232,255,59,.15);
  border-left: 3px solid var(--k-lemon);
  border-radius: 3px;
  font-size: 10.5px;
  color: var(--k-ink);
}
.mv-saas-row .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--k-green);
  flex-shrink: 0;
}

/* ============ 3. Code Editor ============ */
.mv-code .mv-frame { background: #0F172A;}
.mv-code .mv-bar { background: #1E293B; border-bottom-color: #334155;}
.mv-code .mv-bar .url { background: #0F172A; color: #94A3B8; border-color: #334155;}
.mv-code-body {
  display: grid; grid-template-columns: 90px 1fr;
  min-height: 260px;
}
.mv-code-tree {
  background: #0B1220;
  padding: 12px 8px;
  border-right: 1px solid #1E293B;
}
.mv-code-file {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 4px;
  font-family: var(--font-mono); font-size: 10px;
  color: #94A3B8;
  line-height: 1.4;
}
.mv-code-file.active { background: rgba(232,255,59,.1); color: var(--k-lemon); border-radius: 4px;}
.mv-code-file .fic { width: 8px; height: 8px; border-radius: 2px;}
.mv-code-file .fic.js { background: #FDE047;}
.mv-code-file .fic.tsx { background: #38BDF8;}
.mv-code-file .fic.md { background: #C084FC;}
.mv-code-file .fic.env { background: #F87171;}
.mv-code-editor {
  padding: 12px 14px;
  font-family: var(--font-mono); font-size: 11px;
  line-height: 1.55;
  color: #E2E8F0;
  position: relative;
}
.mv-code-editor .ln {
  display: block;
}
.mv-code-editor .num {
  color: #475569;
  margin-right: 10px;
  user-select: none;
}
.mv-code-editor .kw { color: #F0ABFC;}
.mv-code-editor .fn { color: #FDE047;}
.mv-code-editor .str { color: #86EFAC;}
.mv-code-editor .com { color: #64748B; font-style: italic;}
.mv-code-editor .var { color: #7DD3FC;}
.mv-code-term {
  background: #030712;
  border-top: 1px solid #1E293B;
  padding: 8px 12px;
  font-family: var(--font-mono); font-size: 10px;
  color: #86EFAC;
}
.mv-code-term .prompt { color: #F0ABFC;}

/* ============ 4. CMS Admin (WordPress/Wix/Squarespace) ============ */
.mv-cms .mv-frame { background: #F5F5F5;}
.mv-cms-admin {
  background: #23282D;
  color: #FFF;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif; font-size: 11px;
}
.mv-cms-admin .logo {
  font-weight: 800;
  color: #DFF362;
}
.mv-cms-admin .menu { display: flex; gap: 12px; opacity: .8;}
.mv-cms-body {
  padding: 16px;
  min-height: 240px;
}
.mv-cms-crumb {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--k-muted); letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mv-cms-h {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1;
  color: var(--k-ink); margin-bottom: 10px;
}
.mv-cms-meta {
  display: flex; gap: 8px; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 10px;
}
.mv-cms-meta .status {
  padding: 3px 8px;
  background: #10B981; color: #FFF;
  border-radius: 3px; font-weight: 700;
}
.mv-cms-meta .date { color: var(--k-muted);}
.mv-cms-editor {
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.15); border-radius: 6px;
  padding: 12px;
  min-height: 100px;
}
.mv-cms-editor .p {
  height: 8px; background: rgba(10,26,15,.15);
  margin-bottom: 6px; border-radius: 2px;
}
.mv-cms-editor .p:nth-child(2) { width: 90%;}
.mv-cms-editor .p:nth-child(3) { width: 75%;}
.mv-cms-editor .p:nth-child(4) { width: 85%;}
.mv-cms-editor .p:nth-child(5) { width: 40%;}
.mv-cms-actions {
  margin-top: 12px;
  display: flex; gap: 8px; justify-content: flex-end;
}
.mv-cms-btn {
  padding: 6px 14px;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.35); border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--k-ink);
}
.mv-cms-btn.primary {
  background: #2271B1; border-color: #2271B1; color: #FFF;
}

/* ============ 5. Law Firm Case File ============ */
.mv-law .mv-frame { background: #FBF9F3;}
.mv-law-head {
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, #1E3A5F, #0F1F3A);
  color: var(--k-cream);
  border-bottom: 3px solid var(--k-ink);
}
.mv-law-head-brand {
  font-family: var(--font-serif); font-style: italic;
  font-size: 20px; font-weight: 400;
  letter-spacing: -.02em;
}
.mv-law-head-sub {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .15em; opacity: .7;
  margin-top: 4px;
}
.mv-law-body { padding: 14px 16px;}
.mv-law-section-title {
  font-family: var(--font-mono); font-size: 9px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--k-muted); margin-bottom: 8px;
}
.mv-law-cases {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.mv-law-case {
  padding: 8px 10px;
  background: var(--k-white);
  border: 1.5px solid rgba(10,26,15,.2); border-radius: 4px;
  border-left: 3px solid #1E3A5F;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
}
.mv-law-case-id {
  font-family: var(--font-mono); font-weight: 800;
  color: #1E3A5F; margin-right: 8px;
}
.mv-law-case-name { flex: 1; color: var(--k-ink); font-weight: 600;}
.mv-law-case-status {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
  letter-spacing: .05em;
}
.mv-law-case-status.active { background: #FEF3C7; color: #92400E;}
.mv-law-case-status.won { background: #D1FAE5; color: #065F46;}
.mv-law-consult {
  margin-top: 6px;
  padding: 14px;
  background: #1E3A5F; color: var(--k-cream);
  border-radius: 6px;
  text-align: center;
}
.mv-law-consult-h {
  font-family: var(--font-serif); font-style: italic;
  font-size: 16px; font-weight: 400;
  margin-bottom: 4px;
}
.mv-law-consult-sub {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .1em; opacity: .8;
  margin-bottom: 10px;
}
.mv-law-consult-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--k-lemon); color: var(--k-ink);
  border-radius: 4px;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 800;
}

/* ============ 6. Cafe Menu ============ */
.mv-menu .mv-frame { background: #FBF3E4; transform: rotate(-2deg);}
.mv-menu-inner {
  padding: 18px 20px;
  border: 2px dashed rgba(10,26,15,.3);
  margin: 12px;
  border-radius: 8px;
}
.mv-menu-brand {
  font-family: var(--font-hand); font-size: 32px; font-weight: 700;
  color: var(--k-ink);
  text-align: center;
  line-height: .95;
  margin-bottom: 4px;
}
.mv-menu-tagline {
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: var(--k-muted); letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mv-menu-section {
  font-family: var(--font-serif); font-style: italic;
  font-size: 14px; font-weight: 400;
  color: var(--k-coral);
  margin: 14px 0 8px;
  border-bottom: 1px dashed rgba(10,26,15,.2);
  padding-bottom: 4px;
}
.mv-menu-item {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; line-height: 1.4;
  margin-bottom: 4px;
  color: var(--k-ink);
}
.mv-menu-item .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(10,26,15,.3);
  margin: 0 4px 4px;
  min-width: 20px;
}
.mv-menu-item b { font-family: var(--font-display); font-weight: 700;}
.mv-menu-item .price {
  font-family: var(--font-mono); font-weight: 700;
  color: var(--k-coral);
}
.mv-menu-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(10,26,15,.2);
  font-family: var(--font-hand); font-size: 16px;
  color: var(--k-coral);
  text-align: center;
}

/* ============ 7. Instagram Feed ============ */
.mv-ig .mv-frame { background: var(--k-white); max-width: 320px;}
.mv-ig-head {
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #DBDBDB;
}
.mv-ig-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  padding: 3px;
  flex-shrink: 0;
}
.mv-ig-avatar div {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--k-white);
  border: 2px solid var(--k-white);
  overflow: hidden;
}
.mv-ig-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%;}
.mv-ig-handle {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--k-ink);
}
.mv-ig-name {
  font-size: 12px; color: var(--k-muted);
  margin-top: 2px;
}
.mv-ig-stats {
  display: flex; justify-content: space-around;
  padding: 12px 0;
  border-bottom: 1px solid #DBDBDB;
  font-size: 11px;
  color: var(--k-ink);
}
.mv-ig-stats b { display: block; font-weight: 800; font-size: 14px;}
.mv-ig-cta {
  padding: 8px 14px;
  display: flex; gap: 6px;
}
.mv-ig-cta button {
  flex: 1;
  padding: 6px 0;
  background: #0095F6; color: #FFF;
  border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  border: none;
}
.mv-ig-cta button.dm {
  background: transparent; color: var(--k-ink);
  border: 1px solid #DBDBDB;
}
.mv-ig-cta button.link {
  background: var(--k-lemon); color: var(--k-ink); font-weight: 800;
  border: 2px solid var(--k-ink);
}
.mv-ig-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px; padding: 2px 0 0;
}
.mv-ig-tile {
  aspect-ratio: 1;
  position: relative;
}
.mv-ig-tile.t1 { background: linear-gradient(135deg, #FCA5A5, #F87171);}
.mv-ig-tile.t2 { background: linear-gradient(135deg, #FDE68A, #FBBF24);}
.mv-ig-tile.t3 { background: linear-gradient(135deg, #86EFAC, #4ADE80);}
.mv-ig-tile.t4 { background: linear-gradient(135deg, #A5F3FC, #22D3EE);}
.mv-ig-tile.t5 { background: linear-gradient(135deg, #C9B8FF, #A78BFA);}
.mv-ig-tile.t6 { background: linear-gradient(135deg, #FBCFE8, #F472B6);}
.mv-ig-tile.t7 { background: linear-gradient(135deg, #FED7AA, #FB923C);}
.mv-ig-tile.t8 { background: linear-gradient(135deg, #BEF264, #A3E635);}
.mv-ig-tile.t9 { background: linear-gradient(135deg, #E0E7FF, #A5B4FC);}

/* ============ 8. Business Card ============ */
.mv-card {
  perspective: 800px;
}
.mv-card .mv-frame {
  aspect-ratio: 1.75 / 1;
  max-width: 400px;
  border-radius: 18px;
  transform: rotate(-4deg);
  background: linear-gradient(135deg, var(--k-ink) 0%, var(--k-green-dark) 100%);
  color: var(--k-cream);
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.mv-card-tag {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 800;
  padding: 3px 8px;
  background: var(--k-lemon); color: var(--k-ink);
  border-radius: 4px;
  letter-spacing: .1em;
}
.mv-card-top {
  display: flex; align-items: center; gap: 14px;
}
.mv-card-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--k-lemon);
  border: 3px solid var(--k-cream);
  overflow: hidden;
  flex-shrink: 0;
}
.mv-card-avatar img { width: 100%; height: 100%; object-fit: cover;}
.mv-card-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1;
}
.mv-card-role {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .12em;
  color: var(--k-lemon);
  margin-top: 4px;
}
.mv-card-lines {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 12px;
}
.mv-card-line {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(245,239,224,.85);
}
.mv-card-line .ic {
  width: 18px; height: 18px; border-radius: 4px;
  background: rgba(232,255,59,.15); color: var(--k-lemon);
  display: grid; place-items: center;
  font-size: 10px; flex-shrink: 0;
}
.mv-card-qr {
  position: absolute; bottom: 20px; right: 24px;
  width: 60px; height: 60px;
  background: var(--k-cream);
  border-radius: 6px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
}
.mv-card-qr span {
  aspect-ratio: 1;
  background: var(--k-ink);
  border-radius: 1px;
}
.mv-card-qr span.b { background: transparent;}

/* ============ 9. Coming Soon Countdown ============ */
.mv-countdown .mv-frame {
  background: linear-gradient(135deg, var(--k-ink) 0%, #1a2820 100%);
  color: var(--k-cream);
  min-height: 300px;
  padding: 30px 24px;
  text-align: center;
}
.mv-countdown-eyebrow {
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  letter-spacing: .2em;
  color: var(--k-lemon);
  margin-bottom: 12px;
}
.mv-countdown-h {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  letter-spacing: -.03em; line-height: .95;
  margin-bottom: 6px;
}
.mv-countdown-h .hl { background: transparent; color: inherit; padding: 0;}
.mv-countdown-sub {
  font-size: 12px; color: rgba(245,239,224,.65);
  margin-bottom: 22px;
}
.mv-countdown-timer {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 22px;
}
.mv-countdown-unit {
  padding: 10px 8px;
  background: rgba(232,255,59,.1);
  border: 1.5px solid rgba(232,255,59,.3);
  border-radius: 6px;
  min-width: 54px;
}
.mv-countdown-unit-num {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--k-lemon); line-height: 1;
}
.mv-countdown-unit-lbl {
  font-family: var(--font-mono); font-size: 8px; font-weight: 700;
  color: rgba(232,255,59,.7); letter-spacing: .1em;
  margin-top: 3px; text-transform: uppercase;
}
.mv-countdown-form {
  display: flex; gap: 6px;
  max-width: 280px; margin: 0 auto;
}
.mv-countdown-form input {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(232,255,59,.3);
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--k-cream);
}
.mv-countdown-form button {
  padding: 8px 14px;
  background: var(--k-lemon); color: var(--k-ink);
  border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  border: 2px solid var(--k-ink);
  letter-spacing: .05em;
}

/* ============ 10. Contact Form (Typeform-style) ============ */
.mv-form .mv-frame {
  background: linear-gradient(160deg, #FEF3C7 0%, #FDE68A 100%);
  min-height: 300px;
  padding: 26px 24px;
}
.mv-form-step {
  font-family: var(--font-mono); font-size: 10px; font-weight: 800;
  color: var(--k-coral); letter-spacing: .1em;
  margin-bottom: 10px;
}
.mv-form-step .arrow { margin-left: 6px;}
.mv-form-q {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.15;
  color: var(--k-ink);
  margin-bottom: 8px;
}
.mv-form-q .required { color: var(--k-coral);}
.mv-form-hint {
  font-size: 12px; color: var(--k-muted);
  margin-bottom: 20px;
}
.mv-form-input {
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-bottom: 3px solid var(--k-ink);
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--k-ink);
  width: 100%;
  margin-bottom: 6px;
}
.mv-form-input.filled { color: var(--k-ink);}
.mv-form-input.placeholder { color: rgba(10,26,15,.35);}
.mv-form-choices {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 10px; margin-bottom: 18px;
}
.mv-form-choice {
  padding: 10px 14px;
  background: var(--k-white);
  border: 2px solid var(--k-ink); border-radius: 8px;
  box-shadow: 3px 3px 0 var(--k-ink);
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.mv-form-choice .key {
  width: 22px; height: 22px; border-radius: 4px;
  background: var(--k-lemon); border: 2px solid var(--k-ink);
  font-family: var(--font-mono); font-size: 11px; font-weight: 800;
  display: grid; place-items: center;
}
.mv-form-choice.selected {
  background: var(--k-lemon);
}
.mv-form-choice.selected .key { background: var(--k-ink); color: var(--k-lemon);}
.mv-form-nav {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px;
}
.mv-form-btn {
  padding: 10px 20px;
  background: var(--k-ink); color: var(--k-lemon);
  border-radius: 6px;
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  border: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.mv-form-shortcut {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--k-muted);
}
.mv-form-shortcut kbd {
  padding: 2px 6px; margin: 0 2px;
  background: var(--k-white);
  border: 1px solid var(--k-ink);
  border-bottom-width: 2px;
  border-radius: 3px;
  font-family: var(--font-mono); font-size: 10px;
}

/* Mobile: shrink all variants */
@media (max-width: 900px) {
  .mv { max-width: 100%;}
  .mv-frame { transform: none !important;}
  .mv-ecom-grid { grid-template-columns: 1fr 1fr; gap: 8px;}
  .mv-saas-body { grid-template-columns: 32px 1fr;}
  .mv-code-body { grid-template-columns: 70px 1fr; min-height: 220px;}
  .mv-code-editor { padding: 10px; font-size: 10px;}
  .mv-countdown-timer { gap: 4px;}
  .mv-countdown-unit { min-width: 46px; padding: 8px 4px;}
  .mv-countdown-unit-num { font-size: 16px;}
  .mv-form-q { font-size: 17px;}
  .mv-ig .mv-frame { max-width: 100%;}
  .mv-card .mv-frame { padding: 20px;}
  .mv-card-qr { width: 48px; height: 48px;}
}

/* ═══════════════════════════════════════════════════════════════
   BLOG — linktree-style: full-bleed color hero, big tight-set display
   type, square cover cards with no borders or shadows. Colours use the
   Knocket palette (--k-lemon / --k-ink / --k-coral), not linktree's.
   ═══════════════════════════════════════════════════════════════ */

/* ── Full-bleed color hero (list + category) ────────────────── */
.blog-hero {
  background: var(--k-lemon);
  padding: 120px 24px 0;
  position: relative;
  overflow: hidden;
}
.blog-hero-inner {
  max-width: 1180px; margin: 0 auto;
  position: relative;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 900;
  max-width: 75%;
  letter-spacing: -.045em;
  /* Line height under 1 is the linktree signature — the two words stack
     tight instead of sitting on separate baselines. */
  line-height: .9;
  text-transform: uppercase;
  color: var(--k-ink);
  margin: 0;
}
.blog-hero-sub {
  position: absolute;
  top: 16px; right: 0;
  max-width: 260px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  line-height: 1.55; letter-spacing: .02em;
  color: var(--k-ink); opacity: .65;
  text-align: right;
}

/* ── Category chips — sit at the bottom of the color hero ──── */
.blog-chips {
  background: var(--k-lemon);
  padding: 28px 24px 40px;
}
.blog-chips-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.blog-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  padding: 12px 22px; border-radius: var(--r-pill);
  border: 1.5px solid var(--k-ink);
  background: transparent; color: var(--k-ink);
  text-decoration: none;
  transition: background .18s, color .18s, transform .18s cubic-bezier(.34,1.56,.64,1);
}
.blog-chip em { font-style: normal; font-weight: 700; opacity: .5; font-size: 12px;}
.blog-chip:hover { background: rgba(10,26,15,.08); transform: translateY(-2px);}
.blog-chip.is-current {
  background: var(--k-ink); color: var(--k-lemon); cursor: default;
}
.blog-chip.is-current em { color: var(--k-lemon); opacity: .6;}
.blog-chip.is-current:hover { transform: none; background: var(--k-ink);}

/* ── List sections ──────────────────────────────────────────── */
.blog-sec { padding: 64px 24px; background: var(--k-paper);}
.blog-sec-featured { padding: 72px 24px 56px; background: var(--k-paper);}
.blog-sec-inner { max-width: 1180px; margin: 0 auto;}
.blog-sec-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--k-muted); margin: 0 0 24px;
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px;}

/* ── Dual CTA cards (sit between featured and main grid) ───── */
.blog-cta-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 8px;
}
.blog-cta-card {
  display: grid; grid-template-columns: 0.55fr 1fr; align-items: center; gap: 0;
  padding: 0;
  border-radius: var(--r-lg);
  text-decoration: none;
  overflow: hidden;
  min-height: 200px;
}
.blog-cta-card.lemon { background: var(--k-lemon); color: var(--k-ink);}
.blog-cta-card.coral { background: var(--k-coral); color: var(--k-cream);}
.blog-cta-card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.blog-cta-card-img-wrap {
  height: 100%; overflow: hidden;
}
.blog-cta-card-text { padding: 32px 36px;}
.blog-cta-card h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.15; margin: 0 0 8px;
}
.blog-cta-card p { font-size: 14px; line-height: 1.5; margin: 0; opacity: .8;}
.blog-cta-card-arrow { font-family: var(--font-mono); font-size: 12px; font-weight: 700; margin-top: 14px; display: inline-block;}

/* ── "Browse by" big-type heading between CTA and grid ─────── */
.blog-browse {
  display: flex; align-items: flex-end; gap: 40px;
  padding: 80px 24px 24px;
  max-width: 1180px; margin: 0 auto;
}
.blog-browse-right {
  margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.blog-browse h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px); font-weight: 700;
  letter-spacing: -.04em; line-height: .9; text-transform: uppercase;
  color: var(--k-ink); margin: 0;
}
.blog-browse-chips { max-width: 520px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end;}
/* The browse-by chips are the same component but quieter — no border, ink-on-transparent. */
.blog-browse-chips .blog-chip { border-color: var(--k-line); font-size: 13px; padding: 9px 16px;}

/* ── Post card — landscape cover, no border, no shadow ──────── */
.blog-card {
  background: transparent;
  border: 0; border-radius: 0; box-shadow: none;
  overflow: visible;
}
.blog-card-link {
  display: flex; flex-direction: column; height: 100%; gap: 20px;
  text-decoration: none; color: inherit;
}
.blog-card-cover {
  aspect-ratio: 16 / 9;
  border-radius: 4px; overflow: hidden;
  background: var(--k-cream);
  position: relative;
}
.blog-card-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.blog-card:hover .blog-card-cover img { transform: scale(1.04);}
.blog-card-body { display: flex; flex-direction: column; gap: 10px;}
.blog-card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  color: var(--k-muted);
}
.blog-card-sep { width: 1px; height: 12px; background: currentColor; opacity: .35;}
.blog-card-cat {
  color: var(--k-green); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.blog-card-cat:hover { text-decoration-thickness: 2.5px;}
.blog-card-title {
  font-family: var(--font-sans); font-size: 24px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1;
  color: var(--k-ink); margin: 0;
  transition: color .18s;
}
.blog-card:hover .blog-card-title { color: var(--k-green);}
.blog-card-desc {
  font-size: 15px; line-height: 1.55; color: var(--k-muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-arrow { display: none;}

/* Featured cards: identical component, just a touch larger. */
.blog-card.is-featured .blog-card-title { font-size: 26px;}
.blog-card.is-compact .blog-card-title { font-size: 19px;}
.blog-card.is-compact .blog-card-meta { font-size: 11.5px;}
.blog-card.is-compact .blog-card-link { gap: 16px;}

/* ── Post page hero: two columns, landscape cover ───────────── */
.blog-post-hero {
  padding: 110px 24px 56px;
  background: var(--k-cream);
  border-bottom: 3px solid var(--k-ink);
}
.blog-post-hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px; align-items: center;
}
.blog-post-cover {
  aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden;
  background: var(--k-lemon-soft);
  box-shadow: 10px 10px 0 var(--k-ink);
  border: 3px solid var(--k-ink);
}
.blog-post-cover img { width: 100%; height: 100%; object-fit: cover; display: block;}
.blog-post-hero-text { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1;}
.blog-post-cat {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .04em;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(10,26,15,.06); color: var(--k-ink);
  text-decoration: none;
}
.blog-post-cat:hover { background: var(--k-lemon);}
.blog-post-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.04;
  color: var(--k-ink); margin: 0;
}
.blog-post-lead {
  font-size: 19px; line-height: 1.5; color: var(--k-ink); opacity: .75; margin: 0;
}
.blog-post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  color: var(--k-ink); opacity: .7;
}
.blog-post-meta .blog-card-sep { opacity: .3;}
.blog-post-crumbs {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--k-muted); margin-bottom: 4px;
  display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.blog-post-crumbs a {
  display: inline-block; position: relative; z-index: 2;
  padding: 6px 2px; margin: -6px -2px;
  color: var(--k-muted);
  pointer-events: auto; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 1px; text-decoration-color: rgba(10,26,15,.35);
  transition: color .15s ease, text-decoration-color .15s ease, font-weight .15s ease;
}
.blog-post-crumbs a:hover { color: var(--k-ink); font-weight: 900; text-decoration-color: var(--k-ink);}
.blog-post-crumbs .sep { opacity: .4;}

/* ── Post body: TOC rail + article + spacer ─────────────────── */
.blog-post-wrap { padding: 56px 24px 24px; background: var(--k-paper);}
.blog-post-layout {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 240px;
  gap: 48px; align-items: start;
}
.blog-post-sidebar {
  position: sticky; top: 110px;
  grid-column: 1; grid-row: 1;
  display: flex; flex-direction: column; gap: 20px;
}
.blog-sidebar-card {
  padding: 24px;
  border-radius: var(--r-md);
  border: 2px solid var(--k-line);
  background: var(--k-white);
}
.blog-sidebar-card :is(h3, h4) {
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  letter-spacing: -.01em; line-height: 1.2;
  color: var(--k-ink); margin: 0 0 8px;
}
.blog-sidebar-card p {
  font-size: 13px; line-height: 1.5; color: var(--k-muted); margin: 0 0 14px;
}
.blog-sidebar-card .btn {
  display: inline-flex; width: 100%; justify-content: center;
  font-size: 13px; padding: 10px 16px;
}
.blog-sidebar-card--dark {
  background: var(--k-ink); border-color: var(--k-ink); color: var(--k-cream);
}
.blog-sidebar-card--dark :is(h3, h4) { color: var(--k-cream);}
.blog-sidebar-card--dark p { color: rgba(255,255,255,.7);}
.blog-post-toc { position: sticky; top: 110px; grid-column: 3; grid-row: 1;}
.blog-post-toc-head {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--k-muted); margin: 0 0 16px;
}
.blog-post-toc-list { display: flex; flex-direction: column; gap: 0;}
.blog-post-toc-list a {
  display: block;
  font-size: 13.5px; font-weight: 600; line-height: 1.35;
  color: var(--k-ink); text-decoration: none;
  padding: 8px 0 8px 14px;
  border-left: 3px solid var(--k-line);
  transition: color .15s, border-color .15s, background .15s;
}
.blog-post-toc-list a:hover {
  color: var(--k-green); border-left-color: var(--k-lemon);
  background: rgba(223,243,98,.08);
}
.blog-post-toc-list a.is-active {
  color: var(--k-green); font-weight: 700;
  border-left-color: var(--k-green);
  border-left-width: 3px;
  background: rgba(22,163,74,.06);
}
.blog-post-toc-list a.is-sub.is-active {
  border-left-color: transparent;
  background: none;
  color: var(--k-green);
}
.blog-post-toc-list a.is-sub {
  font-size: 12.5px; font-weight: 500;
  color: var(--k-muted);
  padding-left: 26px;
  border-left-color: transparent;
}
.blog-post-toc-list a.is-sub:hover { color: var(--k-green); border-left-color: transparent;}


/* ── Post author byline ────────────────────────────────────── */
.blog-post-author {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 1.5px solid var(--k-line);
}
.blog-post-author-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  border: 2.5px solid var(--k-ink);
  overflow: hidden;
  background: var(--k-cream);
}
.blog-post-author-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.blog-post-author-name {
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 700;
  color: var(--k-ink); display: block;
}
.blog-post-author-meta {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--k-muted); display: block; margin-top: 2px;
}
.blog-post-body { max-width: 860px; grid-column: 2; grid-row: 1; font-size: 17.5px; line-height: 1.75; color: var(--k-ink);}
.blog-post-body > :first-child { margin-top: 0;}
.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 34px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.18;
  margin: 56px 0 18px; color: var(--k-ink);
  scroll-margin-top: 100px;
}
.blog-post-body h3 {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  letter-spacing: -.015em; line-height: 1.25;
  margin: 38px 0 12px; color: var(--k-ink);
  scroll-margin-top: 100px;
}
.blog-post-body p { margin: 0 0 22px;}
.blog-post-body a {
  color: var(--k-green); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.blog-post-body a:hover { background: var(--k-lemon-soft);}
.blog-post-body strong { font-weight: 800;}
.blog-post-body ul, .blog-post-body ol { margin: 0 0 22px; padding-left: 24px;}
.blog-post-body li { margin-bottom: 9px;}
.blog-post-body ul { list-style: disc;}
.blog-post-body ol { list-style: decimal;}
.blog-post-body blockquote {
  margin: 28px 0; padding: 20px 24px;
  background: var(--k-lemon-soft);
  border-left: 5px solid var(--k-ink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 17px;
}
.blog-post-body blockquote p:last-child { margin-bottom: 0;}
.blog-post-body code {
  font-family: var(--font-mono); font-size: .87em;
  background: var(--k-cream); border: 1.5px solid var(--k-line);
  border-radius: 5px; padding: 1px 5px;
}
.blog-post-body pre {
  margin: 26px 0; padding: 20px 22px;
  background: #000 !important; color: var(--k-lemon);
  border-radius: var(--r-sm);
  overflow-x: auto;
}
.blog-post-body pre code {
  background: none; border: 0; padding: 0;
  color: inherit; font-size: 13.5px; line-height: 1.65;
}
.blog-post-body > img,
.blog-post-body > p > img,
.blog-post-body > figure img {
  max-width: 100%; height: auto; display: block; margin: 30px 0;
  border-radius: var(--r-md);
}
.blog-post-body hr { margin: 48px 0; border: 0; border-top: 2px solid var(--k-line);}
.blog-post-body table {
  width: 100%; margin: 28px 0; border-collapse: collapse;
  border: 2px solid var(--k-ink); border-radius: var(--r-sm); overflow: hidden;
  font-size: 15px;
}
.blog-post-body thead th {
  background: var(--k-ink); color: var(--k-lemon);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 13px 15px; text-align: left;
}
.blog-post-body tbody td { padding: 13px 15px; border-top: 1.5px solid var(--k-line); vertical-align: top;}
.blog-post-body tbody tr:nth-child(even) { background: var(--k-cream);}

/* ── Share row ─────────────────────────────────────────────── */
.blog-post-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  margin-left: auto;
}
.blog-share-icon {
  width: 30px; height: 30px; padding: 0; border: 0;
  display: inline-grid; place-items: center;
  background: transparent; color: var(--k-muted);
  text-decoration: none; cursor: pointer;
  transition: color .18s, transform .18s cubic-bezier(.34,1.56,.64,1);
}
.blog-share-icon svg { width: 25px; height: 25px; fill: currentColor; display: block;}
.blog-share-icon:hover {
  color: var(--k-ink); transform: translateY(-2px) scale(1.08);
}
.blog-share-icon:focus-visible { outline: 3px solid var(--k-lemon); outline-offset: 4px; border-radius: 4px;}
.blog-share-icon.is-copied { color: var(--k-green);}
.blog-copy-link { position: relative; overflow: visible;}
.blog-copy-link::after {
  content: "Copied!";
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translate(-50%, 5px);
  padding: 6px 9px; border-radius: 6px;
  background: var(--k-ink); color: var(--k-cream);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.blog-copy-link.is-copied::after { opacity: 1; transform: translate(-50%, 0);}
.blog-copy-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 620px) {
  .blog-post-author { flex-wrap: wrap;}
  .blog-post-share { width: 100%; margin: 8px 0 0 60px;}
}

/* ── Post-end CTA ───────────────────────────────────────────── */
.blog-post-cta {
  max-width: 720px; margin: 56px auto 0;
  padding: 40px 44px;
  background: var(--k-ink); color: var(--k-cream);
  border-radius: var(--r-lg);
  text-align: center;
}
.blog-post-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 30px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.2;
  margin: 0 0 12px; color: var(--k-cream);
}
.blog-post-cta p { margin: 0 0 24px; opacity: .8; font-size: 15.5px;}

/* ── Related ───────────────────────────────────────────────── */
.blog-related { padding: 72px 24px; background: var(--k-white); border-top: 3px solid var(--k-line);}
.blog-related-inner { max-width: 1180px; margin: 0 auto;}
.blog-related-head {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  letter-spacing: -.03em; text-transform: uppercase; line-height: .95;
  margin: 0 0 32px; color: var(--k-ink);
}
.blog-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 32px;}

.blog-empty {
  text-align: center; padding: 48px 30px;
  background: var(--k-cream);
  border: 2px dashed var(--k-line); border-radius: var(--r-lg);
  color: var(--k-muted);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .05em;
}



/* ── Blog search ───────────────────────────────────────────── */
.blog-search {
  position: relative;
  flex-shrink: 0;
}
.blog-search input {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 12px 18px 12px 40px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--k-ink);
  background: var(--k-white); color: var(--k-ink);
  width: 220px;
  transition: border-color .18s, box-shadow .18s;
}
.blog-search input:focus {
  outline: none; border-color: var(--k-green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.blog-search input::placeholder { color: var(--k-muted); opacity: .7;}
.blog-search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--k-muted); pointer-events: none;
}

/* ── Pagination ────────────────────────────────────────────── */
.blog-pagination {
  margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.blog-pagination-nums {
  display: flex; align-items: center; gap: 8px;
}
.blog-page-num {
  width: 36px; height: 36px; border-radius: 50%;
  padding: 0; cursor: pointer; background: transparent;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--k-ink); text-decoration: none;
  border: 1.5px solid var(--k-line);
  transition: background .15s, color .15s;
}
.blog-page-num:hover { background: var(--k-cream);}
.blog-page-num.is-current {
  background: var(--k-ink); color: var(--k-lemon); border-color: var(--k-ink);
}
.blog-page-arrow {
  width: 36px; height: 36px; padding: 0; border: 0;
  display: grid; place-items: center;
  background: transparent; color: var(--k-muted); cursor: pointer;
  font-family: var(--font-sans); font-size: 28px; line-height: 1;
  transition: color .15s, transform .15s;
}
.blog-page-arrow:hover:not(:disabled) { color: var(--k-ink); transform: scale(1.12);}
.blog-page-arrow:disabled { opacity: .3; cursor: not-allowed;}
.blog-page-ellipsis {
  width: 28px; text-align: center;
  font-family: var(--font-mono); font-size: 16px; font-weight: 700;
  color: var(--k-muted);
}
.blog-page-num:focus-visible, .blog-page-arrow:focus-visible {
  outline: 3px solid var(--k-lemon); outline-offset: 2px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .blog-post-layout { grid-template-columns: minmax(0, 1fr); gap: 0;}
  .blog-post-toc { position: static; grid-column: auto; grid-row: auto; margin-bottom: 32px;}
  .blog-post-sidebar { display: none;}
  .blog-post-body { max-width: 100%; grid-column: auto; grid-row: auto;}
  .blog-post-toc-list a.is-sub { display: none;}
  .blog-post-toc-list { gap: 8px;}
}
@media (max-width: 1040px) {
  .blog-grid, .blog-related-grid { grid-template-columns: repeat(2, 1fr); gap: 24px;}
  .blog-cta-row { grid-template-columns: 1fr;}
}
@media (max-width: 760px) {
  .blog-hero { padding: 100px 20px 0;}
  .blog-hero-sub { position: static; text-align: left; max-width: none; margin-bottom: 20px;}
  .blog-post-hero-inner { grid-template-columns: 1fr; gap: 28px;}
  .blog-browse { flex-direction: column; align-items: flex-start; gap: 20px; padding: 56px 20px 16px;}
  .blog-browse-chips { margin-left: 0; justify-content: flex-start;}
}
@media (max-width: 640px) {
  .blog-grid, .blog-related-grid { grid-template-columns: 1fr;}
  .blog-sec, .blog-sec-featured { padding: 48px 20px;}
  .blog-chips { padding: 20px 20px 28px;}
  .blog-post-hero { padding: 96px 20px 40px;}
  .blog-post-wrap { padding: 40px 20px 16px;}
  .blog-card-title { font-size: 21px;}
  .blog-card.is-featured .blog-card-title { font-size: 23px;}
  .blog-post-cta { padding: 28px 22px;}
  .blog-cta-card { grid-template-columns: 1fr;}
  .blog-cta-card-img-wrap { height: 160px;}
  .blog-cta-card-text { padding: 24px 22px;}
  .blog-cta-card-glyph { font-size: 48px;}
}

/* ============================================
   AUTH PAGES — Login / Register
   ============================================ */

.auth-page .k-nav,
.auth-page .k-foot { display: none; }
.auth-page .k-cursor,
.auth-page .k-cursor-label,
.auth-page .k-ripple,
.auth-page .k-physics-field { display: none !important; }
.auth-page, .auth-page * { cursor: auto !important; }
.auth-page a, .auth-page button, .auth-page [role="button"],
.auth-page input, .auth-page select { cursor: pointer !important; }
.auth-page input[type="text"],
.auth-page input[type="email"],
.auth-page input[type="password"] { cursor: text !important; }

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 340px 1fr;
}

/* --- Left brand panel --- */
.auth-brand {
  background: var(--k-ink);
  color: var(--k-cream);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.auth-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 22px; letter-spacing: -.03em;
  font-family: var(--font-display);
  color: var(--k-cream);
}
.auth-logo .k-logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--k-ink); border: 2px solid var(--k-lemon);
  display: grid; place-items: center;
}
.auth-tagline {
  font-size: 16px; line-height: 1.5;
  color: rgba(245,239,224,.65);
  max-width: 320px;
}
.auth-perks {
  list-style: none; display: flex; flex-direction: column; gap: 18px;
  margin-top: auto;
}
.auth-perks li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 600; color: var(--k-cream);
}
.auth-perks .perk-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(223,243,98,.12);
  border-radius: 12px;
  font-size: 18px;
}

/* --- Right main area --- */
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  min-height: 100vh;
  background: var(--k-cream);
  overflow-y: auto;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}
.auth-card-header {
  margin-bottom: 32px;
}
.auth-card-header h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--k-ink);
  margin-top: 8px;
}
.auth-switch {
  font-size: 14px; color: var(--k-muted);
}
.auth-switch a {
  color: var(--k-ink); font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-switch a:hover {
  color: var(--k-green);
}

/* Social button — primary (full-width) */
.btn-social-primary {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 2px solid var(--k-ink);
  background: var(--k-white);
  font-size: 15px; font-weight: 700;
  font-family: var(--font-sans);
  box-shadow: 4px 4px 0 var(--k-ink);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  cursor: pointer;
}
.btn-social-primary svg {
  display: block; width: 20px; height: 20px; flex: 0 0 20px;
}
.btn-social-primary span {
  flex: 0 0 auto; white-space: nowrap;
}
.btn-social-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--k-ink);
}
.btn-social-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--k-ink);
}

/* Divider */
.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0;
  color: var(--k-muted); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 2px;
  background: var(--k-line);
}

/* Form */
.auth-form {
  display: flex; flex-direction: column; gap: 20px;
}
.form-group {
  display: flex; flex-direction: column; gap: 6px;
}
.form-group label {
  font-size: 13px; font-weight: 700;
  letter-spacing: .02em; color: var(--k-ink);
}
.form-group input,
.form-group select {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 2px solid var(--k-ink);
  background: var(--k-white);
  font-size: 15px; font-family: var(--font-sans);
  color: var(--k-ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder {
  color: var(--k-muted); opacity: .7;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--k-green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230A1A0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* Form row (remember + forgot) */
.form-row {
  display: flex; align-items: center; justify-content: space-between;
}
.form-link {
  font-size: 14px; font-weight: 600; color: var(--k-ink);
  text-decoration: underline; text-underline-offset: 3px;
}
.form-link:hover { color: var(--k-green); }

/* ── 登录表单接入真实逻辑后新增的元素 ──────────────────────
   原有 auth 样式一行未改；以下只是补上表单反馈与 Google 按钮容器。 */

/* 找回密码、CAM 切换等由 <button> 承载（原来是 <a>，但它们不是导航而是行为，
   用 button 才符合语义与键盘可达性）。这里把按钮外观压平成链接样式。 */
.form-link,
.auth-link-btn {
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
}
.auth-link-btn {
  font-size: 14px; font-weight: 600; color: var(--k-muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.auth-link-btn:hover { color: var(--k-green); }

/* 字段级错误 */
.form-error {
  display: block; margin-top: 6px;
  font-size: 13px; line-height: 1.4; color: var(--k-coral);
}
.auth-form input[aria-invalid='true'] { border-color: var(--k-coral); }

/* 表单顶部的整体错误（网络异常等） */
.auth-error {
  margin: 0 0 16px; padding: 10px 14px;
  font-size: 14px; line-height: 1.45; color: var(--k-coral);
  background: color-mix(in srgb, var(--k-coral) 8%, transparent);
  border: 1.5px solid var(--k-coral); border-radius: var(--r-md);
}
.auth-hint {
  margin: -4px 0 12px; font-size: 13px; color: var(--k-muted);
}

/* Google 按钮：GSI 官方按钮必须真实存在且可点击（它负责接收点击并弹授权窗），
   所以透明铺在自定义按钮之上，而不是 display:none —— 隐藏掉就点不动了。 */
.auth-google-wrap { position: relative; }
.auth-google-gsi {
  position: absolute; inset: 0; z-index: 2;
  opacity: 0; overflow: hidden;
}
.auth-google-gsi > * { width: 100% !important; height: 100% !important; }
/* 探测账号状态期间禁止再次点击。GSI 覆盖层是真实可点元素，只把下面那个
   自定义 button 设 disabled 挡不住它 —— 点击会穿透过去，又弹一次 Google 授权窗。 */
.auth-google-wrap[aria-busy='true'] { opacity: .6; }
.auth-google-wrap[aria-busy='true'] .auth-google-gsi { pointer-events: none; }
.auth-google-email {
  margin: 0; font-size: 15px; font-weight: 600; color: var(--k-ink);
  word-break: break-all;
}

/* 密码规则清单：未全部满足时展示，逐条变绿。
   比一句笼统的「密码不符合要求」有用得多 —— 用户能直接看到差哪一条。 */
.password-rules {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; gap: 4px;
}
.password-rules li {
  font-size: 12.5px; line-height: 1.4; color: var(--k-muted);
  display: flex; align-items: center; gap: 6px;
}
.password-rules li.is-ok { color: var(--k-green); }
.password-rules li span { width: 12px; text-align: center; flex: none; }

/* 「邮箱已注册」时错误文案里的去登录入口。
   邮箱注册用 <a>（跳登录页），Google 注册用 <button>（就地重试 Google 登录），
   所以这里要把按钮的默认外观抹平，让两者看起来是同一个东西。 */
.form-error-link {
  color: var(--k-green); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
  /* button 复位 */
  background: none; border: 0; padding: 0;
  font-size: inherit; font-family: inherit; line-height: inherit;
  cursor: pointer;
}
.form-error-link:disabled { opacity: .6; cursor: default; }

/* ── 已登录提示面板（/login/ 已有登录态时展示）───────────────── */

/* 提示框。参考实现用的是 tdesign 的浅蓝 info 底色，这里换成品牌的
   奶油底 + 墨黑边，与站点其他信息块一致。 */
.auth-notice {
  margin: 0 0 24px; padding: 14px 16px;
  font-size: 14.5px; line-height: 1.55; color: var(--k-ink);
  background: var(--k-cream);
  border: 1.5px solid var(--k-line); border-radius: var(--r-md);
}
.auth-notice strong { font-weight: 800; word-break: break-all; }

/* 返回链接：图标与文字基线对齐，hover 时箭头左移暗示"退回" */
.auth-link-back {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--k-ink);
  /* 「Log in with another account」文案较长，必须禁止折行：
     折成多行后下划线会断成几段，箭头也会脱离文字基线。 */
  white-space: nowrap;
}
.auth-link-back svg { flex: none; transition: transform .18s ease; }
.auth-link-back:hover svg { transform: translateX(-3px); }

/* 仅屏幕阅读器可见：视觉上隐藏但仍在无障碍树中。
   不能用 display:none / visibility:hidden —— 那会让读屏软件也读不到。 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 「该 Google 账号已注册，正在登录…」过渡态。
   这条提示会停留约 1.6s 再跳转 —— 目的是让用户知道自己本来就有账号，
   直接跳走的话他不会有任何察觉，下次还会再点注册。
   spinner 表明仍在进行中，旁边给一个手动入口以防有人觉得慢。 */
.auth-phase-spinner {
  display: flex; align-items: center; gap: 12px;
  /* 与 .auth-notice 的下外边距衔接，不额外加 margin-top */
}
.auth-phase-spinner .auth-spinner { width: 20px; height: 20px; border-width: 2.5px; flex: none; }

/* 登录态校验中的占位。给固定高度避免面板出现时页面高度跳动。 */
.auth-card-loading {
  display: grid; place-items: center;
  min-height: 320px;
}
.auth-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--k-line);
  border-top-color: var(--k-ink);
  border-radius: 50%;
  animation: auth-spin .7s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }
/* 尊重系统的"减少动效"设置：改为静态圆环，不做旋转 */
@media (prefers-reduced-motion: reduce) {
  .auth-spinner { animation: none; border-top-color: var(--k-line); }
}

/* Verification code row */
.code-input-row {
  display: flex; gap: 10px;
}
.code-input-row input {
  flex: 1;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 2px solid var(--k-ink);
  background: var(--k-white);
  font-size: 15px; font-family: var(--font-sans);
  color: var(--k-ink);
  transition: border-color .15s, box-shadow .15s;
}
.code-input-row input:focus {
  outline: none;
  border-color: var(--k-green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}
.btn-get-code {
  padding: 14px 20px;
  border-radius: var(--r-sm);
  border: 2px solid var(--k-ink);
  background: var(--k-lemon);
  font-size: 14px; font-weight: 700;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--k-ink);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  cursor: pointer;
}
.btn-get-code:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--k-ink);
}
.btn-get-code:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--k-ink);
}

/* Checkboxes */
.form-checks {
  display: flex; flex-direction: column; gap: 14px;
}
.check-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5; color: var(--k-muted);
  cursor: pointer;
}
.check-label input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--k-green);
  border-radius: 4px;
  flex-shrink: 0;
}
.check-label a {
  color: var(--k-ink); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.check-label a:hover { color: var(--k-green); }

/* Submit button */
.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  font-size: 16px;
  padding: 18px 32px;
}

/* CAM link */
.auth-cam-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px; color: var(--k-muted);
}
/* 并排布局只用于「切换登录方式 │ 找回密码」这种多链接场景。
   不能直接写在 .auth-cam-link 上 —— 已登录面板里是单个带图标的链接，
   一旦父级变成 flex，图标和文字会各自成为 flex item：
   父级 gap 覆盖掉图标自己的 4px 间距，flex-wrap 又让文字折成多行。 */
.auth-cam-link.is-row {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
/* 竖线分隔符。用元素而非 ::after，方便在只剩一个链接时直接不渲染。 */
.auth-link-sep {
  width: 1px; height: 12px;
  background: var(--k-line);
  flex: none;
}
.auth-cam-link a {
  color: var(--k-ink); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.auth-cam-link a:hover { color: var(--k-green); }

/* --- Mobile --- */
@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    position: relative;
    height: auto;
    padding: 32px 24px;
    gap: 20px;
  }
  .auth-perks {
    flex-direction: row; flex-wrap: wrap; gap: 12px;
    margin-top: 0;
  }
  .auth-perks li {
    font-size: 13px; gap: 8px;
  }
  .auth-perks .perk-icon {
    width: 32px; height: 32px; font-size: 15px;
  }
  .auth-main {
    padding: 32px 20px;
    min-height: auto;
  }
  .auth-card-header h1 { font-size: 26px; }
}
