/* momentable.art: the commercial site. Brand from the Momentable app (tailwind.config.ts): black surfaces,
   Plus Jakarta Sans for display, Inter for text, the five-colour accent gradient. Self-hosted fonts, no CDN. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/products/assets/fonts/jakarta-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/products/assets/fonts/inter-latin.woff2) format("woff2"); }

:root {
  --bg: #000; --panel: #0a0a0c; --subtle: #111114; --raised: #1a1a1e; --line: #2a2a30;
  --text: #f5f5f7; --muted: #b4b4bc; --faint: #8e8e96;
  --orange: #ff6b2b; --cyan: #64d2ff; --pink: #ff375f; --purple: #bf5af2; --yellow: #ffd60a; --green: #30d158;
  --grad: linear-gradient(135deg, #bf5af2 0%, #ff375f 25%, #ff6b2b 50%, #ffd60a 75%, #64d2ff 100%);
  --display: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --pad: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 40em; }
.eyebrow { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--subtle); }
.nav .btn { margin-left: 6px; }
@media (max-width: 860px) { .nav .hide-s { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 999px; font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e6e6ea; }
.btn-ghost { border-color: rgba(255,255,255,.34); color: var(--text); background: rgba(0,0,0,.35); }
.btn-ghost:hover { border-color: #fff; }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* hero */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform-origin: 60% 40%;
  animation: drift 40s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.16) translate(-2%, 1.5%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.2) 35%, rgba(0,0,0,.78) 72%, #000 100%); }
.hero .wrap { width: 100%; padding-top: 140px; padding-bottom: 72px; }
.hero h1 { max-width: 14em; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero .lead { color: #e4e4ea; margin-top: 22px; text-shadow: 0 1px 16px rgba(0,0,0,.6); }
.credit { position: absolute; right: var(--pad); bottom: 18px; font-size: 13px; color: #c8c8d0; text-shadow: 0 1px 8px #000; max-width: 46ch; text-align: right; }
.credit i { font-style: italic; }
.hero-sm { min-height: min(78vh, 760px); }

/* status chip */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font: 600 13px/1 var(--sans);
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.22); color: #fff; margin-bottom: 22px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.chip.live::before { background: var(--green); box-shadow: 0 0 0 4px rgba(48,209,88,.18); }
.chip.build::before { background: var(--yellow); }
.chip.soon::before { background: var(--cyan); }

/* sections */
section.band { padding: clamp(72px, 10vw, 132px) 0; }
section.band.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 48px; }
.head .eyebrow { margin-bottom: 16px; display: block; }
.head p { margin-top: 18px; color: var(--muted); font-size: 19px; }

.statement { font: 700 clamp(26px, 3.6vw, 44px)/1.25 var(--display); letter-spacing: -0.02em; max-width: 26em; }
.statement em { font-style: normal; color: var(--muted); }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .g2 { grid-template-columns: repeat(2, 1fr); } }
.g3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card { background: var(--subtle); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.card p { color: var(--muted); margin-top: 10px; }
.card .n { font: 800 15px/1 var(--display); color: var(--faint); display: block; margin-bottom: 18px; letter-spacing: .06em; }

/* product tiles */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
@media (min-width: 900px) {
  .tiles.n4 { grid-template-columns: repeat(4, 1fr); }
  .tiles.n5 { grid-template-columns: repeat(6, 1fr); }
  .tiles.n5 .tile { grid-column: span 2; }
  .tiles.n5 .tile:nth-child(n+4) { grid-column: span 3; }
  .tiles.n4 .tile h3 { font-size: 23px; }
}
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; border-radius: 24px;
  overflow: hidden; text-decoration: none; isolation: isolate; border: 1px solid var(--line); background: var(--subtle); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.9) 78%); }
.tile:hover img { transform: scale(1.05); }
.tile .in { padding: 26px; }
.tile h3 { font-size: 26px; margin-top: 10px; }
.tile p { color: #d6d6dc; margin-top: 8px; font-size: 16px; }
.tile .go { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; }
.tile .chip { margin: 0; }
.groupname { margin: 56px 0 20px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.groupname h3 { font-size: 28px; }
.groupname p { color: var(--faint); }

/* split feature rows */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.split.flip > :first-child { order: 2; }
.split figure { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--subtle); }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split figcaption { font-size: 13px; color: var(--faint); padding: 10px 14px; }
.split h3 { font-size: clamp(26px, 3vw, 36px); }
.split p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.split ul { margin: 20px 0 0; padding: 0; list-style: none; }
.split li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--line); color: var(--text); }
.split li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.split.stack, .split.solo { grid-template-columns: 1fr; }
.split.solo { max-width: 760px; }
.split.stack > div:last-child { max-width: 760px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* steps */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { counter-increment: s; padding: 28px; border-radius: 22px; background: var(--subtle); border: 1px solid var(--line); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font: 800 40px/1 var(--display); margin-bottom: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin-top: 10px; }

/* who */
.who { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.who div { padding: 22px 24px; border-left: 3px solid; border-image: var(--grad) 1; background: var(--subtle); }
.who b { display: block; font: 700 18px/1.3 var(--display); }
.who span { color: var(--muted); display: block; margin-top: 6px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.stat { background: var(--panel); padding: 30px 26px; }
.stat b { display: block; font: 800 clamp(36px, 4.4vw, 54px)/1 var(--display); letter-spacing: -0.03em; }
.stat span { display: block; color: var(--muted); margin-top: 12px; font-size: 15px; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font: 600 19px/1.4 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 26px; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 24px; max-width: 46em; }

/* offer box */
.offer { border-radius: 28px; padding: clamp(32px, 5vw, 64px); background: radial-gradient(120% 140% at 0% 0%, #2a1630 0%, #120c14 40%, #0a0a0c 100%);
  border: 1px solid #3a2a3e; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.offer h2 { max-width: 18em; }
.offer p { color: #d0d0d8; margin-top: 18px; max-width: 40em; font-size: 19px; }
.offer .small { font-size: 15px; color: var(--muted); margin-top: 20px; }

/* code block for the embed */
pre.code { background: #050507; border: 1px solid var(--line); border-radius: 16px; padding: 20px; overflow-x: auto;
  font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #e6e6ee; margin: 20px 0 0; white-space: pre; }

/* embedded live player */
.player-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* contact */
.routes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.routes a.card { text-decoration: none; display: block; }
.routes a.card:hover { border-color: #55555e; }
.routes .mail { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--text); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 48px; color: var(--muted); font-size: 15px; }
footer .cols { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer h2 { font: 700 14px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 8px 0; }
footer a { text-decoration: none; color: var(--muted); }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .fine { margin-top: 48px; color: var(--faint); font-size: 14px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; } .center .lead, .center .head { margin-left: auto; margin-right: auto; }
.note { color: var(--faint); font-size: 14px; margin-top: 18px; }

/* fixes from the accessibility baseline (3 Dec): nav button keeps its own colours; nothing wider than a 320 px screen */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #000; background: #fff; }
.nav a.btn-primary:hover { background: #e6e6ea; }
.split > div, .grid > *, .steps > *, .who > *, .routes > * { min-width: 0; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
pre.code { max-width: 100%; }
@media (max-width: 420px) {
  .top .wrap { gap: 10px; }
  .brand { font-size: 17px; gap: 8px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 8px; font-size: 14px; }
  .nav .btn { padding: 8px 12px; font-size: 14px; margin-left: 2px; }
  .credit { left: var(--pad); max-width: none; }
}
footer .cols > * { min-width: 0; }
@media (max-width: 420px) { footer .cols { grid-template-columns: 1fr; } }
.hero .eyebrow { color: #ececf1; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
