/* ==========================================================================
   Momo Digitals
   ========================================================================== */

:root {
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --card: #ffffff;
  --ink: #0c0c0d;
  --ink-2: #3b3a37;
  --muted: #84817a;
  --line: rgba(12, 12, 13, 0.08);
  --line-2: rgba(12, 12, 13, 0.14);
  --brand: #3065e5;

  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow-sm: 0 1px 2px rgba(12, 12, 13, 0.05);
  --shadow-md: 0 2px 4px rgba(12, 12, 13, 0.03), 0 14px 32px -14px rgba(12, 12, 13, 0.16);
  --shadow-lg: 0 4px 8px rgba(12, 12, 13, 0.03), 0 40px 80px -32px rgba(12, 12, 13, 0.28);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after { /* film grain */
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
h1 em, h2 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(88px, 12vw, 160px) 0; position: relative; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
}
.kicker b { color: var(--brand); font-weight: 500; }
.h2 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -0.055em; line-height: 0.94; }
.h2 em { letter-spacing: -0.03em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head .kicker { grid-column: 1 / -1; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 8px 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15.5px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.2s ease;
}
.btn .arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; position: relative; }
.btn .arr svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn .arr svg + svg { position: absolute; transform: translateX(-28px); }
.btn:hover .arr svg:first-child { transform: translateX(28px); }
.btn:hover .arr svg + svg { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 24px -10px rgba(12,12,13,0.5); }
.btn-ink .arr { background: rgba(255,255,255,0.14); }
.btn-ink:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 18px 36px -14px rgba(12,12,13,0.55); }
.btn-ghost { background: rgba(255,255,255,0.6); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); padding: 0 24px; }
.btn-ghost:hover { background: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white .arr { background: var(--ink); color: #fff; }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 14.5px; }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 12px; max-width: 1120px; height: 62px; margin: 0 auto; padding: 0 8px 0 18px;
  border-radius: 999px; background: rgba(255,255,255,0.62); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: inset 0 0 0 1px rgba(12,12,13,0.06), 0 8px 24px -16px rgba(12,12,13,0.25);
  transition: max-width 0.5s var(--ease), background-color 0.3s ease;
}
.scrolled .nav { max-width: 980px; background: rgba(255,255,255,0.8); }
.logo { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.logo img { display: block; height: 17px; width: auto; }
.foot .logo img { height: 19px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { display: block; padding: 9px 15px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color 0.2s ease, color 0.2s ease; }
.nav-links a:hover { background: rgba(12,12,13,0.05); color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; place-items: center; align-content: center; margin-left: auto; }
.burger span { display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.burger span + span { margin-top: 5px; }
.nav-open .burger span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--paper); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 36px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav-open .menu { opacity: 1; visibility: visible; transform: none; }
.nav-open body, .nav-open { overflow: hidden; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu .big a { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.055em; padding: 4px 0; }
.menu .apps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.menu .apps a { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.menu .apps .ico { --s: 34px; }

@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: grid; }
}
@media (min-width: 901px) { .menu { display: none; } }

/* ---------- App icon ---------- */
.ico {
  --s: 48px;
  width: var(--s); height: var(--s); flex: none; border-radius: calc(var(--s) * 0.23); overflow: hidden;
  display: grid; place-items: center; position: relative; background: #fff;
  box-shadow: 0 0 0 1px rgba(12,12,13,0.06), 0 calc(var(--s) * 0.2) calc(var(--s) * 0.4) calc(var(--s) * -0.24) var(--c);
}
.ico img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(132px, 16vw, 188px) 0 0; text-align: center; isolation: isolate; overflow: clip; }
.aurora { position: absolute; inset: 0 0 auto; height: 1000px; z-index: -2; pointer-events: none; }
.aurora i { position: absolute; width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; border-radius: 50%; filter: blur(100px); opacity: 0.3; animation: drift 24s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #12b76a; left: -10%; top: 0; }
.aurora i:nth-child(2) { background: #7a5af8; right: -8%; top: -10%; animation-delay: -6s; opacity: 0.26; }
.aurora i:nth-child(3) { background: var(--brand); left: 6%; top: 52%; animation-delay: -12s; opacity: 0.14; }
.aurora i:nth-child(4) { background: #ee46bc; right: 2%; top: 48%; animation-delay: -18s; opacity: 0.14; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, 8%) scale(1.12); } 100% { transform: translate(-6%, -4%) scale(0.94); } }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; background-position: center top;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 28%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 28%, #000 20%, transparent 72%);
}
.badge-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,0.7); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: transform 0.3s var(--ease);
}
.badge-pill:hover { transform: translateY(-1px); }
.badge-pill b { font: 600 11px/1 var(--mono); letter-spacing: 0.06em; padding: 6px 9px; border-radius: 999px; background: var(--ink); color: #fff; }
.hero h1 { font-size: clamp(56px, 10.4vw, 160px); letter-spacing: -0.065em; line-height: 0.88; margin: 28px auto 0; }
.hero h1 .l1 { display: block; }
.rot { display: inline-block; position: relative; vertical-align: top; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; font-size: 1.16em; line-height: 0.98; padding-bottom: 0.06em; transition: width 0.7s var(--ease); }
.rot .w { display: inline-block; white-space: nowrap; color: var(--wc); padding: 0 0.06em; }
.rot .w:not(:first-child) { display: none; }
.js .rot .w { display: inline-block; position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(40%) rotate(5deg); filter: blur(12px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s var(--ease); }
.js .rot .w.on { position: relative; opacity: 1; transform: none; filter: none; }
.js .rot .w.out { opacity: 0; transform: translateY(-40%) rotate(-4deg); filter: blur(12px); }
.hero .lede { max-width: 640px; margin: 32px auto 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

/* Dock */
.dock-row { margin-top: clamp(56px, 7vw, 88px); display: flex; justify-content: center; }
.dock {
  display: flex; align-items: flex-end; gap: 10px; height: 84px; padding: 11px 12px;
  border-radius: 30px; background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.85), 0 1px 0 rgba(12,12,13,0.04), var(--shadow-lg);
}
.dock a { --m: 1; position: relative; display: block; width: 62px; height: 62px; flex: none; margin: 0 calc((var(--m) - 1) * 31px); transition: margin 0.18s var(--ease); }
.dock a .ico { --s: 62px; transform: scale(var(--m)); transform-origin: 50% 100%; transition: transform 0.18s var(--ease); }
.dock a .tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px + (var(--m) - 1) * 62px); transform: translate(-50%, 6px);
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 9px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s var(--ease), bottom 0.18s var(--ease);
}
.dock a:hover .tip, .dock a:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.dock a::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); opacity: 0.3; }

.facts-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 44px auto 0; padding-bottom: clamp(72px, 9vw, 120px);
  font: 500 13.5px/1.4 var(--mono); color: var(--muted); letter-spacing: 0.01em;
}
.facts-row b { color: var(--ink); font-weight: 600; font-family: var(--sans); font-size: 15px; margin-right: 4px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track > div { display: flex; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
.marquee span::after { content: ''; width: 6px; height: 6px; transform: rotate(45deg); background: var(--brand); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Showcase deck ---------- */
.index { display: flex; flex-wrap: wrap; gap: 8px; }
.index a {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.index a .ico { --s: 26px; border-radius: 8px; box-shadow: none; }
.index a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-md); }

.deck { display: grid; gap: 32px; }
.slide {
  --i: 0;
  display: grid; grid-template-columns: 1fr 1.12fr; min-height: 620px;
  background: var(--card); border-radius: 40px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
  transform-origin: 50% 0; transform: scale(var(--sc, 1));
  scroll-margin-top: 100px;
}
@media (min-width: 1000px) and (min-height: 760px) {
  .slide { position: sticky; top: calc(96px + var(--i) * 12px); height: min(680px, calc(100vh - 128px - var(--i) * 12px)); min-height: 0; }
  .deck { gap: 12vh; }
}
.slide-info { padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.slide-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.slide-top .ico { --s: 58px; }
.slide-num { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.slide-num b { color: var(--ink); font-weight: 500; }
.slide-kind { margin-top: auto; padding-top: 28px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in oklab, var(--c) 80%, #000); }
.slide h3 { font-size: clamp(36px, calc(168cqi / var(--len, 8)), 76px); letter-spacing: -0.06em; margin-top: 14px; white-space: nowrap; }
.slide h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.slide .tag { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); margin-top: 16px; max-width: 460px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before {
  content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: color-mix(in oklab, var(--c) 18%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230c0c0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.3 2.6 2.6L14 7.5'/%3E%3C/svg%3E") center/100% no-repeat;
}
.slide-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.slide-foot .meta { font-size: 13.5px; color: var(--muted); margin-right: auto; display: flex; flex-direction: column; gap: 2px; }
.slide-foot .meta b { color: var(--ink); font-size: 16px; font-weight: 600; }
.stars { color: #f5a524; letter-spacing: 1px; }
.slide-foot .links { display: flex; gap: 8px; }
.link-ext { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color 0.2s ease; }
.link-ext:hover { background: var(--paper); }
.link-ext svg { width: 14px; height: 14px; }

/* Stage: colored panel that holds a mockup */
.stage {
  position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); overflow: hidden; isolation: isolate; min-height: 460px;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in oklab, var(--c) 50%, #fff) 0%, transparent 55%),
    radial-gradient(100% 100% at 100% 100%, color-mix(in oklab, var(--c) 75%, #000) 0%, transparent 60%),
    var(--c);
}
.stage::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,0.34) 1px, transparent 1.3px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 70%);
}
.stage::after { content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); z-index: -1; }
.slide .stage { margin: 10px 10px 10px 0; border-radius: 32px; }

/* ---------- Ecosystem ---------- */
.eco { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.goals { display: grid; gap: 4px; }
.goal {
  display: flex; align-items: center; gap: 18px; width: 100%; padding: 20px 22px; border: 0; border-radius: 22px; cursor: pointer; text-align: left;
  background: transparent; color: var(--muted); font: 600 clamp(19px, 1.7vw, 23px)/1.2 var(--sans); letter-spacing: -0.035em;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.goal small { font: 500 12px/1 var(--mono); letter-spacing: 0.04em; color: var(--muted); }
.goal:hover { color: var(--ink); }
.goal[aria-selected='true'] { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.goal[aria-selected='true'] small { color: var(--brand); }
.goal .go { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s ease, transform 0.3s var(--ease); }
.goal .go svg { width: 14px; height: 14px; }
.goal[aria-selected='true'] .go { opacity: 1; transform: none; }

.board { background: var(--card); border-radius: 36px; padding: clamp(20px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); position: sticky; top: 110px; }
.board-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; padding-bottom: 26px; border-bottom: 1px dashed var(--line-2); }
.board-grid a { display: grid; justify-items: center; gap: 10px; font-size: 10.5px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; transition: opacity 0.4s ease, filter 0.4s ease, transform 0.5s var(--ease); }
.board-grid a .ico { --s: min(50px, 9vw); transition: box-shadow 0.4s ease; }
.board-grid a.dim { opacity: 0.3; filter: grayscale(1); transform: scale(0.88); }
.board-grid a.lit { color: var(--ink); transform: translateY(-4px); }
.board-grid a.lit .ico { box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 0 0 3px #fff, 0 0 0 5px var(--c), 0 14px 24px -10px var(--c); }
.board-panel { padding-top: 26px; }
.board-panel[hidden] { display: none; }
.board-panel h3 { font-size: 26px; letter-spacing: -0.04em; }
.board-panel ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: s; }
.board-panel li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 14px; margin: 0 -14px; border-radius: 18px; transition: background-color 0.2s ease; }
.board-panel li:hover { background: var(--paper); }
.board-panel li .ico { --s: 44px; grid-row: span 2; }
.board-panel li a { font-weight: 650; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.board-panel li a::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 500 11.5px/1 var(--mono); color: var(--muted); }
.board-panel li p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.board-panel.show { animation: rise 0.5s var(--ease) both; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell { background: var(--card); border-radius: 32px; padding: clamp(24px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 320px; overflow: hidden; position: relative; }
.cell.w2 { grid-column: span 2; }
.cell h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.045em; margin-top: auto; }
.cell p { color: var(--ink-2); font-size: 16px; max-width: 460px; }
.cell .num { font: 500 12px/1 var(--mono); color: var(--muted); }
.cell .huge { font-size: clamp(96px, 11vw, 160px); font-weight: 600; letter-spacing: -0.08em; line-height: 0.8; margin-top: 18px; }
.cell .huge em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--brand); letter-spacing: -0.04em; }
.rails { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rails span { font: 500 12.5px/1 var(--mono); padding: 10px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cell.dark { background: var(--ink); color: #fff; box-shadow: none; }
.cell.dark p { color: rgba(255,255,255,0.7); }
.cell.dark .num { color: rgba(255,255,255,0.5); }
.cell.tint { background: linear-gradient(160deg, color-mix(in oklab, var(--brand) 5%, #fff), color-mix(in oklab, var(--brand) 15%, #fff)); }
.chatlet { display: grid; gap: 8px; margin-top: 8px; max-width: 460px; }
.chatlet span { font-size: 14px; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,0.1); width: fit-content; max-width: 90%; line-height: 1.45; }
.chatlet span.me { background: var(--brand); justify-self: end; border-radius: 16px 16px 4px 16px; }
.chatlet small { display: block; font: 500 11px/1.4 var(--mono); opacity: 0.65; margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq .h2 { font-size: clamp(44px, 5.6vw, 80px); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.025em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; transition: transform 0.4s var(--ease), background-color 0.2s ease; }
.faq-list summary i::before, .faq-list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; background: var(--ink); border-radius: 2px; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { transform: rotate(135deg); background: var(--ink); }
.faq-list details[open] summary i::before, .faq-list details[open] summary i::after { background: #fff; }
.faq-list details p { color: var(--ink-2); padding: 0 56px 26px 0; }
.faq-list details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq-list details[open]::details-content { height: auto; }

/* ---------- Finale ---------- */
.finale {
  position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(28px, 4vw, 48px);
  background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 150px) var(--gutter); text-align: center;
}
.finale .aurora { height: 100%; z-index: -1; }
.finale .aurora i { opacity: 0.45; filter: blur(110px); }
.finale .kicker { color: rgba(255,255,255,0.55); }
.finale h2 { font-size: clamp(52px, 9vw, 136px); letter-spacing: -0.065em; line-height: 0.9; margin: 24px auto 0; max-width: 1000px; }
.finale h2 em { color: color-mix(in oklab, var(--brand) 55%, #fff); }
.finale p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 26px auto 0; font-size: 19px; }
.finale .ctas { margin-top: 40px; }
.finale .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.finale .btn-ghost:hover { background: rgba(255,255,255,0.14); }
.orbit { position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); z-index: -1; animation: spin 90s linear infinite; pointer-events: none; }
.orbit .ico { --s: 46px; position: absolute; left: 50%; top: 50%; margin: -23px 0 0 -23px; transform: rotate(var(--a)) translateY(-550px) rotate(calc(var(--a) * -1)); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.foot { padding: 80px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 0.8fr; gap: 40px; }
.foot h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: color 0.2s ease; }
.foot ul a:hover { color: var(--ink); }
.foot ul a i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.foot-about p { color: var(--ink-2); font-size: 15px; max-width: 320px; margin-top: 18px; }
.foot-about address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 18px; }
.foot-about address a { color: var(--ink); font-weight: 600; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.mega {
  width: min(calc(100% - 2 * var(--gutter)), 1160px); aspect-ratio: 468.7 / 103.3; margin: 56px auto 0; transform: translateY(14%);
  background: linear-gradient(90deg, #12b76a, #2e90fa 22%, #7a5af8 40%, #ee46bc 58%, #f04438 76%, #f79009);
  -webkit-mask: url(/brand/momo.svg) center / contain no-repeat; mask: url(/brand/momo.svg) center / contain no-repeat;
  opacity: 0.9;
}
.foot { position: relative; }
.foot::after { content: ''; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }

/* ---------- Product page ---------- */
.p-hero { padding: clamp(120px, 13vw, 156px) 0 clamp(64px, 8vw, 104px); position: relative; isolation: isolate; overflow: clip; }
.p-hero .aurora i { background: var(--c); }
.p-hero .aurora i:nth-child(n + 3) { display: none; }
.p-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font: 500 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.crumbs a:hover { color: var(--ink); }
.p-id { display: flex; align-items: center; gap: 14px; }
.p-id .ico { --s: 64px; }
.p-id b { display: block; font-size: 24px; letter-spacing: -0.04em; line-height: 1.1; }
.p-id span { font: 500 12.5px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.p-hero h1 { font-size: clamp(40px, 4.4vw, 66px); letter-spacing: -0.06em; line-height: 0.95; margin-top: 32px; }
.p-hero .lede { margin-top: 24px; max-width: 580px; }
.p-hero .ctas { justify-content: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.chips div { padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,0.7); box-shadow: inset 0 0 0 1px var(--line); }
.chips dt { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.chips dd { margin: 6px 0 0; font-weight: 600; font-size: 15px; }
.p-stage { border-radius: 40px; min-height: 600px; box-shadow: var(--shadow-lg); }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--card); border-radius: 28px; padding: 30px; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.feat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.feat .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 600 13px/1 var(--mono); background: color-mix(in oklab, var(--c) 15%, #fff); color: color-mix(in oklab, var(--c) 70%, #000); }
.feat h3 { font-size: 22px; letter-spacing: -0.035em; margin: 22px 0 10px; line-height: 1.15; }
.feat p { color: var(--ink-2); font-size: 15.5px; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fit .big { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.04em; line-height: 1.2; font-weight: 500; margin-top: 20px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.plan { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.plan small { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.plan b { display: block; font-size: 30px; letter-spacing: -0.05em; margin: 12px 0 8px; }
.plan p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.plan:first-child { background: var(--ink); color: #fff; box-shadow: none; }
.plan:first-child small, .plan:first-child p { color: rgba(255,255,255,0.65); }
.note { font: 500 12px/1.5 var(--mono); color: var(--muted); margin-top: 16px; }

.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.mini:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.mini b { font-size: 20px; letter-spacing: -0.04em; display: block; margin-bottom: 4px; }
.mini span { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ---------- Content pages (solutions, about, contact, legal) ---------- */
.page-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.page-head { max-width: 920px; }
.page-head .kicker { margin-bottom: 6px; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 80px); letter-spacing: -0.055em; line-height: 0.98; margin-top: 18px; }
.page-hero .lede { margin-top: 24px; max-width: 680px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.app-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.25s var(--ease); }
.app-chips a:hover { transform: translateY(-2px); }
.app-chips .ico { --s: 26px; box-shadow: none; }

.sol { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 720px; font-size: 18px; line-height: 1.72; color: var(--ink-2); }
.prose h2 { font-size: clamp(28px, 3vw, 40px); color: var(--ink); margin: 64px 0 18px; letter-spacing: -0.045em; line-height: 1.08; scroll-margin-top: 110px; }
.prose > h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose a { color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; background: var(--card); border-radius: 24px; padding: 26px 28px; box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: 'Step ' counter(st, decimal-leading-zero); font: 500 12px/1 var(--mono); color: var(--brand); text-transform: uppercase; letter-spacing: 0.05em; }
.steps h3 { font-size: clamp(20px, 1.8vw, 24px); color: var(--ink); margin: 12px 0 8px; letter-spacing: -0.035em; line-height: 1.2; }
.steps p { font-size: 16.5px; line-height: 1.65; }
.prose .step-app { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background-color 0.2s ease; }
.prose .step-app:hover { background: var(--paper-2); }
.step-app .ico { --s: 28px; box-shadow: none; }
.step-app b { color: var(--ink); }

.sol-aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.side-card { background: var(--card); border-radius: 26px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.side-card h2 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 16px; }
.side-card ul, .side-card ol { list-style: none; margin: 0; padding: 0; }
.stack-items { display: grid; gap: 2px; margin-bottom: 16px !important; }
.stack-items a { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 14px; transition: background-color 0.2s ease; }
.stack-items a:hover { background: var(--paper); }
.stack-items .ico { --s: 40px; }
.stack-items b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.stack-items small { display: block; font-size: 13px; color: var(--muted); }
.sol-aside .btn { width: 100%; }
.toc ol { display: grid; gap: 2px; counter-reset: tc; }
.toc a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.35; transition: color 0.2s ease; }
.toc a:hover { color: var(--ink); }

.sol-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sol-cards.three { grid-template-columns: repeat(3, 1fr); }
.sol-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 32px; overflow: hidden;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.sol-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 120px; background: linear-gradient(180deg, color-mix(in oklab, var(--c) 14%, transparent), transparent); pointer-events: none; }
.sol-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.sol-icons { position: relative; display: flex; gap: 8px; margin-bottom: 10px; }
.sol-icons .ico { --s: 46px; }
.sol-card .kicker { position: relative; color: color-mix(in oklab, var(--c) 75%, #000); }
.sol-card b { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.04em; line-height: 1.15; font-weight: 600; }
.sol-desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.sol-go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.sol-go svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.sol-card:hover .sol-go svg { transform: translateX(4px); }
.panel-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--brand); }
.panel-more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.panel-more:hover svg { transform: translateX(4px); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts dd a { color: var(--brand); }
.minis.three { grid-template-columns: repeat(3, 1fr); }
.feats.two { grid-template-columns: repeat(2, 1fr); }

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.contact-grid .wide { grid-column: 1 / -1; }
.side-card.big { padding: clamp(26px, 3vw, 40px); }
.side-card .mail { display: inline-block; font-size: clamp(20px, 5.4vw, 44px); font-weight: 600; letter-spacing: -0.045em; color: var(--brand); margin-bottom: 14px; overflow-wrap: anywhere; }
.side-card p { color: var(--ink-2); font-size: 16px; }
.addr { font-style: normal; font-size: 18px; line-height: 1.6; }
.support-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px !important; }
.support-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s ease; }
.support-list a:hover { background: var(--paper); }
.support-list .ico { --s: 38px; }
.support-list span { margin-right: auto; min-width: 0; text-align: left; }
.support-list b { display: block; font-size: 15px; }
.support-list small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-list svg { width: 14px; height: 14px; color: var(--muted); flex: none; }

.legal .prose { max-width: 760px; font-size: 17px; }
.legal .prose h2 { font-size: clamp(22px, 2.2vw, 28px); margin-top: 44px; }
.legal .prose .intro { font-size: 19px; color: var(--ink); padding: 20px 24px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }

@media (max-width: 999px) {
  .sol, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .sol-aside { position: static; order: -1; }
  .sol-aside .toc { display: none; }
  .sol-cards.three { grid-template-columns: 1fr 1fr; }
  .support-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .sol-cards, .sol-cards.three, .minis.three, .feats.two, .support-list { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .steps li { padding: 22px; }
}

/* ---------- 404 ---------- */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 0 60px; }
.lost h1 { font-size: clamp(120px, 22vw, 280px); letter-spacing: -0.08em; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Mockups (sample data)
   ========================================================================== */
.mock {
  width: min(100%, 440px); background: #fff; border-radius: 20px; overflow: hidden; position: relative; text-align: left;
  font: 400 13px/1.45 var(--sans); color: #18181b; letter-spacing: -0.005em;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.06), 0 40px 80px -24px rgba(0,0,0,0.45);
}
.mock b { font-weight: 600; }
.mock small { display: block; color: #8b8b92; font-size: 11.5px; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0f0f2; background: #fbfbfc; }
.mock-bar > small { margin-right: auto; }
.m-dots { display: flex; gap: 6px; margin-right: 6px; }
.m-dots i { width: 9px; height: 9px; border-radius: 50%; background: #e4e4e7; }
.m-ava { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.m-who { display: grid; margin-right: auto; line-height: 1.25; min-width: 0; }
.js .mock .seq, .js .m-et > .seq, .js .m-om > .seq { opacity: 0; transform: translateY(10px) scale(0.98); }
.play .seq, .play.seq { animation: pop 0.6s var(--ease) both; animation-delay: calc(var(--t, 0) * 0.42s + 0.2s); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Whapi */
.m-wa-body { display: grid; gap: 8px; padding: 14px; background: #efeae2; background-image: radial-gradient(rgba(0,0,0,0.035) 1px, transparent 1px); background-size: 14px 14px; }
.m-day { justify-self: center; font-size: 11px; background: #fff; padding: 3px 10px; border-radius: 8px; color: #667; box-shadow: 0 1px 1px rgba(0,0,0,0.05); }
.m-msg { background: #fff; padding: 8px 11px; border-radius: 12px 12px 12px 4px; max-width: 86%; width: fit-content; box-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.m-msg i { font-style: normal; font-size: 10.5px; color: #99a; margin-left: 10px; float: right; margin-top: 5px; }
.m-msg i em { font-style: normal; color: #53bdeb; }
.m-out { justify-self: end; background: #d9fdd3; border-radius: 12px 12px 4px 12px; }
.m-prod { display: flex; align-items: center; gap: 10px; width: 86%; }
.m-thumb { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(140deg, var(--a), var(--b)); flex: none; }
.m-prod > span:nth-child(2) { margin-right: auto; }
.m-cta { font-weight: 600; font-size: 12px; color: #fff; background: #12b76a; padding: 7px 10px; border-radius: 8px; }
.m-quick { display: flex; gap: 6px; }
.m-quick span { background: #fff; color: #128c7e; font-weight: 600; font-size: 12px; padding: 7px 12px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.m-sys { justify-self: center; display: flex; align-items: center; gap: 8px; font-size: 11.5px; background: #fff8e6; color: #7a5b0b; padding: 5px 10px; border-radius: 8px; }
.m-sys span { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18,183,106,0.2); }

/* Hot Bundles */
.m-hb { padding: 16px; display: grid; gap: 8px; }
.m-pdp { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f0f0f2; margin-bottom: 4px; }
.m-img { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(150deg, #ffe4d6, #ffc0a8); display: grid; place-items: center; flex: none; }
.m-img i { width: 18px; height: 36px; border-radius: 6px 6px 8px 8px; background: linear-gradient(#f9f3ee 0 22%, #e8875b 22%, #c9542a); box-shadow: inset -3px 0 0 rgba(0,0,0,0.08); }
.m-pdp b { font-size: 15px; display: block; }
.m-stars { color: #f5a524; font-size: 11px; }
.m-stars em { font-style: normal; color: #8b8b92; }
.m-hb-title { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.m-hb-title b { font-size: 13.5px; }
.m-hb-title span { font-size: 11px; font-weight: 600; color: #d92d20; background: #fef3f2; padding: 4px 8px; border-radius: 6px; }
.m-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #ececef; }
.m-opt > span:nth-child(2) { margin-right: auto; }
.m-radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d4d4d8; flex: none; }
.m-price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.m-price s { font-weight: 400; color: #a1a1aa; font-size: 12px; margin-left: 6px; }
.m-flag { position: absolute; top: -9px; right: 14px; font-size: 10px; font-weight: 700; color: #fff; background: #18181b; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.02em; }
.m-sel { box-shadow: inset 0 0 0 2px var(--c); background: color-mix(in oklab, var(--c) 7%, #fff); }
.m-sel .m-radio { box-shadow: inset 0 0 0 5px var(--c); }
.m-atc { margin-top: 4px; text-align: center; padding: 13px; border-radius: 12px; background: #18181b; color: #fff; font-weight: 600; }

/* ScrollTrigger */
.m-st { --p: 0; }
.m-url { flex: 1; text-align: center; font-size: 11.5px; color: #71717a; background: #f0f0f2; border-radius: 7px; padding: 4px; margin-right: 40px; }
.m-st-scene { position: relative; height: 270px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 70% at 50% 40%, #3b2a7a, #120c2b 75%); }
.m-st-scene::before { content: ''; position: absolute; bottom: 30px; width: 160px; height: 24px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,0.6), transparent 70%); }
.m-can {
  position: relative; width: 104px; height: 188px; border-radius: 22px / 14px; overflow: hidden;
  transform: rotate(calc(-8deg + var(--p) * 16deg)) translateY(calc(10px - var(--p) * 20px));
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
}
.m-can span {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, #ff7a59 0 40px, #ffd166 40px 70px, #7a5af8 70px 120px, #fff 120px 136px, #12b76a 136px 176px);
  background-size: 176px 100%; background-position: calc(var(--p) * -704px) 0;
}
.m-can::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(255,255,255,0.35) 32%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.5)); }
.m-can::before { content: ''; position: absolute; inset: 0 0 auto; height: 14px; z-index: 1; background: linear-gradient(#d4d4d8, #a1a1aa); border-radius: 22px / 14px; }
.m-st-tag { position: absolute; top: 14px; left: 14px; font: 500 11px/1 var(--mono); color: #fff; background: rgba(255,255,255,0.12); backdrop-filter: blur(6px); padding: 6px 9px; border-radius: 7px; }
.m-st-hint { position: absolute; bottom: 12px; right: 14px; font: 500 10.5px/1 var(--mono); color: rgba(255,255,255,0.6); }
.m-st-track { position: relative; height: 6px; margin: 16px 16px 0; border-radius: 6px; background: #f0f0f2; overflow: hidden; }
.m-st-track span { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--c); border-radius: 6px; }
.m-st-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 16px 16px; }
.m-st-row span { font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #f4f4f5; color: #52525b; }
.m-st-row span.on { background: var(--c); color: #fff; }

/* Scroller Pro */
.m-sort { font-size: 11.5px; color: #52525b; background: #f4f4f5; padding: 4px 8px; border-radius: 6px; }
.m-sp-view { height: 300px; overflow: hidden; padding: 0 14px; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.m-sp-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 14px; animation: feed 16s linear infinite; }
@keyframes feed { to { transform: translateY(-50%); } }
.m-tile span { display: block; aspect-ratio: 1; border-radius: 12px; background: radial-gradient(circle at 50% 60%, var(--b) 0 22%, transparent 23%), var(--a); }
.m-tile i { display: block; height: 7px; border-radius: 4px; background: #ececef; margin-top: 8px; width: 80%; }
.m-tile i.s { width: 45%; margin-top: 5px; }
.m-sp-load { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 0 16px; font-size: 12px; color: #71717a; font-weight: 500; }
.m-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #e4e4e7; border-top-color: var(--c); animation: spin 0.8s linear infinite; }
.m-sp-top { position: absolute; right: 14px; bottom: 50px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #18181b; color: #fff; font-size: 14px; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }

/* Trackinator */
.m-live { font-size: 11px; font-weight: 600; color: #12b76a; display: inline-flex; align-items: center; gap: 6px; }
.m-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #12b76a; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.m-rows { padding: 6px 8px; }
.m-row { display: grid; grid-template-columns: 50px 1fr auto 92px; gap: 10px; align-items: center; padding: 10px 8px; border-bottom: 1px solid #f4f4f5; }
.m-row:last-child { border-bottom: 0; }
.m-id { font: 500 11.5px/1 var(--mono); color: #71717a; }
.m-cust { font-weight: 600; font-size: 12.5px; line-height: 1.25; }
.m-amt { font: 500 12px/1 var(--mono); }
.m-st { justify-self: end; font-size: 10px; font-weight: 700; padding: 5px 8px; border-radius: 6px; letter-spacing: 0.03em; text-transform: uppercase; }
.m-st.ok { background: #ecfdf3; color: #067647; }
.m-st.hold { background: #fffaeb; color: #b54708; }
.m-st.bad { background: #f4f4f5; color: #71717a; text-decoration: line-through; }
.m-st-swap { justify-self: end; display: grid; justify-items: end; }
.m-st-swap .m-st { grid-area: 1 / 1; }
.js .m-st-swap .ok { opacity: 0; }
.js .m-st-swap .hold { opacity: 1; }

.play .m-st-swap .hold { animation: fadeout 0.4s ease 2.6s both; }
.play .m-st-swap .ok { animation: fadein 0.5s var(--ease) 2.6s both; }
html:not(.js) .m-st-swap .hold { opacity: 0; }
@keyframes fadeout { to { opacity: 0; transform: scale(0.9); } }
@keyframes fadein { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: none; } }
.m-tk-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px; background: #fafafa; border-top: 1px solid #f0f0f2; }
.m-tk-sum b { font-size: 18px; letter-spacing: -0.03em; }
.m-strike { color: #a1a1aa; text-decoration: line-through; text-decoration-color: #f04438; }
.m-good { color: #067647; }

/* Convo Desk */
.m-cd { display: grid; grid-template-columns: 150px 1fr; width: min(100%, 480px); }
.m-cd-side { background: #fafafa; border-right: 1px solid #f0f0f2; padding: 10px 8px; display: grid; gap: 2px; align-content: start; }
.m-cd-h { font-weight: 700; padding: 4px 8px 10px; display: flex; justify-content: space-between; align-items: center; }
.m-cd-h span { font-size: 10.5px; background: var(--c); color: #fff; padding: 2px 7px; border-radius: 99px; }
.m-conv { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; font-size: 12px; line-height: 1.25; min-width: 0; }
.m-conv > span:last-child { min-width: 0; }
.m-conv small { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-conv.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.m-ch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.m-ch.wa { background: #25d366; } .m-ch.ig { background: linear-gradient(45deg, #f9a825, #e1306c, #833ab4); } .m-ch.fb { background: #1877f2; } .m-ch.th { background: #111; } .m-ch.em { background: #a1a1aa; }
.m-cd-main { padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.m-cd-top { padding-bottom: 10px; border-bottom: 1px solid #f0f0f2; }
.m-bub { background: #f4f4f5; padding: 9px 11px; border-radius: 12px 12px 12px 4px; font-size: 12.5px; max-width: 92%; }
.m-bub small { font-size: 10px; margin-bottom: 2px; }
.m-ai { justify-self: end; background: color-mix(in oklab, var(--c) 12%, #fff); border-radius: 12px 12px 4px 12px; }
.m-ai small { color: color-mix(in oklab, var(--c) 80%, #000); font-weight: 600; }
.m-approve { border-radius: 12px; padding: 10px 11px; box-shadow: inset 0 0 0 1.5px #fedf89; background: #fffcf0; font-size: 12.5px; }
.m-approve small { color: #b54708; font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.m-approve > span { display: flex; gap: 6px; margin-top: 8px; }
.m-approve em { font-style: normal; font-weight: 600; font-size: 11.5px; padding: 6px 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #e4e4e7; }
.m-approve em.ok { background: #18181b; color: #fff; box-shadow: none; }

/* Bloomcast */
.m-new { font-size: 11px; font-weight: 600; color: #fff; background: #18181b; padding: 5px 9px; border-radius: 7px; }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.m-kpis > span { padding: 10px; border-radius: 12px; background: #fafafa; box-shadow: inset 0 0 0 1px #f0f0f2; }
.m-kpis b { display: block; font-size: 18px; letter-spacing: -0.03em; margin-top: 2px; }
.m-kpis em { font-style: normal; font-size: 10.5px; font-weight: 600; color: #067647; }
.m-chart { width: 100%; height: 76px; margin-top: 8px; }
.js .m-line { stroke-dasharray: 520; stroke-dashoffset: 520; }
.play .m-line { animation: draw 1.6s var(--ease) 0.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; padding: 6px 14px 14px; }
.m-cal > div { display: grid; gap: 4px; align-content: start; min-height: 72px; padding: 6px 4px; border-radius: 8px; background: #fafafa; }
.m-cal small { font-size: 9.5px; text-align: center; font-weight: 600; }
.m-chip { font-size: 9px; font-weight: 600; padding: 3px 4px; border-radius: 5px; color: #fff; text-align: center; white-space: nowrap; overflow: hidden; }
.m-chip.ig { background: #e1306c; } .m-chip.li { background: #0a66c2; } .m-chip.fb { background: #1877f2; } .m-chip.tt { background: #111; }

/* ExpenseTracker */
.m-et { position: relative; width: min(100%, 470px); height: 470px; }
.m-et-chat { position: absolute; left: 0; top: 0; width: 74%; }
.m-et-chat .m-wa-body { gap: 6px; padding: 12px; }
.m-et-chat .m-msg { font-size: 12.5px; padding: 7px 10px; }
.m-sheet { position: absolute; right: 0; bottom: 0; width: 70%; font-size: 11.5px; }
.m-sheet-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 600; border-bottom: 1px solid #f0f0f2; }
.m-gs { width: 14px; height: 18px; border-radius: 3px; background: #0f9d58; box-shadow: inset 0 -6px 0 rgba(255,255,255,0.35); }
.m-sheet table { width: 100%; border-collapse: collapse; }
.m-sheet th, .m-sheet td { text-align: left; padding: 7px 10px; border-bottom: 1px solid #f4f4f5; white-space: nowrap; }
.m-sheet th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: #8b8b92; background: #fafafa; font-weight: 600; }
.m-sheet td:last-child, .m-sheet th:last-child { text-align: right; font-family: var(--mono); }
.m-sheet tr.new td { background: color-mix(in oklab, var(--c) 10%, #fff); }

/* Omnopic */
.m-om { position: relative; width: min(100%, 460px); height: 470px; }
.m-mail { position: absolute; left: 0; top: 0; width: 80%; height: 330px; }
.m-back2 { transform: translate(44px, 36px) rotate(7deg); opacity: 0.5; }
.m-back { transform: translate(22px, 18px) rotate(3.5deg); opacity: 0.8; }
.m-front { transform: rotate(-2deg); }
.m-mail-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0f0f2; }
.m-mail-h small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mail-hero { margin: 14px; border-radius: 14px; padding: 26px 18px; color: #fff; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.3), transparent 50%), linear-gradient(140deg, #17a676, #0b6e4f); display: grid; gap: 4px; }
.m-mail-hero small { color: rgba(255,255,255,0.8); font: 600 10.5px/1 var(--mono); letter-spacing: 0.1em; }
.m-mail-hero b { font-size: 34px; letter-spacing: -0.05em; line-height: 1; }
.m-mail-hero em { font-style: normal; justify-self: start; margin-top: 10px; font-size: 11.5px; font-weight: 600; background: #fff; color: #0b6e4f; padding: 7px 12px; border-radius: 99px; }
.m-lines { padding: 0 14px; display: grid; gap: 7px; }
.m-lines i { height: 7px; border-radius: 4px; background: #ececef; }
.m-lines i.s { width: 60%; }
.m-report { position: absolute; right: 0; bottom: 0; width: 66%; padding: 14px; }
.m-rep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0 12px; }
.m-rep span { font-size: 10.5px; color: #8b8b92; }
.m-rep b { display: block; font-size: 17px; color: #18181b; letter-spacing: -0.03em; }
.m-cal8 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.m-cal8 i { height: 13px; border-radius: 4px; background: #f4f4f5; }
.m-cal8 i.on { background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .minis { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: repeat(5, 1fr); row-gap: 18px; }
}
@media (max-width: 999px) {
  .slide { grid-template-columns: 1fr; }
  .slide .stage { margin: 0 10px 10px; min-height: 520px; }
  .slide-kind { margin-top: 32px; padding-top: 0; }
  .eco, .faq, .fit, .p-grid, .head { grid-template-columns: 1fr; }
  .board { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(50px, 15.5vw, 80px); }
  .dock-row { margin: 8px calc(var(--gutter) * -1) 0; justify-content: flex-start; overflow-x: auto; padding: 56px var(--gutter) 16px; scrollbar-width: none; }
  .dock-row::-webkit-scrollbar { display: none; }
  .dock { height: 70px; gap: 8px; padding: 9px; border-radius: 24px; flex: none; }
  .dock a { width: 52px; height: 52px; margin: 0 !important; }
  .dock a .ico { --s: 52px; transform: none !important; }
  .dock a .tip { display: none; }
  .facts-row { gap: 8px 20px; font-size: 12.5px; }
  .ctas .btn { flex: 1 1 100%; }
  .slide { border-radius: 30px; }
  .slide .stage { border-radius: 24px; min-height: 0; padding: 28px 14px; }
  .slide-foot .links { width: 100%; }
  .slide-foot .links > * { flex: 1; }
  .bento { grid-template-columns: 1fr; }
  .cell.w2 { grid-column: auto; }
  .feats, .minis { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-about { grid-column: 1 / -1; }
  .board-grid { grid-template-columns: repeat(3, 1fr); }
  .goal { padding: 16px; }
  .p-stage { min-height: 0; padding: 32px 14px; border-radius: 30px; }
  .m-cd { grid-template-columns: 1fr; }
  .m-cd-side { display: none; }
  .m-et, .m-om { height: 440px; }
  .m-et-chat { width: 88%; }
  .m-sheet { width: 84%; }
  .m-mail { width: 90%; }
  .m-report { width: 82%; }
  .m-row { grid-template-columns: 44px 1fr 86px; }
  .m-amt { display: none; }
  .orbit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .mock .seq, .js .m-et > .seq, .js .m-om > .seq { opacity: 1; transform: none; }
  .js .m-line { stroke-dashoffset: 0; }
}
