/* Jacket: black leather, brass zip, warm light. */
:root {
  --bg: #0b0a09;
  --bg-2: #12100e;
  --panel: rgba(255, 244, 225, 0.035);
  --panel-2: rgba(255, 244, 225, 0.065);
  --line: rgba(255, 236, 205, 0.09);
  --line-2: rgba(255, 236, 205, 0.16);
  --text: #f4ede1;
  --muted: #b3a894;
  --faint: #776d5d;
  --brass: #d9a441;
  --brass-2: #f0c879;
  --cream: #efe0c4;
  --silver: #c9ccd2;
  --accent: linear-gradient(115deg, var(--brass) 0%, var(--brass-2) 55%, var(--cream) 100%);
  --max: 1160px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.9em; color: var(--cream); background: var(--panel-2); padding: 0.1em 0.35em; border-radius: 6px; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(140%) blur(14px); background: rgba(11, 10, 9, 0.72); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; font-size: 18px; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.links a:hover { color: var(--text); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--accent); color: #1b140a; box-shadow: 0 8px 30px -10px rgba(217, 164, 65, 0.6); }
.button.ghost { border: 1px solid var(--line-2); color: var(--text); background: var(--panel); }
.button.small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto 40%; height: 720px; background: radial-gradient(closest-side, rgba(217, 164, 65, 0.18), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; position: relative; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 13.5px; background: var(--panel); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 12px var(--brass); }
h1 { font-size: clamp(46px, 6.4vw, 84px); line-height: 1.0; letter-spacing: -0.035em; margin: 22px 0 22px; font-weight: 720; }
.lead b { color: var(--text); font-weight: 650; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { color: var(--faint); font-size: 14px; margin-top: 22px; }
.fine.center { text-align: center; }

/* Terminal */
.terminal { border-radius: 14px; background: #0f0d0b; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.02) inset; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 244, 225, 0.03); }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a342c; }
.term-bar b { margin-left: 10px; font-weight: 500; font-size: 12.5px; color: var(--faint); }
.term-body { margin: 0; padding: 18px 18px 22px; font: 13px/1.65 var(--mono); color: #ddd4c4; white-space: pre-wrap; word-break: break-word; min-height: 300px; }
.term-body .p { color: var(--brass-2); }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--brass-2); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--brass); font-weight: 600; font-size: 13.5px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 44px; }

/* How it works */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; margin: 44px 0 56px; }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.node p, .step p, .card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.node-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); font-size: 22px; margin-bottom: 16px; color: var(--cream); }
.node-icon img { filter: invert(93%) sepia(10%) saturate(400%) hue-rotate(345deg); }
.link { display: flex; align-items: center; padding: 0 10px; position: relative; min-width: 96px; }
.link::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: var(--accent); opacity: .7; }
.link span { position: relative; margin: 0 auto; background: var(--bg); padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; gap: 14px; }
.step b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1b140a; font-size: 15px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }

/* Works with: a strip of logos under the hero */
.works { padding: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.works-title { text-align: center; color: var(--faint); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; }
.logo-strip { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.logo-strip li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 15px; }
.logo-strip .logo { width: 26px; height: 26px; }
.logo { width: 34px; height: 34px; }
.logo.app-ico { border-radius: 22%; }
.logo.mono { display: inline-grid; place-items: center; filter: none; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--cream); font: 700 15px/1 var(--sans); }
.logo-strip .logo.mono { font-size: 13px; }

/* Develop: logo tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 22px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; transition: border-color .25s ease, transform .25s ease; }
.tile:hover { border-color: rgba(217, 164, 65, 0.45); transform: translateY(-2px); }
.tile .logo { margin-bottom: 14px; }
.tile h3 { margin-bottom: 4px; }
.tile p { color: var(--muted); margin: 0; font-size: 15px; }

/* Apps */
.apps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.card.app .logo { width: 40px; height: 40px; margin-bottom: 14px; }
.card.app.soon { border-style: dashed; }
.card.app h3 small { font-size: 12px; font-weight: 600; color: var(--brass); letter-spacing: .04em; text-transform: uppercase; margin-left: 6px; }
.card.app .logo.mono { font-size: 18px; border-radius: 10px; }
.fine a, details p a { color: var(--brass-2); }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { border-top: 2px solid var(--brass); padding-top: 18px; }
.stat b { display: block; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 15px; }

/* Where it fits */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit-col { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--panel); }
.fit-col.good { border-color: rgba(217, 164, 65, 0.45); }
.fit-col ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fit-col li { color: var(--muted); padding-left: 24px; position: relative; }
.fit-col li::before { content: "–"; position: absolute; left: 4px; color: var(--faint); }
.fit-col.good li::before { content: "✓"; color: var(--brass); }

/* Checker */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checker { display: grid; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.checker label { display: grid; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 600; }
.checker select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b3a894' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 38px 12px 14px; font: inherit; font-weight: 500; font-size: 16px; }
.verdict { border-radius: 12px; padding: 16px 18px; font-size: 15.5px; line-height: 1.5; border: 1px solid var(--line-2); }
.verdict b { display: block; font-size: 17px; margin-bottom: 3px; }
.verdict.good { background: rgba(217, 164, 65, 0.12); border-color: rgba(217, 164, 65, 0.45); }
.verdict.maybe { background: var(--panel-2); }
.verdict.no { background: rgba(255, 255, 255, 0.02); color: var(--muted); }

/* Limits */
.limits { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; max-width: 820px; }
.limits li { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--muted); }
.limits b { color: var(--text); }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
.tier.hot { border-color: rgba(217, 164, 65, 0.55); box-shadow: 0 30px 70px -40px rgba(217, 164, 65, 0.55); }
.tier .tag { align-self: flex-start; font-size: 12.5px; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brass); }
.price { font-size: 50px; letter-spacing: -0.03em; line-height: 1; }
.price small { font-size: 17px; color: var(--muted); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.tier p { color: var(--muted); margin: 0 0 12px; font-size: 15px; flex: 1; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brass); font-size: 22px; line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Closing and footer */
.closing { padding: 110px 0 120px; text-align: center; background: radial-gradient(closest-side at 50% 40%, rgba(217, 164, 65, 0.14), transparent 70%); }
.closing h2 { margin: 22px 0 30px; }
.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--faint); font-size: 13.5px; }
.foot-row { display: grid; gap: 8px; }
.footer a { color: var(--muted); }
.tm { font-size: 12.5px; }

/* Hero title, letter by letter */
h1 .line { display: block; }
h1 .accent { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.02em; color: var(--brass-2); }
h1 .ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
h1 .ch > i { display: inline-block; font-style: inherit; will-change: transform; }

/* Stitched leather in the hero */
.stitches { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.3) 38%, #000 70%), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.3) 38%, #000 70%), linear-gradient(180deg, #000 70%, transparent);
  mask-composite: intersect; }
.hero .wrap { z-index: 1; }

/* The zipper: closes as you scroll */
.zipper { position: fixed; left: 18px; top: 84px; bottom: 24px; width: 10px; z-index: 5; pointer-events: none; }
.zip-teeth { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(201,204,210,0.12) 0 3px, transparent 3px 7px); border-radius: 6px; }
.zip-teeth::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--zip, 0%); border-radius: 6px;
  background: repeating-linear-gradient(180deg, var(--brass) 0 3px, rgba(217,164,65,0.35) 3px 7px); }
.zip-pull { position: absolute; left: 50%; top: var(--zip, 0%); width: 14px; height: 26px; margin: -4px 0 0 -7px; border-radius: 4px 4px 7px 7px;
  background: linear-gradient(180deg, var(--brass-2), var(--brass)); box-shadow: 0 6px 16px -4px rgba(217,164,65,0.7); }
.zip-pull::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 5px; height: 7px; border-radius: 3px; background: #1b140a; opacity: .55; }

/* Data running along the links */
.link i { position: absolute; top: 50%; left: 10px; width: 7px; height: 7px; margin-top: -2.5px; border-radius: 50%;
  background: var(--brass-2); box-shadow: 0 0 10px var(--brass); opacity: 0; animation: packet 2.4s linear infinite; }
.link i:nth-child(2) { animation-delay: .8s; }
.link i:nth-child(3) { animation-delay: 1.6s; }
@keyframes packet { 0% { left: 10px; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 17px); opacity: 0; } }

/* Cards that lean toward the pointer */
.card, .node, .tier { transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .3s ease; transform-style: preserve-3d; }
.card:hover, .node:hover { border-color: var(--line-2); }

/* The early-bird tier: a brass sheen running round its edge */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tier.hot::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 70%, var(--brass-2) 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sheen 4.5s linear infinite; }
@keyframes sheen { to { --angle: 360deg; } }

/* The closing jacket floats */
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-1.5deg); } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; } .cursor { animation: none; } html { scroll-behavior: auto; }
  .link i, .tier.hot::before, .float { animation: none; } .link i { display: none; } .stitches { display: none; }
}

/* Narrow screens */
@media (max-width: 980px) {
  .hero-grid, .check-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards, .stats, .apps-grid, .tiles { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .zipper { display: none; }
  .nav-row .button { margin-left: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 70px; }
  .section { padding: 72px 0; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .link { min-height: 54px; justify-content: center; }
  .link::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps, .tiers, .cards, .stats, .fit, .apps-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; } .tile { padding: 18px; }
  .term-body { font-size: 11.5px; min-height: 0; }
}
/* The zipper needs a margin beside the content */
@media (max-width: 1260px) { .zipper { display: none; } }

/* Docs: a sidebar of guides and a readable column */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding: 56px 0 96px; align-items: start; }
.docs-side { position: sticky; top: 86px; display: grid; gap: 2px; }
.docs-side p { color: var(--faint); font-size: 12.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; margin: 18px 0 6px; }
.docs-side p:first-child { margin-top: 0; }
.docs-side a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 6px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.docs-side a:hover { color: var(--text); background: var(--panel); }
.docs-side a.on { color: var(--text); background: var(--panel-2); border-left-color: var(--brass); }
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 4.4vw, 52px); margin: 0 0 14px; letter-spacing: -0.03em; }
.doc .lead { margin-bottom: 36px; }
.doc h2 { font-size: 27px; letter-spacing: -0.02em; margin: 48px 0 12px; padding-top: 8px; }
.doc h3 { font-size: 19px; margin: 30px 0 8px; }
.doc p, .doc li { color: #d7cdbc; }
.doc ul, .doc ol { padding-left: 22px; display: grid; gap: 6px; }
.doc a { color: var(--brass-2); }
.doc pre { background: #0f0d0b; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font: 13.5px/1.65 var(--mono); color: #ddd4c4; margin: 14px 0 20px; }
.doc pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.doc pre .c { color: var(--faint); }
.doc pre .p { color: var(--brass-2); }
.note { border: 1px solid var(--line-2); border-left: 3px solid var(--brass); background: var(--panel); border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.note p { margin: 0; color: var(--muted) !important; }
.note b { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.doc td { color: #d7cdbc; }
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 24px; }
.doc-cards a { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: border-color .2s ease, transform .2s ease; }
.doc-cards a:hover { border-color: rgba(217, 164, 65, 0.5); transform: translateY(-2px); }
.doc-cards b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.doc-cards span { color: var(--muted); font-size: 15px; }
.next { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.next a { color: var(--brass-2); text-decoration: none; font-weight: 600; }
@media (max-width: 860px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .docs-side { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .docs-side p { display: none; }
  .docs-side a { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
  .docs-side a.on { border-color: var(--brass); }
  .doc-cards { grid-template-columns: 1fr; }
  .doc table { display: block; overflow-x: auto; }
}

/* Hero: centred copy, then the app itself */
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.hero-center .lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.hero-center .actions { justify-content: center; }
.hero-center h1 .line { text-align: center; }
.stage-wrap { position: relative; z-index: 1; margin-top: 56px; }
.stage { position: relative; display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 0; align-items: start; justify-content: center; }
.stage .terminal { margin: 110px 0 0 -28px; position: relative; z-index: 0; max-width: 600px; }
.stage .term-body { min-height: 0; padding-left: 46px; }
.stage .term-bar { padding-left: 46px; }
.stage-note { text-align: center; color: var(--faint); font-size: 13.5px; margin: 22px 0 0; }

/* Jacket's panel, as the app draws it (macOS dark) */
.mac-panel { --mp-bg: #1e1e1e; --mp-box: #2a2a2a; --mp-line: rgba(255,255,255,.08); --mp-text: #ececec; --mp-dim: #9a9a9a; --mp-blue: #0a84ff; --mp-green: #32d74b;
  position: relative; z-index: 1; display: grid; grid-template-columns: 76px 1fr; height: 470px; border-radius: 14px; overflow: hidden;
  background: var(--mp-bg); color: var(--mp-text); font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); text-align: left; }
.rail { background: #191919; border-right: 1px solid var(--mp-line); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; }
.rail-logo { padding: 4px 0 10px; opacity: .85; }
.rail-logo img { filter: invert(1); }
.rail-b { width: 60px; border: 0; background: none; color: var(--mp-dim); border-radius: 9px; padding: 7px 0 6px; display: grid; justify-items: center; gap: 3px; font: 11px/1 inherit; font-family: inherit; cursor: pointer; }
.rail-b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rail-b:hover { color: var(--mp-text); }
.rail-b.on { background: rgba(10,132,255,.18); color: var(--mp-blue); }
.rail-dot { margin-top: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--mp-green); box-shadow: 0 0 8px var(--mp-green); }
.pane-wrap { display: flex; flex-direction: column; min-width: 0; }
.pane-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--mp-line); }
.pane-head b { font-size: 16px; }
.pane-head span { color: var(--mp-dim); font-size: 12px; }
.pane { display: none; padding: 14px 16px; overflow: hidden; }
.pane.on { display: block; animation: paneIn .25s ease; }
@keyframes paneIn { from { opacity: 0; transform: translateY(4px); } }
.box { background: var(--mp-box); border-radius: 10px; }
.hero-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.hero-card > div { flex: 1; }
.hero-card b { display: block; font-size: 14px; }
.hero-card small, .app-row small { color: var(--mp-dim); font-size: 11.5px; }
.chip-ico svg { width: 30px; height: 30px; fill: none; stroke: var(--mp-blue); stroke-width: 1.6; }
.mbtn { border: 0; background: rgba(255,255,255,.1); color: var(--mp-text); border-radius: 7px; padding: 5px 11px; font: 12px/1.2 inherit; font-family: inherit; cursor: pointer; }
.mbtn:hover { background: rgba(255,255,255,.16); }
.mbtn.wide { width: 100%; margin-top: 10px; padding: 8px; }
.ph { color: var(--mp-dim); font-weight: 600; font-size: 12px; margin: 14px 0 7px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 8px; }
.ph-row .ph { margin: 0; }
.meters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.meter { text-align: center; padding: 11px 4px 9px; }
.meter b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.meter small { color: var(--mp-dim); font-size: 11px; }
.mem { display: flex; justify-content: space-between; color: var(--mp-dim); font-size: 12px; margin: 14px 0 6px; }
.bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: #a7a7a7; transition: width 1.2s ease; }
.list { padding: 6px 12px; }
.list div { padding: 5px 0; font-size: 13px; }
.list em { font-style: normal; color: var(--mp-dim); background: none; -webkit-text-fill-color: currentColor; font-family: inherit; }
.apps { padding: 2px 0; }
.app-row { display: flex; align-items: center; gap: 11px; padding: 9px 12px; }
.apps .app-row + .app-row { position: relative; }
.apps .app-row + .app-row::before { content: ""; position: absolute; top: 0; left: 53px; right: 0; border-top: 1px solid var(--mp-line); }
.app-row img { border-radius: 7px; flex: none; }
.app-row > div { flex: 1; min-width: 0; }
.app-row b { display: block; font-size: 13.5px; }
.app-row small { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mp-green); flex: none; }
.app-row.off .dot { background: #8e8e93; }
.sw { position: relative; width: 38px; height: 22px; border: 0; border-radius: 11px; background: #48484a; cursor: pointer; flex: none; transition: background .2s ease; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.sw.on { background: var(--mp-blue); }
.sw.on::after { transform: translateX(16px); }
.kv { padding: 4px 14px; }
.kv > div { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 12px; }
.kv > div + div { border-top: 1px solid var(--mp-line); }
.kv span, .tk span { color: var(--mp-dim); }
.ok { color: var(--mp-green); font-weight: 600; }
.tk { padding: 6px 14px 8px; margin-bottom: 8px; }
.tk > div { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.tk-h b { font-size: 14px; }
.pill { color: var(--mp-blue) !important; background: rgba(10,132,255,.16); border-radius: 6px; padding: 2px 8px; font-size: 11.5px; font-weight: 600; }
.note-s { color: var(--mp-dim); font-size: 12px; margin: 10px 2px; }
.about { display: grid; justify-items: center; gap: 6px; padding: 40px 0; }
.about b { font-size: 18px; }
.about small { color: var(--mp-dim); }

@media (max-width: 1100px) {
  .stage { grid-template-columns: minmax(0, 560px); }
  .stage .terminal { margin: 18px 0 0; }
  .stage .term-body, .stage .term-bar { padding-left: 18px; }
}
@media (max-width: 620px) {
  .mac-panel { grid-template-columns: 58px 1fr; height: 440px; font-size: 12px; }
  .rail-b { width: 50px; font-size: 9.5px; }
  .meters { grid-template-columns: repeat(2, 1fr); }
  .stage-wrap { margin-top: 36px; }
}
