/* Murmio site — calm paper, painted washes. Proportions follow a measured reference layout; all code and content are Murmio's own. */

:root {
  --bg: #f6f5f0;
  --ink: #26251e;
  --ink-2: #6b6a5e;
  --ink-3: #8a897c;
  --line: rgba(38, 37, 30, .12);
  --line-2: rgba(38, 37, 30, .07);
  --win: #fcfbf8;
  --win-2: #f5f4ee;
  --accent: #9a4f12;
  --green: #5d8a2c;
  --x: #26251e;
  --fb: #0866ff;
  --ig: #e1306c;
  --tk: #111111;
  --sans: "Geist", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Newsreader", Georgia, "Noto Serif SC", "Songti SC", serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --win-shadow: 0 28px 70px rgba(0, 0, 0, .14), 0 14px 32px rgba(0, 0, 0, .10), 0 0 0 1px rgba(38, 37, 30, .10);
  --ring: 0 0 0 1px rgba(38, 37, 30, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -48px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }

/* icons */
.ri { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: 60px; display: flex; align-items: center; padding: 0 32px; transition: background .2s; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(246, 245, 240, .72); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); border-bottom: 1px solid var(--line-2); z-index: -1; }
.nav-in { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.mark { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 13px; color: var(--ink-2); text-decoration: none; }
.nav-links a:hover, .signin:hover, .lang:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink-2); text-decoration: none; }
.lang .ri { font-size: 14px; }
.signin { font-size: 13px; color: var(--ink-2); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 9999px; background: var(--ink); color: #f6f5f0; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(38, 37, 30, .2), inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .15s, background .15s; }
.btn:hover { background: #3a392f; }
.btn .ri { font-size: 14px; }
.btn-lg { height: 46px; padding: 0 24px; font-size: 14.5px; }
.btn-lg .ri { font-size: 15px; }
.btn-ghost { background: rgba(252, 251, 248, .7); color: var(--ink); box-shadow: var(--ring); }
.btn-ghost:hover { background: var(--win); }

/* ---------- painted backdrops ---------- */
.paint { position: absolute; inset: 0; background-size: cover; background-position: center; pointer-events: none; }
.paint::after { content: ""; position: absolute; inset: 0; 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%3CfeColorMatrix values='0 0 0 0 .15 0 0 0 0 .14 0 0 0 0 .12 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: .35; }
.p-hero { background-image: url("/assets/bg/hero.jpg"); }
.p-sage { background-image: url("/assets/bg/sage.jpg"); }
.p-lilac { background-image: url("/assets/bg/lilac.jpg"); }
.p-peach { background-image: url("/assets/bg/peach.jpg"); }
.p-rose { background-image: url("/assets/bg/rose.jpg"); }
.p-cta { background-image: url("/assets/bg/cta.jpg"); }

/* ---------- hero ---------- */
.hero { position: relative; margin-top: -60px; padding: 148px 24px 96px; text-align: center; }
.hero .paint { bottom: 0; -webkit-mask-image: linear-gradient(#000 0, #000 70%, transparent 100%); mask-image: linear-gradient(#000 0, #000 70%, transparent 100%); }
.hero-in { position: relative; max-width: 1180px; margin: 0 auto; }
.hero h1 { font-size: 76px; line-height: 1.04; font-weight: 500; letter-spacing: -.034em; }
.hero h1 em, .accent { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; }
.hero-sub { max-width: 600px; margin: 22px auto 0; font-size: 16.5px; line-height: 1.65; color: #45443c; }
.hero-cta { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-shot { margin: 60px auto 0; max-width: 1180px; }

/* ---------- product window ---------- */
.win { position: relative; background: var(--win); border-radius: 12px; box-shadow: var(--win-shadow); overflow: hidden; text-align: left; font-size: 13px; line-height: 1.45; color: var(--ink); }
.win-bar { height: 36px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--win); }
.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e6b9ad; }
.win-dots span:nth-child(2) { background: #ead8a6; }
.win-dots span:nth-child(3) { background: #b9d3a8; }
.win-url { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.win-live { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.win-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* shared mock atoms */
.pf { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; color: #fff; }
.pf .ri { width: 62%; height: 62%; }
.pf-x { background: var(--x); } .pf-fb { background: var(--fb); } .pf-ig { background: var(--ig); } .pf-tk { background: var(--tk); }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 6px; border-radius: 99px; background: var(--win); box-shadow: var(--ring); font-size: 12.5px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 11.5px; white-space: nowrap; }
.pill-ok { background: #e7efdc; color: #3f6420; }
.pill-wait { background: #f3ead2; color: #7a5a12; }
.pill-soft { background: var(--win-2); color: var(--ink-2); box-shadow: var(--ring); }
.mini { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--ink); color: #f6f5f0; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.mini .ri { font-size: 13px; }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: var(--win-2); box-shadow: var(--ring); }
.seg span { padding: 4px 11px; border-radius: 6px; font-size: 12px; color: var(--ink-2); }
.seg .on { background: var(--win); color: var(--ink); box-shadow: 0 1px 2px rgba(38, 37, 30, .12); }
.av { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 12px; font-weight: 600; color: #3b3a32; }
.av-wrap { position: relative; display: inline-flex; }
.av-wrap .pf { position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 5px; box-shadow: 0 0 0 2px var(--win); }
.thumb { border-radius: 8px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(38, 37, 30, .06); }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); }

/* app shell (hero) */
.app { display: grid; grid-template-columns: 208px minmax(0, 1fr) 256px; height: 608px; }
.side { border-right: 1px solid var(--line); background: var(--win-2); padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; }
.team { display: flex; align-items: center; gap: 9px; padding: 6px 8px 14px; font-weight: 600; font-size: 13.5px; }
.team .tm { width: 26px; height: 26px; border-radius: 7px; background: #3f5a4a; color: #f2f1ea; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.team .ri { margin-left: auto; color: var(--ink-3); font-size: 14px; }
.nav-i { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 8px; color: var(--ink-2); font-size: 13px; }
.nav-i .ri { font-size: 16px; }
.nav-i.on { background: var(--win); color: var(--ink); box-shadow: var(--ring); font-weight: 500; }
.nav-i .n { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.side-h { margin: 18px 9px 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.acct { display: flex; align-items: center; gap: 10px; padding: 6px 9px; font-size: 12.5px; color: var(--ink-2); }
.main { display: flex; flex-direction: column; min-width: 0; }
.main-h { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line-2); }
.main-h h4 { margin: 0 auto 0 0; font-size: 15px; font-weight: 600; }
.cal { flex: 1; display: grid; grid-template-columns: 54px repeat(5, minmax(0, 1fr)); grid-template-rows: 34px repeat(4, minmax(0, 1fr)); margin: 0 22px 22px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.cal > div { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 7px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cal > div:nth-child(6n) { border-right: 0; }
.cal .dh { flex-direction: row; align-items: center; gap: 6px; padding: 0 10px; font-size: 12px; color: var(--ink-2); background: var(--win-2); }
.cal .dh b { color: var(--ink); font-weight: 600; }
.cal .dh.today b { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 11px; }
.cal .t { font-family: var(--mono); font-size: 11px; color: var(--ink-3); background: var(--win-2); }
.ev { display: flex; align-items: flex-start; gap: 7px; padding: 7px 8px; border-radius: 8px; background: var(--win); box-shadow: var(--ring); font-size: 12px; line-height: 1.35; }
.ev span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev.done { background: #eef3e6; }
.ev .pf { width: 17px; height: 17px; border-radius: 5px; margin-top: 0; }
.rail { border-left: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--win); }
.rail h5 { margin: 0 0 2px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.rail h5 .mono { margin-left: auto; font-weight: 400; font-size: 11px; color: var(--ink-3); }
.q { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 11px; padding: 10px; border-radius: 10px; box-shadow: var(--ring); background: var(--win); }
.q .thumb { width: 46px; height: 46px; }
.q b { display: block; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q small { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 11.5px; color: var(--ink-2); }
.q small .pf { width: 16px; height: 16px; border-radius: 5px; }

/* ---------- section heading ---------- */
.sec-head { text-align: center; padding: 110px 24px 46px; }
.sec-head h2 { font-size: 48px; line-height: 1.08; font-weight: 500; letter-spacing: -.03em; }
.sec-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #45443c; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ---------- feature cards ---------- */
.shows { display: flex; flex-direction: column; gap: 50px; padding: 0 40px; }
.show { position: relative; max-width: 1360px; width: 100%; margin: 0 auto; min-height: 726px; border-radius: 12px; overflow: hidden; box-shadow: var(--ring); display: grid; grid-template-columns: 362px minmax(0, 1fr); align-items: center; gap: 56px; padding: 64px 58px; }
.show.bleed { grid-template-columns: 380px minmax(0, 1fr); gap: 38px; padding-right: 0; }
.show.flip { grid-template-columns: minmax(0, 1fr) 362px; }
.show.flip .copy { order: 2; }
.show::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(246, 245, 240, .62) 0, rgba(246, 245, 240, .38) 34%, rgba(246, 245, 240, 0) 58%); pointer-events: none; }
.show.flip::before { background: linear-gradient(270deg, rgba(246, 245, 240, .62) 0, rgba(246, 245, 240, .38) 34%, rgba(246, 245, 240, 0) 58%); }
.show > .paint { z-index: 0; }
.show > .copy, .show > .stage { z-index: 1; }
.copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lede { font-size: 23px; line-height: 1.42; letter-spacing: -.012em; color: #45443c; }
.hero h1, .sec-head h2, .cta-card h2, .lede { text-wrap: balance; }
.lede strong { display: block; color: var(--ink); font-weight: 600; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 15px; font-weight: 500; color: #6f3606; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.more .ri { font-size: 15px; }
.stage { position: relative; min-width: 0; }
.show.bleed .stage .win { width: 923px; }
.stage .win { height: 596px; display: flex; flex-direction: column; }
.stage .win > .body { flex: 1; min-height: 0; }
.stage .win > .body > * { height: 100%; }

/* composer */
.compose { display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.compose .ed { padding: 22px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip .pf { width: 20px; height: 20px; }
.chip.on { box-shadow: 0 0 0 1.5px var(--ink); }
.draft { flex: 1; border-radius: 10px; box-shadow: var(--ring); padding: 16px; display: flex; flex-direction: column; gap: 14px; background: var(--win); }
.draft p { font-size: 14px; line-height: 1.6; }
.thumbs { display: flex; gap: 10px; }
.thumbs .thumb { width: 132px; height: 132px; }
.ai-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ai-row .pill .ri { font-size: 13px; }
.ed-foot { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.ed-foot .mini { margin-left: auto; }
.ed-foot .ri { font-size: 15px; }
.pv { padding: 22px; background: var(--win-2); display: flex; flex-direction: column; gap: 14px; }
.pv .seg { align-self: flex-start; }
.post { border-radius: 12px; background: var(--win); box-shadow: var(--ring); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.post-h { display: flex; align-items: center; gap: 10px; }
.post-h b { display: block; font-size: 13px; }
.post-h small { font-size: 11.5px; color: var(--ink-2); }
.post .thumb { height: 190px; border-radius: 9px; }
.post p { font-size: 12.5px; line-height: 1.55; }
.fit { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #3f6420; }
.fit .ri { font-size: 14px; }

/* inbox */
.inbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.threads { border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.tabs { display: flex; gap: 18px; padding: 14px 18px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.tabs span { padding-bottom: 10px; }
.tabs .on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--ink); }
.th { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); align-items: start; }
.th.on { background: var(--win-2); }
.th b { display: block; font-size: 13px; font-weight: 500; }
.th p { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.th time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.conv { display: flex; flex-direction: column; min-width: 0; }
.conv-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.conv-h small { color: var(--ink-2); }
.msgs { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 76%; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.55; }
.msg.in { background: var(--win); box-shadow: var(--ring); }
.msg.in .tr { display: block; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); color: var(--ink-2); font-size: 12.5px; }
.msg.out { align-self: flex-end; background: var(--ink); color: #f2f1ea; }
.reply { margin: 0 20px 20px; border-radius: 12px; box-shadow: var(--ring); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.reply p { font-size: 13px; }
.reply-f { display: flex; align-items: center; gap: 8px; }
.reply-f .mini { margin-left: auto; }

/* analytics */
.anl { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { border-radius: 10px; box-shadow: var(--ring); padding: 14px 16px; }
.kpi small { display: block; font-size: 12px; color: var(--ink-2); }
.kpi b { display: block; margin-top: 6px; font-family: var(--mono); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: #3f6420; }
.chart { border-radius: 10px; box-shadow: var(--ring); padding: 14px 16px 6px; }
.chart-h { display: flex; align-items: center; gap: 14px; font-size: 12.5px; }
.chart-h b { font-weight: 500; margin-right: auto; }
.legend { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12px; }
.legend i { width: 14px; height: 2px; border-radius: 2px; background: var(--ink); }
.legend i.prev { background: #b9b7a8; }
.chart svg { width: 100%; height: 178px; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 70px; align-items: center; gap: 16px; padding: 9px 2px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.row:last-child { border-bottom: 0; }
.row > span:first-child { display: flex; align-items: center; gap: 9px; }
.bar { height: 6px; border-radius: 99px; background: var(--win-2); box-shadow: var(--ring); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--ink); }
.row .num { font-family: var(--mono); text-align: right; }

/* team */
.team-w { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.team-h { display: flex; align-items: center; margin-bottom: 8px; }
.team-h h4 { margin: 0 auto 0 0; font-size: 15px; font-weight: 600; }
.mem { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line-2); }
.mem .av { width: 34px; height: 34px; }
.mem b { display: block; font-size: 13px; font-weight: 500; }
.mem.pending b { color: var(--ink-2); font-weight: 400; }
.mem small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.role { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; box-shadow: var(--ring); font-size: 12.5px; }
.role .ri { font-size: 12px; color: var(--ink-3); }
.groups { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.toggle { margin-top: 12px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--win-2); box-shadow: var(--ring); font-size: 13px; }
.toggle .ri { font-size: 16px; color: var(--ink-2); }
.sw { margin-left: auto; width: 36px; height: 21px; border-radius: 99px; background: var(--ink); position: relative; }
.sw::after { content: ""; position: absolute; right: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }

/* ---------- platforms ---------- */
.plats { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plat { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 12px; background: var(--win); box-shadow: var(--ring); }
.plat .pf { width: 40px; height: 40px; border-radius: 11px; }
.plat b { display: block; font-size: 15px; font-weight: 600; }
.plat small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.45; }

/* ---------- closing CTA ---------- */
.cta { position: relative; margin-top: 120px; padding: 132px 24px; }
.cta .paint { -webkit-mask-image: linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(transparent 0, #000 22%, #000 78%, transparent 100%); }
.cta-card { position: relative; max-width: 640px; margin: 0 auto; padding: 66px 48px 44px; border-radius: 16px; background: var(--win); box-shadow: 0 30px 80px rgba(60, 40, 20, .16), 0 0 0 1px rgba(38, 37, 30, .08); text-align: center; }
.cta-card h2 { font-size: 48px; line-height: 1.06; font-weight: 500; letter-spacing: -.03em; }
.cta-card p { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.cta-card .btn { margin-top: 28px; }
.cta-card .note { margin-top: 22px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { max-width: 1240px; margin: 0 auto; padding: 40px 24px 64px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; font-size: 13px; color: var(--ink-2); }
.foot-brand { display: flex; align-items: baseline; gap: 14px; }
.foot-brand .brand { font-size: 15px; align-self: center; }
.foot-brand .mark { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.foot-brand i { font-family: var(--serif); font-size: 14px; color: var(--ink-2); }
.foot-c { font-size: 12px; }
.foot nav { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* ---------- legal ---------- */
.legal-hero { position: relative; margin-top: -60px; padding: 140px 24px 64px; overflow: hidden; }
.legal-hero .paint { -webkit-mask-image: linear-gradient(#000 0, #000 55%, transparent 100%); mask-image: linear-gradient(#000 0, #000 55%, transparent 100%); }
.legal-hero .in { position: relative; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal-hero h1 { margin: 16px 0 10px; font-size: 52px; line-height: 1.06; font-weight: 500; letter-spacing: -.03em; }
.legal-hero p { color: var(--ink-2); font-size: 15px; }
.prose { max-width: 760px; margin: 0 auto; padding: 24px 24px 96px; font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 22px; letter-spacing: -.012em; line-height: 1.35; margin: 48px 0 10px; font-weight: 600; }
.prose h3 { font-size: 16.5px; margin: 26px 0 6px; font-weight: 600; }
.prose p, .prose li { color: #3b3a32; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: .9em; background: #efeee6; padding: 1px 5px; border-radius: 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; background: var(--win-2); }
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--ring); background: var(--win); margin: 6px 0 18px; }
.toc { margin: 0 0 8px; padding: 20px 22px; border-radius: 12px; background: var(--win); box-shadow: var(--ring); }
.toc b { display: block; font-size: 11px; font-family: var(--mono); letter-spacing: .14em; color: var(--ink-2); text-transform: uppercase; margin-bottom: 10px; font-weight: 400; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
.toc li { margin: 0; padding: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.ph { background: #fbe9b7; color: #4a3b06; padding: 0 4px; border-radius: 4px; font-weight: 500; }

/* ---------- 404 ---------- */
.lost { position: relative; margin-top: -60px; min-height: 100vh; display: grid; place-items: center; padding: 120px 24px; text-align: center; overflow: hidden; }
.lost .in { position: relative; }
.lost h1 { margin: 16px 0 10px; font-size: 64px; line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.lost p { color: var(--ink-2); }

/* ---------- zh ---------- */
:lang(zh-CN) .hero h1, :lang(zh-CN) .sec-head h2, :lang(zh-CN) .cta-card h2 { letter-spacing: -.01em; font-weight: 600; }
:lang(zh-CN) .hero h1 { font-size: 68px; line-height: 1.16; }
:lang(zh-CN) .hero h1 em, :lang(zh-CN) .sec-head h2 em, :lang(zh-CN) .cta-card h2 em { font-family: "Noto Serif SC", "Songti SC", serif; font-style: normal; font-weight: 500; letter-spacing: 0; }
:lang(zh-CN) .lede { font-size: 22px; line-height: 1.55; letter-spacing: 0; }
:lang(zh-CN) .eyebrow { letter-spacing: .2em; }
:lang(zh-CN) .legal-hero h1 { font-weight: 600; letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .app { grid-template-columns: 200px minmax(0, 1fr); }
  .rail { display: none; }
}
@media (max-width: 1100px) {
  .show, .show.flip, .show.bleed { grid-template-columns: minmax(0, 1fr); padding: 56px 0 0 40px; gap: 40px; min-height: 0; align-items: start; }
  .show.flip .copy { order: 0; }
  .show .copy, .show.flip .copy { padding-right: 40px; max-width: 560px; }
  .show .stage .win, .show.flip .stage .win, .show.bleed .stage .win { width: 900px; height: 560px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { padding: 0 16px; }
  .nav-in { grid-template-columns: 1fr auto; }
  .nav-links, .signin { display: none; }
  .nav-right { gap: 14px; }
  .hero { padding: 116px 16px 64px; }
  .hero h1 { font-size: 46px; letter-spacing: -.03em; }
  :lang(zh-CN) .hero h1 { font-size: 32px; line-height: 1.3; }
  :lang(zh-CN) .sec-head h2, :lang(zh-CN) .cta-card h2 { font-size: 28px; line-height: 1.35; }
  .hero-sub { font-size: 15.5px; }
  .hero-shot { margin-top: 44px; margin-left: -16px; margin-right: -16px; overflow: hidden; padding: 0 16px 30px; }
  .hero-shot .win { width: 900px; zoom: .62; }
  .shows { padding: 0 16px; gap: 24px; }
  .show, .show.flip, .show.bleed { padding: 40px 0 0 24px; }
  .show .copy, .show.flip .copy { padding-right: 24px; }
  .lede, :lang(zh-CN) .lede { font-size: 19px; }
  .show .stage .win, .show.flip .stage .win, .show.bleed .stage .win { zoom: .62; }
  .sec-head { padding: 80px 16px 32px; }
  .sec-head h2, .cta-card h2 { font-size: 34px; }
  .plats { padding: 0 16px; grid-template-columns: 1fr; }
  .cta { margin-top: 72px; padding: 88px 16px; }
  .cta-card { padding: 48px 24px 34px; }
  .foot { padding: 32px 16px 48px; }
  .foot-in { grid-template-columns: 1fr; justify-items: start; }
  .foot nav { justify-content: flex-start; }
  .legal-hero { padding: 116px 16px 40px; }
  .legal-hero h1 { font-size: 38px; }
  .prose { padding: 16px 16px 72px; }
  .toc ol { columns: 1; }
  .lost h1 { font-size: 42px; }
}
