
  :root {
    --graphite: #20242A;
    --graphite-2: #2A2F37;
    --graphite-3: #343B45;
    --sky: #3BA7E8;
    --sky-hover: #2F97D6;
    --pale-sky: #BFDFF2;
    --off-white: #F5F7F9;
    --white: #FFFFFF;
    --muted: #5A626E;
    --muted-dark: #A9B2BE;
    --line: #DCE3EA;
    --head: "Barlow", Arial, sans-serif;
    --body: "Source Sans 3", Arial, sans-serif;
    --wrap: 1180px;
    --ease: cubic-bezier(.2,.7,.2,1);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body {
    margin: 0; background: var(--off-white); color: var(--graphite);
    font-family: var(--body); font-size: 1.125rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
  h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; line-height: 1.04; }
  p { margin: 0; }
  .sec-h { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.01em; }
  .kicker { font-family: var(--head); font-weight: 600; font-size: 1.0625rem; color: var(--sky); margin-bottom: 12px; display: block; }

  /* Buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--head); font-weight: 600; font-size: 1.0625rem;
    text-decoration: none; padding: 15px 28px; border-radius: 6px 18px 6px 6px;
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
    cursor: pointer; border: 0;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-sky { background: var(--sky); color: var(--graphite); }
  .btn-sky:hover { background: var(--sky-hover); }
  .btn-ghost { color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }
  .btn-dark { background: var(--graphite); color: var(--white); }
  .btn-dark:hover { background: #000; }

  /* Header */
  .site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0;
    transition: background-color .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
    border-bottom: 1px solid transparent;
  }
  .site-header.scrolled {
    background: rgba(32,36,42,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 12px 0; border-bottom-color: rgba(255,255,255,.08);
  }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .brand .sym { height: 30px; width: auto; }
  .brand .word { height: 20px; width: auto; }
  .nav { display: flex; align-items: center; gap: 30px; color: var(--white); }
  .nav a { text-decoration: none; font-weight: 600; font-size: 1rem; }
  .nav a:not(.btn):hover { color: var(--pale-sky); }
  .nav .btn { padding: 10px 18px; font-size: 1rem; }
  @media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

  /* Hero */
  .hero {
    position: relative; overflow: hidden; background: var(--graphite); color: var(--white);
    padding: 160px 0 120px;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(rgba(191,223,242,.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(191,223,242,.06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
  }
  .hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
  .hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -0.015em; line-height: .98; }
  .hero h1 .line { display: block; }
  .mech {
    margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
    font-family: var(--head); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--sky);
  }
  .mech i { font-style: normal; color: var(--muted-dark); font-weight: 600; }
  .hero .lede { margin-top: 22px; font-size: 1.25rem; max-width: 38ch; color: var(--muted-dark); }
  .hero .actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
  .hero .mark { justify-self: end; width: 100%; max-width: 460px; height: auto; }
  @media (max-width: 880px) {
    .hero { padding: 128px 0 88px; }
    .hero .wrap { grid-template-columns: 1fr; }
    .hero .mark { order: -1; justify-self: start; max-width: 150px; }
  }

  /* Hero load sequence */
  .anim .hero .line, .anim .hero .mech, .anim .hero .lede, .anim .hero .actions {
    opacity: 0; transform: translateY(28px);
    animation: rise .8s var(--ease) forwards;
  }
  .anim .hero .line:nth-child(2) { animation-delay: .12s; }
  .anim .hero .mech { animation-delay: .3s; }
  .anim .hero .lede { animation-delay: .42s; }
  .anim .hero .actions { animation-delay: .54s; }
  .anim .hero .mark { opacity: 0; transform: translateY(40px); animation: rise 1s var(--ease) .2s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  /* Trades ticker */
  .ticker { background: var(--pale-sky); color: var(--graphite); overflow: hidden; border-bottom: 1px solid #A9D1EA; }
  .ticker .track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
  .ticker ul { list-style: none; margin: 0; padding: 18px 0; display: flex; }
  .ticker li { font-family: var(--head); font-weight: 700; font-size: 1.35rem; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
  .ticker li::after { content: "»"; color: var(--sky); font-weight: 700; margin-left: -28px; }
  .ticker:hover .track { animation-play-state: paused; }
  @media (max-width: 600px) { .ticker li { font-size: 1.1rem; padding: 0 16px; gap: 36px; } .ticker li::after { margin-left: -16px; } .ticker ul { padding: 14px 0; } }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* Leak calculator */
  .leak { padding: 112px 0; }
  .leak .top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .leak .top p { color: var(--muted); max-width: 52ch; }
  .calc {
    margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: 8px 40px 8px 8px; overflow: hidden;
  }
  .calc .inputs { padding: 40px; display: grid; gap: 26px; }
  .field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
  .field output { font-family: var(--head); font-weight: 700; font-size: 1.35rem; color: var(--graphite); }
  .field small { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
  input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 12px; border-radius: 3px; background: var(--line); background-image: linear-gradient(var(--sky), var(--sky)); background-repeat: no-repeat; cursor: pointer; }
  input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--graphite); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--graphite); }
  input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--graphite); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--graphite); }
  .calc .results { background: var(--graphite); color: var(--white); padding: 40px; display: flex; flex-direction: column; gap: 22px; }
  .funnel { display: grid; gap: 10px; }
  .bar { display: grid; grid-template-columns: 110px 1fr 56px; align-items: center; gap: 12px; font-size: .98rem; }
  .bar .rail { height: 12px; border-radius: 2px 8px 2px 2px; background: var(--graphite-3); overflow: hidden; }
  .bar .fill { height: 100%; background: var(--pale-sky); transition: width .45s var(--ease); }
  .bar:last-child .fill { background: var(--sky); }
  .bar b { font-family: var(--head); text-align: right; }
  .big { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; }
  .big span { color: var(--muted-dark); font-size: 1rem; display: block; }
  .big strong { font-family: var(--head); font-weight: 800; font-size: clamp(2.2rem, 4.2vw, 3.2rem); line-height: 1.05; display: block; margin-top: 4px; }
  .big.gain strong { color: var(--sky); }
  .recover-row { margin-top: 32px; display: flex; justify-content: center; }
  .recover { font-size: 1.25rem; padding: 18px 36px; }
  .recover #recover-label { white-space: pre; }
  .calc .note { font-size: .9rem; color: var(--muted-dark); }
  @media (max-width: 900px) {
    .leak .top { grid-template-columns: 1fr; gap: 20px; }
    .calc { grid-template-columns: 1fr; }
    .calc .inputs, .calc .results { padding: 28px 22px; }
  }

  /* System */
  .system { background: var(--graphite); color: var(--white); padding: 112px 0 120px; position: relative; overflow: hidden; }
  .system .intro { max-width: 680px; }
  .system .intro p { margin-top: 20px; color: var(--muted-dark); font-size: 1.2rem; }
  .steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
  .step {
    border-radius: 8px 44px 8px 8px; padding: 32px 28px 30px; display: flex; flex-direction: column;
    transition: transform .3s var(--ease);
  }
  .step:hover { transform: translateY(-6px); }
  .step:nth-child(1) { background: var(--graphite-2); min-height: 360px; }
  .step:nth-child(2) { background: var(--graphite-3); min-height: 440px; }
  .step:nth-child(3) { background: var(--sky); color: var(--graphite); min-height: 520px; }
  .step .num { font-family: var(--head); font-weight: 800; font-size: 4rem; line-height: 1; color: rgba(191,223,242,.22); }
  .step:nth-child(3) .num { color: rgba(32,36,42,.25); }
  .step h3 { font-size: 2.5rem; margin-top: 10px; }
  .step .what { margin-top: 12px; font-size: 1.15rem; }
  .step ul { list-style: none; padding: 28px 0 0; margin: auto 0 0; }
  .step li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 1rem; font-weight: 600; }
  .step:nth-child(3) li { border-top-color: rgba(32,36,42,.22); }
  .anim .step { opacity: 0; transform: translateY(60px); }
  .anim .steps.in .step { animation: rise .8s var(--ease) forwards; }
  .anim .steps.in .step:nth-child(2) { animation-delay: .15s; }
  .anim .steps.in .step:nth-child(3) { animation-delay: .3s; }
  @media (max-width: 880px) {
    .steps { grid-template-columns: 1fr; margin-top: 44px; }
    .step:nth-child(n) { min-height: 0; }
    .step:nth-child(2) { margin-left: 16px; }
    .step:nth-child(3) { margin-left: 32px; }
  }

  /* Path */
  .path { padding: 112px 0; background: var(--white); }
  .path .sub { margin-top: 18px; max-width: 58ch; color: var(--muted); }
  .chain { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; }
  .chain li { border-radius: 6px 22px 6px 6px; padding: 22px 20px; background: var(--off-white); border: 1px solid var(--line); }
  .chain li:nth-child(1) { min-height: 120px; }
  .chain li:nth-child(2) { min-height: 150px; }
  .chain li:nth-child(3) { min-height: 180px; background: #E6F2FA; border-color: var(--pale-sky); }
  .chain li:nth-child(4) { min-height: 210px; background: var(--pale-sky); border-color: var(--pale-sky); }
  .chain li:nth-child(5) { min-height: 240px; background: var(--sky); border-color: var(--sky); }
  .chain b { display: block; font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1.15; }
  .chain span { display: block; margin-top: 6px; font-size: 1rem; color: var(--muted); }
  .chain li:nth-child(4) span, .chain li:nth-child(5) span { color: var(--graphite); }
  @media (max-width: 880px) {
    .chain { grid-template-columns: 1fr; }
    .chain li:nth-child(n) { min-height: 0; }
    .chain li:nth-child(2) { margin-left: 10px; } .chain li:nth-child(3) { margin-left: 20px; }
    .chain li:nth-child(4) { margin-left: 30px; } .chain li:nth-child(5) { margin-left: 40px; }
  }

  /* Audience */
  .audience { padding: 112px 0; }
  .audience .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .audience .copy p { max-width: 54ch; }
  .audience .copy p + p { margin-top: 16px; color: var(--muted); }
  .trades { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
  .trades li {
    background: var(--white); border: 1px solid var(--line); border-radius: 4px 12px 4px 4px;
    padding: 9px 16px; font-family: var(--head); font-weight: 600; font-size: 1.05rem;
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
  }
  .trades li:hover { background: var(--pale-sky); border-color: var(--pale-sky); }
  @media (max-width: 880px) { .audience .wrap { grid-template-columns: 1fr; gap: 28px; } }

  /* Start */
  .start { padding: 0 0 112px; }
  .start ol { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
  .start li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 8px 32px 8px 8px; padding: 32px 28px; position: relative; }
  .start li::before { content: counter(s); font-family: var(--head); font-weight: 800; font-size: 1.1rem; color: var(--graphite); background: var(--pale-sky); width: 40px; height: 40px; border-radius: 4px 12px 4px 4px; display: grid; place-items: center; margin-bottom: 20px; }
  .start li:last-child::before { background: var(--sky); }
  .start h3 { font-size: 1.55rem; }
  .start li p { margin-top: 10px; color: var(--muted); }
  @media (max-width: 880px) { .start ol { grid-template-columns: 1fr; } }

  /* Contact */
  .contact { background: var(--sky); color: var(--graphite); padding: 112px 0; position: relative; overflow: hidden; }
  .contact .ghost { position: absolute; right: -60px; bottom: -40px; width: 520px; max-width: 70%; height: auto; opacity: .16; pointer-events: none; }
  .contact .wrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
  .contact h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; max-width: 15ch; line-height: 1; }
  .contact p { margin-top: 22px; max-width: 46ch; font-size: 1.2rem; }
  .contact .side { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
  .contact .mail { font-family: var(--head); font-weight: 700; font-size: 1.15rem; text-decoration: none; border-bottom: 2px solid var(--graphite); }
  @media (max-width: 880px) { .contact .wrap { grid-template-columns: 1fr; gap: 32px; } }

  /* Footer */
  .site-footer { background: var(--graphite); color: var(--muted-dark); padding: 36px 0 44px; font-size: .95rem; }
  .site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
  .site-footer .brand .sym { height: 24px; }
  .site-footer .brand .word { height: 16px; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .anim .hero .line, .anim .hero .mech, .anim .hero .lede, .anim .hero .actions, .anim .hero .mark, .anim .step { opacity: 1; transform: none; }
    .ticker .track { width: auto; }
    .ticker ul[aria-hidden] { display: none; }
    .ticker ul { flex-wrap: wrap; }
  }

/* Blog pages: dark title band under the fixed header, light reading area */
.page-top { background: var(--graphite); color: var(--white); padding: 140px 0 64px; position: relative; overflow: hidden; }
.page-top h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; max-width: 22ch; }
.page-top .sub { margin-top: 16px; color: var(--muted-dark); font-size: 1.2rem; max-width: 52ch; }
.page-top .meta { margin-top: 18px; color: var(--muted-dark); font-size: 1rem; }
.page-top .crumbs { font-family: var(--head); font-weight: 600; color: var(--sky); margin-bottom: 14px; display: block; font-size: 1rem; }
.page-top .crumbs a { text-decoration: none; }
.page-top .crumbs a:hover { color: var(--pale-sky); }
.post-list { padding: 56px 0 96px; }
.post-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px 18px 6px 6px; padding: 28px 30px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(32,36,42,.08); }
.post-card .tag { font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--sky); }
.post-card h2 { font-size: 1.7rem; margin-top: 6px; line-height: 1.15; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--sky-hover); }
.post-card p { margin-top: 10px; color: var(--muted); }
.post-card .date { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }
.article { padding: 56px 0 24px; }
.prose { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 2rem; margin-top: 2em; line-height: 1.12; }
.prose h3 { font-size: 1.5rem; margin-top: 1.6em; line-height: 1.15; }
.prose a { color: var(--sky-hover); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--graphite); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid var(--sky); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose code { background: #E8EEF3; padding: 2px 6px; border-radius: 4px; font-size: .95em; }
.prose img { border-radius: 6px; }
.post-cta { margin: 64px auto 0; max-width: 720px; padding: 0 24px; }
.post-cta .box { background: var(--graphite); color: var(--white); border-radius: 6px 18px 6px 6px; padding: 36px 34px; }
.post-cta h2 { font-size: 1.9rem; line-height: 1.1; }
.post-cta p { margin-top: 12px; color: var(--muted-dark); }
.post-cta .btn { margin-top: 22px; }
.more { padding: 56px 0 96px; }
.more h2 { font-size: 1.6rem; margin-bottom: 18px; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.more a { color: var(--graphite); font-weight: 600; text-decoration: none; }
.more a:hover { color: var(--sky-hover); }
.more small { display: block; color: var(--muted); font-weight: 400; }
