/* ════════════════════════════════════════════════════════════════════════
   More.You kit, second layer (2026-11-14). Loaded after editorial.css on every
   marketing page, OUTSIDE the grunt build blocks (see CLAUDE.md "Build Process").
   After an edit run: node scripts/bump-editorial-css.js (it stamps this file too).

   What lives here: the pieces that show the real product. Phone frames with a
   real More.You page inside, template cards, rails and grids of them, frames
   for app screens, and the section rhythm the redesigned pages share.
   The look stays Editorial: warm page, ink, mint, white, General Sans, 10px
   buttons, no pills. Tokens come from editorial.css (:root).

   Rules for anyone adding to this file:
   - Logical properties (margin-inline, padding-inline, inset-inline) so Arabic
     mirrors for free. A rule that must not mirror carries a rtl:ignore comment.
   - No words in CSS (content:"…") except arrows and marks.
   - Class prefix mv-. Never restyle an ed- class here; add a modifier instead.
   ════════════════════════════════════════════════════════════════════════ */
:root{
  --mv-ring:rgba(17,18,18,0.10);
  --mv-sh-phone:0 22px 44px -22px rgba(17,18,18,0.38);
  --mv-sh-shot:0 30px 60px -30px rgba(17,18,18,0.30);
  --mv-ease:cubic-bezier(.2,.7,.2,1);
  --mv-y:clamp(44px,6vw,96px);
}

/* ── Section rhythm ───────────────────────────────────────────────────── */
/* A plain section on the page colour. Use inside main.ed-page (which has a 16px margin). */
.mv-sec{padding-block:var(--mv-y);padding-inline:var(--ed-pad)}
.mv-sec--tight{padding-block:clamp(28px,3.6vw,56px)}
.mv-sec--flush{padding-inline:0}
.mv-wrap{max-width:1280px;margin-inline:auto}
/* Title on the left, one short paragraph on the right; stacks on a phone. */
.mv-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 48px;margin-block-end:clamp(22px,3vw,40px)}
.mv-head__title{margin:0;max-width:13em;font:500 clamp(34px,4.6vw,64px)/0.98 var(--ed-disp);letter-spacing:-0.04em;color:var(--ink);text-wrap:balance}
.mv-head__lead{margin:0;max-width:36ch;font:400 17px/1.5 var(--ed-sans);color:var(--mut);text-wrap:pretty}
.mv-head--center{flex-direction:column;align-items:center;text-align:center}
.mv-head--center .mv-head__lead{max-width:52ch}
.ed-panel--ink .mv-head__title{color:#fff}
.ed-panel--ink .mv-head__lead{color:var(--ed-on-dark)}
.mv-kicker{display:block;margin:0 0 14px;font:500 13px/1.2 var(--ed-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--ed-label)}
.ed-panel--ink .mv-kicker{color:var(--ed-on-dark-sm)}
@media (max-width:640px){
  .mv-head__title{font-size:clamp(32px,9.4vw,42px)}
  .mv-head__lead{font-size:16px}
}

/* ── Filter chips (links or buttons). Squared, never pills. ───────────── */
.mv-chips{display:flex;gap:8px;margin:0 0 22px;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mv-chips::-webkit-scrollbar{display:none}
.mv-chips--wrap{flex-wrap:wrap;overflow:visible}
a.mv-chip,button.mv-chip,.mv-chip{display:inline-flex;flex:none;align-items:center;justify-content:center;height:38px;min-height:0;margin:0;padding:0 15px !important;border:1px solid var(--line) !important;border-radius:10px !important;background:#fff !important;box-shadow:none !important;font:500 14.5px/1 var(--ed-sans) !important;letter-spacing:0;color:var(--ink) !important;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
a.mv-chip:hover,button.mv-chip:hover{border-color:var(--ink) !important}
a.mv-chip[aria-current="page"],button.mv-chip[aria-pressed="true"],.mv-chip.is-on{background:var(--ink) !important;border-color:var(--ink) !important;color:#fff !important}
.mv-chip__n{margin-inline-start:7px;font-weight:400;opacity:.55}

/* ── Phone frame: a real page, captured at phone width ────────────────── */
/* The picture is 480x1039 (or 780x1688). No drawn bezel: a hairline and a soft shadow. Corners stay small
   (Vytas 2026-11-14: "too much border radius" on 30px): 16px by default, never above 20px. */
.mv-phone{position:relative;display:block;aspect-ratio:480/1039;border-radius:var(--mv-phone-r,16px);overflow:hidden;background:#E9E6E0;box-shadow:0 0 0 1px var(--mv-ring), var(--mv-sh-phone);isolation:isolate}
.mv-phone>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.mv-phone--lg{--mv-phone-r:20px}
.mv-phone--sm{--mv-phone-r:10px}
.mv-phone--flat{box-shadow:0 0 0 1px var(--mv-ring)}
/* The whole page inside the frame: a tall picture that scrolls. */
.mv-phone--scroll{aspect-ratio:390/800;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mv-phone--scroll::-webkit-scrollbar{display:none}
.mv-phone--scroll>img{height:auto;object-fit:initial}
/* A dark bezel for the few places a phone stands alone on a light panel. */
.mv-phone--bezel{border:8px solid var(--ink);--mv-phone-r:26px;box-shadow:var(--mv-sh-phone)}

/* ── Template card: phone, name, who it is for ────────────────────────── */
a.mv-tcard,.mv-tcard{display:flex;flex-direction:column;min-width:0;color:var(--ink) !important;text-decoration:none}
.mv-tcard .mv-phone{transition:transform .4s var(--mv-ease),box-shadow .4s var(--mv-ease)}
a.mv-tcard:hover .mv-phone,a.mv-tcard:focus-visible .mv-phone{transform:translateY(-6px);box-shadow:0 0 0 1px var(--mv-ring), 0 34px 54px -26px rgba(17,18,18,0.45)}
.mv-tcard__name{display:block;margin-block-start:14px;font:500 17px/1.2 var(--ed-disp);letter-spacing:-0.02em;color:inherit}
.mv-tcard__for{display:block;margin-block-start:3px;font:400 14px/1.4 var(--ed-sans);color:var(--mut)}
.ed-panel--ink .mv-tcard,.ed-panel--ink a.mv-tcard{color:#fff !important}
.ed-panel--ink .mv-tcard__for{color:var(--ed-on-dark)}
@media (prefers-reduced-motion:reduce){.mv-tcard .mv-phone{transition:none}a.mv-tcard:hover .mv-phone{transform:none}}

/* Grid of template cards: 2 on a phone, up to 5 on a wide screen. */
.mv-tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:clamp(28px,3vw,44px) clamp(14px,1.8vw,24px);margin:0;padding:0;list-style:none}
.mv-tgrid>li{min-width:0}
@media (max-width:640px){.mv-tgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}.mv-tgrid .mv-phone{--mv-phone-r:12px}.mv-tgrid .mv-tcard__name{font-size:15.5px;margin-block-start:10px}.mv-tgrid .mv-tcard__for{font-size:13px}}

/* Rail: one row that scrolls sideways and runs to the screen edge. */
.mv-rail{display:flex;gap:16px;margin:0;padding:8px var(--mv-rail-pad,16px) 28px;list-style:none;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline-start:var(--mv-rail-pad,16px);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.mv-rail::-webkit-scrollbar{display:none}
.mv-rail>*{flex:none;width:min(62vw,264px);scroll-snap-align:start}
.mv-rail--sm>*{width:min(44vw,200px)}
/* Pull a rail out to the window edges from inside a .mv-sec (page margin plus section padding). */
.mv-bleed{margin-inline:calc(-1 * (var(--mv-page,16px) + var(--ed-pad)))}
.mv-rail.mv-bleed{--mv-rail-pad:var(--ed-edge)}
@media (max-width:640px){.mv-rail{gap:12px}}

/* ── App screens: a real screen of the editor, in a soft panel ────────── */
/* figure.mv-shot > img. Modifiers set the panel colour; the image keeps its own ratio. */
.mv-shot{position:relative;margin:0;padding:clamp(16px,2.6vw,36px);border-radius:var(--ed-r-panel);background:var(--ed-soft);overflow:hidden}
.mv-shot>img,.mv-shot>picture>img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 0 0 1px var(--mv-ring), var(--mv-sh-shot)}
.mv-shot--mint{background:var(--mint)}
.mv-shot--ink{background:var(--ink)}
.mv-shot--white{background:#fff}
.mv-shot--sky{background:var(--ed-tint-sky)}
.mv-shot--peach{background:var(--ed-tint-peach)}
.mv-shot--lilac{background:var(--ed-tint-lilac)}
.mv-shot--lemon{background:var(--ed-tint-lemon)}
.mv-shot--rose{background:var(--ed-tint-rose)}
/* The screen bleeds off the bottom of its panel, like a sheet of paper on a desk. */
.mv-shot--peek{padding-block-end:0}
.mv-shot--peek>img,.mv-shot--peek>picture>img{border-end-start-radius:0;border-end-end-radius:0}
/* A phone-width screen centred in the panel. */
.mv-shot--phone{display:flex;justify-content:center}
.mv-shot--phone>.mv-phone{width:min(100%,300px)}
.mv-shot__cap{margin:14px 2px 0;font:400 13.5px/1.4 var(--ed-sans);color:var(--mut)}
.mv-shot--ink .mv-shot__cap{color:var(--ed-on-dark-sm)}
@media (max-width:640px){.mv-shot{border-radius:22px}.mv-shot>img,.mv-shot>picture>img{border-radius:10px}}

/* ── Feature row: words on one side, the product on the other ─────────── */
.mv-row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(24px,5vw,80px);align-items:center}
.mv-row--flip>.mv-row__text{order:2}
.mv-row__title{margin:0 0 14px;font:500 clamp(28px,3.2vw,46px)/1.02 var(--ed-disp);letter-spacing:-0.035em;color:var(--ink);text-wrap:balance}
.mv-row__body{margin:0;max-width:46ch;font:400 17px/1.55 var(--ed-sans);color:var(--mut);text-wrap:pretty}
.mv-row__body+.mv-row__body{margin-block-start:12px}
.mv-row .ed-btn{margin-block-start:22px}
@media (max-width:900px){.mv-row{grid-template-columns:1fr;gap:22px}.mv-row--flip>.mv-row__text{order:0}}
@media (max-width:640px){.mv-row__title{font-size:clamp(26px,7.6vw,32px)}.mv-row__body{font-size:16px}}

/* Facts list: a mint square, a short title, one line. Hairlines between. */
.mv-facts{margin:22px 0 0;padding:0;list-style:none}
.mv-facts>li{position:relative;padding-block:13px;padding-inline-start:22px;border-block-start:1px solid var(--line);font:400 15.5px/1.5 var(--ed-sans);color:var(--mut)}
.mv-facts>li::before{content:"";position:absolute;inset-inline-start:0;inset-block-start:20px;width:8px;height:8px;border-radius:2px;background:#27C99B}
.mv-facts>li b,.mv-facts>li strong{display:block;font:500 16.5px/1.3 var(--ed-disp);letter-spacing:-0.015em;color:var(--ink)}
.ed-panel--ink .mv-facts>li{border-color:var(--ed-line-dark);color:var(--ed-on-dark)}
.ed-panel--ink .mv-facts>li b,.ed-panel--ink .mv-facts>li strong{color:#fff}

/* Three or four short cards in a row (steps, reasons). No icons on top, no numbers. */
.mv-cards{display:grid;grid-template-columns:repeat(var(--mv-cols,3),minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.mv-card{display:flex;flex-direction:column;min-width:0;border-radius:var(--ed-r-card);background:#fff;overflow:hidden}
.mv-card__media{display:block;aspect-ratio:4/3;background:var(--ed-soft);overflow:hidden}
.mv-card__media>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.mv-card__body{padding:22px 22px 24px}
.mv-card__title{margin:0 0 8px;font:500 clamp(20px,1.8vw,24px)/1.12 var(--ed-disp);letter-spacing:-0.025em;color:var(--ink)}
.mv-card__text{margin:0;font:400 15.5px/1.5 var(--ed-sans);color:var(--mut)}
.ed-panel--ink .mv-card{background:rgba(255,255,255,0.06)}
.ed-panel--ink .mv-card__title{color:#fff}
.ed-panel--ink .mv-card__text{color:var(--ed-on-dark)}
@media (max-width:900px){.mv-cards{grid-template-columns:1fr}}

/* A plain text link with an arrow, for "see all" lines. */
a.mv-more{display:inline-flex;align-items:center;gap:8px;font:500 16px/1.2 var(--ed-sans);color:var(--ink) !important;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px}
a.mv-more:hover{text-decoration-thickness:2.5px}
.ed-panel--ink a.mv-more{color:#fff !important}

/* Link cloud: many text links in one calm block (audiences, related pages). */
.mv-links{display:flex;flex-wrap:wrap;gap:8px 8px;margin:0;padding:0;list-style:none}
.mv-links a{display:inline-flex;align-items:center;height:36px;padding:0 13px;border-radius:10px;background:#fff;font:500 14.5px/1 var(--ed-sans);color:var(--ink) !important;text-decoration:none;box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .15s ease}
.mv-links a:hover{box-shadow:inset 0 0 0 1px var(--ink)}
.ed-panel--ink .mv-links a{background:rgba(255,255,255,0.08);color:#fff !important;box-shadow:none}
.ed-panel--ink .mv-links a:hover{background:rgba(255,255,255,0.16)}

/* ════════════════════════════════════════════════════════════════════════
   Site chrome on phones and tablets (2026-11-14: "mobile looks very bad all
   website, especially header menu", "extremely ugly design" on the phone hero).
   The fixed bar is 64px. The offer strip that used to hold the page down by
   64px is gone; .mv-topspace does that job on pages with a light first section.
   On pages that open with a dark or photo hero the bar rides on the hero,
   clear, with white marks, and turns solid once the page scrolls (.mv-stuck is
   set by the script at the end of frontend_header.pug; without the script the
   bar is solid from the start).
   ════════════════════════════════════════════════════════════════════════ */
.mv-topspace{display:none}
@media (max-width:64em){
  .mv-topspace{display:block;height:64px}

  /* The bar: solid by default, frosted when the page has moved. */
  body nav.tab-bar{transition:background-color .25s ease,box-shadow .25s ease}
  body.mv-stuck nav.tab-bar{background:rgba(248,247,244,0.9) !important;-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);box-shadow:0 1px 0 rgba(17,18,18,0.08) !important}
  /* The bar has no button on phones since 2026-11-15 (see "Phone hero fits the screen" below). */
  html.mv-js body.my-mob-lock nav.tab-bar section.right-small a.button{opacity:0 !important;visibility:hidden !important}
  body.my-mob-lock nav.tab-bar{background:var(--bg) !important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none !important}

  /* Pages that open with a dark or photo hero: the hero starts at the top of the screen. */
  html.mv-js body:is(.ed-home,.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)) .mv-topspace{display:none}
  html.mv-js body:is(.ed-home,.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)):not(.mv-stuck):not(.my-mob-lock) nav.tab-bar{background:transparent !important}
  html.mv-js body:is(.ed-home,.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)):not(.mv-stuck):not(.my-mob-lock) nav.tab-bar .ed-logo__word{color:#fff}
  html.mv-js body:is(.ed-home,.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)):not(.mv-stuck):not(.my-mob-lock) nav.tab-bar .my-mob-burger span{background:#fff}  /* Their first panel clears the bar with its own padding (a photo at the top needs none: see the cover hero). */
  html.mv-js body:is(.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)) main>section:first-child:not(:has(.ed-phero__photo)){padding-top:88px !important}
}

/* ── Phone menu ───────────────────────────────────────────────────────── */
/* Opened by the burger. One picture card for templates on top, then the groups. */
@media (max-width:64em){
  .my-mob-menu{padding:6px 16px 116px;overscroll-behavior:contain}
  /* Opacity only: a transform here would make the menu the containing block of its fixed action bar. */
  .my-mob-menu.is-open{animation:mv-menu-in .2s ease both}
  @keyframes mv-menu-in{from{opacity:0}to{opacity:1}}
  a.mm-tpl{position:relative;display:flex;align-items:stretch;justify-content:space-between;gap:10px;min-height:138px;margin:6px 0 10px;padding:18px 18px 0 0;padding-inline:18px 0;border-radius:22px;background:var(--ink);color:#fff !important;text-decoration:none;overflow:hidden}
  .mm-tpl__txt{display:flex;flex-direction:column;justify-content:space-between;padding-block-end:18px;min-width:0}
  .mm-tpl__t{display:block;font:500 24px/1.05 var(--ed-disp);letter-spacing:-0.03em;color:#fff}
  .mm-tpl__d{display:block;margin-block-start:6px;max-width:17ch;font:400 14.5px/1.35 var(--ed-sans);color:var(--ed-on-dark)}
  .mm-tpl__go{display:inline-flex;align-items:center;gap:6px;font:500 14px/1 var(--ed-sans);color:var(--mint)}
  .mm-tpl__pics{display:flex;flex:none;align-items:flex-end;gap:8px;padding-inline-end:14px;margin-block-end:-22px}
  .mm-tpl__pics img{display:block;width:74px;height:auto;aspect-ratio:480/1039;border-radius:8px;object-fit:cover;object-position:top;box-shadow:0 0 0 1px rgba(255,255,255,0.14)}
  .mm-tpl__pics img:nth-child(2){transform:translateY(-14px)}
  /* "this looks mess" (2026-11-15): the title ran under the pictures. Title and link only, narrower pictures. */
  .mm-tpl__txt{flex:1 1 auto}
  .mm-tpl__go{white-space:nowrap}
  @media (max-width:440px){.mm-tpl__pics img:nth-child(3){display:none}.mm-tpl__pics img{width:62px}}
  .my-mob-group{border-bottom:1px solid var(--line)}
  .my-mob-group>summary{min-height:60px;font:500 21px/1.2 var(--ed-disp);letter-spacing:-0.025em}
  .my-mob-group>summary::after{content:"";width:10px;height:10px;margin-inline-end:4px;border:solid var(--ink);border-width:0 0 1.8px 1.8px;transform:rotate(45deg) translateY(-3px);transition:transform .2s ease;font-size:0}
  .my-mob-group[open]>summary::after{content:"";transform:rotate(-135deg) translateY(-3px)}
  .my-mob-menu a.my-mob-top{min-height:60px;font:500 21px/1.2 var(--ed-disp);letter-spacing:-0.025em}
  .my-mob-cat{margin:16px 0 6px;font:500 12px/1.2 var(--ed-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--ed-label)}
  .my-mob-group>.my-mob-cat:first-of-type{margin-block-start:2px}
  /* Product rows: a small drawn preview, the title, one line. */
  a.mm-row{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:0 14px;min-height:72px;padding:6px 0;color:var(--ink) !important;text-decoration:none}
  .mm-row__art{display:block;width:76px;height:60px;border-radius:10px;background:var(--ed-soft);overflow:hidden}
  .mm-row__art .pm-art{width:152px;height:120px;margin:0;border-radius:0;transform:scale(.5);transform-origin:0 0}
  [dir="rtl"] .mm-row__art .pm-art{transform-origin:100% 0}
  .mm-row__t{display:block;font:500 16.5px/1.25 var(--ed-sans);color:var(--ink)}
  .mm-row__d{display:block;margin-block-start:2px;font:400 13.5px/1.35 var(--ed-sans);color:var(--mut)}
  /* Short links in two columns, so a group of 18 is nine rows tall. */
  .mm-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
  .mm-cols a.my-mob-link{min-height:42px;padding:6px 0;font:500 15.5px/1.3 var(--ed-sans)}
  .my-mob-menu a.my-mob-link.my-mob-all{min-height:40px;font:500 14.5px/1.2 var(--ed-sans);color:var(--ink);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1.5px}
  .my-mob-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(248,247,244,0.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  @media (prefers-reduced-motion:reduce){.my-mob-menu.is-open{animation:none}}
}

/* ── Cover hero on phones: the photo leads, the words stand on its lower edge ── */
/* Homepage. Same photo and words as desktop; one mint action in one row. */
@media (max-width:640px){
  html body.ed-home main.ed-page>section.ed-panel.ed-hero{position:relative;display:block;min-height:0;padding:0 0 24px !important;padding-inline:0 !important;background:var(--ink);overflow:hidden}
  html body.ed-home .ed-hero__img{order:0;position:relative;inset:auto;display:block;width:100%;max-width:none;height:min(58vh,470px);min-height:340px;margin:0;border-radius:0;aspect-ratio:auto;object-fit:cover;object-position:64% 22%}
  html body.ed-home .ed-hero__shade{display:block;position:absolute;inset:0 0 auto 0;height:min(58vh,470px);min-height:340px;background:linear-gradient(180deg,rgba(17,18,18,0.42) 0,rgba(17,18,18,0) 22%,rgba(17,18,18,0) 50%,rgba(17,18,18,0.74) 84%,#111212 100%)}
  html body.ed-home .ed-hero__content{position:relative;z-index:1;order:1;max-width:none;margin:-92px 0 0;padding:0 20px}
  html body.ed-home .ed-hero .ed-chip{display:none}
  html body.ed-home .ed-hero .ed-h1{margin:0 0 12px;max-width:none;font-size:clamp(38px,11.4vw,50px);line-height:.98;letter-spacing:-0.04em}
  html body.ed-home .ed-hero__lead{margin:0 0 20px;max-width:34ch;font-size:16.5px;line-height:1.45;color:rgba(255,255,255,0.8)}
  html body.ed-home .ed-hero .ed-field{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:none;margin:0;padding:6px !important;border-radius:16px;background:#fff;box-shadow:none}
  html body.ed-home .ed-hero .ed-field .ed-field__prefix{padding-inline-start:10px !important;font-size:16px !important}
  html body.ed-home .ed-hero .ed-field input[type="text"]{flex:1 1 76px;min-width:76px;height:46px !important;font-size:16px !important}
  html body.ed-home .ed-hero .ed-field .ed-btn{flex:1 0 auto;width:auto;height:46px;min-height:46px;margin:0;padding:0 13px;border-radius:11px !important;background:var(--mint) !important;color:var(--ink) !important;font-weight:600;font-size:15px}
}

/* Cover hero on every page that opens with a photo of a person (audience, industry, use-case,
   feature, how-it-works and course pages). Phones and small tablets. The photo runs edge to edge
   at the top with the bar on it, fades into ink, and the words start on its lower edge. This
   replaces "words first, then a boxed photo" (2026-11-11), which the owner called ugly on 2026-11-14. */
@media (max-width:900px){
  html body main>section.ed-phero:has(.ed-phero__photo),
  html body.my-feat main>section.my-feat-hero--photo,
  html.mv-js body:is(.ed-dark-hero,.my-feat) main>section.ed-phero:first-child:has(.ed-phero__photo),
  html.mv-js body.my-feat main>section.my-feat-hero--photo:first-child{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:0 !important;padding-bottom:26px !important}
  html body main>section.ed-phero:has(.ed-phero__photo)>.ed-inner.ed-split{display:flex;flex-direction:column;gap:0;width:100%}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__stage{order:-1;display:block !important;margin:0 calc(-1 * var(--ed-edge)) !important}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__photo,
  html body.my-feat main>section.my-feat-hero--photo .ed-phero__photo{position:relative !important;inset:auto;display:block;width:auto !important;height:min(50vh,420px) !important;min-height:300px;border-radius:0 !important;background:#1D1E1E}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__photo{margin:0 !important}
  html body.my-feat main>section.my-feat-hero--photo .ed-phero__photo{order:-1;align-self:stretch;flex:none;margin:0 calc(-1 * var(--ed-edge)) !important}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__photo::after,
  html body.my-feat main>section.my-feat-hero--photo .ed-phero__photo::after{content:"";display:block;position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,18,18,0.44) 0,rgba(17,18,18,0) 24%,rgba(17,18,18,0) 46%,rgba(17,18,18,0.78) 84%,#111212 100%)}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__photo img,
  html body.my-feat main>section.my-feat-hero--photo .ed-phero__photo img{object-position:50% 18%}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-split>div:first-child,
  html body.my-feat main>section.my-feat-hero--photo .my-feat-hero-inner{position:relative;z-index:1;margin-top:-76px;padding:0}
  html body main>section.ed-phero:has(.ed-phero__photo) h1,
  html body.my-feat main>section.my-feat-hero--photo h1{margin:0 0 12px;font-size:clamp(34px,9.8vw,46px);line-height:.98;letter-spacing:-0.04em}
  html body main>section.ed-phero:has(.ed-phero__photo) :is(.fp-lead,.ix-lead,.uc-lead,.ed-lead,.mt-lead),
  html body.my-feat main>section.my-feat-hero--photo .my-feat-sub{margin:0 0 20px;font-size:16px;line-height:1.5;color:rgba(255,255,255,0.8)}
  html body main>section.ed-phero .ed-chip{display:none}
  /* The name field: one row, one mint action. The button takes its own row when a language needs it. */
  html body main>section.ed-phero .ed-field{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:none;margin:0;padding:6px !important;border:0;border-radius:16px;background:#fff}
  html body main>section.ed-phero .ed-field .ed-field__prefix{padding-inline-start:10px !important;font-size:16px !important}
  html body main>section.ed-phero .ed-field input[type="text"]{flex:1 1 76px;min-width:76px;height:46px !important;font-size:16px !important}
  html body main>section.ed-phero .ed-field .ed-btn{flex:1 0 auto;width:auto;height:46px;min-height:46px;margin:0;padding:0 13px;border-radius:11px !important;background:var(--mint) !important;color:var(--ink) !important;font-weight:600;font-size:15px}
  html body.my-feat main>section.my-feat-hero--photo .my-feat-cta{background:var(--mint) !important;color:var(--ink) !important;border-color:transparent !important}
}
/* The dark first panel starts at the very top on phones (some families gave it an 8px margin). */
@media (max-width:64em){
  html.mv-js body:is(.ed-home,.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)) main>section:first-child{margin-top:0 !important}
  html.mv-js body:is(.ed-home,.my-feat,.ed-agency,.mcp-landing,.mcp-docs-page,.ed-dark-hero,.lr:has(main>section.lr-hero:first-child),.ed-co:has(main>section.ed-co-hero:first-child)) main{padding-top:0 !important;margin-top:0 !important}
}

/* Phone gutters (2026-11-14). A 16px page margin plus 20px of panel padding left a 318px text column on a
   390px phone. Now: 8px margin, 18px padding, so words start 26px from the edge everywhere and a panel is
   20px wider. --ed-edge follows, so heroes, rails and the header keep the one left edge. */
@media (max-width:640px){
  :root{--ed-pad:18px;--ed-edge:26px;--mv-page:8px}
  body .ed-page{padding-inline:8px}
  body .ed-panel{padding-inline:18px}
  body .ed-panel.ed-panel--grey{padding-inline:18px}
  body nav.tab-bar .tab-bar-section{right:26px !important}
  body nav.tab-bar section.right-small{left:16px !important}
  [dir="rtl"] body nav.tab-bar .tab-bar-section{right:auto !important;left:26px !important}
  [dir="rtl"] body nav.tab-bar section.right-small{left:auto !important;right:16px !important}
  .my-mob-menu{padding-inline:26px}
  .my-mob-actions{padding-inline:26px}
  html body.ed-home .ed-hero__content{padding:0 26px}
}

/* Every desktop menu has one shape since 2026-11-15 (Vytas on the Use cases menu: "this is nice", "check if all
   dropdown can be like this"): a small label, icon cards in two columns with one line each, and a side column
   behind a thin line. Product's side is the template card; Resources' side is two short link lists. */
body section.navigation-section .my-mega-drop:is(.my-pm-drop,.my-res2-drop){width:min(1040px,calc(100vw - 2 * var(--ed-gut))) !important}
.mvm-item__ico{display:inline-flex;flex:none;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:var(--ed-tint-mint);color:var(--ink)}
.my-um-side--card{display:block;padding:4px 12px 4px 4px}
body section.navigation-section a.mvm-card{display:flex !important;flex-direction:column;height:100%;padding:12px 12px 14px !important;border-radius:16px !important;background:var(--ed-band) !important;color:var(--ink) !important;white-space:normal !important;line-height:1.3 !important;transition:background-color .15s ease}
body section.navigation-section a.mvm-card:hover,body section.navigation-section a.mvm-card:focus-visible{background:var(--ed-tint-mint) !important}
.mvm-card__pics{display:flex;justify-content:center;align-items:flex-end;gap:8px;height:112px;margin:0 0 12px;padding-block-start:12px;border-radius:12px;background:var(--ink);overflow:hidden}
.mvm-card__pics img{display:block;width:62px;height:auto;aspect-ratio:480/1039;border-radius:7px 7px 0 0;object-fit:cover;object-position:top;align-self:flex-start;box-shadow:0 0 0 1px rgba(255,255,255,0.14)}
.mvm-card__pics img:nth-child(2){width:70px}
.mvm-card__t{display:block;font:500 16px/1.2 var(--ed-disp);letter-spacing:-0.02em}
.mvm-card__d{display:block;margin-block-start:4px;font:400 13.5px/1.4 var(--ed-sans);color:var(--mut)}
.mvm-card__go{display:block;margin-block-start:auto;padding-block-start:10px;font:500 13.5px/1.2 var(--ed-sans);color:var(--ink)}
/* The same items in the phone menu. */
/* Phone (2026-11-15, "this looks mess"): titles only, smaller tiles. */
.mm-row__ico{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:var(--ed-tint-mint);color:var(--ink)}
@media (max-width:64em){
  a.mm-row{grid-template-columns:40px minmax(0,1fr);min-height:56px}
  .mm-row__d{display:none}
}

/* Use cases menu: the audience items take the same icon tile as the Product menu. */
body section.navigation-section a.my-um-card{display:flex !important;align-items:flex-start;gap:12px;padding:10px !important;border-radius:14px !important;background:transparent !important;transition:background-color .15s ease}
body section.navigation-section a.my-um-card:hover,body section.navigation-section a.my-um-card:focus-visible{background:var(--ed-soft) !important;transform:none !important;box-shadow:none !important}
body section.navigation-section a.my-um-card .my-um-title{display:block;font:500 16px/1.2 var(--ed-disp) !important;letter-spacing:-0.02em !important}
body section.navigation-section a.my-um-card .my-um-desc{margin-block-start:4px;font:400 13.5px/1.4 var(--ed-sans) !important;color:var(--mut) !important}
body section.navigation-section a.my-um-card .mvm-item__ico svg{width:22px;height:22px}

/* Site footer (2026-11-15): twelve link groups, six across on a wide screen, four on a laptop. Base rules:
   editorial.css, "Site footer". The phone accordion is unchanged. */
@media (min-width:1200px){body footer#footerElem .ed-foot__grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:40px 22px}}
@media (min-width:900px) and (max-width:1199px){body footer#footerElem .ed-foot__grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 22px}}
body footer#footerElem .ed-foot__list a{overflow-wrap:anywhere}

/* Closing sign-up panel on phones: the same one-row name field as the hero (address, then one mint action). */
@media (max-width:640px){
  body .ed-final .ed-field{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:none;padding:6px !important;border-radius:16px}
  body .ed-final .ed-field .ed-field__prefix{padding-inline-start:10px !important;font-size:16px !important}
  body .ed-final .ed-field input[type="text"]{flex:1 1 76px;min-width:76px;height:46px !important;font-size:16px !important}
  body .ed-final .ed-field .ed-btn{flex:1 0 auto;width:auto;height:46px;min-height:46px;margin:0;padding:0 13px;border-radius:11px !important;background:var(--mint) !important;color:var(--ink) !important;font-weight:600;font-size:15px}
}

/* ════════════════════════════════════════════════════════════════════════
   Phone hero fits the screen (Vytas 2026-11-15: "remove create page button on mobile ... hero height on mobile
   adapts so cta claim your page always visible"). The bar keeps only the logo and the menu; the menu holds
   Log in and Create your page. Every photo hero on a phone is as tall as the screen less 36px (so the next
   section peeks out): the words and the name field keep their height and the photo takes what is left, never
   less than 150px. On a short phone the photo gets short; the button is always in the first view.
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width:64em){
  html body nav.tab-bar section.right-small a.button{display:none !important}
}
@media (max-width:640px){
  /* Homepage */
  html body.ed-home main.ed-page>section.ed-panel.ed-hero{display:flex;flex-direction:column;height:calc(100vh - 36px);height:calc(100svh - 36px);min-height:520px;max-height:900px}
  html body.ed-home .ed-hero__img{flex:1 1 0;height:auto;min-height:150px;max-height:none;-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent 100%);mask-image:linear-gradient(180deg,#000 62%,transparent 100%)}
  html body.ed-home .ed-hero__shade{inset:0 0 auto 0;height:150px;min-height:0;background:linear-gradient(180deg,rgba(17,18,18,0.46),rgba(17,18,18,0))}
  html body.ed-home .ed-hero__content{flex:none;margin-top:-64px}
  /* Audience, industry, use-case and how-it-works heroes */
  html body main>section.ed-phero:has(.ed-phero__photo){height:calc(100vh - 36px);height:calc(100svh - 36px);min-height:520px;max-height:900px}
  html body main>section.ed-phero:has(.ed-phero__photo)>.ed-inner.ed-split{flex:1 1 auto;min-height:0}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__stage{display:flex !important;flex-direction:column;align-items:stretch;justify-content:stretch;flex:1 1 0;min-height:150px}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-phero__photo{flex:1 1 auto;height:auto !important;min-height:150px}
  html body main>section.ed-phero:has(.ed-phero__photo) .ed-split>div:first-child{flex:none}
  /* Feature heroes */
  html body.my-feat main>section.my-feat-hero--photo{height:calc(100vh - 36px);height:calc(100svh - 36px);min-height:520px;max-height:900px}
  html body.my-feat main>section.my-feat-hero--photo .ed-phero__photo{flex:1 1 0;height:auto !important;min-height:150px}
  html body.my-feat main>section.my-feat-hero--photo .my-feat-hero-inner{flex:none}
}
/* Very short screens: smaller headline so the words need fewer lines. */
@media (max-width:640px) and (max-height:700px){
  html body.ed-home .ed-hero .ed-h1,
  html body main>section.ed-phero:has(.ed-phero__photo) h1,
  html body.my-feat main>section.my-feat-hero--photo h1{font-size:clamp(32px,9vw,38px)}
  html body.ed-home .ed-hero__lead,
  html body main>section.ed-phero:has(.ed-phero__photo) :is(.fp-lead,.ix-lead,.uc-lead,.ed-lead,.mt-lead),
  html body.my-feat main>section.my-feat-hero--photo .my-feat-sub{font-size:15px;margin-bottom:14px}
}

/* ════════════════════════════════════════════════════════════════════════
   HERO PAGES (+mvHeroPages in _mv.pug, 2026-11-15). Vytas: "hero imagery do not make sense", "all hero looks very
   bad - use templates as examples, make it pretty", "across all". Three real template pages in phones on a stage
   tinted with the main template's colour (--hs-bg, mixed with white by --hs-a and --hs-b). Replaces the cropped
   owner portraits. Wide screens: the right half of the hero, below the bar; the phones rise from the bottom edge
   and size to the hero's height. Phones and tablets (<=900px): under the words and the name field, filling the rest
   of the first screen, so the button is always in view. Logical properties only, so Arabic mirrors.
   ════════════════════════════════════════════════════════════════════════ */
.mv-hstage{position:absolute;inset-block:0;inset-inline-end:0;width:50%;overflow:hidden;pointer-events:none;container-type:size;--hs-top:96px}
.mv-hstage__bg{position:absolute;inset-block:var(--hs-top) 0;inset-inline:0 var(--ed-edge);border-radius:16px 16px 0 0;background:linear-gradient(180deg,color-mix(in oklab,var(--hs-bg) var(--hs-a,55%),#fff) 0%,color-mix(in oklab,var(--hs-bg) var(--hs-b,100%),#fff) 100%)}
.mv-hstage__set{position:absolute;inset-block-start:calc(var(--hs-top) + 44px);inset-inline:0 var(--ed-edge);display:flex;justify-content:center;align-items:flex-start;--hs-w:clamp(160px,min(calc((100cqw - var(--ed-edge)) / 2.35),46cqh),330px)}
.mv-hstage__p{flex:none;width:calc(var(--hs-w) * 0.8);margin-block-start:64px;--mv-phone-r:16px;box-shadow:0 0 0 1px rgba(17,18,18,0.08), 0 26px 50px -26px rgba(17,18,18,0.5)}
.mv-hstage__p--c{position:relative;z-index:2;width:var(--hs-w);margin-block-start:0;margin-inline:calc(var(--hs-w) * -0.2);box-shadow:0 0 0 1px rgba(17,18,18,0.08), 0 44px 80px -34px rgba(17,18,18,0.62)}
@media (prefers-reduced-motion:no-preference){
  .mv-hstage__p{animation:mv-hs-rise .9s cubic-bezier(.22,1,.36,1) .14s both}
  .mv-hstage__p--c{animation-delay:0s}
}
@keyframes mv-hs-rise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}

@media (max-width:900px){
  html body main>section.ed-phero:has(.mv-hstage),
  html body.my-feat main>section.my-feat-hero--photo:has(.mv-hstage),
  html.mv-js body:is(.ed-dark-hero,.my-feat) main>section:is(.ed-phero,.my-feat-hero--photo):first-child:has(.mv-hstage){display:flex !important;flex-direction:column;align-items:stretch;height:calc(100vh - 36px);height:calc(100svh - 36px);min-height:560px;max-height:940px;padding-top:88px !important;padding-bottom:0 !important}
  html body main>section.ed-phero:has(.mv-hstage)>.ed-inner.ed-split{display:flex !important;flex-direction:column;flex:1 1 auto;gap:0;width:100%;min-height:0}
  html body main>section.ed-phero:has(.mv-hstage) .ed-split>div:first-child,
  html body.my-feat main>section.my-feat-hero--photo:has(.mv-hstage) .my-feat-hero-inner{flex:none;margin:0 !important;padding:0 !important}
  html body main>section.ed-phero:has(.mv-hstage) .ed-phero__stage{order:1;display:flex !important;flex-direction:column;align-items:stretch;flex:1 1 auto;min-height:0;margin:24px 0 0 !important;padding:0 !important}
  html body main>section.ed-phero:has(.mv-hstage) .ed-phero__stage>div:first-child{display:none !important}
  html body main>section:is(.ed-phero,.my-feat-hero) .mv-hstage{position:relative;inset:auto;align-self:stretch;width:auto;flex:1 1 auto;min-height:180px;--hs-top:0px}
  html body.my-feat main>section.my-feat-hero--photo:has(.mv-hstage) .mv-hstage{margin-block-start:24px}
  html body main>section:is(.ed-phero,.my-feat-hero) .mv-hstage__bg{inset-inline:0}
  html body main>section:is(.ed-phero,.my-feat-hero) .mv-hstage__set{inset-block-start:20px;inset-inline:0;--hs-w:clamp(124px,min(50cqw,70cqh),260px)}
  html body main>section:is(.ed-phero,.my-feat-hero) .mv-hstage__p{margin-block-start:34px;--mv-phone-r:12px}
  html body main>section.ed-phero:has(.mv-hstage) h1{margin:0 0 12px;font-size:clamp(34px,9.8vw,46px);line-height:.98;letter-spacing:-0.04em}
  html body main>section.ed-phero:has(.mv-hstage) :is(.fp-lead,.ix-lead,.uc-lead,.ed-lead,.mt-lead){margin:0 0 20px;font-size:16px;line-height:1.5;color:rgba(255,255,255,0.8)}
}
@media (max-width:640px) and (max-height:700px){
  html body main>section.ed-phero:has(.mv-hstage) h1{font-size:clamp(32px,9vw,38px)}
  html body main>section.ed-phero:has(.mv-hstage) :is(.fp-lead,.ix-lead,.uc-lead,.ed-lead,.mt-lead){font-size:15px;margin-bottom:14px}
}

/* AI AGENTS FOOTER ROW (2026-11-17). Every agent page in one row under the footer link grid. The header has one
   "AI agents" link in Resources to the /mcp hub, which lists them all. */
body footer#footerElem .ed-foot__ai{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 18px;padding:22px 0;border-bottom:1px solid var(--ed-line-dark)}
body footer#footerElem .ed-foot__ai .ed-foot__title{margin:0;color:var(--ed-on-dark-sm);text-decoration:none}
body footer#footerElem .ed-foot__ai .ed-foot__title:hover{color:#fff}
body footer#footerElem .ed-foot__ai-list{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;list-style:none}
body footer#footerElem .ed-foot__ai-list li{margin:0;padding:0;list-style:none}
body footer#footerElem .ed-foot__ai-list a{display:inline-block;padding:3px 0;font:400 14px/1.35 var(--ed-sans);color:#fff;opacity:.86;text-decoration:none}
body footer#footerElem .ed-foot__ai-list a:hover{opacity:1;text-decoration:underline;text-underline-offset:3px}
