:root {
  color-scheme: light;
  --bg: #fff;
  --bg2: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #dedee1;
  --accent: #1d1d1f;
  --panel: #f5f5f7;
  --radius: 24px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: inherit; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; }
h1 { max-width: 1000px; margin-bottom: 28px; font-size: 72px; line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
h2 { margin-bottom: 28px; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
h3 { margin-bottom: 12px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
p { margin-bottom: 20px; }
::selection { background: #dedee1; color: #1d1d1f; }
.skip-link { position: fixed; top: 8px; left: 20px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-nav { position: sticky; top: 0; z-index: 50; width: 100%; height: 52px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--max); height: 52px; margin: 0 auto; padding: 0 28px; }
.brand { flex-shrink: 0; font-size: 18px; font-weight: 600; letter-spacing: -.035em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 30px; height: 100%; }
.nav-links a { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.nav-contact { padding: 5px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; text-decoration: none; white-space: nowrap; }
.nav-contact:hover { background: #38383a; text-decoration: none; }
.mobile-menu { display: none; }
.wrap { width: min(100%, var(--max)); margin: 0 auto; padding-inline: 28px; }
main.wrap { padding-bottom: 96px; }
.hero { padding-block: 112px 64px; }
.kicker { margin-bottom: 20px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.lead { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 23px; line-height: 1.5; letter-spacing: -.025em; }
.section { padding-block: 56px; }
.section + .section { border-top: 1px solid var(--line); }
.section > p { max-width: 800px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.card { min-width: 0; padding: 36px; border-radius: var(--radius); background: var(--bg2); }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
.section > .card + .card { margin-top: 24px; }
.featured-card { padding: 44px; }
.cta-row, .hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn, .btn-solid, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; max-width: 100%; padding: 11px 23px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.45; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease; overflow-wrap: anywhere; }
.btn.solid, .btn-solid { background: var(--ink); color: #fff; }
.btn.solid:hover, .btn-solid:hover { background: #38383a; }
.btn.ghost, .btn-ghost { border-color: #a1a1a6; background: transparent; color: var(--ink); }
.btn.ghost:hover, .btn-ghost:hover { border-color: var(--ink); background: #e8e8ed; }
.btn:disabled { opacity: .55; cursor: wait; }
.list { max-width: 850px; margin: 24px 0; padding-left: 22px; }
.list li { padding: 8px 0 8px 6px; overflow-wrap: anywhere; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-row > span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: #515154; font-size: 12px; background: #fff; }
.faq-grid { display: grid; gap: 0; margin-top: 24px; }
.faq-card { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-card summary { position: relative; padding-right: 36px; list-style: none; font-size: 20px; font-weight: 500; line-height: 1.4; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary::after { position: absolute; right: 4px; top: 0; content: "+"; font-size: 25px; font-weight: 300; }
.faq-card[open] summary::after { content: "−"; }
.faq-card p { max-width: 800px; margin: 20px 0 0; color: var(--muted); }
.page-note { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.global-footer { padding: 56px 0 24px; background: var(--bg2); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-top p { max-width: 280px; margin: 12px 0 0; font-size: 14px; color: #626267; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-top > .footer-links { width: min(720px, 70%); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-links div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links h2, .footer-links h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: 0; }
.footer-links a { font-size: 12px; color: #626267; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); color: #626267; font-size: 12px; }
.footer-bottom p { margin: 0; }
.showcase-grid { display: grid; gap: 24px; margin-top: 32px; }
.desktop-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg2); box-shadow: 0 16px 48px rgb(0 0 0 / 5%); }
.frame-topbar { display: flex; align-items: center; gap: 7px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.frame-topbar > span { width: 9px; height: 9px; border: 1px solid #a1a1a6; border-radius: 50%; }
.frame-topbar strong { margin-left: 12px; font-size: 12px; font-weight: 500; }
.desktop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.desktop-panel { min-width: 0; padding: 32px; background: #fff; }
.frame-label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.desktop-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.desktop-row:last-child { border: 0; }
.desktop-row > div { display: flex; flex-direction: column; }
.desktop-row > div:last-child { text-align: right; }
.desktop-row span { font-size: 12px; color: var(--muted); }
.desktop-panel p:not(.frame-label) { color: var(--muted); font-size: 15px; }
.code-block { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.filter-shell { padding: 28px; border-radius: var(--radius); background: var(--bg2); }
.toolbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(160px, 1.3fr) auto; align-items: end; gap: 14px; }
.filter-field { display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.filter-field label { font-size: 13px; font-weight: 500; }
.filter { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #a1a1a6; border-radius: 12px; background: #fff; color: var(--ink); font-size: 16px; }
.filter::placeholder { color: var(--muted); opacity: 1; }
.toolbar .btn { min-height: 48px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.filter-pill { display: inline-flex; align-items: center; gap: 12px; padding: 2px 8px 2px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; }
.filter-pill button, .clear-all { min-height: 44px; padding: 6px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.stance-help { margin: 20px 0 0; color: #626267; font-size: 13px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.signal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.signal-card { display: flex; flex-direction: column; min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow-wrap: anywhere; }
.signal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.signal-head strong { color: var(--ink); }
.badge { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 11px; }
.badge.bullish, .badge.risk-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.badge.caution { border-style: dashed; border-color: #626267; background: var(--bg2); }
.signal-title { font-size: 23px; }
.signal-note { color: var(--muted); font-size: 15px; }
.signal-link { align-self: flex-start; margin-top: auto; padding-top: 12px; font-size: 14px; }
.board-intro { max-width: 820px; margin-top: -12px; color: var(--muted); font-size: 15px; }
.signal-readout { width: fit-content; margin: 0 0 16px; padding: 5px 11px; border-radius: 999px; background: var(--bg2); color: #515154; font-size: 12px; font-weight: 600; }
.signal-evidence { margin: 0 0 18px; padding-left: 19px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.signal-evidence li { padding: 2px 0; }
.signal-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.signal-links:empty { display: none; }
.signal-links .signal-link { margin: 0; padding: 0; line-height: 1.4; }
.empty, .loading-state, .error-state { margin-top: 24px; padding: 36px; border-radius: var(--radius); background: var(--bg2); color: #626267; }
.error-state { border: 1px solid #a1a1a6; }
.empty h3, .error-state h3 { color: var(--ink); font-size: 20px; }
.empty p, .error-state p { margin: 0; }
.loading-state { display: flex; align-items: center; gap: 14px; }
.loading-state::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolbar .btn { justify-self: start; }
  .footer-top { flex-direction: column; }
  .footer-links { width: 100%; }
  .footer-top > .footer-links { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-inner, .wrap, .footer-inner { padding-inline: 24px; }
  .nav-inner { gap: 16px; }
  .nav-links { display: none; }
  .nav-contact { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 19px; height: 1px; background: var(--ink); transition: transform .18s ease; }
  .mobile-menu[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: 52px; left: 0; right: 0; max-height: calc(100dvh - 52px); overflow-y: auto; padding: 16px 24px 28px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 24px rgb(0 0 0 / 5%); }
  .mobile-menu nav a { display: block; padding: 11px 0; font-size: 18px; text-decoration: none; }
  .mobile-menu nav a[aria-current] { text-decoration: underline; }
  h1 { font-size: 44px; letter-spacing: -.045em; margin-bottom: 24px; }
  .hero { padding-block: 72px 44px; }
  .lead { font-size: 20px; }
  .section { padding-block: 40px; }
  .grid, .signal-grid, .desktop-grid { grid-template-columns: 1fr; }
  .grid { gap: 16px; }
  .card, .featured-card, .signal-card, .desktop-panel { padding: 28px; }
  main.wrap { padding-bottom: 64px; }
  .footer-links { gap: 24px; grid-template-columns: 1fr 1fr; }
  .footer-top > .footer-links { grid-template-columns: 1fr 1fr; }
  .filter-shell { padding: 22px; }
}
@media (max-width: 420px) {
  .nav-inner, .wrap, .footer-inner { padding-inline: 20px; }
  .nav-inner { gap: 8px; }
  .brand { font-size: 17px; }
  .toolbar { grid-template-columns: 1fr; }
  .card, .featured-card, .signal-card { padding: 24px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-top > .footer-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Shared motion: content stays visible when scripting or animation is unavailable. */
html.motion-enabled .motion-item {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity .95s cubic-bezier(.2,.7,.2,1), transform .95s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
html.motion-enabled .motion-item.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
html.motion-enabled .grid > .motion-item:nth-child(2n),
html.motion-enabled .venture-tile:nth-child(2),
html.motion-enabled .approach-grid > .motion-item:nth-child(2) { transition-delay: 90ms; }
html.motion-enabled .grid > .motion-item:nth-child(3n),
html.motion-enabled .approach-grid > .motion-item:nth-child(3) { transition-delay: 170ms; }
.card, .signal-card, .faq-card, .desktop-frame, .btn, .nav-contact {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1), background .2s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover, .signal-card:hover, .desktop-frame:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgb(0 0 0 / 7%); }
  .btn:hover, .nav-contact:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html.motion-enabled .motion-item { opacity: 1; transform: none; transition: none; }
}
