/* Visual tune 01.10.2026 (tune1): CSS-only polish of the public landing.
   Loaded last; every rule is scoped to .mal-landing so the course app is unaffected.
   The "Structure (struct1)" part at the end adds the approved layout changes. */
.mal-landing {
  /* Shared helper-text tokens (item 27). --mal-muted already exists; it is only raised. */
  --mal-muted: #b8cfdb;
  --tune-helper: #c7dae3;          /* small notes on dark surfaces */
  --tune-helper-ink: #34566a;      /* small notes on light surfaces */
  --tune-helper-size: 14px;
  --tune-label-size: 13px;
  --tune-control-h: 44px;          /* header controls = lime header CTA */
  --tune-control-radius: 8px;
  --tune-step-accent: var(--mal-blue-bright);
}

/* ---------- Header ---------- */
/* 1. Wordmark geometry lives in the shared brand stylesheet. */
/* 2. Sections menu and language switch match the lime CTA box. */
.mal-landing .mal-header .mal-section-menu > summary,
.mal-landing .mal-header .mal-language-menu > summary,
.mal-landing .mal-header .mal-header-action > .mal-header-prototype {
  box-sizing: border-box; height: var(--tune-control-h); min-height: var(--tune-control-h); border-radius: var(--tune-control-radius);
}
/* 3. Header links: lighter, still quieter than the CTA. */
.mal-landing .mal-header .mal-desktop-links a { color: #d3e3ea; }
.mal-landing .mal-header .mal-desktop-links a:hover { color: var(--mal-frost); }

/* ---------- Hero ---------- */
/* 4. Lead cap height starts on the H1 cap line (H1 cap top ~= .153 x font size; lead ~= 7px). */
@media (min-width: 1001px) {
  .mal-landing .mal-hero .mal-lead { margin-top: max(0px, calc(clamp(44px, 4.4vw, 68px) * .153 - 7px)); }
}
/* 5. Card labels as small pills with a lime dot. */
.mal-landing .mal-hero .mal-scene-heading > span {
  display: inline-flex; align-items: center; gap: 8px; width: auto; max-width: 100%;
  padding: 5px 12px 5px 10px; border: 1px solid #b7dce73d; border-radius: 999px; background: #edf8fa0d;
  color: #dcebf1; font-size: var(--tune-label-size); font-weight: 600; line-height: 1.3; letter-spacing: .02em;
}
.mal-landing .mal-hero .mal-scene-heading > span::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mal-acid); box-shadow: 0 0 0 3px #dfff631f;
}
/* 6. Secondary hero action: outlined button, same height and radius as the primary. */
.mal-landing .mal-hero-actions a.mal-text-action {
  box-sizing: border-box; min-height: 58px; padding: 0 20px; gap: 14px;
  border: 1px solid #b7dce780; border-radius: 12px; color: var(--mal-frost); font-weight: 600;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.mal-landing .mal-hero-actions a.mal-text-action:hover { border-color: var(--mal-blue-bright); background: #73d7f214; }
@media (min-width: 1001px) { .mal-landing .mal-hero-actions a.mal-text-action { border-radius: 8px; } }

/* ---------- How your Mini App works ---------- */
/* 7-8. Step number, then the icon directly above its title; the copy spans the module. */
.mal-landing .mal-workflow .mal-workflow-modules > li:nth-child(n) {
  grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 0; align-content: start;
}
.mal-landing .mal-workflow .mal-workflow-copy { display: contents; }
.mal-landing .mal-workflow .mal-workflow-number { grid-column: 1; grid-row: 1; margin-bottom: 14px; }
.mal-landing .mal-workflow .mal-workflow-art { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; width: 128px; height: 112px; margin: 0 0 6px -6px; }
.mal-landing .mal-workflow .mal-workflow-modules h3 { grid-column: 1; grid-row: 3; max-width: 34ch; text-wrap: balance; }
.mal-landing .mal-workflow .mal-workflow-modules p { grid-column: 1; grid-row: 4; }
/* 9. Accent step numbers. */
.mal-landing .mal-workflow .mal-workflow-number { color: var(--tune-step-accent); }
@media (max-width: 760px) {
  .mal-landing .mal-workflow .mal-workflow-number { margin-bottom: 10px; }
  .mal-landing .mal-workflow .mal-workflow-art { width: 96px; height: 84px; margin-bottom: 4px; }
}

/* ---------- Voice section ---------- */
/* 10. Assistant bubble gets its own cyan-tinted fill. */
.mal-landing #agencyVoice .mal-example-turns p:nth-child(2) { background: #16394c; box-shadow: inset 0 0 0 1px #73d7f23d; }
.mal-landing #agencyVoice .mal-example-turns p:nth-child(2) > span { color: var(--mal-blue-bright); }
.mal-landing #agencyVoice .mal-example-turns p > span { font-size: var(--tune-label-size); }
/* 11. Demo action and hint sit on the bottom line of the description. */
@media (min-width: 761px) {
  .mal-landing #agencyVoice .mal-voice-copy > p { margin-bottom: 0; }
  .mal-landing #agencyVoice .mal-voice-demo { align-self: end; }
  .mal-landing #agencyVoice .mal-voice-demo > p { margin-bottom: 0; }
}
/* 12. Disclaimer readable. */
.mal-landing #agencyVoice .mal-example-notice { font-size: var(--tune-helper-size); line-height: 1.55; color: var(--tune-helper); }
.mal-landing #agencyVoice .mal-voice-demo > p { font-size: var(--tune-helper-size); color: var(--tune-helper); }

/* ---------- Case Private.Bayer ---------- */
/* 13. Crop the scrollbar captured in the right edge of the screenshot (cols 362-375 of 375). */
.mal-landing .mal-works .mal-case-screen img { aspect-ratio: 362 / 812; object-fit: cover; object-position: left top; }
/* 14. The section heading leads; the client name becomes a secondary badge. */
.mal-landing .mal-works .mal-work-copy > h3 {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  padding: 6px 14px 6px 12px; border: 1px solid #08273e24; border-radius: 999px; background: #fff;
  font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: 0; color: var(--mal-ink);
}
.mal-landing .mal-works .mal-work-copy > h3::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mal-acid); box-shadow: 0 0 0 1px #08273e33; }
.mal-landing .mal-works .mal-case-screen figcaption { padding: 0 14px 12px; font-size: var(--tune-helper-size); color: var(--tune-helper-ink); }
/* 15. Room for the phone shadow before the next section. */
.mal-landing .mal-main > .mal-works { padding-bottom: 112px; }
@media (max-width: 760px) { .mal-landing .mal-main > .mal-works { padding-bottom: 76px; } }

/* ---------- Who it fits ---------- */
/* 16. Lime marker and a light hover. */
.mal-landing .mal-industry-grid .mal-industry { transition: border-color 180ms ease, background-color 180ms ease; }
.mal-landing .mal-industry-grid .mal-industry:hover { border-color: #5d8196; background: #173449; }
.mal-landing .mal-industry h3 { position: relative; padding-left: 18px; }
.mal-landing .mal-industry p { padding-left: 18px; }
.mal-landing .mal-industry h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--mal-acid); transform: translateY(-2px); }
/* 17. One column on narrow phones. */
@media (max-width: 480px) { .mal-landing .mal-industry-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- How we start ---------- */
/* 18. Same lime CTA as elsewhere. */
.mal-landing .mal-start .mal-primary.mal-primary-light { background: var(--mal-acid); color: var(--mal-ink); border-color: #08273e1f; }
.mal-landing .mal-start .mal-primary.mal-primary-light > i { background: var(--mal-navy-deep); color: var(--mal-frost); }
/* 19. Step numbers share the accent (deep cyan keeps contrast on this light surface). */
.mal-landing .mal-roles { --tune-step-accent: var(--mal-blue-deep); }
.mal-landing .mal-roles .mal-start-steps li > span { color: var(--tune-step-accent); }

/* ---------- Pricing ---------- */
/* 20. Plan subtitles readable. */
.mal-landing .editorial-pricing .price-card-heading > span { font-size: var(--tune-helper-size); line-height: 1.3; font-weight: 500; letter-spacing: .04em; color: #d0e2ea; }
/* 21. "одноразово" on the baseline of the price digits. */
.mal-landing .editorial-pricing .launch-card .price,
.mal-landing .editorial-pricing .support-card .price { align-items: baseline; }
.mal-landing .editorial-pricing .price > span { line-height: 1; font-size: 15px; color: #d0e2ea; }
/* 22. Lighter feature text, lime checks. */
.mal-landing .editorial-pricing .pricing-grid ul { color: #e3eef2; }
.mal-landing .editorial-pricing .pricing-grid li svg { color: var(--mal-acid); stroke-width: 2.25; }
.mal-landing .editorial-pricing .editorial-prototype-note { color: var(--tune-helper); }
.mal-landing .editorial-pricing .ownership p { font-size: var(--tune-helper-size); color: var(--tune-helper); }

/* ---------- FAQ ---------- */
/* 23. No 01-07 counters; larger plus target. */
.mal-landing .mal-faq-item button > span { display: none; }
.mal-landing .mal-faq-item button { grid-template-columns: minmax(0, 1fr) 44px; padding-inline: 16px 12px; }
.mal-landing .mal-faq-item button > i { width: 44px; height: 44px; font-size: 24px; color: #1f6d99; border: 1px solid #257cad59; border-radius: 50%; }
.mal-landing .mal-faq-item.open > div { padding-left: 16px; padding-right: 16px; }
/* 24. Open item highlighted. */
.mal-landing .mal-faq-item { border-radius: 0; transition: background-color 200ms ease; }
.mal-landing .mal-faq-item.open { background: #dcf0f5; }
@media (max-width: 760px) {
  .mal-landing .mal-faq-item button { padding-inline: 12px 8px; gap: 12px; }
  .mal-landing .mal-faq-item.open > div { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Final CTA + footer ---------- */
/* 25. Final CTA panel lighter than the footer, with a lime top line. */
.mal-landing .mal-final { background: #113651; box-shadow: inset 0 3px 0 var(--mal-acid); }
/* 26. Response note readable. */
.mal-landing .mal-final > small { font-size: var(--tune-helper-size); line-height: 1.5; color: #d3e4ec; }

/* ---------- 27. Small helper text ---------- */
.mal-landing .mal-hero .mal-scene-footnote,
.mal-landing .mal-hero .mal-scene-benefit { font-size: var(--tune-helper-size); color: var(--tune-helper); }
.mal-landing .mal-scene-label,
.mal-landing .mal-message > span { font-size: var(--tune-label-size); color: #cfe0e8; }
.mal-landing #agencyVoice .mal-example-next { font-size: var(--tune-helper-size); color: var(--tune-helper-ink); }
.mal-landing .mal-footer-links small { font-size: var(--tune-helper-size); }
.mal-landing .vjuh-footer-signature { color: var(--tune-helper); }

/* =====================================================================
   Structure (struct1): approved layout changes, same palette and fonts.
   ===================================================================== */
.mal-landing [data-tab-panel][hidden], .mal-landing .mal-tablist[hidden] { display: none !important; }

/* ---------- S1. Header: one row; one navigation per width ---------- */
.mal-landing .mal-section-menu > summary { gap: 10px; }
.mal-landing .mal-section-menu > summary::after { content: none; }
.mal-landing .mal-section-menu .mal-menu-icon { flex: none; width: 20px; height: 20px; }
.mal-landing .mal-section-menu .mal-menu-name-menu { display: none; }
.mal-landing .mal-header .mal-section-menu-links { left: auto; right: 0; width: min(300px, calc(100vw - 32px)); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); }
.mal-landing .mal-menu-languages { display: none; }
@media (min-width: 1001px) {
  /* Desktop keeps the visible links; the sections dropdown is the smaller-screen menu. */
  .mal-landing .mal-header .mal-section-menu { display: none; }
}
@media (min-width: 601px) and (max-width: 1000px) {
  .mal-landing .mal-header { grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "brand action language nav"; }
}
@media (max-width: 600px) {
  /* Logo, the project CTA and one menu button; the language list lives in that menu. */
  .mal-landing .mal-header { display: flex; align-items: center; gap: 6px; padding-block: calc(6px + env(safe-area-inset-top)) 6px; }
  .mal-landing .mal-header > .mal-brand { flex: none; margin-right: auto; }
  .mal-landing .mal-header > .mal-header-nav { order: 2; flex: none; justify-content: flex-end; gap: 0; }
  /* Long labels (pl) wrap onto two lines inside the same 44px control instead of pushing the logo. */
  .mal-landing .mal-header > .mal-header-action { flex: 0 1 auto; min-width: 0; }
  .mal-landing .mal-header .mal-header-action > .mal-header-prototype { padding-inline: 10px; font-size: 12px; line-height: 1.15; text-align: center; white-space: normal; }
  .mal-landing .mal-section-menu > summary { justify-content: center; width: var(--tune-control-h); padding: 0; }
  .mal-landing .mal-section-menu .mal-menu-name-sections { display: none; }
  .mal-landing .mal-section-menu .mal-menu-name-menu { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* The visual switch moves into the menu; the native select stays for scripts and tests. */
  .mal-landing .mal-header > .mal-language { position: absolute; top: 0; left: 0; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip-path: inset(50%); }
  .mal-landing .mal-header > .mal-language .mal-language-menu { display: none; }
  .mal-landing .mal-header .mal-section-menu-links a { justify-content: flex-start; text-align: left; }
  .mal-landing .mal-menu-languages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px solid var(--mal-line); }
  .mal-landing .mal-menu-languages > p { grid-column: 1 / -1; margin: 0 0 4px; padding: 0 12px; font-size: var(--tune-label-size); line-height: 1.4; color: var(--tune-helper); }
  .mal-landing .mal-header .mal-menu-languages a { justify-content: center; padding-inline: 0; font-size: 14px; font-weight: 600; border: 1px solid transparent; }
  .mal-landing .mal-header .mal-menu-languages a:not([aria-current]) { border-color: #3b5365; }
  .mal-landing .mal-header .mal-menu-languages a[aria-current="true"] { background: #25465c; color: #a1e7f5; }
}
@media (max-width: 374px) {
  /* Very narrow phones: the whole logo scales as one piece, so the Studio sign keeps its geometry. */
  .mal-landing .mal-header { gap: 6px; }
  .mal-landing .mal-header .mal-brand .vjuh-logo { zoom: .8; }
  .mal-landing .mal-header .mal-header-action > .mal-header-prototype { padding-inline: 8px; font-size: 12px; }
}

/* ---------- S2. Hero: shorter demo cards; phone tabs ---------- */
@media (min-width: 761px) {
  .mal-landing .mal-hero .mal-hero-copy { margin-bottom: 28px; }
  .mal-landing .mal-hero .mal-product-scene { padding: 22px 26px 24px; }
  .mal-landing .mal-hero .mal-scene-heading { min-height: 0; margin-bottom: 12px; }
  .mal-landing .mal-hero .mal-scene-heading > span { margin-bottom: 10px; }
  .mal-landing .mal-hero .mal-scene-heading h2 { font-size: clamp(22px, 1.8vw, 26px); max-width: 26ch; }
  .mal-landing .mal-hero .picked-phone .scene-frame { padding: 4px 0 12px; }
  .mal-landing .mal-hero .picked-phone .phone { zoom: .9; }
  .mal-landing .mal-hero .mal-scene-benefit { margin-top: 4px; }
  .mal-landing .mal-hero .mal-conversation { gap: 12px; padding: 0 0 16px; }
  .mal-landing .mal-hero .mal-message { padding: 14px 18px; }
  .mal-landing .mal-hero .mal-message > span { margin-bottom: 6px; }
  .mal-landing .mal-hero .mal-message p { font-size: 17px; }
  .mal-landing .mal-hero .mal-speech-wave { height: 32px; margin: 4px 0 10px; }
  .mal-landing .mal-hero .mal-inquiry-card { padding: 16px 18px; }
  .mal-landing .mal-hero .mal-scene-footnote { margin-top: 10px; }
}
@media (min-width: 1001px) {
  .mal-landing .mal-main > .mal-hero { padding-top: 24px; }
}
.mal-landing .mal-tablist { display: flex; gap: 4px; padding: 4px; border: 1px solid #b7dce73d; border-radius: 12px; background: #0b2336; }
.mal-landing .mal-tablist > [role="tab"] { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #d3e3ea; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.mal-landing .mal-tablist > [role="tab"]:hover { background: #edf8fa14; color: var(--mal-frost); }
.mal-landing .mal-tablist > [role="tab"][aria-selected="true"] { background: var(--mal-acid); color: var(--mal-ink); }
.mal-landing .mal-tablist > [role="tab"]:focus-visible { outline: 2px solid var(--mal-acid); outline-offset: 3px; }
.mal-landing [data-tabs-ready] > [role="tabpanel"]:focus-visible { outline: 2px solid var(--mal-acid); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .mal-landing [data-tabs-ready] > [role="tabpanel"] { animation: tuneTabIn 180ms ease-out; }
}
@keyframes tuneTabIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 760px) {
  .mal-landing .mal-hero-showcase[data-tabs-ready] { gap: 12px; }
  .mal-landing .mal-hero-showcase[data-tabs-ready] .mal-scene-heading > span { display: none; }
}

/* ---------- S4-S5. How your Mini App works: light surface, three columns ---------- */
.mal-landing .mal-main > .mal-workflow { background: var(--mal-frost); color: var(--mal-ink); --tune-step-accent: var(--mal-blue-deep); }
.mal-landing .mal-workflow h2, .mal-landing .mal-workflow .mal-workflow-modules h3 { color: var(--mal-ink); }
.mal-landing .mal-workflow .mal-section-intro p, .mal-landing .mal-workflow .mal-workflow-modules p { color: #2f4f63; }
.mal-landing .mal-workflow .mal-workflow-modules li { border-top-color: #bcd0d9; }
.mal-landing .mal-workflow .mal-workflow-art svg { filter: drop-shadow(0 8px 12px #08273e1f); }
.mal-landing .mal-workflow .mal-workflow-art .ui-link { stroke: #4f7589; }
.mal-landing .mal-workflow .mal-workflow-art .ui-ink { stroke: #3f5a68; }
.mal-landing .mal-workflow .mal-workflow-art .ui-action { stroke: #08273e33; stroke-width: .8; }
@media (min-width: 761px) {
  .mal-landing .mal-workflow .mal-workflow-modules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .mal-landing .mal-workflow .mal-workflow-art { width: 104px; height: 91px; }
  .mal-landing .mal-workflow .mal-workflow-modules h3 { font-size: 20px; }
}

/* ---------- S6. Pricing: one strip under both cards ---------- */
.mal-landing .editorial-pricing .mal-price-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; margin-top: 24px; padding: 8px 32px; border: 1px solid #547083; border-radius: 22px; background: #10293b; }
.mal-landing .editorial-pricing .mal-price-strip > * { min-width: 0; }
.mal-landing .editorial-pricing .mal-price-strip .mal-offer-facts { display: block; grid-column: 1; margin: 0; padding: 20px 0; border: 0; }
.mal-landing .editorial-pricing .mal-offer-facts article { display: flex; align-items: center; gap: 20px; }
.mal-landing .editorial-pricing .mal-price-strip .mal-fact-value { flex: none; margin: 0; font-size: 52px; color: var(--mal-acid); }
.mal-landing .editorial-pricing .mal-price-strip .editorial-bundle { font-size: 17px; line-height: 1.45; font-weight: 550; color: var(--mal-frost); max-width: 34ch; }
.mal-landing .editorial-pricing .mal-price-strip .ownership { grid-column: 2; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; align-items: start; margin: 0; padding: 20px 0; border: 0; }
.mal-landing .editorial-pricing .mal-price-strip .ownership > span { grid-row: 1 / 3; color: var(--mal-acid); border-color: #dfff6366; }
.mal-landing .editorial-pricing .mal-price-strip .ownership h3 { margin: 0; font-size: 17px; color: var(--mal-frost); }
.mal-landing .editorial-pricing .mal-price-strip .ownership p { grid-column: 2; margin: 0; }
.mal-landing .editorial-pricing .mal-price-strip > .editorial-included { grid-column: 1; max-width: none; margin: 0; padding: 16px 0 18px; border-top: 1px solid #3c5668; font-size: var(--tune-helper-size); line-height: 1.55; color: var(--tune-helper); }
.mal-landing .editorial-pricing .mal-price-strip > .editorial-support { grid-column: 2; margin: 0; padding: 6px 0 10px; border: 0; border-top: 1px solid #3c5668; }
.mal-landing .editorial-pricing .mal-price-strip > .editorial-support > summary { font-weight: 600; color: var(--mal-frost); }
.mal-landing .editorial-pricing .mal-price-strip > .editorial-support > p { margin: 0 0 10px; font-size: var(--tune-helper-size); }
@media (max-width: 760px) {
  .mal-landing .editorial-pricing .mal-price-strip { grid-template-columns: minmax(0, 1fr); padding: 4px 20px; border-radius: 18px; }
  .mal-landing .editorial-pricing .mal-price-strip > * { grid-column: 1 !important; }
  .mal-landing .editorial-pricing .mal-price-strip .mal-fact-value { font-size: 44px; }
  .mal-landing .editorial-pricing .mal-price-strip .ownership { border-top: 1px solid #3c5668; }
}

/* ---------- S7. Case: screenshot and text share one height; store link is a button ---------- */
.mal-landing .mal-works .mal-case-evidence { grid-template-columns: 256px minmax(0, 1fr); gap: 56px; align-items: stretch; }
.mal-landing .mal-works .mal-work-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.mal-landing .mal-works .mal-work-copy > .mal-work-person { margin: 0 0 12px; }
.mal-landing .mal-works .mal-case-steps { flex: 1; display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.mal-landing .mal-works .mal-case-steps > div:first-child { padding-top: 16px; }
.mal-landing .mal-works .mal-work-copy > .mal-work-link { grid-column: auto; grid-row: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; margin-top: 24px; padding: 6px 6px 6px 20px; border-radius: 8px; background: var(--mal-ink); color: var(--mal-frost); font-size: 16px; font-weight: 600; text-decoration: none; }
.mal-landing .mal-works .mal-work-link > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: var(--mal-acid); color: var(--mal-ink); }
.mal-landing .mal-works .mal-work-link svg { width: 18px; height: 18px; }
.mal-landing .mal-works .mal-work-link:hover { background: #103954; text-decoration: none; }
.mal-landing .mal-main > .mal-works { padding-bottom: 88px; }
@media (max-width: 760px) {
  .mal-landing .mal-works .mal-case-evidence { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .mal-landing .mal-works .mal-work-copy { display: contents; }
  .mal-landing .mal-works .mal-work-copy > h3 { order: 1; }
  .mal-landing .mal-works .mal-work-copy > .mal-work-person { order: 2; margin-bottom: 16px; }
  .mal-landing .mal-works .mal-case-screen { order: 3; margin-bottom: 28px; }
  .mal-landing .mal-works .mal-case-steps { order: 4; }
  .mal-landing .mal-works .mal-work-copy > .mal-work-link { order: 5; justify-self: start; }
  .mal-landing .mal-main > .mal-works { padding-bottom: 64px; }
}

/* ---------- S8. Who it fits: Mini App and voice in one section ---------- */
.mal-landing .mal-fit-tabs > .mal-tablist { max-width: 480px; margin: 0 0 20px; }
.mal-landing .mal-fit-label { margin: 0 0 12px; font-size: var(--tune-label-size); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tune-helper); }
.mal-landing .mal-fit-panel + .mal-fit-panel { margin-top: 28px; }
.mal-landing .mal-fit-tabs[data-tabs-ready] .mal-fit-label { display: none; }
.mal-landing .mal-fit-tabs[data-tabs-ready] .mal-fit-panel + .mal-fit-panel { margin-top: 0; }

/* Shared pricing rows align actions despite different support and prototype notes. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 581px) {
    .mal-landing .editorial-pricing .pricing-grid { grid-template-rows: auto auto auto 1fr auto auto auto; row-gap: 0; }
    .mal-landing .editorial-pricing .pricing-grid > article { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; }
    .mal-landing .editorial-pricing .pricing-grid > article > .button { grid-row: 5; margin-top: 0; align-self: stretch; }
    .mal-landing .editorial-pricing .pricing-grid > article > .editorial-prototype-note { grid-row: 6; }
    .mal-landing .editorial-pricing .pricing-grid > article > .text-link { grid-row: 7; align-self: end; }
  }
}
