/* Leya Production — the site's look: the brand's black with its blue and
   cyan squares, each app in its own icon's color, Inter throughout. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ground: #0a0a0b;
  --raised: #131416;
  --sheet: #0f1012;
  --line: #24262a;
  --ink: #f1f3f4;
  --soft: #a3a9af;
  --faint: #6c737a;
  --link: #4fd8e8;
  --leya-cyan: #00ffff;
  --leya-blue: #006cc3;
  --mimosa: #6bbf59;
  --lotus: #6b80ff;
  --trellis: #f0893f;
  --band: #0a0a0b;
  --band-ink: #f1f3f4;
  --band-soft: #a3a9af;
  --radius: 22px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --ground: #f4f6f7;
    --raised: #ffffff;
    --sheet: #ffffff;
    --line: #e1e5e8;
    --ink: #0b0b0c;
    --soft: #4f575e;
    --faint: #7c848b;
    --link: #006cc3;
    --mimosa: #3e8a31;
    --lotus: #2438c9;
    --trellis: #c9651c;
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--leya-cyan); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }

/* ---- The mark: a blue square and three cyan ones on a 3×3 grid ---- */
.mark { display: grid; grid-template-columns: repeat(3, var(--cell)); grid-template-rows: repeat(3, var(--cell)); --cell: 8px; }
.mark i { display: block; }
.mark i:nth-child(1) { background: var(--leya-blue); }
.mark i:nth-child(5), .mark i:nth-child(7), .mark i:nth-child(9) { background: var(--leya-cyan); }

/* ---- Header ---- */
.top { background: var(--band); color: var(--band-ink); border-bottom: 1px solid #1d1f22; }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--band-ink); }
.brand:hover { text-decoration: none; }
.brand .word { font-size: 12.5px; font-weight: 800; letter-spacing: .2em; line-height: 1.15; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--band-soft); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--band-ink); text-decoration: none; }
.lang { display: flex; border: 1px solid #2c2f33; border-radius: 999px; padding: 2px; }
.lang a { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; letter-spacing: .06em; color: var(--band-soft); }
.lang a[aria-current="true"] { background: #1f2226; color: var(--band-ink); }
@media (max-width: 760px) {
  .nav .app-link { display: none; }
  .top .wrap { gap: 14px; }
}

/* ---- Home hero ---- */
.hero { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(#1c1f22 1px, transparent 1px);
  background-size: 22px 22px; opacity: .9; pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 96px 0 104px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: 1.02; font-weight: 820; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--leya-cyan); }
.hero p.lead { margin-top: 26px; max-width: 34em; font-size: 19px; color: var(--band-soft); }
.hero .grow { justify-self: center; --cell: clamp(46px, 7vw, 92px); }
.grow i { opacity: 0; transform: scale(.6); animation: pop .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.grow i:nth-child(1) { animation-delay: .15s; }
.grow i:nth-child(5) { animation-delay: .45s; }
.grow i:nth-child(7) { animation-delay: .75s; }
.grow i:nth-child(9) { animation-delay: .95s; }
.grow i:not(:nth-child(1)):not(:nth-child(5)):not(:nth-child(7)):not(:nth-child(9)) { animation: none; opacity: 1; transform: none; }
@keyframes pop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .grow i { animation: none; opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 64px 0 72px; gap: 40px; }
  .hero .grow { justify-self: start; --cell: 44px; }
}

/* ---- Sections ---- */
section.block { padding: 88px 0; }
section.block + section.block { padding-top: 0; }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 40em; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 780; letter-spacing: -.025em; }
.head p { color: var(--soft); font-size: 18px; }

/* The apps, as tiles in their icons' own black. */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app {
  --accent: var(--ink);
  display: flex; flex-direction: column; gap: 18px; padding: 26px;
  background: #0b0b0c; color: #f1f3f4; border-radius: var(--radius);
  border: 1px solid #1f2124; transition: transform .25s ease, border-color .25s ease;
}
.app:hover { text-decoration: none; transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, #1f2124); }
.app img { width: 76px; height: 76px; border-radius: 18px; }
.app h3 { font-size: 28px; font-weight: 780; letter-spacing: -.02em; }
.app .tag { font-size: 18px; font-weight: 600; color: var(--accent); line-height: 1.35; }
.app .what { color: #a3a9af; font-size: 15.5px; flex: 1; }
.app .go { font-size: 14px; font-weight: 650; color: #f1f3f4; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #1f2124; padding-top: 16px; }
.app .go span:last-child { color: var(--accent); }
.app.mimosa { --accent: #7fd06c; }
.app.lotus { --accent: #8494ff; }
.app.trellis { --accent: #f3964f; }
@media (max-width: 900px) { .apps { grid-template-columns: 1fr; } }

/* What holds for every app. */
.truths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.truth { background: var(--raised); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.truth h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.truth p { color: var(--soft); font-size: 15.5px; }
.truth .sq { width: 12px; height: 12px; background: var(--leya-blue); }
.truth:nth-child(2) .sq { background: var(--leya-cyan); }
.truth:nth-child(3) .sq { background: linear-gradient(90deg, var(--leya-blue), var(--leya-cyan)); }
@media (max-width: 860px) { .truths { grid-template-columns: 1fr; } }

.soon {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 36px; border-radius: var(--radius); background: var(--band); color: var(--band-ink);
  border: 1px solid #1f2124;
}
.soon h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.soon p { color: var(--band-soft); margin-top: 8px; max-width: 46em; }
.soon .mark { --cell: 18px; }
@media (max-width: 640px) { .soon { grid-template-columns: 1fr; padding: 28px; } }

/* ---- App pages ---- */
.app-hero { background: var(--band); color: var(--band-ink); }
.app-hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 72px 0 80px; }
.app-hero img { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.app-hero h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 820; letter-spacing: -.035em; line-height: 1; }
.app-hero .tag { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin-top: 12px; color: var(--accent); }
.app-hero .plat { margin-top: 10px; color: var(--band-soft); font-size: 15px; }
.app-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 700px) { .app-hero .wrap { grid-template-columns: 1fr; gap: 24px; padding: 52px 0 60px; } .app-hero img { width: 104px; height: 104px; border-radius: 24px; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn.primary { background: #f1f3f4; color: #0b0b0c; }
.btn.primary:hover { background: #ffffff; }
.btn.ghost { border-color: #2c2f33; color: #a3a9af; cursor: default; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 20px; font-weight: 720; letter-spacing: -.015em; }
.feature h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-right: 12px; vertical-align: 2px; }
.feature p { color: var(--soft); font-size: 16px; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.links { display: flex; flex-wrap: wrap; gap: 12px; }
.links a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 15px; background: var(--raised); }
.links a:hover { text-decoration: none; border-color: var(--soft); }

/* ---- Documents: support, privacy, terms ---- */
.doc-head { background: var(--band); color: var(--band-ink); }
.doc-head .wrap { padding: 56px 0 48px; display: flex; flex-direction: column; gap: 12px; }
.doc-head h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.doc-head .meta { color: var(--band-soft); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.doc-head .meta code { font: 500 12.5px/1.6 var(--mono); color: #7f8a93; word-break: break-all; }
.doc { padding: 56px 0 96px; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h1 { display: none; }
.prose h2 { font-size: 23px; font-weight: 740; letter-spacing: -.015em; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 18px; font-weight: 700; margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--ink) 88%, var(--soft)); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); font-weight: 680; }
.prose .table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 650; background: var(--raised); }
.prose > p:first-of-type.version { color: var(--faint); font-size: 15px; }

.contact { background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; max-width: 70ch; }
.contact a.mail { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.contact p { color: var(--soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; max-width: 920px; }
.cards a { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); color: var(--ink); font-weight: 650; }
.cards a:hover { text-decoration: none; border-color: var(--soft); }
.cards img { width: 44px; height: 44px; border-radius: 11px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--soft); font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 650; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--soft); }
.foot a:hover { color: var(--ink); }
.foot .who { display: flex; flex-direction: column; gap: 14px; }
.foot .who .brand { color: var(--ink); }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--faint); font-size: 13.5px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .who { grid-column: 1 / -1; } }

/* ---- mimosa's page, the Apple way: light, the product as the hero ---- */

.mp {
  --mp-bg: #fbfbfd;
  --mp-tint: #f5f5f7;
  --mp-ink: #1d1d1f;
  --mp-soft: #6e6e73;
  --mp-line: #d2d2d7;
  --mp-leaf: #2f7d32;
  --mp-amber: #b8730f;
  --mp-blue: #0071e3;
  background: var(--mp-bg);
  color: var(--mp-ink);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", var(--sans);
  -webkit-font-smoothing: antialiased;
}
.mp-wrap { width: min(1040px, 100% - 44px); margin-inline: auto; }
.mp-narrow { width: min(760px, 100% - 44px); }
.mp-center { text-align: center; display: grid; justify-items: center; }
.mp h1 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin-top: 18px; text-wrap: balance; }
.mp h2 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.mp-h2-left { text-align: left; justify-self: start; }
.mp h3 { font-size: 21px; font-weight: 650; letter-spacing: -.012em; line-height: 1.2; }
.mp-h3-big { font-size: clamp(28px, 3.4vw, 40px) !important; font-weight: 700 !important; letter-spacing: -.025em !important; }
.mp p, .mp dd { color: var(--mp-soft); }
.mp-lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.38; max-width: 40ch; margin-top: 18px; font-weight: 500; text-wrap: balance; }
.mp-lead-left { text-align: left; }
.mp-eyebrow { font-size: 17px; font-weight: 650; color: var(--mp-leaf); margin-bottom: 10px; }
.mp-amber { color: var(--mp-amber); }
.mp-small { font-size: 14px; margin-top: 14px; }

.mp-cta { display: flex; gap: 14px; justify-content: center; margin-top: 28px; }
.mp-btn { display: inline-block; padding: 13px 24px; border-radius: 999px; background: var(--mp-blue); color: #fff !important; font-size: 17px; font-weight: 500; text-decoration: none !important; transition: background .2s; }
.mp-btn:hover { background: #0077ed; }
.mp-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--mp-blue) 40%, transparent); outline-offset: 3px; }
.mp-offer { margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: #fdf1f8; color: #8c2d63 !important; font-size: 15px; }
.mp-offer strong { color: #b0306f; font-weight: 650; }

.mp-hero { padding: 72px 0 0; overflow: hidden; }
.mp-appicon { border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.mp-hero-stage { width: min(820px, 100% - 44px); margin: 64px auto 0; }
.mp-device-hero { margin-bottom: -18%; }

.mp-device { margin: 0; padding: 2.2%; border-radius: clamp(18px, 4.5%, 38px); background: #1d1d1f; box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 30px 60px -20px rgba(0, 0, 0, .35); }
.mp-device img { display: block; width: 100%; height: auto; border-radius: clamp(10px, 2.6%, 26px); }
.mp-photo { display: block; width: 100%; height: auto; border-radius: 28px; }

.mp-section { padding: 120px 0; }
.mp-tint { background: var(--mp-tint); }
.mp-dark { background: #000; }
.mp-dark h2, .mp-dark h3 { color: #f5f5f7; }
.mp-dark p { color: #a1a1a6; }
.mp-dark .mp-eyebrow { color: #8bc470; }

.mp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 78vw); gap: 22px; overflow-x: auto; padding: 40px max(22px, calc((100% - 1040px) / 2)) 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mp-rail::-webkit-scrollbar { display: none; }
.mp-hcard { scroll-snap-align: start; background: #fff; border-radius: 28px; padding: 26px 26px 30px; display: grid; gap: 22px; align-content: start; text-decoration: none !important; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); transition: transform .3s; }
.mp-hcard:hover { transform: scale(1.015); }
.mp-hcard p { color: var(--mp-ink); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

.mp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; }
.mp-card h3 { margin-top: 26px; }
.mp-card p { margin-top: 8px; font-size: 17px; line-height: 1.45; }
.mp-trio .mp-card { text-align: center; }

.mp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 72px; }
.mp-split:first-child { margin-top: 0; }
.mp-flip .mp-split-media { order: 2; }
.mp-list { display: grid; gap: 22px; margin-top: 36px; }
.mp-list dt { font-size: 19px; font-weight: 650; }
.mp-list dd { margin: 4px 0 0; font-size: 17px; line-height: 1.45; }

.mp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.mp-tile { background: #fff; border-radius: 28px; padding: 30px; }
.mp-tile-shot { grid-row: span 2; }
.mp-tile .mp-device { margin-bottom: 24px; }
.mp-tile p { margin-top: 6px; font-size: 17px; line-height: 1.45; }

.mp-table { overflow-x: auto; margin-top: 56px; border-radius: 22px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.mp-table table { width: 100%; border-collapse: collapse; font-size: 17px; }
.mp-table th, .mp-table td { padding: 18px 24px; border-bottom: 1px solid #ececf0; text-align: center; }
.mp-table thead th { font-size: 19px; font-weight: 650; }
.mp-table tbody th { text-align: left; font-weight: 500; color: var(--mp-ink); }
.mp-table td { font-variant-numeric: tabular-nums; color: var(--mp-ink); font-weight: 600; width: 22%; }
.mp-table tr:last-child th, .mp-table tr:last-child td { border-bottom: 0; }
.mp-note { text-align: center; }

.mp-faq { margin-top: 36px; border-top: 1px solid var(--mp-line); }
.mp-faq details { border-bottom: 1px solid var(--mp-line); padding: 22px 0; }
.mp-faq summary { cursor: pointer; font-size: 21px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary::after { content: "+"; color: var(--mp-blue); font-weight: 400; font-size: 26px; line-height: 1; transition: transform .25s; }
.mp-faq details[open] summary::after { transform: rotate(45deg); }
.mp-faq p { margin-top: 12px; font-size: 17px; line-height: 1.5; }

.mp-end .mp-appicon { margin-bottom: 18px; }
.mp-others { display: flex; gap: 14px; margin-top: 48px; }
.mp-others a { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--mp-tint); color: var(--mp-ink); text-decoration: none; font-weight: 600; }
.mp-others img { width: 36px; height: 36px; border-radius: 9px; }
.mp-end .links { margin-top: 28px; justify-content: center; }
.mp-end .links a { color: var(--mp-blue); }

@media (max-width: 860px) {
  .mp-section { padding: 84px 0; }
  .mp-grid3, .mp-split, .mp-bento { grid-template-columns: 1fr; gap: 40px; }
  .mp-flip .mp-split-media { order: 0; }
  .mp-tile-shot { grid-row: auto; }
  .mp-table table { font-size: 15px; }
  .mp-table th, .mp-table td { padding: 14px 12px; }
  .mp-table td { width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .mp-hcard, .mp-faq summary::after { transition: none; }
}

/* Stages: one device, its screen changing; reveal on scroll. */
.mp-stage { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 36px; margin-top: 56px; }
.mp-screen { position: relative; display: grid; }
.mp-screen .mp-slide { grid-area: 1 / 1; width: 100%; height: auto; opacity: 0; transform: scale(.985); transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.mp-screen .mp-slide.is-on { opacity: 1; transform: none; }
.mp-stage-device .mp-screen { width: min(100%, calc(66vh * .75), 560px); padding: 1.6%; border-radius: clamp(18px, 5%, 36px); background: #1d1d1f; box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 30px 60px -20px rgba(0, 0, 0, .35); }
.mp-stage-device .mp-slide { border-radius: clamp(10px, 3.4%, 24px); }
.mp-stage-panel .mp-screen { display: block; width: min(100%, 860px); aspect-ratio: 4 / 3; border-radius: 30px; background: #0d0d0f; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .35); overflow: hidden; }
.mp-stage-panel .mp-slide { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.mp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; max-width: 900px; }
.mp-tab { flex: 1 1 200px; max-width: 290px; display: grid; gap: 6px; text-align: left; padding: 16px 18px; border: 0; border-radius: 18px; background: transparent; color: var(--mp-soft); font: inherit; cursor: pointer; transition: background .25s, color .25s; }
.mp-tab:hover { background: rgba(0, 0, 0, .04); }
.mp-tab.is-on { background: #fff; color: var(--mp-ink); box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.mp-tab:focus-visible { outline: 3px solid color-mix(in srgb, var(--mp-blue) 40%, transparent); outline-offset: 2px; }
.mp-tab-title { font-size: 17px; font-weight: 650; }
.mp-tab-text { font-size: 15px; line-height: 1.4; color: var(--mp-soft); }
.mp-tab-bar { height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .08); overflow: hidden; margin-top: 6px; }
.mp-tab-bar i { display: block; height: 100%; width: 0; background: var(--mp-ink); }
.mp-tab:not(.is-on) .mp-tab-bar i { width: 0 !important; }
.mp-dark .mp-tab { color: #a1a1a6; }
.mp-dark .mp-tab:hover { background: rgba(255, 255, 255, .06); }
.mp-dark .mp-tab.is-on { background: #1d1d1f; color: #f5f5f7; box-shadow: none; }
.mp-dark .mp-tab-bar { background: rgba(255, 255, 255, .14); }
.mp-dark .mp-tab-bar i { background: #f5f5f7; }
.mp-dark .mp-tab { flex-basis: 120px; text-align: center; justify-items: center; }

.mp-device-hero, .mp-device-side { width: min(100%, calc(70vh * .75), 600px); margin-inline: auto; }
.mp-hero-stage .mp-device-hero { margin-bottom: -12%; }
.mp-bento .mp-tile { min-height: 150px; }

.mp-js .mp .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.mp-js .mp .rv.rv-rise { transform: translateY(70px) scale(.97); transition-duration: 1.1s, 1.3s; }
.mp-js .mp .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mp-js .mp .rv { opacity: 1; transform: none; transition: none; }
  .mp-screen .mp-slide { transition: none; transform: none; }
}
@media (max-width: 860px) {
  .mp-tab { flex-basis: 100%; max-width: none; }
  .mp-dark .mp-tab { flex-basis: 30%; }
}
