:root {
      color-scheme: light;
      --bg: #FAF9F5;
      --ink: #111918;
      --muted: #66736F;
      --accent: #2856B8;
      --blue: #0F52D9;
      --red: #CF3028;
      --yellow: #F2C500;
      --line: #CCD3CD;
      --rod: #262626;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    a { color: inherit; text-underline-offset: 4px; }
    a:hover, a:focus-visible { color: var(--accent); }

    .wrap {
      width: min(1080px, calc(100% - 44px));
      margin: auto;
    }

    header { border-bottom: 1px solid var(--line); }

    nav {
      min-height: 88px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }

    .brand {
      font-size: 1.45rem;
      letter-spacing: .08em;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
    }

    .brand sup {
      color: var(--accent);
      font-size: .7em;
      position: relative;
      top: -.1em;
    }

    .navlinks {
      display: flex;
      gap: 26px;
      font-size: .85rem;
      color: var(--muted);
    }

    .navlinks a { text-decoration: none; }

    .hero {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      align-items: center;
      gap: 35px;
      padding: 96px 0 92px;
    }

    .eyebrow {
      color: var(--accent);
      font-size: .76rem;
      font-weight: 650;
      letter-spacing: .19em;
      text-transform: uppercase;
    }

    h1 {
      max-width: 760px;
      margin: 18px 0 24px;
      font-weight: 560;
      font-size: clamp(2.65rem, 5vw, 4.7rem);
      line-height: 1.13;
      letter-spacing: -.045em;
    }

    /* Mission statement: one continuous, naturally wrapping sentence */
    .mission-headline {
      font-size: clamp(2.1rem, 3.8vw, 3.6rem);
      line-height: 1.22;
      font-weight: 550;
    }

    .financeable {
      color: var(--accent);
      font-size: 1.08em;
      font-weight: 700;
    }

    .executable {
      color: var(--ink);
      font-size: 1em;
      font-weight: 650;
    }

    .repeatable {
      color: var(--red);
      font-size: 1.08em;
      font-weight: 700;
    }

    .lead {
      color: var(--muted);
      max-width: 610px;
      font-size: 1.12rem;
    }

    .actions {
      display: flex;
      gap: 18px;
      flex-wrap: wrap;
      margin-top: 32px;
    }

    .action {
      display: inline-block;
      padding: 11px 18px;
      border: 1px solid var(--accent);
      border-radius: 3px;
      text-decoration: none;
      font-size: .91rem;
    }

    .action.primary {
      background: var(--accent);
      color: var(--bg);
      font-weight: 650;
    }

    .action:hover {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--bg);
    }

    .hero-illustration { min-width: 0; }

    .mobile {
      width: 100%;
      max-width: 470px;
      display: block;
      margin: auto;
      overflow: visible;
    }

    .mobile .assembly {
      transform-origin: 310px 20px;
      animation: wholeSway 6.6s ease-in-out 11.6s infinite alternate;
    }

    .mobile .left-sub {
      transform-origin: 210px 104px;
      animation: branchSwayLeft 5.4s ease-in-out 11.6s infinite alternate;
    }

    .mobile .lower-branch {
      transform-origin: 431px 313px;
      animation: branchSwayRight 6.2s ease-in-out 11.6s infinite alternate;
    }

    .mobile .new-branch {
      transform-origin: 310px 253px;
      animation: branchSwayLeft 7.1s ease-in-out 11.6s infinite alternate-reverse;
    }

    .mobile .wire {
      fill: none;
      stroke: var(--rod);
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-dasharray: 500;
      stroke-dashoffset: 500;
      animation: draw 1s ease-out forwards;
      animation-delay: var(--t, 0s);
    }

    .mobile .node {
      fill: var(--bg);
      stroke: var(--rod);
      stroke-width: 2.2;
      opacity: 0;
      animation: pop .25s ease-out forwards;
      animation-delay: var(--t, 0s);
    }

    .mobile .shape {
      opacity: 0;
      transform-box: fill-box;
      transform-origin: center;
      animation: drop .65s cubic-bezier(.21,.83,.29,1) forwards;
      animation-delay: var(--t, 0s);
    }

    @keyframes draw {
      to { stroke-dashoffset: 0; }
    }

    @keyframes pop {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes drop {
      from {
        opacity: 0;
        transform: translateY(16px) scale(.8) rotate(-7deg);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
      }
    }

    @keyframes wholeSway {
      from { transform: rotate(-1.8deg); }
      to { transform: rotate(1.8deg); }
    }

    @keyframes branchSwayLeft {
      from { transform: rotate(-1.5deg); }
      to { transform: rotate(1.5deg); }
    }

    @keyframes branchSwayRight {
      from { transform: rotate(1.5deg); }
      to { transform: rotate(-1.5deg); }
    }

    section {
      padding: 62px 0;
      border-top: 1px solid var(--line);
    }

    h2 {
      margin: 0 0 21px;
      font-size: clamp(1.55rem, 3vw, 2.2rem);
      font-weight: 570;
      line-height: 1.3;
    }

    p { margin: 0 0 18px; }

    .two {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 68px;
    }

    .small { font-size: .94rem; color: var(--muted); }

    .research {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 26px;
    }

    .topic {
      border: 1px solid var(--line);
      padding: 24px;
      border-radius: 3px;
    }

    .topic strong {
      display: block;
      font-size: 1rem;
      margin-bottom: 12px;
    }

    .topic p {
      font-size: .92rem;
      color: var(--muted);
      margin: 0;
    }

    footer {
      border-top: 1px solid var(--line);
      padding: 25px 0 40px;
      color: var(--muted);
      font-size: .85rem;
    }

    .foot {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .back-to-top {
      margin-left: auto;
      white-space: nowrap;
      text-decoration: none;
    }

    @media (max-width: 760px) {
      nav {
        align-items: flex-start;
        padding: 20px 0;
        flex-direction: column;
        gap: 10px;
        min-height: 0;
      }

      .hero {
        grid-template-columns: 1fr;
        padding: 66px 0 48px;
      }

      .mission-headline {
        font-size: clamp(2rem, 6vw, 2.8rem);
      }

      .mobile { max-width: 320px; }

      .two, .research {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      section { padding: 48px 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }

      .mobile .wire,
      .mobile .node,
      .mobile .shape,
      .mobile .assembly,
      .mobile .left-sub,
      .mobile .lower-branch,
      .mobile .new-branch {
        animation: none !important;
        stroke-dashoffset: 0 !important;
        opacity: 1 !important;
        transform: none !important;
      }
    }

/* Shared navigation and research pages. */
.navlinks { flex-wrap: wrap; row-gap: 10px; }
.navlinks a[aria-current="page"] { color: var(--ink); }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 9px 14px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.overview-link { max-width: 660px; }
.paper-list { display: grid; gap: 24px; padding: 0; list-style: none; }
.paper-list li { padding-left: 20px; border-left: 3px solid var(--blue); }
.paper-list li:nth-child(2) { border-color: var(--red); }
.paper-list .paper-title { display: inline-block; font-weight: 650; line-height: 1.45; }
.paper-list .paper-summary { margin: 7px 0 5px; max-width: 770px; color: var(--muted); font-size: .94rem; }
.paper-list .paper-links { font-size: .88rem; }
.article-page { max-width: 960px; padding-bottom: 58px; }
.breadcrumbs { display: flex; flex-wrap: wrap; justify-content: flex-start; min-height: 0; gap: 8px; padding: 26px 0 12px; font-size: .83rem; color: var(--muted); }
.article-hero { padding: 32px 0 40px; }
.article-title { font-size: clamp(2.15rem, 5vw, 3.6rem); line-height: 1.16; letter-spacing: -.035em; font-weight: 570; max-width: 890px; margin: 18px 0 18px; }
.article-subtitle { max-width: 800px; font-size: clamp(1.12rem, 2.4vw, 1.4rem); line-height: 1.5; color: var(--muted); }
.byline { color: var(--muted); font-size: .9rem; margin-top: 20px; }
.article-body { max-width: 760px; }
.article-body section { padding: 32px 0 20px; }
.article-body h2 { font-size: clamp(1.45rem, 3.2vw, 1.85rem); }
.article-body h3 { margin: 27px 0 10px; font-size: 1.1rem; line-height: 1.4; }
.article-body li { margin-bottom: 12px; padding-left: 4px; }
.article-body ol, .article-body ul { padding-left: 24px; }
.article-body .abstract { font-size: .99rem; }
.article-body .abstract p { margin-bottom: 18px; }
.contents { display: block; min-height: 0; padding: 22px 0 8px; border-top: 1px solid var(--line); }
.contents p { margin-bottom: 8px; font-size: .84rem; color: var(--muted); }
.contents ul { display: flex; flex-wrap: wrap; gap: 7px 22px; list-style: none; padding: 0; margin: 0 0 12px; }
.contents li { margin: 0; padding: 0; font-size: .9rem; }
.table-scroll { overflow-x: auto; margin: 24px 0; }
.research-table { width: 100%; border-collapse: collapse; font-size: .92rem; text-align: left; }
.research-table th, .research-table td { border-bottom: 1px solid var(--line); padding: 14px 12px 14px 0; vertical-align: top; }
.research-table th { color: var(--muted); font-size: .81rem; font-weight: 650; }
.research-table td:first-child { width: 28%; font-weight: 650; }
.key-point { margin: 24px 0; padding: 5px 0 5px 20px; border-left: 3px solid var(--blue); font-size: 1.1rem; }
.key-point p:last-child { margin-bottom: 0; }
.citation { overflow-wrap: anywhere; font-size: .94rem; }
.article-body .related-paper { margin-bottom: 22px; }
.related-paper a { font-weight: 650; }
.related-paper p { color: var(--muted); margin: 6px 0 0; font-size: .94rem; }
.article-bottom { margin-top: 28px; }
.not-found { min-height: 55vh; padding: 70px 0 90px; }
@media (max-width: 760px) {
  .navlinks { column-gap: 18px; }
  .article-hero { padding: 24px 0 30px; }
  .article-body section { padding: 28px 0 16px; }
  .research-table { min-width: 540px; }
  .breadcrumbs { padding-top: 20px; }
}

.download-panel { max-width: 560px; padding: 28px 0 10px; border-top: 1px solid var(--line); }
.download-intro { margin-bottom: 26px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 6px; font-weight: 650; }
.form-field input { width: 100%; padding: 11px 12px; background: #fff; border: 1px solid #9BA8A3; border-radius: 3px; font: inherit; color: var(--ink); }
.form-field input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-note { font-size: .84rem; line-height: 1.6; color: var(--muted); margin: 7px 0 18px; }
.contact-choice { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin-bottom: 22px; cursor: pointer; }
.contact-choice input { width: 17px; height: 17px; margin-top: 4px; flex: 0 0 auto; accent-color: var(--accent); }
.human-check { min-height: 65px; margin: 18px 0; max-width: 100%; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.download-submit { font: inherit; cursor: pointer; margin: 0 0 12px; }
.download-submit:disabled { opacity: .5; cursor: wait; }
#download-message { margin-top: 14px; font-size: .92rem; }
.form-error { color: #A1231C; }
[hidden] { display: none !important; }

/* The descriptor belongs with the wordmark. */
.brand-block { display: flex; flex-direction: column; gap: 5px; min-width: 0; max-width: 100%; }
.brand-block .brand { line-height: 1.35; }
.brand-tagline { margin: 0; color: var(--blue); font-size: .95rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em; }
