/* aemuxe.com — from the "Muxe Landing" Claude Design. One dark theme, by design. */
:root {
  --bg: oklch(0.155 0.008 250);
  --bg-alt: oklch(0.175 0.008 250);
  --panel: oklch(0.185 0.008 250);
  --panel-hi: oklch(0.21 0.008 250);
  --line: oklch(0.26 0.01 250);
  --line-card: oklch(0.28 0.01 250);
  --line-strong: oklch(0.32 0.01 250);
  --text: oklch(0.96 0.005 250);
  --text-2: oklch(0.88 0.005 250);
  --muted: oklch(0.74 0.01 250);
  --muted-2: oklch(0.62 0.01 250);
  --faint: oklch(0.52 0.01 250);
  --accent: oklch(0.68 0.19 13);
  --accent-hi: oklch(0.74 0.19 13);
  --accent-line: oklch(0.44 0.13 13);
  --accent-hover-line: oklch(0.52 0.14 13);
  --accent-wash: oklch(0.215 0.045 13);
  --on-accent: oklch(0.99 0.005 13);
  --sans: 'Space Grotesk', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --gutter: 40px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: oklch(0.78 0.16 13); }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 96px var(--gutter); }
.band { border-top: 1px solid var(--line); }
.band.alt { background: var(--bg-alt); }

/* Type */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: 46px; line-height: 1.03; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 24px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; max-width: 50ch; text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 56ch; text-wrap: pretty; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; flex-wrap: wrap; }
.split-head h2 { margin: 0; }
.split-head .body { max-width: 40ch; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 64px; }
.two-col > * { min-width: 0; }

/* Buttons */
.btn { display: inline-block; font-size: 16px; font-weight: 600; padding: 15px 26px; border-radius: 10px; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--line-strong); color: oklch(0.90 0.005 250); font-weight: 500; }
.btn-ghost:hover { border-color: oklch(0.50 0.01 250); color: oklch(0.90 0.005 250); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); background: oklch(0.155 0.008 250 / 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header .logo img { height: 24px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.site-header nav a { color: oklch(0.72 0.01 250); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--text); }
.site-header nav a.nav-cta { background: var(--accent); color: var(--on-accent); font-weight: 600; padding: 9px 16px; border-radius: 8px; }
.site-header nav a.nav-cta:hover { background: var(--accent-hi); }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 100px var(--gutter) 88px; }
.hero > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 999px; padding: 6px 14px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.hero h1 { font-size: clamp(42px, 6vw, 66px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; margin: 26px 0 0; }
.hero .tagline { font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--accent); margin: 20px 0 0; letter-spacing: -0.02em; }
.hero .lead { margin: 22px 0 0; max-width: 48ch; line-height: 1.6; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .meta { margin-top: 26px; font-family: var(--mono); font-size: 12px; color: oklch(0.60 0.01 250); }

/* Panels (the mock UI cards) */
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(0.60 0.01 250); }
.panel-head .active { color: var(--accent); }
.hero .panel { box-shadow: 0 40px 90px -40px oklch(0.05 0.02 250 / 0.9); }
.demo-track { height: 190px; background: repeating-linear-gradient(90deg, oklch(0.21 0.008 250) 0 1px, transparent 1px 40px); display: flex; align-items: center; padding: 0 40px; }
.demo-box { --travel: 200px; width: 54px; height: 54px; border-radius: 10px; background: var(--accent); animation: muxeSlide 2.4s var(--ease, cubic-bezier(0.64, 0, 0.78, 1)) infinite; }
@keyframes muxeSlide { 0%, 100% { transform: translateX(0); } 45%, 50% { transform: translateX(var(--travel, 200px)); } 95% { transform: translateX(0); } }
.demo-curves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.demo-curves button { appearance: none; border: 0; cursor: pointer; padding: 11px 4px; font-family: var(--mono); font-size: 11px; background: var(--panel); color: oklch(0.66 0.01 250); }
.demo-curves button:hover { color: var(--text); }
.demo-curves button[aria-pressed="true"] { background: oklch(0.26 0.055 13); color: var(--accent); }

/* Lists of rows inside a hairline frame */
.rows { align-self: start; display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.rows li { background: var(--bg); padding: 22px 24px; display: flex; gap: 16px; align-items: baseline; font-size: 16px; line-height: 1.5; color: oklch(0.80 0.01 250); }
.rows li::before { content: "✕"; font-family: var(--mono); font-size: 14px; color: var(--muted-2); flex-shrink: 0; }
.punch { font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--text); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid.tight { gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.card { border: 1px solid var(--line-card); border-radius: 14px; padding: 26px; background: var(--bg); transition: border-color .15s; }
.card:hover { border-color: oklch(0.40 0.01 250); }
.card .num { font-family: var(--mono); font-size: 11px; color: var(--accent); margin-bottom: 16px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--text-2); margin: 0; text-wrap: pretty; }
.card.module { border-radius: 12px; padding: 22px; }
.card.module:hover, .card.format:hover, .curve:hover { border-color: var(--accent-hover-line); }
.card.module h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.card.module p { font-size: 14px; color: oklch(0.72 0.01 250); }
.card.format { background: oklch(0.178 0.008 250); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card.format h3 { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 0.08em; color: var(--accent); margin: 0; }
.card.format p { font-size: 15px; line-height: 1.6; color: oklch(0.78 0.01 250); }

/* Curve thumbnails */
.curves { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; margin-top: 48px; }
.curve { border: 1px solid var(--line-card); border-radius: 12px; padding: 16px; background: var(--bg); transition: border-color .15s; }
.curve svg { width: 100%; height: auto; display: block; }
.curve .name { font-size: 14px; font-weight: 500; margin-top: 14px; }
.curve .value { font-family: var(--mono); font-size: 10px; color: oklch(0.58 0.01 250); margin-top: 4px; }

/* Recipes panel */
.recipe-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); margin: 0; padding: 0; list-style: none; }
.recipe-list li { background: var(--panel); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.recipe-list li:hover { background: var(--panel-hi); }
.recipe-list .name { font-size: 15px; font-weight: 500; }
.recipe-list .meta { font-family: var(--mono); font-size: 11px; color: oklch(0.60 0.01 250); }

/* Modules */
.group + .group { margin-top: 40px; }
.group-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line-card); }

/* Export extras */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--mono); font-size: 12px; color: var(--text-2); border: 1px solid oklch(0.30 0.01 250); border-radius: 7px; padding: 8px 13px; background: var(--panel-hi); }
.label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(0.58 0.01 250); margin-bottom: 16px; }
.card.accent { border-color: var(--accent-line); background: var(--accent-wash); }
.card.accent .label { color: var(--accent); margin-bottom: 14px; }
.card.accent p { color: oklch(0.92 0.04 13); }

/* Coverage */
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
.legend span { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.st { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; font-family: var(--mono); font-size: 13px; }
.st-y { color: oklch(0.80 0.15 155); background: oklch(0.26 0.05 155); }
.st-p { color: oklch(0.82 0.15 85); background: oklch(0.27 0.05 85); }
.st-n { color: oklch(0.66 0.02 250); background: oklch(0.25 0.01 250); }
.coverage { display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr); gap: 20px; align-items: start; }
.cat-tabs { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cat-tabs button { appearance: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; border: 1px solid var(--line); background: var(--bg); color: oklch(0.80 0.01 250); }
.cat-tabs button:hover { border-color: oklch(0.42 0.01 250); }
.cat-tabs button .count { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.cat-tabs button[aria-selected="true"] { border-color: oklch(0.52 0.16 13); background: oklch(0.245 0.05 13); color: var(--accent); }
.cat-tabs button[aria-selected="true"] .count { color: var(--accent); }
.cov-table { min-width: 0; border: 1px solid var(--line-card); border-radius: 14px; overflow: hidden; background: var(--bg); }
.cov-row { display: grid; grid-template-columns: 1fr 64px 64px; gap: 16px; align-items: center; padding: 14px 18px; background: var(--bg); }
.cov-head { background: var(--panel); border-bottom: 1px solid var(--line-card); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.72 0.01 250); }
.cov-head span:first-child { color: var(--muted-2); letter-spacing: 0.16em; }
.cov-body { display: flex; flex-direction: column; gap: 1px; background: oklch(0.24 0.01 250); }
.cov-row .feat { font-size: 15px; line-height: 1.4; color: oklch(0.90 0.005 250); text-wrap: pretty; }
.cov-row .note { font-size: 13px; line-height: 1.4; color: oklch(0.60 0.01 250); margin-top: 3px; }
.cov-foot { padding: 14px 18px; border-top: 1px solid var(--line-card); background: var(--panel); font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.diffs { margin-top: 56px; }
.diffs h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.diffs .body { font-size: 16px; color: oklch(0.70 0.01 250); margin-bottom: 24px; max-width: 60ch; }
.diff-table { border: 1px solid var(--line-card); border-radius: 14px; overflow: hidden; }
.diff-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; padding: 16px 18px; background: var(--bg); align-items: baseline; }
.diff-row.head { background: var(--panel); border-bottom: 1px solid var(--line-card); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.diff-row.head span:last-child { color: var(--accent); }
.diff-body { display: flex; flex-direction: column; gap: 1px; background: oklch(0.24 0.01 250); }
.diff-row .k { font-size: 15px; font-weight: 500; color: oklch(0.92 0.005 250); }
.diff-row .h { font-size: 14px; line-height: 1.45; color: oklch(0.68 0.01 250); }
.diff-row .s { font-size: 14px; line-height: 1.45; color: oklch(0.88 0.06 13); }

/* Audiences */
.stack { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stack li { border: 1px solid var(--line-card); border-radius: 12px; padding: 20px 22px; background: var(--bg); font-size: 17px; font-weight: 500; }

/* Story */
.story { max-width: 900px; }
.story .big { font-size: 26px; line-height: 1.4; letter-spacing: -0.02em; margin: 0 0 24px; text-wrap: pretty; }
.story .body { max-width: none; line-height: 1.7; }
.story .body + .body { margin-top: 16px; }

/* Download */
.download { text-align: center; }
.download h2 { margin-bottom: 16px; }
.download .body { margin: 0 auto 32px; max-width: 52ch; }
.download .meta { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: oklch(0.60 0.01 250); }
.install { margin: 56px auto 0; max-width: 900px; text-align: left; counter-reset: s; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 0; list-style: none; }
.install li { counter-increment: s; background: var(--bg); padding: 20px 24px 20px 64px; position: relative; font-size: 15px; line-height: 1.6; color: var(--muted); }
.install li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 24px; top: 21px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.install strong { color: var(--text); font-weight: 600; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--panel-hi); border: 1px solid oklch(0.30 0.01 250); border-radius: 5px; padding: 1px 6px; color: var(--text-2); word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .inner { max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.site-footer .brand { display: flex; align-items: center; gap: 14px; }
.site-footer .brand img { height: 18px; width: auto; opacity: 0.7; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--text); }

/* Tutorials */
.page-head { max-width: 1280px; margin: 0 auto; padding: 88px var(--gutter) 48px; }
.page-head h1 { font-size: clamp(40px, 5vw, 58px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; margin: 26px 0 20px; }
.videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.video { border: 1px solid var(--line-card); border-radius: 14px; overflow: hidden; background: var(--bg); }
.video .frame { aspect-ratio: 16 / 9; display: grid; place-items: center; background: repeating-linear-gradient(135deg, oklch(0.205 0.008 250) 0 10px, oklch(0.19 0.008 250) 10px 20px); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.video .frame video, .video .frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video .text { padding: 20px 22px 24px; }
.video .len { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.video h2 { font-size: 18px; letter-spacing: -0.01em; margin: 8px 0 6px; line-height: 1.3; }
.video p { font-size: 14px; line-height: 1.55; color: oklch(0.72 0.01 250); margin: 0; }

/* 404 */
.not-found { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 64px var(--gutter); }
.not-found h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -0.035em; margin: 24px 0 12px; }
.not-found p { color: var(--muted); margin: 0 0 32px; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .coverage { grid-template-columns: 1fr; }
  .cat-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .cat-tabs button { flex-shrink: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  h2 { font-size: 34px; }
  .hero .tagline { font-size: 19px; }
  .demo-track { padding: 0 20px; }
  .demo-box { --travel: min(200px, calc(100vw - 140px)); }
  .cov-row { grid-template-columns: 1fr 34px 34px; gap: 10px; padding: 12px 14px; }
  .diff-row { grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 14px; }
  .install li { padding-left: 52px; }
  .install li::before { left: 18px; }
  .story .big { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-box { animation-duration: 6s; }
}
