:root {
  --ink: #111315;
  --panel: #191c1f;
  --panel-2: #202428;
  --line: rgba(255, 255, 255, .13);
  --muted: #a8a9a7;
  --paper: #f4f0e8;
  --copper: #dc7a37;
  --copper-bright: #f3ad43;
  --shell: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mf-site { min-height: 100vh; overflow: hidden; color: var(--paper); background-color: var(--ink); background-image: radial-gradient(circle at 75% 8%, rgba(220,122,55,.09), transparent 27%); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .16em; }
.brand img { width: 38px; height: 38px; border: 1px solid #4a4d50; border-radius: 9px; }
.brand b { color: var(--copper-bright); font-weight: 700; }
.site-header nav { display: flex; align-items: center; gap: 36px; color: #b6b6b4; font-size: .82rem; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: #fff; }
.header-cta { justify-self: end; padding: 11px 16px; color: #131313; background: var(--copper-bright); border-radius: 3px; font-size: .78rem; font-weight: 750; }
.header-cta span { margin-left: 8px; }

.hero { min-height: 690px; padding: 60px 0 54px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(38px, 6vw, 90px); }
.kicker { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: var(--copper-bright); font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.kicker i { width: 22px; height: 1px; display: inline-block; background: currentColor; }
.hero h1 { margin: 0; font-size: clamp(3.7rem, 6.4vw, 6.4rem); line-height: .91; letter-spacing: -.068em; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1px var(--copper-bright); text-stroke: 1px var(--copper-bright); }
.hero-lead { max-width: 570px; margin: 28px 0 30px; color: #b8b9b7; font-size: 1.03rem; line-height: 1.68; }
.hero-actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 3px; font-size: .8rem; font-weight: 750; }
.button-copper { color: #151515; background: var(--copper-bright); }
.button-quiet { color: #d5d5d2; border: 1px solid #414447; }
.hero-proof { margin-top: 48px; padding-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: 5px; }
.hero-proof strong { font-size: .73rem; color: #dededb; }
.hero-proof span { max-width: 140px; color: #74777a; font-size: .66rem; line-height: 1.45; }

.hero-visual { height: 590px; position: relative; isolation: isolate; border: 1px solid #34383b; background: #181b1e; overflow: hidden; }
.hero-visual::before { content: ''; position: absolute; z-index: -1; inset: auto -12% -42% 10%; aspect-ratio: 1; border: 90px solid rgba(220,122,55,.65); border-radius: 50%; filter: blur(1px); }
.hero-visual::after { content: 'MF'; position: absolute; z-index: -2; top: -30px; right: -20px; color: rgba(255,255,255,.025); font-size: 25rem; font-weight: 900; line-height: 1; letter-spacing: -.15em; }
.visual-grid { position: absolute; inset: 0; z-index: -3; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom right, #000, transparent 75%); }
.release-tag { position: absolute; top: 24px; left: 25px; color: #777b7e; font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.phone-frame { width: 258px; height: 558px; position: absolute; z-index: 2; top: 69px; right: 13%; padding: 7px; background: #080909; border: 1px solid #55595c; border-radius: 35px; box-shadow: 0 38px 80px rgba(0,0,0,.72); transform: rotate(4deg); overflow: hidden; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 28px; }
.phone-speaker { width: 68px; height: 15px; position: absolute; z-index: 3; top: 11px; left: 50%; transform: translateX(-50%); background: #070808; border-radius: 0 0 10px 10px; }
.floating-app-icon { width: 100px; position: absolute; z-index: 5; right: 4%; bottom: 5%; border-radius: 23px; box-shadow: 0 22px 42px rgba(0,0,0,.48); transform: rotate(-7deg); }
.riffkey-card { width: 250px; position: absolute; z-index: 4; top: 22%; left: 5%; padding: 20px; background: rgba(13,15,16,.88); border: 1px solid #3b3e41; box-shadow: 0 22px 50px rgba(0,0,0,.4); backdrop-filter: blur(14px); }
.riffkey-card img { width: 190px; height: 70px; object-fit: contain; object-position: left center; }
.riffkey-card p { margin: 5px 0 0; color: #8f9294; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.pitch-card { width: 170px; position: absolute; z-index: 4; left: 9%; bottom: 11%; padding: 16px 18px; color: #ebebe8; background: rgba(28,31,33,.92); border: 1px solid #494c4f; box-shadow: 0 20px 35px rgba(0,0,0,.35); }
.pitch-card > span { display: block; color: #797c7e; font-size: .52rem; letter-spacing: .15em; }
.pitch-card strong { margin: 8px 0 0; display: inline-block; font-size: 2.2rem; line-height: 1; }.pitch-card sub { font-size: .85rem; color: var(--copper-bright); }
.pitch-card small { margin-left: 7px; color: #a5a5a2; font-size: .58rem; }
.pitch-card div { height: 24px; margin-top: 10px; display: flex; align-items: center; gap: 3px; }
.pitch-card div i { width: 3px; height: 30%; background: var(--copper); border-radius: 2px; }.pitch-card div i:nth-child(2n) { height: 72%; }.pitch-card div i:nth-child(3n) { height: 100%; }

.product-ticker { height: 52px; display: flex; align-items: center; color: #171717; background: var(--copper-bright); overflow: hidden; }
.product-ticker-track { width: max-content; display: flex; align-items: center; animation: product-ticker-scroll 28s linear infinite; will-change: transform; }
.product-ticker-set { width: max-content; min-width: 100vw; padding: 0 clamp(22px, 3.5vw, 60px); box-sizing: border-box; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-around; gap: clamp(34px, 4vw, 72px); white-space: nowrap; font-size: .65rem; font-weight: 800; letter-spacing: .16em; }
.product-ticker i { width: 5px; height: 5px; background: #171717; transform: rotate(45deg); }
.product-ticker:hover .product-ticker-track { animation-play-state: paused; }
@keyframes product-ticker-scroll { to { transform: translateX(-50%); } }

.product { padding: 110px 0 120px; }
.section-heading { margin-bottom: 42px; display: grid; grid-template-columns: 180px .8fr 1fr; align-items: end; gap: 36px; }
.section-heading > div { display: flex; align-items: center; gap: 12px; }
.section-heading > div p { margin: 0; color: #777a7c; font-size: .67rem; text-transform: uppercase; letter-spacing: .14em; }
.section-number { width: 43px; height: 43px; display: grid; place-items: center; color: #171717; background: var(--copper-bright); font-size: .7rem; font-weight: 800; }
.section-heading h2 { margin: 0; font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -.065em; line-height: .95; }
.section-heading > p { max-width: 500px; margin: 0; color: #999b9b; line-height: 1.62; }
.product-showcase { min-height: 550px; display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(320px, .72fr); border: 1px solid #34373a; }
.browser-card { padding: 34px; display: grid; place-items: center; background: linear-gradient(145deg, #2a2e31, #151719); }
.product-screenshot { width: auto; max-width: 100%; max-height: 680px; display: block; border: 1px solid #4a4d50; border-radius: 12px; box-shadow: 0 24px 55px rgba(0,0,0,.34); }
.feature-stack { display: flex; flex-direction: column; background: #1c1f22; }
.feature-stack article { flex: 1; padding: 28px 28px; display: grid; grid-template-columns: 34px 1fr; gap: 18px; border-bottom: 1px solid #373a3d; }
.feature-stack article > span { color: var(--copper-bright); font-size: .66rem; }
.feature-stack h3 { margin: 0 0 6px; font-size: 1rem; }.feature-stack p { margin: 0; color: #85888a; font-size: .76rem; line-height: 1.5; }
.product-link { min-height: 82px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; color: #171717; background: var(--copper-bright); font-size: .82rem; font-weight: 800; }
.product-link b { font-size: 1.4rem; }

.product-line { padding: 105px 0 120px; color: #1b1b1a; background: var(--paper); }
.section-heading.compact { grid-template-columns: minmax(230px, .55fr) 1fr; }
.section-heading.compact .products-label { align-items: stretch; gap: 14px; }
.products-label > i { width: 5px; min-height: 46px; flex: 0 0 5px; background: var(--copper-bright); }
.section-heading.compact .products-label > p { display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.section-heading.compact .products-label strong { color: #1b1b1a; font-size: .72rem; font-style: normal; font-weight: 800; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.section-heading.compact .products-label span { color: #8e8880; font-size: .62rem; letter-spacing: .14em; line-height: 1; text-transform: uppercase; }
.section-heading.compact h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }.section-heading.compact h2 span { color: #a7a199; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr .95fr; gap: 14px; }
.product-tile { min-height: 410px; padding: 28px; position: relative; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid #d4cfc5; overflow: hidden; }
.tile-top { display: flex; align-items: center; justify-content: space-between; font-size: .61rem; font-weight: 800; letter-spacing: .13em; }.tile-top span { color: #77716b; }.tile-top b { color: #a29c94; }
.riffkey-tile { color: #fff; background: #17191b; border-color: #17191b; }.riffkey-tile .tile-top span { color: var(--copper-bright); }
.riffkey-tile > img { width: 120px; align-self: center; border-radius: 27px; box-shadow: 0 25px 50px rgba(0,0,0,.4); transform: rotate(-4deg); }
.product-tile h3 { margin: 0 0 7px; font-size: 1.45rem; letter-spacing: -.035em; }.product-tile p { max-width: 300px; margin: 0; color: #77716b; font-size: .8rem; line-height: 1.5; }.riffkey-tile p { color: #8c8f90; }
.tile-arrow { position: absolute; right: 27px; bottom: 27px; color: var(--copper-bright); font-size: 1.4rem; }
.future-tile { background: #ece7de; }.muted-tile { background: #ded8ce; }
.future-mark { width: 130px; height: 130px; align-self: center; position: relative; display: grid; place-items: center; border: 1px solid #c8c1b5; border-radius: 50%; }.future-mark i { width: 7px; height: 7px; position: absolute; background: #aaa398; border-radius: 50%; }.future-mark i:first-child { transform: translateX(-18px); }.future-mark i:last-child { transform: translateX(18px); }

.studio { min-height: 590px; padding: 110px 0; display: grid; grid-template-columns: .65fr 1fr .8fr; align-items: center; gap: 70px; }
.studio-mark { aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid #363a3d; }.studio-mark::before { content: ''; position: absolute; inset: 15%; border: 1px solid rgba(220,122,55,.35); transform: rotate(45deg); }.studio-mark img { width: 50%; z-index: 1; border-radius: 20px; box-shadow: 0 25px 45px rgba(0,0,0,.48); }
.studio-copy h2 { margin: 0 0 25px; font-size: clamp(2.7rem, 4.8vw, 4.7rem); line-height: 1.02; letter-spacing: -.06em; }.studio-copy > p:last-child { max-width: 560px; color: #969897; line-height: 1.7; }
.studio-values { border-top: 1px solid #373a3d; }.studio-values p { margin: 0; padding: 20px 0; display: flex; gap: 22px; color: #c7c8c5; border-bottom: 1px solid #373a3d; font-size: .85rem; }.studio-values span { color: var(--copper-bright); font-size: .65rem; }

footer { padding: 90px 0 26px; color: #1a1a19; background: var(--copper-bright); }
.footer-main { display: grid; grid-template-columns: .8fr 1.5fr 1fr; align-items: end; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; }.footer-brand img { width: 45px; border-radius: 10px; }
.footer-main h2 { margin: 0; font-size: clamp(2.5rem, 4.4vw, 4.3rem); line-height: 1; letter-spacing: -.055em; }
.footer-main > a { padding-bottom: 8px; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,.42); font-size: .78rem; font-weight: 700; }
.footer-bottom { margin-top: 75px; padding-top: 22px; display: flex; justify-content: space-between; color: rgba(0,0,0,.6); border-top: 1px solid rgba(0,0,0,.25); font-size: .65rem; }.footer-bottom div { display: flex; gap: 22px; }

/* Legal pages */
.legal-main { padding: 76px 0 110px; }
.legal-back { display: inline-flex; align-items: center; gap: 9px; color: #939698; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal-back:hover { color: var(--copper-bright); }
.legal-hero { max-width: 920px; padding: 72px 0 54px; border-bottom: 1px solid #333639; }
.legal-hero h1 { margin: 16px 0 22px; font-size: clamp(3.5rem, 8vw, 7.2rem); letter-spacing: -.07em; line-height: .9; }
.legal-hero > p:not(.kicker) { max-width: 720px; margin: 0; color: #a4a6a7; font-size: 1.05rem; line-height: 1.7; }
.legal-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 26px; color: #747779; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.legal-document { max-width: 920px; padding-top: 28px; }
.legal-document section { padding: 34px 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 24px; border-bottom: 1px solid #2d3032; }
.legal-document .legal-index { padding-top: 4px; color: var(--copper-bright); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.legal-copy h2 { margin: 0 0 16px; color: #f5f1e9; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-copy h3 { margin: 26px 0 10px; color: #ddd9d2; font-size: .92rem; }
.legal-copy p, .legal-copy li { color: #a2a4a5; font-size: .88rem; line-height: 1.72; }
.legal-copy p { margin: 0 0 14px; }.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy ul { margin: 12px 0 16px; padding-left: 20px; }.legal-copy li { margin: 8px 0; padding-left: 5px; }
.legal-copy a { color: var(--copper-bright); text-decoration: underline; text-decoration-color: rgba(243,173,67,.45); text-underline-offset: 3px; }
.legal-callout { margin: 18px 0; padding: 20px 22px; color: #c6c3bd; background: #1c1f21; border-left: 3px solid var(--copper-bright); line-height: 1.65; }
.legal-footer { padding: 0; border-top: 1px solid #333639; }
.legal-footer .footer-bottom { color: #7f8284; }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 40px, 760px); }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-visual { width: 100%; max-width: 680px; justify-self: center; }
  .section-heading { grid-template-columns: 140px 1fr; }.section-heading > p { grid-column: 2; }
  .product-showcase { grid-template-columns: 1fr; }.feature-stack { display: grid; grid-template-columns: repeat(3, 1fr); }.feature-stack article { display: block; }.feature-stack article > span { display: block; margin-bottom: 12px; }.product-link { grid-column: 1/-1; }
  .product-grid { grid-template-columns: 1fr 1fr; }.product-grid .muted-tile { grid-column: 1/-1; min-height: 260px; }
  .studio { grid-template-columns: .65fr 1fr; }.studio-values { grid-column: 2; }
  .footer-main { grid-template-columns: 1fr 1.5fr; }.footer-main > a { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 520px); }
  .site-header { height: 70px; grid-template-columns: 1fr auto; }.brand span, .site-header nav { display: none; }
  .hero { min-height: auto; padding: 60px 0 35px; gap: 48px; }.hero h1 { font-size: clamp(3.5rem, 17vw, 5rem); }.hero-lead { font-size: .95rem; }.hero-actions { align-items: stretch; flex-direction: column; }.button { justify-content: space-between; }
  .hero-proof { grid-template-columns: 1fr; gap: 13px; }.hero-proof div { grid-template-columns: 80px 1fr; align-items: start; }.hero-proof span { max-width: none; }
  .hero-visual { height: 510px; }.phone-frame { width: 210px; height: 455px; top: 66px; right: 7%; }.riffkey-card { width: 195px; top: 16%; left: 4%; padding: 15px; }.riffkey-card img { width: 155px; height: 58px; }.pitch-card { width: 145px; left: 5%; bottom: 7%; }.floating-app-icon { width: 76px; }
  .product-ticker-set { min-width: max-content; justify-content: flex-start; }
  .product { padding: 80px 0; }.section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 20px; }.section-heading > p { grid-column: 1; }.section-heading h2 { font-size: 3.4rem; }
  .browser-card { padding: 10px; }.product-screenshot { width: 100%; max-height: none; border-radius: 8px; }
  .feature-stack { display: flex; }.feature-stack article { display: grid; }.product-link { min-height: 72px; }
  .product-line { padding: 80px 0; }.product-grid { grid-template-columns: 1fr; }.product-grid .muted-tile { grid-column: auto; min-height: 360px; }
  .studio { padding: 80px 0; grid-template-columns: 1fr; gap: 45px; }.studio-mark { max-width: 320px; }.studio-values { grid-column: 1; }
  footer { padding-top: 70px; }.footer-main { grid-template-columns: 1fr; }.footer-main > a { grid-column: 1; }.footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .legal-main { padding: 42px 0 70px; }.legal-hero { padding: 48px 0 38px; }.legal-document section { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }.legal-footer { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-ticker { overflow-x: auto; scrollbar-width: none; }
  .product-ticker::-webkit-scrollbar { display: none; }
  .product-ticker-track { animation: none; transform: none; }
  .product-ticker-set:last-child { display: none; }
}
