/*
 * MOTVIVO site styles. Layout follows Brooklyn demo #07's rhythm (full-screen
 * hero, centred section intros, 1200px content, ~120px section spacing),
 * built from scratch in the MOTVIVO brand. Colours/fonts come from theme.json.
 */

:root {
  --mv-ink: var(--wp--preset--color--ink, #0f172a);
  --mv-brand: var(--wp--preset--color--brand, #7c3aed);
  --mv-energy: var(--wp--preset--color--energy, #d9ff3e);
  --mv-muted: var(--wp--preset--color--muted, #64748b);
  --mv-border: var(--wp--preset--color--border, #e5e7eb);
  --mv-radius: 20px;
  --mv-shadow: 0 1px 2px rgb(15 23 42 / 4%), 0 12px 32px -12px rgb(15 23 42 / 18%);
  --mv-header-h: 76px;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--mv-energy); color: var(--mv-ink); }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
/* Full-width sections sit flush against each other (no block gap between them). */
main > *, main > * > .alignfull, .wp-block-post-content > .alignfull { margin-block: 0 !important; }
*, *::before, *::after { box-sizing: border-box; }

/* Grid containers are core/group blocks: drop the flow layout's top margins. */
:is(.mv-values, .mv-stats, .mv-steps, .mv-tour, .mv-tour__row, .mv-cards, .mv-feature-grid, .mv-pricing, .mv-hero__inner, .mv-footer__grid) > * { margin-block: 0 !important; }

/* ── Header: transparent over the hero, solid once you scroll ─────────────── */
.mv-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--mv-header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
.admin-bar .mv-header { top: 32px; }
.mv-header.is-solid, body:not(:has(.mv-hero, .mv-page-head)) .mv-header {
  background: rgb(15 23 42 / 92%);
  backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 6%);
  height: 64px;
}
body:not(:has(.mv-hero, .mv-page-head)) .wp-site-blocks { padding-top: var(--mv-header-h); }
.mv-header__inner { width: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2rem)); margin: 0 auto; display: flex; align-items: center; gap: 2rem; }
.mv-logo { display: inline-flex; align-items: center; gap: .6rem; color: #fff !important; text-decoration: none; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.15rem; letter-spacing: .06em; }
.mv-logo img { width: 34px; height: 34px; }
.mv-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.mv-nav a { color: rgb(255 255 255 / 78%); text-decoration: none; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: color .2s; }
.mv-nav a:hover, .mv-nav a[aria-current="page"] { color: #fff; }
.mv-nav .mv-btn { text-transform: none; letter-spacing: 0; font-size: .9rem; color: #fff; }
.mv-menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
@media (max-width: 900px) {
  .mv-menu-toggle { display: inline-flex; }
  .mv-nav {
    position: fixed; inset: var(--mv-header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mv-ink); padding: .5rem 1.25rem 1.5rem; transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .mv-nav.is-open { transform: none; }
  .mv-nav a { padding: .9rem 0; border-bottom: 1px solid rgb(255 255 255 / 8%); font-size: .95rem; }
  .mv-nav .mv-btn { margin-top: 1rem; text-align: center; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.mv-btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 12px; padding: .85rem 1.5rem; text-decoration: none !important;
  font-family: var(--wp--preset--font-family--heading); font-weight: 600;
  background: var(--wp--preset--gradient--cta); color: #fff !important;
  box-shadow: 0 10px 30px -10px rgb(124 58 237 / 60%);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.mv-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 34px -10px rgb(124 58 237 / 70%); }
.mv-btn:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--mv-energy); outline-offset: 3px; }
.is-style-outline > .wp-block-button__link, .mv-btn--ghost {
  background: transparent !important; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 35%); color: #fff !important;
}
.mv-light .is-style-outline > .wp-block-button__link { box-shadow: inset 0 0 0 2px var(--mv-border); color: var(--mv-ink) !important; }
.mv-btn--energy, .is-style-energy > .wp-block-button__link { background: var(--mv-energy) !important; color: var(--mv-ink) !important; box-shadow: 0 10px 30px -12px rgb(217 255 62 / 70%); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.mv-section { padding-block: var(--wp--preset--spacing--70); }
.mv-section--tight { padding-block: var(--wp--preset--spacing--60); }
.mv-section--surface { background: var(--wp--preset--color--surface); }
.mv-section--dark { background: var(--mv-ink); color: rgb(255 255 255 / 78%); }
.mv-section--dark :where(h1, h2, h3, h4) { color: #fff; }
.mv-eyebrow {
  display: inline-block; font-family: var(--wp--preset--font-family--heading);
  font-size: .8rem !important; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--wp--preset--color--brand-text);
}
.mv-section--dark .mv-eyebrow, .mv-hero .mv-eyebrow, .mv-page-head .mv-eyebrow { color: var(--mv-energy); }
.mv-intro { max-width: 720px; margin-inline: auto !important; text-align: center; }
.mv-intro > p:not(.mv-eyebrow) { color: var(--mv-muted); font-size: var(--wp--preset--font-size--large); line-height: 1.6; }
.mv-section--dark .mv-intro > p:not(.mv-eyebrow) { color: rgb(255 255 255 / 70%); }
/* Brooklyn's signature: a short rule under section headings. */
.mv-intro h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin: 1.1rem auto 0; background: var(--wp--preset--gradient--brand); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.mv-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh; display: flex; align-items: center;
  background: var(--mv-ink); color: #fff;
  padding-block: calc(var(--mv-header-h) + 3rem) 6rem !important;
}
.mv-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mv-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.mv-orb--1 { width: 46vw; height: 46vw; left: -12vw; top: -16vw; background: #7c3aed; }
.mv-orb--2 { width: 38vw; height: 38vw; right: -10vw; top: 10vh; background: #2563eb; opacity: .4; }
.mv-orb--3 { width: 30vw; height: 30vw; right: 18vw; bottom: -18vw; background: #00c2a8; opacity: .3; }
.mv-grid-lines {
  position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgb(255 255 255 / 30%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 30%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.mv-hero__inner { width: min(1200px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.mv-hero h1 { color: #fff; font-size: var(--wp--preset--font-size--display); line-height: .98; letter-spacing: -0.04em; margin: 1rem 0 1.5rem; text-transform: uppercase; }
.mv-hero h1 .mv-hl { display: block; background: linear-gradient(90deg, var(--mv-energy), #a3ff7a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mv-hero__lead { font-size: var(--wp--preset--font-size--large); color: rgb(255 255 255 / 72%); max-width: 34rem; line-height: 1.6; }
.mv-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.mv-hero__note { margin-top: 1.25rem; font-size: .875rem; color: rgb(255 255 255 / 55%); }
.mv-hero__devices { position: relative; aspect-ratio: 1.15; }
.mv-hero__devices .mv-laptop { position: absolute; width: 100%; left: 4%; top: 6%; }
.mv-hero__devices .mv-phone { position: absolute; width: 30%; left: -6%; bottom: -2%; }
.mv-scroll-cue { position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0; width: 28px; height: 44px; border: 2px solid rgb(255 255 255 / 40%); border-radius: 14px; }
.mv-scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--mv-energy); animation: mv-cue 1.8s ease-in-out infinite; }
@keyframes mv-cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .mv-hero__inner { grid-template-columns: 1fr; text-align: left; }
  .mv-hero__devices { max-width: 560px; margin-top: 1rem; }
  .mv-scroll-cue { display: none; }
}

/* ── Device frames (product screenshots) ───────────────────────────────── */
.mv-laptop { border-radius: 14px; padding: 10px 10px 0; background: linear-gradient(#2b3447, #1a2232); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 70%), inset 0 0 0 1px rgb(255 255 255 / 8%); }
.mv-laptop img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; }
.mv-laptop::after { content: ""; display: block; height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#cbd5e1, #94a3b8); }
.mv-phone { border-radius: 28px; padding: 8px; background: #0b1220; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 70%), inset 0 0 0 2px rgb(255 255 255 / 10%); }
.mv-phone img { display: block; width: 100%; height: auto; border-radius: 21px; }
.mv-shot { border-radius: 16px; overflow: hidden; box-shadow: var(--mv-shadow); border: 1px solid var(--mv-border); }
.mv-shot img { display: block; width: 100%; height: auto; }

/* ── Value points + counters (demo #07: "We care / deliver / creative") ─── */
.mv-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: var(--wp--preset--spacing--60); }
.mv-value { text-align: center; }
.mv-icon {
  width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 18px; display: grid; place-items: center;
  background: var(--wp--preset--color--tint); color: var(--mv-brand);
}
.mv-icon svg { width: 28px; height: 28px; }
.mv-value h3 { margin-bottom: .5rem; }
.mv-value p { color: var(--mv-muted); margin: 0; }
.mv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: var(--wp--preset--spacing--60); border-radius: var(--mv-radius); overflow: hidden; background: var(--mv-border); border: 1px solid var(--mv-border); }
.mv-stat { background: #fff; padding: 2rem 1rem; text-align: center; }
.mv-stat strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.03em; background: var(--wp--preset--gradient--cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mv-stat span { display: block; margin-top: .6rem; font-size: .875rem; color: var(--mv-muted); }
@media (max-width: 800px) { .mv-values { grid-template-columns: 1fr; } .mv-stats { grid-template-columns: repeat(2, 1fr); } }

/* ── Steps (how it works) ─────────────────────────────────────────────── */
.mv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: var(--wp--preset--spacing--60); counter-reset: step; position: relative; }
.mv-steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, rgb(124 58 237 / 40%), transparent); }
.mv-step { position: relative; text-align: center; }
.mv-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 50%;
  background: var(--mv-ink); color: var(--mv-energy); font-family: var(--wp--preset--font-family--heading); font-weight: 700; position: relative;
  box-shadow: 0 0 0 8px var(--wp--preset--color--surface);
}
.mv-step p { color: var(--mv-muted); margin: 0; }
@media (max-width: 800px) { .mv-steps { grid-template-columns: 1fr; } .mv-steps::before { display: none; } }

/* ── Showcase rows (demo #07's "Our work" → product tour) ─────────────── */
.mv-tour { display: grid; gap: var(--wp--preset--spacing--70); margin-top: var(--wp--preset--spacing--60); }
.mv-tour__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mv-tour__row:nth-child(even) .mv-tour__media { order: -1; }
.mv-tour__row:nth-child(even) { grid-template-columns: 1.25fr 1fr; }
.mv-tour__media { position: relative; }
.mv-tour__media::before { content: ""; position: absolute; inset: 8% -4% -6% 8%; border-radius: 28px; background: var(--wp--preset--gradient--soft); z-index: -1; }
.mv-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .65rem; }
.mv-checks li { position: relative; padding-left: 2rem; color: var(--wp--preset--color--slate); }
.mv-checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--mv-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9FF3E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat; }
.mv-section--dark .mv-checks li { color: rgb(255 255 255 / 80%); }
@media (max-width: 860px) {
  .mv-tour__row, .mv-tour__row:nth-child(even) { grid-template-columns: 1fr; }
  .mv-tour__row:nth-child(even) .mv-tour__media { order: 0; }
}

/* ── Cards (demo #07's "Web dev / Mobile apps / Design") ──────────────── */
.mv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: var(--wp--preset--spacing--60); }
.mv-card {
  position: relative; padding: 2.25rem 2rem; border-radius: var(--mv-radius); background: #fff; border: 1px solid var(--mv-border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--mv-shadow); border-color: transparent; }
.mv-card::after { content: ""; position: absolute; inset: auto 2rem 0 2rem; height: 3px; border-radius: 3px; background: var(--wp--preset--gradient--brand); transform: scaleX(0); transition: transform .35s ease; }
.mv-card:hover::after { transform: scaleX(1); }
.mv-card p { color: var(--mv-muted); }
.mv-card .mv-more { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.mv-card .mv-more::after { content: "→"; transition: transform .2s; }
.mv-card:hover .mv-more::after { transform: translateX(4px); }
.mv-section--dark .mv-card { background: var(--wp--preset--color--ink-2); border-color: rgb(255 255 255 / 8%); }
.mv-section--dark .mv-card p { color: rgb(255 255 255 / 65%); }
.mv-section--dark .mv-icon { background: rgb(124 58 237 / 20%); color: var(--mv-energy); }
@media (max-width: 900px) { .mv-cards { grid-template-columns: 1fr; } }

/* ── Feature grid (features page) ─────────────────────────────────────── */
.mv-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: var(--wp--preset--spacing--60); }
.mv-feature { padding: 1.75rem; border-radius: var(--mv-radius); background: #fff; border: 1px solid var(--mv-border); }
.mv-feature h3 { display: flex; align-items: center; gap: .75rem; margin: 0 0 .25rem; }
.mv-feature h3 .mv-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.mv-feature h3 .mv-icon svg { width: 22px; height: 22px; }
@media (max-width: 800px) { .mv-feature-grid { grid-template-columns: 1fr; } }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.mv-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: var(--wp--preset--spacing--60); align-items: stretch; }
.mv-plan { display: flex; flex-direction: column; padding: 2.5rem 2rem; border-radius: 24px; background: #fff; border: 1px solid var(--mv-border); }
.mv-plan h3 { margin: 0; }
.mv-plan__for { color: var(--mv-muted); margin: .35rem 0 1.5rem; font-size: .95rem; }
.mv-plan__price { font-family: var(--wp--preset--font-family--heading); font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.mv-plan__price small { font-size: 1rem; font-weight: 500; color: var(--mv-muted); letter-spacing: 0; }
.mv-plan .mv-checks { margin: 1.75rem 0 2rem; flex: 1; }
.mv-plan .mv-btn { width: 100%; }
.mv-plan--featured { position: relative; background: var(--mv-ink); color: rgb(255 255 255 / 80%); border-color: transparent; transform: translateY(-12px); box-shadow: 0 30px 60px -25px rgb(124 58 237 / 55%); }
.mv-plan--featured h3, .mv-plan--featured .mv-plan__price { color: #fff; }
.mv-plan--featured .mv-plan__for, .mv-plan--featured .mv-plan__price small { color: rgb(255 255 255 / 60%); }
.mv-plan--featured .mv-checks li { color: rgb(255 255 255 / 85%); }
.mv-plan__badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: .3rem .9rem; border-radius: 999px; background: var(--mv-energy); color: var(--mv-ink); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mv-plan .mv-btn--plain { background: var(--wp--preset--color--surface); color: var(--mv-ink) !important; box-shadow: inset 0 0 0 1px var(--mv-border); }
@media (max-width: 900px) { .mv-pricing { grid-template-columns: 1fr; } .mv-plan--featured { transform: none; } }

/* ── Call-to-action band (demo #07's contact section) ─────────────────── */
.mv-cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.mv-cta::before { content: ""; position: absolute; inset: -40% -10%; z-index: -1; background: radial-gradient(closest-side at 30% 50%, rgb(124 58 237 / 55%), transparent), radial-gradient(closest-side at 75% 60%, rgb(37 99 235 / 45%), transparent); }
.mv-cta h2 { font-size: var(--wp--preset--font-size--xx-large); max-width: 16ch; margin-inline: auto; }
.mv-cta .mv-hero__actions { justify-content: center; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.mv-faq { max-width: 820px; margin: var(--wp--preset--spacing--60) auto 0; }
.mv-faq details { border-bottom: 1px solid var(--mv-border); padding: 1.25rem 0; }
.mv-faq summary { cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; }
.mv-faq summary::-webkit-details-marker { display: none; }
.mv-faq summary::after { content: "+"; color: var(--mv-brand); font-size: 1.5rem; line-height: 1; transition: transform .25s; }
.mv-faq details[open] summary::after { transform: rotate(45deg); }
.mv-faq details p { color: var(--mv-muted); margin: .75rem 0 0; }

/* ── Page header (inner pages) ────────────────────────────────────────── */
.mv-page-head { position: relative; overflow: hidden; isolation: isolate; background: var(--mv-ink); color: #fff; text-align: center; padding-block: calc(var(--mv-header-h) + clamp(3rem, 7vw, 5rem)) clamp(3.5rem, 7vw, 5rem) !important; }
.mv-page-head .mv-orb { opacity: .35; }
.mv-page-head h1 { color: #fff; margin: .75rem auto 1rem; max-width: 18ch; }
.mv-page-head p:not(.mv-eyebrow) { color: rgb(255 255 255 / 70%); max-width: 46rem; margin-inline: auto; font-size: var(--wp--preset--font-size--large); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.mv-footer { background: #0b1220; color: rgb(255 255 255 / 62%); padding-block: 4.5rem 2rem; font-size: .95rem; }
.mv-footer__inner { width: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2rem)); margin: 0 auto; }
.mv-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.mv-footer .mv-footer__title { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1rem; }
.mv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.mv-footer a { color: rgb(255 255 255 / 70%); text-decoration: none; }
.mv-footer a:hover { color: #fff; }
.mv-footer__tag { margin-top: 1rem; max-width: 22rem; }
.mv-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 8%); font-size: .85rem; color: rgb(255 255 255 / 45%); }
.mv-footer__tagline { letter-spacing: .3em; text-transform: uppercase; font-family: var(--wp--preset--font-family--heading); }
@media (max-width: 800px) { .mv-footer__grid { grid-template-columns: 1fr 1fr; } .mv-footer__grid > :first-child { grid-column: 1 / -1; } }

/* ── Motion: reveal on scroll (respects reduced motion) ────────────────── */
.mv-js :is(.mv-reveal, .mv-reveal-group > *) { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--mv-delay, 0s); }
.mv-js :is(.mv-reveal, .mv-reveal-group > *).is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mv-js :is(.mv-reveal, .mv-reveal-group > *) { opacity: 1; transform: none; transition: none; }
  .mv-scroll-cue::after { animation: none; }
  .mv-orb { transform: none !important; }
}

/* Editor: no fixed header or hidden reveal states inside the block editor. */
.editor-styles-wrapper :is(.mv-reveal, .mv-reveal-group > *) { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .mv-hero { min-height: 640px; }

/* Two phones side by side in the product tour */
.mv-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 520px; margin-inline: auto; }
.mv-phones .mv-phone:nth-child(2) { transform: translateY(2.5rem); }

/* Readable links on dark sections; card icons line up with the text. */
.mv-section--dark a:not(.wp-block-button__link):not(.mv-btn) { color: var(--mv-energy); }
.mv-section--dark a:not(.wp-block-button__link):not(.mv-btn):hover { color: #fff; }
.mv-card .mv-icon { margin: 0 0 1.25rem; }
/* Full-width sections that aren't "constrained" need their own side padding. */
.mv-hero, .mv-page-head { padding-inline: clamp(1rem, 4vw, 2rem) !important; }
@media (max-width: 900px) { .mv-hero__devices .mv-phone { left: 0; width: 34%; } }

/* Three phones in a row (booking app page) */
.mv-phone-row { width: min(1100px, 100% - 2rem); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: start; }
.mv-phone-row .mv-phone:nth-child(2) { transform: translateY(2.5rem); }
@media (max-width: 700px) { .mv-phone-row { grid-template-columns: 1fr 1fr; } .mv-phone-row .mv-phone:nth-child(3) { display: none; } }
.mv-section--surface + .mv-section--surface { padding-top: 0; }

/* Book a demo: form + aside */
.mv-demo { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.mv-demo > * { margin-block: 0 !important; }
.mv-demo__form { background: #fff; border: 1px solid var(--mv-border); border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--mv-shadow); }
.mv-demo__aside { padding-top: 1rem; }
@media (max-width: 860px) { .mv-demo { grid-template-columns: 1fr; } }
/* Contact Form 7 in the brand */
.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.wpcf7 form > p, .wpcf7 .mv-full { margin: 0; }
.wpcf7 .mv-full, .wpcf7 form > .wpcf7-response-output { grid-column: 1 / -1; }
.wpcf7 label { display: block; font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--slate); }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]), .wpcf7 textarea, .wpcf7 select {
  width: 100%; margin-top: .4rem; padding: .8rem .95rem; border: 1px solid var(--mv-border); border-radius: 12px; font: inherit; color: var(--mv-ink); background: #fff;
}
.wpcf7 textarea { min-height: 7rem; resize: vertical; }
.wpcf7 :is(input, textarea, select):focus { outline: 3px solid rgb(124 58 237 / 25%); border-color: var(--mv-brand); }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; }
.wpcf7 input[type="submit"] { border: 0; cursor: pointer; font-size: 1rem; }
@media (max-width: 600px) { .wpcf7 form { grid-template-columns: 1fr; } }
/* About story */
.mv-story > * { margin-block: 0 !important; }
.mv-story h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.75rem !important; margin-bottom: .9rem !important; }
.mv-story h2:first-child { margin-top: 0 !important; }
.mv-story p { font-size: 1.125rem; line-height: 1.75; color: var(--mv-ink); margin-bottom: 1.1rem !important; }
.mv-story h2 + p::first-letter { font-weight: 700; }
.mv-story__sign { margin-top: 2.5rem !important; padding-top: 1.5rem; border-top: 4px solid transparent; border-image: var(--wp--preset--gradient--brand) 1; font-weight: 700; }
.mv-story__sign span { font-weight: 400; font-size: .95rem; color: var(--mv-muted); }
/* Legal pages */
.mv-legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }

/* Keyboard focus: always visible */
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--mv-brand); outline-offset: 3px; border-radius: 6px; }
:where(.mv-hero, .mv-page-head, .mv-section--dark, .mv-header, .mv-footer) :where(a, button, summary):focus-visible { outline-color: var(--mv-energy); }

.mv-pricing__note { max-width: 760px; margin: 2rem auto 0; text-align: center; font-size: .9rem; color: var(--mv-muted); }
