html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

.nav-bar { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 14, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; font: 800 21px var(--display); letter-spacing: -0.02em; }
.logo span { color: var(--ink); }
.links { display: flex; gap: 28px; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }
.btn.big { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 10px; }

.hero { padding: 88px 0 96px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
.lead { font-size: 20px; color: #c9c9c4; margin-top: 26px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.fine { color: var(--muted); font-size: 15px; margin-top: 16px; }

.ruling { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.ruling-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 15px; color: var(--muted); }
.ruling-h strong { font: 800 28px var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.chart { width: 100%; height: auto; display: block; }
.chart.mini { margin: 14px 0 6px; }
.chart .axis { fill: var(--muted); font-size: 11px; }
.chart .grid { stroke: var(--line); stroke-dasharray: 2 4; }
.chart .zero { stroke: #3a3f48; }
.chart.equity .line { fill: none; stroke-width: 2; }
.chart.equity.pos .line { stroke: var(--pos); } .chart.equity.pos .area { fill: rgba(63, 214, 139, .1); } .chart.equity.pos .dot { fill: var(--pos); }
.chart.equity.neg .line { stroke: var(--neg); } .chart.equity.neg .area { fill: rgba(255, 98, 98, .1); } .chart.equity.neg .dot { fill: var(--neg); }
.ruling-list { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.ruling-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; }
.ruling-list li strong { white-space: nowrap; }
.ruling figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.band { background: var(--accent); color: var(--accent-ink); padding: 64px 0; }
.band-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 48px; align-items: center; }
.band-big { font: 800 clamp(56px, 9vw, 128px) var(--display); letter-spacing: -0.05em; line-height: .9; }
.band-txt { font-size: 22px; font-weight: 500; max-width: 26em; }

.sec { padding: 112px 0; }
.sec.alt { background: #0f1013; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; letter-spacing: -0.035em; max-width: 15em; }
.sec h2.center { text-align: center; margin: 0 auto; }
.sec-p { font-size: 19px; color: #c9c9c4; margin-top: 22px; max-width: 34em; }
.sec-p.narrow { margin-bottom: 36px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }

.trade-card, .journal-card, .prop-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.tc-h, .jc-h { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.tc-h h3, .jc-h h3 { font-size: 24px; margin-top: 4px; }
.tc-h strong { font: 800 26px var(--display); white-space: nowrap; }
.tc-sum { margin-top: 14px; font-size: 17px; }
.tc-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.tc-list li { position: relative; padding-left: 22px; font-size: 16px; color: #d6d5cf; }
.tc-list li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 9px; height: 9px; border-radius: 2px; background: var(--muted); }
.tc-list li.bad::before { background: var(--neg); } .tc-list li.warn::before { background: var(--warn); } .tc-list li.good::before { background: var(--pos); }

.feat { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 56px; }
.feat > div { background: var(--surface); padding: 30px; grid-column: span 2; }
.feat > div:nth-child(4), .feat > div:nth-child(5) { grid-column: span 3; }
.feat h3 { font-size: 22px; letter-spacing: -0.02em; }
.feat p { color: #c2c2bd; margin-top: 10px; }

.journal-card p { margin-top: 10px; color: #d6d5cf; }
.jc-focus { color: var(--accent) !important; font-weight: 600; margin-top: 16px !important; }
.grade { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface-2); font: 800 24px var(--display); flex: none; }
.grade.gA { color: var(--pos); } .grade.gB { color: var(--accent); } .grade.gC { color: var(--warn); } .grade.gD { color: var(--neg); }
.split.rev > :first-child { order: 0; }

.pc-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: 16px; color: #c9c9c4; }
.pc-row:first-child { margin-top: 0; }
.pc-row strong { font: 700 20px var(--display); color: var(--ink); }
.gauge { height: 12px; background: var(--surface-2); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.gauge-fill { height: 100%; border-radius: 6px; }
.gauge.pos .gauge-fill { background: var(--pos); } .gauge.warn .gauge-fill { background: var(--warn); } .gauge.neg .gauge-fill { background: var(--neg); }
.pc-verdict { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font: 800 26px var(--display); color: var(--neg); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin-top: 40px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child > * { border-bottom: 0; }
thead th { color: var(--muted); font-weight: 500; font-size: 14px; background: var(--surface); }
tbody th { font-weight: 600; white-space: nowrap; }
td.ok { color: var(--pos); font-weight: 600; white-space: nowrap; } td.soon { color: var(--warn); font-weight: 600; white-space: nowrap; }
.cmp td:last-child { color: var(--ink); } .cmp td:nth-child(2) { color: var(--muted); }
.cmp thead th:last-child { color: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; }
.plan.main { border-color: var(--accent); }
.plan h3 { font-size: 22px; }
.price { font: 800 52px var(--display); letter-spacing: -0.03em; margin: 12px 0 4px; }
.price span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { padding-left: 24px; position: relative; color: #d6d5cf; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.faq { max-width: 860px; }
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 22px 0; font: 600 20px var(--display); letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 26px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 22px; color: #c9c9c4; font-size: 17px; max-width: 40em; }

.final { padding: 128px 0; text-align: center; }
.final h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 800; letter-spacing: -0.04em; max-width: 14em; margin: 0 auto; }


@media (max-width: 1020px) {
  .hero-in, .split, .band-in { grid-template-columns: 1fr; gap: 44px; }
  .split.rev > :first-child { order: 2; }
  .feat { grid-template-columns: 1fr 1fr; } .feat > div, .feat > div:nth-child(4), .feat > div:nth-child(5) { grid-column: span 1; }
  .feat > div:nth-child(5) { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .links { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .lead { font-size: 18px; }
  .sec { padding: 72px 0; }
  .feat { grid-template-columns: 1fr; } .feat > div:nth-child(5) { grid-column: span 1; }
  .nav-cta .btn:first-child { display: none; }
  th, td { padding: 12px 14px; font-size: 15px; } tbody th { white-space: normal; min-width: 110px; }
  .btn.big { width: 100%; }
  .ruling { padding: 18px; }
}

/* ---------- motion (only when JS + motion allowed) ---------- */
.nav-bar { transition: background .3s, border-color .3s; }
.nav-bar:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn { transition: background .15s, border-color .15s, transform .25s cubic-bezier(.2,.7,.2,1); }
.plan, .feat > div { transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s, background .25s; }
.plan:hover { transform: translateY(-6px); }
.feat > div:hover { background: #171a1f; }
.ruling { transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; will-change: transform; }

@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes word { from { opacity: 0; transform: translate3d(0, .38em, 0); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.4) rotate(-14deg); } 60% { opacity: 1; transform: scale(.94) rotate(-5deg); } 100% { opacity: 1; transform: scale(1) rotate(-5deg); } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translate(-3px, 1px); } 50% { transform: translate(2px, -2px); } 75% { transform: translate(-1px, 2px); } }
@keyframes gfill { from { width: 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.js .hero h1 .w { display: inline-block; }
.js .hero h1 .w > span { display: inline-block; opacity: 0; animation: word 1.3s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d) + 150ms); }
.js .hero .lead { animation: up 1.3s cubic-bezier(.16,1,.3,1) 1.1s both; }
.js .hero .cta-row { animation: up 1.3s cubic-bezier(.16,1,.3,1) 1.3s both; }
.js .hero .fine { animation: up 1.3s cubic-bezier(.16,1,.3,1) 1.45s both; }
.js .ruling { animation: up 1.4s cubic-bezier(.16,1,.3,1) .7s both; }
.js .ruling .chart.equity .line { stroke-dasharray: 1; animation: draw 2.6s cubic-bezier(.45,0,.2,1) 1.3s both; }
.js .ruling .chart.equity .area { animation: fadein 1.4s ease 2.6s both; }
.js .ruling .chart.equity .dot { transform-box: fill-box; transform-origin: center; animation: fadein .5s ease 3.8s both; }
.js .ruling-list li { animation: slidein 1s cubic-bezier(.16,1,.3,1) both; }
.js .ruling-list li:nth-child(1) { animation-delay: 2.0s; } .js .ruling-list li:nth-child(2) { animation-delay: 2.15s; }
.js .ruling-list li:nth-child(3) { animation-delay: 2.3s; } .js .ruling-list li:nth-child(4) { animation-delay: 2.45s; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .tc-list li.reveal { transform: translateX(-18px); }
.js .tc-list li.reveal.in { transform: none; }

.js .band-big.reveal { transform: translateY(40px) scale(.96); }
.js .band-big.reveal.in { transform: none; }
.js .prop-card .gauge-fill { width: 0 !important; transition: width 1.6s cubic-bezier(.2,.7,.2,1) .3s; }
.js .prop-card.in .gauge-fill { width: var(--w) !important; }
.js .prop-card .pc-verdict { opacity: 0; display: inline-block; }
.js .prop-card.in .pc-verdict { animation: stamp .55s cubic-bezier(.3,1.4,.5,1) 1.7s both; }
.js .prop-card.in { animation: shake .3s ease 2.15s; }
.js .journal-card .grade { opacity: 0; }
.js .journal-card.in .grade { animation: stamp .5s cubic-bezier(.3,1.4,.5,1) .7s both; }
.pc-verdict { border: 3px solid var(--neg); border-radius: 10px; padding: 6px 16px; margin-top: 26px; transform: rotate(-5deg); text-transform: uppercase; letter-spacing: .04em; font-size: 22px; }

/* ---------- works with ---------- */
.works { padding: 96px 0 104px; border-top: 1px solid var(--line); }
.works-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.works-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.035em; }
.works-head p { color: #c9c9c4; font-size: 18px; max-width: 32em; }
.works-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 48px; }
.wg { background: var(--ground); padding: 28px 28px 30px; }
.wg h3 { font: 600 14px var(--text); color: var(--muted); letter-spacing: 0; }
.wg ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 4px; }
.wg li { font: 700 22px var(--display); letter-spacing: -0.02em; color: #8c9097; line-height: 1.5; transition: color .35s, transform .35s cubic-bezier(.16,1,.3,1); }
.wg li a { text-decoration: none; color: inherit; }
.wg li:hover { color: var(--ink); transform: translateX(4px); }
.wg-note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ---------- links inside headings / tables ---------- */
.feat h3 a, .imp tbody th a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s cubic-bezier(.16,1,.3,1); }
.feat h3 a:hover, .imp tbody th a:hover { background-size: 100% 1px; }
.early { text-align: center; color: var(--accent); font-weight: 600; margin-top: 18px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 72px 0 40px; position: relative; z-index: 1; background: var(--ground); }
.foot-top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 64px; }
.foot-brand p { color: var(--muted); margin: 14px 0 20px; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.fcol h2 { font: 600 14px var(--text); color: var(--ink); letter-spacing: 0; }
.fcol ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.fcol a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.fcol a:hover { color: var(--ink); }
.foot-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: #7b7f86; font-size: 13px; }

/* ---------- sub pages ---------- */
.sub-hero { padding: 72px 0 40px; }
.sub-hero h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; max-width: 15em; margin-top: 22px; }
.crumbs { display: flex; gap: 10px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.sub-body { padding-top: 40px; }
.sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.prose h2 { font-size: 28px; letter-spacing: -0.02em; margin: 44px 0 14px; max-width: none; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; color: #c9c9c4; margin-top: 12px; max-width: 40em; }
.howto { counter-reset: h; list-style: none; padding: 0; margin: 8px 0 0; }
.howto li { counter-increment: h; position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--line); font-size: 17px; color: #d6d5cf; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; font: 700 15px var(--display); }
.prose details summary { font-size: 18px; }
.sub-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.side-card, .side-links { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.side-card h2, .side-links h2 { font-size: 19px; letter-spacing: -0.02em; max-width: none; }
.side-card p { color: var(--muted); margin: 8px 0 16px; font-size: 15px; }
.side-links ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.side-links a { color: #c9c9c4; text-decoration: none; } .side-links a:hover { color: var(--ink); }

/* ---------- AI assistant ---------- */
.assist { position: fixed; right: 20px; bottom: 20px; z-index: 40; }
.assist-btn { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 26px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.assist-btn:hover { transform: translateY(-2px); }
.assist.open .assist-btn { display: none; }
.assist-panel { width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid #2e333b; border-radius: 18px; overflow: hidden; transform-origin: bottom right; animation: assistIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes assistIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.assist-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.assist-h strong { display: block; font-family: var(--display); font-size: 17px; }
.assist-h span { color: var(--muted); font-size: 13px; }
.assist-x { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.assist-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.am { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; animation: msgIn .4s cubic-bezier(.16,1,.3,1) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.am.bot { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.am.me { background: var(--accent); color: var(--accent-ink); align-self: flex-end; border-bottom-right-radius: 4px; }
.am.typing { color: var(--muted); }
.am.typing::after { content: '…'; animation: blink 1s steps(3) infinite; }
@keyframes blink { 50% { opacity: .3; } }
.assist-sug { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.assist-sug button { border: 1px solid var(--line); background: var(--ground); border-radius: 16px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.assist-sug button:hover { border-color: var(--accent); color: var(--accent); }
.assist-f { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.assist-f input { flex: 1; min-width: 0; background: var(--ground); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 40px; font-size: 15px; }

/* ---------- neon ribbon ---------- */
.ribbon { position: fixed; left: 0; top: 0; width: 100vw; height: 100lvh; z-index: 0; pointer-events: none; opacity: .9; }
main { position: relative; }
main > section > .wrap { position: relative; z-index: 1; }
.nav-bar { z-index: 20; }
.sec.alt { background: rgba(15, 16, 19, .3); }
.hero, .works, .final, .sub-hero, .sub-body { background: transparent; }
.band { position: relative; z-index: 1; }
.foot { position: relative; z-index: 1; }
.works-grid, .wg { position: relative; }
.wg { background: rgba(11, 12, 14, .86); }

@media (max-width: 1020px) {
  .works-head { grid-template-columns: 1fr; gap: 16px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sub-grid { grid-template-columns: 1fr; gap: 40px; }
  .sub-side { position: static; }
}
@media (max-width: 640px) {
  .works { padding: 64px 0 72px; }
  .works-grid { grid-template-columns: 1fr; }
  .wg li { font-size: 20px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bottom { grid-template-columns: 1fr; gap: 12px; }
  .assist { right: 12px; bottom: 12px; }
  .assist-btn span { display: none; } .assist-btn { width: 52px; padding: 0; justify-content: center; }
  .prose p { font-size: 17px; }
}

/* ---------- one seamless page: no section boxes ---------- */
.sec.alt, .sec { background: transparent !important; border: 0 !important; }
.works { border-top: 0; }
.sec { padding: 120px 0; }
.band { background: transparent; color: var(--ink); padding: 40px 0 20px; }
.band .band-big { color: var(--neg); }
.band .band-txt { color: #d6d5cf; }

/* ---------- feature cards ---------- */
.feat { gap: 16px; background: none; border: 0; border-radius: 0; overflow: visible; }
.feat > div { background: rgba(19, 21, 25, .82); border: 1px solid var(--line); border-radius: 18px; padding: 32px; transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .4s, background .4s; }
.feat > div:hover { transform: translateY(-6px); border-color: #3b4a2a; background: rgba(23, 26, 20, .9); }
.feat h3 { font-size: 23px; }
.js .feat > div.reveal { opacity: 0; transform: translateY(48px) scale(.96); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1), border-color .4s, background .4s; transition-delay: var(--d, 0ms); }
.js .feat > div.reveal.in { opacity: 1; transform: none; }
.js .feat > div.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }
.trade-card, .journal-card, .prop-card, .table-wrap, .plan, .ruling { background: rgba(19, 21, 25, .86); }
thead th { background: rgba(19, 21, 25, .95); }

/* ---------- phones: keep every frame cheap ---------- */
@media (max-width: 760px) {
  .nav-bar, .nav-bar.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 12, 14, .94); border-bottom-color: var(--line); }
  .nav-bar:not(.scrolled) { background: rgba(11, 12, 14, .0); border-bottom-color: transparent; }
  .js .reveal { transform: translateY(18px); transition-duration: .8s, .8s; }
  .js .feat > div.reveal { transform: translateY(24px); }
  .ruling { will-change: auto; transition: none; }
  .ribbon { opacity: .72; }
  .js .hero h1 .w > span { animation-duration: 1.1s; }
  .wg li { transition: none; }
}

/* phones: the ribbon canvas lives in the page and scrolls with it */
.ribbon.page { position: absolute; left: 0; top: 0; width: 100%; }
body { position: relative; }

/* phones: ribbon is painted once; it breathes and sways on the compositor only */
@keyframes breathe { from { opacity: .58; transform: translate3d(-5px, 0, 0); } to { opacity: .82; transform: translate3d(5px, 0, 0); } }
@media (max-width: 760px), (pointer: coarse) {
  .ribbon.page { opacity: .7; animation: breathe 6s ease-in-out infinite alternate; }
  .js .reveal { transform: translate3d(0, 16px, 0); transition: opacity .7s ease-out, transform .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
  .js .reveal.in { transform: none; }
  .js .feat > div.reveal { transform: translate3d(0, 18px, 0); transition: opacity .7s ease-out, transform .7s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
  .js .feat > div.reveal.in { transform: none; }
  .js .tc-list li.reveal { transform: translate3d(-10px, 0, 0); }
  .js .tc-list li.reveal.in { transform: none; }
  .js .prop-card.in { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .ribbon.page { animation: none; } }

/* ---------- logo wall ---------- */
.logos { margin-top: 48px; }
.lt-feature { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lt { display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 22px 0 14px; border-radius: 16px; background: rgba(19, 21, 25, .86); border: 1px solid var(--line); text-decoration: none; color: var(--ink); flex: none; transition: border-color .35s, background .35s, transform .45s cubic-bezier(.16,1,.3,1); }
a.lt:hover { border-color: #46562c; background: rgba(24, 28, 19, .92); transform: translateY(-3px); }
.lt-ic { width: 36px; height: 36px; border-radius: 10px; background: #f3f2ec; display: grid; place-items: center; overflow: hidden; flex: none; }
.lt-ic img { width: 36px; height: 36px; object-fit: cover; display: block; }
.lt-n { font: 700 17px var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.lt-feature .lt { height: 72px; padding-right: 26px; }
.lt-feature .lt-ic { width: 40px; height: 40px; } .lt-feature .lt-ic img { width: 40px; height: 40px; }
.lt-label { text-align: center; color: var(--muted); font-size: 14px; margin: 40px 0 16px; }
.mq2 { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding: 4px 0; }
.mq2-track { display: flex; gap: 12px; width: max-content; }
.mq2-track > .lt { margin: 0; }
.js .mq2.l .mq2-track { animation: mq2 46s linear infinite; }
.js .mq2.r .mq2-track { animation: mq2 52s linear infinite reverse; }
.mq2:hover .mq2-track { animation-play-state: paused; }
@keyframes mq2 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 6px), 0, 0); } }
@media (max-width: 760px) {
  .lt { height: 56px; padding: 0 16px 0 10px; gap: 10px; border-radius: 14px; }
  .lt-ic, .lt-ic img { width: 32px; height: 32px; }
  .lt-feature .lt { height: 60px; } .lt-feature .lt-ic, .lt-feature .lt-ic img { width: 34px; height: 34px; }
  .lt-n { font-size: 15px; }
  .lt-feature { gap: 8px; }
  .js .mq2.l .mq2-track { animation-duration: 34s; } .js .mq2.r .mq2-track { animation-duration: 38s; }
}
@media (prefers-reduced-motion: reduce) { .mq2 { -webkit-mask-image: none; mask-image: none; } .mq2-track { flex-wrap: wrap; justify-content: center; width: auto; } .mq2-track > [aria-hidden] { display: none; } }

.mq2.p { display: none; }
.works { overflow-x: clip; }
@media (max-width: 760px) {
  .lt-feature { display: none; }
  .mq2.p { display: block; }
  .js .mq2.p .mq2-track { animation: mq2 30s linear infinite; }
}

.lt-wm { display: flex; align-items: center; height: 36px; padding: 0 6px 0 8px; }
.lt-wm img { height: 22px; width: auto; display: block; }
.lt-ic { background: #f3f2ec; }
.lt-feature .lt { height: 76px; padding: 0 28px 0 16px; gap: 14px; }
.lt-feature .lt-n { font-size: 19px; }
.lt-feature .lt-ic, .lt-feature .lt-ic img { width: 44px; height: 44px; border-radius: 12px; }
.lt-feature { gap: 14px; }
/* logos stand on their own: no light plate behind them */
.lt-ic { background: transparent; border-radius: 10px; }
.lt-ic img { border-radius: 10px; }
