    :root {
      --ivory: #f7f4ec;
      --ivory-2: #eee9dc;
      --paper: #fffdf7;
      --ink: #181817;
      --muted: #68665f;
      --line: rgba(24, 24, 23, 0.16);
      --line-soft: rgba(24, 24, 23, 0.08);
      --clay: #d97757;
      --clay-dark: #b95f43;
      --lavender: #c8c4df;
      --sage: #c8d0b8;
      --yellow: #e8dca7;
      --dark: #242321;
      --radius: 18px;
      --container: 1320px;
      --ease: cubic-bezier(.16, 1, .3, 1);
      --serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
      --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
      --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      background: var(--ivory);
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--ivory);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body.menu-open { overflow: hidden; }

    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; }
    img, video { display: block; width: 100%; }
    button { color: inherit; }

    .container {
      width: min(var(--container), calc(100% - 48px));
      margin-inline: auto;
    }

    .section {
      padding: clamp(68px, 7vw, 96px) 0;
      border-top: 1px solid var(--line-soft);
    }

    .kicker {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1;
    }

    .display {
      margin: 0;
      font-family: var(--serif);
      font-size: clamp(58px, 8.5vw, 132px);
      font-weight: 600;
      letter-spacing: -0.07em;
      line-height: .88;
    }

    .section-title {
      margin: 0;
      max-width: 940px;
      font-family: var(--serif);
      font-size: clamp(46px, 6vw, 88px);
      font-weight: 600;
      letter-spacing: -0.06em;
      line-height: .94;
    }

    .body-lg {
      color: var(--muted);
      font-size: clamp(18px, 2vw, 24px);
      line-height: 1.45;
    }

    .small-caps {
      color: var(--muted);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    /* NAV */
    .nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: color-mix(in srgb, var(--ivory) 92%, transparent);
      border-bottom: 1px solid var(--line-soft);
      backdrop-filter: blur(18px);
    }

    .nav-inner {
      height: 76px;
      display: flex;
      align-items: center;
      gap: 34px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-right: auto;
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -.04em;
    }

    .logo-mark {
      width: 28px;
      height: 28px;
      display: grid;
      place-items: center;
      font-family: Georgia, serif;
      font-size: 29px;
      font-weight: 700;
      transform: rotate(-5deg);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      font-size: 14px;
    }

    .nav-link {
      position: relative;
      padding: 8px 0;
      color: #363531;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: 2px;
      height: 1px;
      background: var(--ink);
      transition: right .35s var(--ease);
    }

    .nav-link:hover::after { right: 0; }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 20px;
      border: 1px solid var(--ink);
      border-radius: 999px;
      background: transparent;
      cursor: pointer;
      transition:
        transform .25s var(--ease),
        background-color .25s ease,
        color .25s ease;
    }

    .btn:hover { transform: translateY(-2px); }

    .btn-dark {
      color: var(--ivory);
      background: var(--ink);
    }

    .btn-dark:hover { background: #353430; }

    .btn-light {
      color: var(--ink);
      background: var(--paper);
      border-color: var(--paper);
    }

    .btn-arrow::after {
      content: "↗";
      font-size: 16px;
    }

    .menu-btn {
      width: 46px;
      height: 46px;
      display: none;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: transparent;
      cursor: pointer;
    }

    .menu-lines {
      width: 18px;
      display: grid;
      gap: 4px;
    }

    .menu-lines span {
      height: 1px;
      background: var(--ink);
      transition: transform .3s var(--ease), opacity .2s ease;
    }

    .mobile-menu {
      position: fixed;
      inset: 76px 0 0;
      z-index: 90;
      display: none;
      padding: 28px 24px 40px;
      background: var(--ivory);
      transform: translateY(-110%);
      transition: transform .55s var(--ease);
      overflow-y: auto;
    }

    .mobile-menu.open { transform: translateY(0); }

    .mobile-menu a {
      display: block;
      padding: 19px 0;
      border-bottom: 1px solid var(--line-soft);
      font-family: Georgia, serif;
      font-size: 36px;
      letter-spacing: -.04em;
    }

    /* HERO */
    .hero {
      padding: 105px 0 70px;
    }

    .hero-head {
      text-align: center;
    }

    .hero-head .display {
      max-width: 1050px;
      margin-inline: auto;
    }

    .hero-copy {
      max-width: 760px;
      margin: 34px auto 0;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 34px;
    }

    .hero-video-wrap {
      position: relative;
      margin-top: 76px;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      border-radius: 24px;
      background:
        radial-gradient(circle at 70% 25%, rgba(217,119,87,.35), transparent 30%),
        #232220;
      box-shadow: 0 35px 90px rgba(34, 31, 27, .16);
    }

    .hero-video {
      height: 100%;
      object-fit: cover;
    }

    .hero-video-loader {
      position: absolute;
      inset: 0;
      z-index: 8;
      background:
        radial-gradient(circle at 78% 18%, rgba(242,207,195,.62), transparent 34%),
        radial-gradient(circle at 12% 88%, rgba(185,227,223,.58), transparent 38%),
        #f4f1e9;
      transition: opacity .35s ease, visibility .35s ease;
    }

    .hero-video-wrap.is-ready .hero-video-loader {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .video-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-start;
      justify-content: flex-end;
      padding: 30px;
      color: white;
      background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.42));
      pointer-events: none;
    }

    .video-caption {
      max-width: 420px;
      font-family: Georgia, serif;
      font-size: clamp(24px, 3vw, 42px);
      line-height: 1;
      letter-spacing: -.04em;
    }

    .play-badge {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      padding: 0;
      border: 1px solid rgba(255,255,255,.6);
      border-radius: 50%;
      cursor: pointer;
      pointer-events: auto;
      backdrop-filter: blur(12px);
    }

    /* DRAGGABLE IMAGE MARQUEE */
    .helix-section {
      min-height: 720px;
      overflow: hidden;
      background: var(--ivory);
    }

    .helix-heading {
      position: relative;
      z-index: 8;
      max-width: 640px;
      margin: 0 auto 55px;
      text-align: center;
    }

    .helix-stage {
      position: relative;
      width: 100vw;
      height: clamp(310px, 34vw, 450px);
      margin-left: calc(50% - 50vw);
      overflow: hidden;
      cursor: grab;
      user-select: none;
      touch-action: pan-y;
    }

    .helix-stage:active { cursor: grabbing; }

    .helix-stage::before,
    .helix-stage::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      z-index: 5;
      width: clamp(20px, 5vw, 90px);
      pointer-events: none;
    }

    .helix-stage::before {
      left: 0;
      background: linear-gradient(90deg, #ebf8f7, transparent);
    }

    .helix-stage::after {
      right: 0;
      background: linear-gradient(-90deg, #ebf8f7, transparent);
    }

    .helix-ring {
      position: absolute;
      left: 0;
      top: 50%;
      width: max-content;
      display: flex;
      gap: 18px;
      padding-inline: 9px;
      transform: translate3d(0, -50%, 0);
      will-change: transform;
    }

    .helix-card {
      position: relative;
      width: min(620px, 72vw);
      aspect-ratio: 2 / 1;
      flex: 0 0 auto;
      overflow: hidden;
      border-radius: 16px;
      background: #d8d4ca;
      box-shadow: 0 28px 65px rgba(0,0,0,.16);
      opacity: 1;
    }

    .helix-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      pointer-events: none;
    }

    .helix-hint {
      position: absolute;
      left: 50%;
      bottom: 0;
      z-index: 10;
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 0 16px;
      transform: translateX(-50%);
      border: 1px solid var(--line);
      border-radius: 999px;
      background: rgba(255,255,255,.9);
      color: var(--clay-dark);
      box-shadow: 0 10px 28px rgba(16,42,67,.09);
      font-size: 12px;
      font-weight: 650;
      white-space: nowrap;
    }

    .helix-hint::before { content: "↔"; font-size: 15px; }

    /* PRODUCT PILLARS */
    .pillars {
      background: #ebe6da;
    }

    .pillars-intro {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 70px;
      align-items: end;
      margin-bottom: 68px;
    }

    .pillars-intro .body-lg {
      max-width: 520px;
      margin: 0 0 4px auto;
    }

    .pillar-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .pillar-card {
      min-height: 660px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--paper);
    }

    .pillar-image {
      height: 330px;
      overflow: hidden;
      background: #d6d2c8;
    }

    .pillar-image img {
      height: 100%;
      object-fit: cover;
      object-position: var(--crop-x, 50%) var(--crop-y, 50%);
      transform: scale(var(--crop-scale, 1));
      transform-origin: var(--crop-x, 50%) var(--crop-y, 50%);
      transition: transform .9s var(--ease), filter .9s var(--ease);
    }

    .pillar-card:hover .pillar-image img {
      transform: scale(calc(var(--crop-scale, 1) + .025));
      filter: contrast(1.03) saturate(1.04);
    }

    .pillar-content {
      flex: 1;
      padding: 28px;
    }

    .pillar-content h3 {
      margin: 8px 0 18px;
      font-family: Georgia, serif;
      font-size: 37px;
      font-weight: 600;
      letter-spacing: -.045em;
      line-height: 1;
    }

    .pillar-content p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.55;
    }

    .feature-list {
      margin: 32px 0 0;
      padding: 0;
      list-style: none;
    }

    .feature-list li {
      position: relative;
      padding: 15px 0 15px 24px;
      border-top: 1px solid var(--line-soft);
      font-size: 14px;
      line-height: 1.35;
    }

    .feature-list li::before {
      content: "•";
      position: absolute;
      left: 2px;
      color: var(--clay);
    }

    /* USE CASES */
    .use-cases-intro {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      align-items: flex-end;
      margin-bottom: 64px;
    }

    .use-cases-intro .body-lg {
      max-width: 500px;
      margin: 0;
    }

    .case-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }

    .case-card {
      position: relative;
      min-height: 620px;
      overflow: hidden;
      border-radius: var(--radius);
      background: #242321;
      color: white;
    }

    .case-card img {
      position: absolute;
      inset: 0;
      height: 100%;
      object-fit: cover;
      transition: transform 1s var(--ease);
    }

    .case-card:hover img { transform: scale(1.04); }

    .case-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)),
        linear-gradient(90deg, rgba(0,0,0,.15), transparent);
    }

    .case-copy {
      position: absolute;
      z-index: 2;
      left: 0;
      right: 0;
      bottom: 0;
      padding: 34px;
    }

    .case-copy h3 {
      margin: 10px 0 14px;
      max-width: 520px;
      font-family: Georgia, serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 600;
      letter-spacing: -.05em;
      line-height: .98;
    }

    .case-copy p {
      max-width: 560px;
      margin: 0;
      color: rgba(255,255,255,.76);
      font-size: 16px;
      line-height: 1.5;
    }

    /* QUOTES */
    .quotes {
      overflow: hidden;
      background: var(--clay);
      color: #211914;
    }

    .quotes > .container { text-align: center; }
    .quotes .section-title { margin-inline: auto; }

    .quotes .kicker { color: rgba(33,25,20,.65); }

    .quote-track {
      width: max-content;
      display: flex;
      gap: 18px;
      margin-top: 62px;
      animation: marquee 48s linear infinite;
    }

    .quote-track:hover { animation-play-state: running; }

    @keyframes marquee {
      to { transform: translateX(calc(-50% - 9px)); }
    }

    .quote-card {
      width: min(520px, 82vw);
      min-height: 430px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 34px;
      border: 1px solid rgba(33,25,20,.22);
      border-radius: var(--radius);
      background: rgba(255,255,255,.13);
    }

    .quote-card blockquote {
      margin: 0;
      font-family: Georgia, serif;
      font-size: clamp(27px, 3vw, 40px);
      line-height: 1.07;
      letter-spacing: -.04em;
    }

    .quote-person {
      padding-top: 28px;
      border-top: 1px solid rgba(33,25,20,.18);
      font-size: 14px;
      line-height: 1.45;
    }

    .quote-person strong {
      display: block;
      margin-bottom: 4px;
    }

    /* STACK */
    .stack-section {
      background: var(--dark);
      color: var(--ivory);
    }

    .stack-section .kicker,
    .stack-section .body-lg {
      color: rgba(247,244,236,.62);
    }

    .stack-top {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 70px;
      align-items: end;
    }

    .stack-top .body-lg {
      max-width: 520px;
      margin: 0 0 5px auto;
    }

    .logo-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 0;
      margin-top: 58px;
      border: 0;
      background: transparent;
    }

    .logo-cell {
      position: relative;
      overflow: hidden;
      min-height: 120px;
      display: grid;
      place-items: center;
      padding: 28px;
      border: 1px solid rgba(255,255,255,.16);
      background: var(--dark);
      transition: background-color .7s ease, box-shadow .7s ease, color .7s ease;
    }

    .logo-cell::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(circle at 50% 50%, rgba(34,184,176,.18), transparent 68%);
      opacity: 0;
      transition: opacity .7s ease;
    }

    .logo-cell > span {
      position: relative;
      z-index: 1;
      transition: opacity .7s ease, color .7s ease, transform .7s var(--ease);
    }

    .logo-cell.is-lit {
      background: #0a3032;
      color: #e8fffd;
      box-shadow: inset 0 0 0 1px rgba(34,184,176,.48);
    }

    .logo-cell.is-lit::after { opacity: 1; }

    .logo-cell.is-lit > span {
      opacity: 1 !important;
      color: #e8fffd;
      transform: translateY(-2px);
    }

    .logo-cell img {
      max-width: 145px;
      max-height: 52px;
      object-fit: contain;
      filter: grayscale(1) brightness(2.7);
      opacity: .72;
      transition: opacity .25s ease, transform .25s var(--ease);
    }

    .logo-cell:hover img {
      opacity: 1;
      transform: scale(1.04);
    }

    /* API */
    .api-section {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background: #eaf6f5;
      color: #101112;
      border-bottom: 1px solid rgba(12, 79, 82, .16);
    }

    .api-section::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(circle at 80% 18%, rgba(255,255,255,.9), transparent 31%),
        radial-gradient(circle at 8% 92%, rgba(153,218,212,.15), transparent 35%),
        linear-gradient(180deg, #f1faf9 0%, #e5f3f2 100%);
    }

    .api-layout {
      position: relative;
      display: grid;
      grid-template-columns: .88fr 1.12fr;
      gap: clamp(44px, 5vw, 70px);
      align-items: center;
    }

    .api-copy .kicker {
      color: #159f99;
      letter-spacing: 0;
      text-transform: none;
    }

    .api-copy .section-title {
      max-width: 570px;
      color: #101112;
      font-size: clamp(48px, 5.5vw, 76px);
      font-weight: 460;
      letter-spacing: -.06em;
      line-height: .94;
    }

    .api-copy .section-title span { color: #707776; }

    .api-copy .body-lg {
      max-width: 510px;
      margin-top: 28px;
      color: #66716f;
      font-size: clamp(18px, 1.5vw, 21px);
      line-height: 1.55;
    }

    .api-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }

    .api-action {
      min-height: 48px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 20px;
      border: 1px solid rgba(16,17,18,.17);
      border-radius: 999px;
      color: rgba(16,17,18,.78);
      font-size: 16px;
      font-weight: 600;
      transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    }

    .api-action-primary {
      border-color: #101112;
      background: #101112;
      color: #fff;
    }

    .api-action:hover { border-color: rgba(16,17,18,.35); background: rgba(16,17,18,.05); }
    .api-action-primary:hover { border-color: #303334; background: #303334; color: #fff; }

    .api-console-frame {
      position: relative;
      min-width: 0;
      padding: clamp(28px, 4vw, 50px);
      padding-bottom: 30px;
      overflow: hidden;
      background:
        radial-gradient(circle at 78% 22%, rgba(255,255,255,.17), transparent 25%),
        radial-gradient(circle at 22% 84%, rgba(255,255,255,.07), transparent 30%),
        linear-gradient(135deg, #181919 0%, #3b3c3c 52%, #171818 100%);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
    }

    .api-console-frame::before,
    .api-console-frame::after {
      content: "";
      position: absolute;
      bottom: 0;
      width: 13px;
      height: 13px;
      background: #080909;
    }

    .api-console-frame::before { left: 12px; }
    .api-console-frame::after { right: 12px; }

    .api-features {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin-top: 36px;
      border: 0;
      background: transparent;
    }

    .api-feature {
      min-height: 124px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 22px;
      border: 1px solid rgba(12,79,82,.14);
      border-radius: 14px;
      background: rgba(255,255,255,.62);
      box-shadow: 0 12px 32px rgba(16,42,67,.04);
    }

    .api-feature strong { display: block; margin-bottom: 18px; color: #101112; font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
    .api-feature span { color: rgba(48,61,59,.62); font-size: 14px; line-height: 1.45; }

    .api-console {
      position: relative;
      z-index: 1;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 12px;
      background: #090a0a;
      box-shadow: 0 28px 65px rgba(0,0,0,.42);
    }

    .api-console-bar {
      min-height: 50px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 10px 13px;
      border-bottom: 1px solid rgba(255,255,255,.08);
      background: #0b0c0c;
    }

    .api-window-dots { flex: 0 0 auto; display: flex; gap: 6px; }
    .api-window-dots i { width: 9px; height: 9px; display: block; border-radius: 50%; }
    .api-window-dots i:nth-child(1) { background: #ff665c; }
    .api-window-dots i:nth-child(2) { background: #f4bd4f; }
    .api-window-dots i:nth-child(3) { background: #59c85d; }

    .api-endpoint {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 11px;
      flex: 1;
      color: rgba(238,242,242,.56);
      font: 500 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
    }

    .api-method { padding: 4px 7px; border-radius: 6px; background: rgba(255,255,255,.08); color: #f0a78f; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
    .api-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .api-copy-button {
      flex: 0 0 auto;
      padding: 8px 11px;
      border: 0;
      border-radius: 8px;
      color: rgba(238,242,242,.5);
      background: transparent;
      font-size: 11px;
      cursor: pointer;
      transition: border-color .25s ease, color .25s ease, background .25s ease;
    }

    .api-copy-button:hover { color: #fff; background: rgba(255,255,255,.06); }

    .api-code {
      min-height: 320px;
      margin: 0;
      padding: 28px;
      overflow: auto;
      color: #d7d9d9;
      font: 12px/1.72 ui-monospace, SFMono-Regular, Consolas, monospace;
      tab-size: 2;
    }

    .api-code .key { color: #ff7f96; }
    .api-code .string { color: #e7b17c; }
    .api-code .number { color: #7fb8f2; }
    .api-code .boolean { color: #c39be8; }

    .api-status {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding: 13px 18px;
      border-top: 1px solid rgba(255,255,255,.08);
      background: #0b0c0c;
      color: rgba(230,235,235,.34);
      font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
    }

    .api-status-ok::before {
      content: "";
      display: inline-block;
      width: 7px;
      height: 7px;
      margin-right: 7px;
      border-radius: 50%;
      background: #63ca72;
      box-shadow: 0 0 0 4px rgba(99,202,114,.09);
    }

    .api-console-tabs {
      position: relative;
      z-index: 1;
      display: flex;
      gap: 8px;
      margin-top: 18px;
    }

    .api-console-tabs button {
      min-height: 34px;
      display: inline-flex;
      align-items: center;
      padding: 0 13px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: rgba(255,255,255,.42);
      font-size: 12px;
      cursor: pointer;
      transition: color .2s ease, background-color .2s ease;
    }

    .api-console-tabs button:hover { color: rgba(255,255,255,.82); }
    .api-console-tabs .active { background: #111313; color: #fff; }

    /* FAQ */
    .faq-layout {
      display: grid;
      grid-template-columns: .72fr 1.28fr;
      gap: 70px;
    }

    .faq-sticky {
      position: sticky;
      top: 112px;
      align-self: start;
    }

    .faq-list {
      border-top: 1px solid var(--line);
    }

    .faq-item {
      border-bottom: 1px solid var(--line);
    }

    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 27px 0;
      border: 0;
      background: none;
      text-align: left;
      cursor: pointer;
    }

    .faq-question span:first-child {
      font-family: Georgia, serif;
      font-size: clamp(23px, 2.5vw, 34px);
      letter-spacing: -.035em;
      line-height: 1.1;
    }

    .faq-plus {
      position: relative;
      width: 22px;
      height: 22px;
      flex: 0 0 auto;
    }

    .faq-plus::before,
    .faq-plus::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 18px;
      height: 1px;
      background: var(--ink);
      transform: translate(-50%, -50%);
      transition: transform .35s var(--ease);
    }

    .faq-plus::after {
      transform: translate(-50%, -50%) rotate(90deg);
    }

    .faq-item.open .faq-plus::after {
      transform: translate(-50%, -50%) rotate(0);
    }

    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows .55s var(--ease);
    }

    .faq-item.open .faq-answer { grid-template-rows: 1fr; }

    .faq-answer-inner {
      overflow: hidden;
    }

    .faq-answer p {
      max-width: 760px;
      margin: 0;
      padding: 0 52px 28px 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.6;
    }

    /* CTA */
    .cta-section {
      padding: 115px 0;
      background: var(--yellow);
    }

    .cta-box {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      align-items: end;
      gap: 60px;
    }

    .cta-box .body-lg {
      max-width: 500px;
      margin: 0 0 4px auto;
      color: rgba(24,24,23,.67);
    }

    .cta-actions {
      display: flex;
      gap: 12px;
      margin-top: 34px;
    }

    /* FOOTER */
    .footer {
      padding: 80px 0 32px;
      background: var(--dark);
      color: var(--ivory);
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 50px;
    }

    .footer-brand .logo { font-size: 26px; }

    .footer-brand p {
      max-width: 330px;
      margin: 24px 0 0;
      color: rgba(247,244,236,.58);
      line-height: 1.55;
    }

    .footer-col h4 {
      margin: 0 0 18px;
      color: rgba(247,244,236,.48);
      font-size: 11px;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .footer-col a {
      display: block;
      margin: 12px 0;
      color: rgba(247,244,236,.88);
      font-size: 14px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 30px;
      margin-top: 70px;
      padding-top: 24px;
      border-top: 1px solid rgba(255,255,255,.12);
      color: rgba(247,244,236,.48);
      font-size: 12px;
    }

    /* REVEAL */
    [data-reveal],
    [data-scroll-reveal] {
      opacity: 0;
      transform: translateY(32px);
      transition:
        opacity .85s var(--ease),
        transform .85s var(--ease);
    }

    [data-reveal].visible,
    [data-scroll-reveal].visible {
      opacity: 1;
      transform: none;
    }

    @media (max-width: 1000px) {
      .nav-links,
      .nav-actions .nav-login { display: none; }
      .menu-btn { display: grid; }
      .mobile-menu { display: block; }

      .section { padding: 95px 0; }

      .pillars-intro,
      .stack-top,
      .cta-box {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .pillars-intro .body-lg,
      .stack-top .body-lg,
      .cta-box .body-lg {
        margin-left: 0;
      }

      .pillar-grid { grid-template-columns: 1fr; }

      .pillar-card {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .pillar-image { height: 100%; min-height: 430px; }

      .use-cases-intro {
        display: block;
      }

      .use-cases-intro .body-lg { margin-top: 28px; }

      .case-grid { grid-template-columns: 1fr; }

      .api-layout { grid-template-columns: 1fr; }

      .faq-layout {
        grid-template-columns: 1fr;
        gap: 44px;
      }

      .faq-sticky { position: static; }

      .logo-grid { grid-template-columns: repeat(3, 1fr); }

      .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }

    @media (max-width: 700px) {
      .container {
        width: min(100% - 28px, var(--container));
      }

      .nav-inner { height: 66px; }
      .mobile-menu { inset: 66px 0 0; }

      .hero { padding-top: 76px; }

      .hero-actions,
      .cta-actions {
        flex-direction: column;
      }

      .btn { width: 100%; }

      .hero-video-wrap {
        margin-top: 50px;
        aspect-ratio: 4 / 5;
        border-radius: 14px;
      }

      .hero-video { object-position: 50% center; }

      .video-overlay { padding: 18px; }

      .play-badge {
        width: 48px;
        height: 48px;
      }

      .helix-section { min-height: 640px; }
      .helix-stage { height: 360px; }
      .helix-card { width: min(560px, 76vw); }

      .pillar-card { display: block; }
      .pillar-image { min-height: 290px; height: 290px; }
      .pillar-content { padding: 24px; }

      .case-card { min-height: 520px; }
      .case-copy { padding: 24px; }

      .quote-card {
        min-height: 380px;
        padding: 25px;
      }

      .logo-grid { grid-template-columns: repeat(2, 1fr); }
      .logo-cell { min-height: 120px; }

      .faq-answer p { padding-right: 0; }

      .api-features { grid-template-columns: 1fr; }
      .api-console-frame { padding: 16px 14px 22px; }
      .api-actions { display: grid; grid-template-columns: 1fr; }
      .api-action { width: 100%; }
      .api-code { min-height: 0; padding: 20px; font-size: 11px; }
      .api-console-bar { align-items: flex-start; }

      .footer-top { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-delay: 0ms !important;
        transition-duration: .001ms !important;
      }
      [data-reveal],
      [data-scroll-reveal] {
        opacity: 1;
        transform: none;
      }
    }

    /* CNW Terminal identity */
    :root {
      --ivory: #f2faf9;
      --ivory-2: #def2f0;
      --paper: #ffffff;
      --ink: #101112;
      --muted: #536e70;
      --line: rgba(12, 79, 82, .18);
      --line-soft: rgba(12, 79, 82, .09);
      --clay: #22b8b0;
      --clay-dark: #0c4f52;
      --lavender: #d7f0ee;
      --sage: #b9e3df;
      --yellow: #dcf3f1;
      --dark: #071f22;
      --radius-sm: 12px;
      --radius: 22px;
      --radius-lg: 34px;
      --shadow: 0 24px 70px rgba(16,42,67,.10);
      --ease: cubic-bezier(.22, 1, .36, 1);
    }

    body {
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.55;
      background:
        radial-gradient(circle at 82% 3%, rgba(118,213,205,.3), transparent 24rem),
        var(--ivory);
    }

    html,
    body {
      width: 100%;
      max-width: 100%;
      overflow-x: clip;
    }

    ::selection { color: #fff; background: var(--clay); }

    .display,
    .section-title,
    .pillar-content h3,
    .case-copy h3,
    .quote-card blockquote,
    .mobile-menu a {
      font-family: var(--serif);
    }

    .display {
      max-width: 1080px;
      font-size: clamp(66px, 7.7vw, 116px);
      font-weight: 600;
      letter-spacing: -.065em;
      line-height: .88;
      text-wrap: balance;
    }

    .display > span { display: block; }

    .section-title {
      font-size: clamp(42px, 5.2vw, 70px);
      font-weight: 500;
      letter-spacing: 0;
      line-height: .9;
      text-transform: uppercase;
      text-wrap: balance;
    }

    .api-copy .section-title {
      font-family: var(--serif);
      font-size: clamp(42px, 5.2vw, 70px);
      font-weight: 500;
      letter-spacing: 0;
      line-height: .9;
      text-transform: uppercase;
    }

    .body-lg {
      font-size: clamp(18px, 1.5vw, 21px);
      font-weight: 400;
      line-height: 1.55;
    }

    .kicker,
    .small-caps {
      color: var(--clay);
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 400;
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .logo {
      font-family: var(--serif);
      font-size: 25px;
      font-weight: 650;
    }

    .pillar-content h3 {
      font-size: clamp(22px, 2.15vw, 32px);
      font-weight: 650;
      letter-spacing: -.04em;
      line-height: 1.06;
    }

    .case-copy h3 {
      font-size: clamp(22px, 2.15vw, 32px);
      font-weight: 650;
      letter-spacing: -.04em;
      line-height: 1.06;
    }

    .quote-card blockquote {
      font-weight: 520;
      letter-spacing: -.045em;
      line-height: 1.07;
    }

    .logo-cell > span {
      font-family: var(--serif) !important;
      font-size: 23px !important;
      font-weight: 500;
    }

    .faq-question span:first-child {
      font-family: var(--serif);
      font-size: clamp(17px, 1.3vw, 20px);
      font-weight: 600;
      letter-spacing: 0;
      line-height: 1.2;
    }

    #faq .section-title {
      font-size: clamp(30px, 4vw, 48px);
      line-height: .96;
    }

    .faq-question { min-height: 66px; padding: 0; }

    .nav {
      background: rgba(255,255,255,.88);
      border-color: var(--line-soft);
      -webkit-backdrop-filter: blur(18px);
    }

    .logo {
      color: #102a43;
      font-size: 18px;
      font-weight: 750;
      letter-spacing: -.025em;
    }

    .logo-mark {
      width: 30px;
      height: 30px;
      border-radius: 7px;
      background: #102a43;
      color: #fff;
      font-family: var(--sans);
      font-size: 15px;
      transform: none;
    }

    .nav-link { color: #34443e; }
    .nav-link::after { background: var(--clay); }

    .btn {
      border-color: rgba(16,42,67,.24);
      font-weight: 650;
    }

    .btn:hover { border-color: var(--clay-dark); }

    .btn-dark {
      border-color: var(--clay-dark);
      background: var(--clay-dark);
      color: #fff;
    }

    .btn-dark:hover { background: var(--clay); }

    .hero {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: 0 0 clamp(18px, 2vw, 30px);
      background: #fff;
    }

    .hero > .container {
      position: relative;
      z-index: 1;
      width: min(1180px, calc(100% - 32px));
    }

    .hero-head {
      min-height: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding-top: clamp(148px, 14vw, 205px);
      padding: 96px 0 44px;
    }

    .hero-product-label {
      margin: 0 0 30px;
      color: #356791;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .hero-head .display {
      max-width: 980px;
      font-size: clamp(54px, 7.4vw, 104px);
      font-weight: 500;
      line-height: .96;
      letter-spacing: -.062em;
      text-transform: uppercase;
    }

    .hero-copy {
      max-width: 700px;
      margin-top: 28px;
      font-size: clamp(18px, 1.5vw, 21px);
      line-height: 1.55;
    }

    .hero-actions { margin-top: 32px; }
    .hero-actions .btn { min-height: 46px; padding: 0 19px; }

    .hero-meta {
      margin: 22px 0 0;
      color: #718398;
      font-size: 13px;
      line-height: 1.45;
    }

    .hero-head > * {
      opacity: 0;
      transform: translateY(34px);
    }

    .hero.hero-ready .hero-head > * {
      animation: terminalHeroRise .86s cubic-bezier(.22,1,.36,1) forwards;
    }

    .hero.hero-ready .hero-head > *:nth-child(2) { animation-delay: 90ms; }
    .hero.hero-ready .hero-head > *:nth-child(3) { animation-delay: 170ms; }
    .hero.hero-ready .hero-head > *:nth-child(4) { animation-delay: 250ms; }
    .hero.hero-ready .hero-head > *:nth-child(5) { animation-delay: 330ms; }

    @keyframes terminalHeroRise {
      to { opacity: 1; transform: translateY(0); }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-head > * { opacity: 1; transform: none; animation: none !important; }
    }

    .hero-copy { color: #53635d; }

    .hero-video-wrap {
      width: 100%;
      height: clamp(420px, 52vw, 680px);
      margin: clamp(52px, 5.2vw, 76px) auto 0;
      aspect-ratio: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: #e1f5f3;
      box-shadow: var(--shadow);
    }

    .hero-video {
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }

    .video-overlay {
      padding: 24px;
      color: var(--ink);
      background: none;
    }

    .video-caption {
      padding: 12px 16px;
      border: 1px solid rgba(16,42,67,.13);
      border-radius: 999px;
      background: rgba(255,255,255,.9);
      box-shadow: 0 10px 30px rgba(16,42,67,.10);
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 650;
      letter-spacing: 0;
    }

    .play-badge {
      border-color: rgba(16,42,67,.16);
      background: rgba(255,255,255,.94);
      color: var(--clay-dark);
      box-shadow: 0 10px 30px rgba(16,42,67,.10);
      -webkit-backdrop-filter: blur(12px);
    }

    .helix-section { background: #ebf8f7; }

    .helix-card {
      border: 1px solid rgba(16,42,67,.16);
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 24px 60px rgba(16,42,67,.14);
    }

    .helix-card::after {
      content: attr(data-label);
      position: absolute;
      left: 12px;
      bottom: 12px;
      z-index: 2;
      min-height: 32px;
      display: inline-flex;
      align-items: center;
      padding: 0 12px;
      border: 1px solid rgba(16,42,67,.13);
      border-radius: 999px;
      background: rgba(255,255,255,.92);
      color: var(--clay-dark);
      box-shadow: 0 7px 20px rgba(16,42,67,.10);
      font-size: 11px;
      font-weight: 650;
    }

    .helix-card img {
      object-fit: cover;
      object-position: center top;
    }

    .helix-card.is-detail img {
      transform: scale(1.13);
      transform-origin: 72% 38%;
    }

    .helix-card.is-signal-detail img {
      transform: scale(1.16);
      transform-origin: 35% 52%;
    }

    .pillars {
      background: #ffffff;
      color: var(--ink);
    }

    .pillars-intro .body-lg { color: var(--muted); }

    .pillar-card {
      border-color: rgba(16,42,67,.16);
      background: rgba(255,255,255,.92);
      color: var(--ink);
      box-shadow: var(--shadow);
    }

    .pillar-image {
      position: relative;
      background: #d8efed;
    }

    .pillar-image::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      box-shadow: inset 0 -1px rgba(16,42,67,.12);
    }

    .pillar-image.crop-markets {
      --crop-scale: 1.16;
      --crop-x: 39%;
      --crop-y: 48%;
    }

    .pillar-image.crop-asset {
      --crop-scale: 1.19;
      --crop-x: 47%;
      --crop-y: 43%;
    }

    .pillar-image.crop-signals {
      --crop-scale: 1.2;
      --crop-x: 55%;
      --crop-y: 47%;
    }

    .pillar-image.pillar-featured {
      height: auto;
      min-height: 0;
      aspect-ratio: 16 / 9;
      background: #050708;
    }

    .pillar-image.pillar-featured img {
      object-fit: contain;
      object-position: center center;
      transform: none;
      transform-origin: center;
    }

    .pillar-image.pillar-featured-contain img {
      object-fit: contain;
    }

    .pillar-card:hover .pillar-image.pillar-featured img {
      transform: scale(1.012);
    }
    .pillar-content h3 { font-weight: 650; }
    .feature-list li::before { color: var(--clay); }

    .case-card {
      min-height: 620px;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--ink);
      box-shadow: var(--shadow);
    }

    .case-card img {
      position: relative;
      inset: auto;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      flex: 0 0 auto;
      object-fit: cover;
      object-position: center;
    }

    .case-card img.case-visual-contain {
      object-fit: contain;
      background: #050708;
    }

    .case-card::after { display: none; }

    .case-copy {
      position: relative;
      inset: auto;
      flex: 1;
      padding: 28px 30px 32px;
      background: #fff;
    }

    .case-copy h3 { font-weight: 650; }
    .case-copy p { color: var(--muted); }

    #use-cases { background: #eaf6f5; }

    .quotes {
      background: #115a5b;
      color: #f7fbfa;
    }

    .quote-card {
      border-color: rgba(255,255,255,.2);
      background: rgba(255,255,255,.08);
    }

    .quote-card blockquote { font-weight: 520; }
    .quote-person { border-color: rgba(255,255,255,.2); }

    .stack-section {
      background: #082d2f;
      color: #f7fbfa;
    }

    .stack-section .body-lg { color: rgba(239,249,247,.64); }

    .logo-cell { background: var(--dark); }

    .logo-cell { color: rgba(255,255,255,.76); }

    #faq { background: #eaf6f5; }
    .cta-section {
      background: #102a43;
      color: #f7fbff;
    }

    .cta-section .body-lg { color: rgba(235,244,251,.68); }

    .cta-section .btn-dark {
      border-color: #ffffff;
      background: #ffffff;
      color: #102a43;
    }

    .cta-section .btn:not(.btn-dark) {
      border-color: rgba(255,255,255,.46);
      background: transparent;
      color: #ffffff;
    }
    .footer { background: var(--dark); }

    .faq-question span:first-child { font-weight: 600; }
    .faq-plus::before,
    .faq-plus::after { background: var(--clay-dark); }

    @media (max-width: 700px) {
      .container { width: calc(100% - 28px); }
      .nav-inner {
        justify-content: space-between;
        gap: 12px;
      }
      .logo { margin-right: 0; }
      .nav-actions { margin-left: auto; }
      .nav-actions > .btn { display: none; }
      .menu-btn {
        display: grid !important;
        flex: 0 0 46px;
      }
      .hero { padding-top: 82px; }
      .hero-head .display {
        max-width: 100%;
        margin-inline: auto;
        font-size: clamp(44px, 13vw, 64px);
        line-height: .88;
        letter-spacing: -.062em;
        text-wrap: wrap;
      }
      .hero-copy {
        max-width: 310px;
        font-size: 17px;
      }
      .hero-video-wrap { height: auto; aspect-ratio: 4 / 3; }
      .video-caption { display: none; }
      .case-card { min-height: auto; }
      .case-card img { height: 300px; }

      .helix-section {
        min-height: auto;
        overflow: hidden;
      }
      .helix-stage {
        height: 280px;
        margin-inline: -14px;
        width: calc(100% + 28px);
        cursor: grab;
        touch-action: pan-y;
      }
      .helix-ring {
        gap: 14px;
        padding-inline: 7px;
      }
      .helix-card,
      .helix-card.is-active {
        width: min(82vw, 330px);
        opacity: 1;
        filter: none;
        transform: none !important;
      }
      .helix-card.is-detail img,
      .helix-card.is-signal-detail img { transform: none; }
      .helix-hint {
        position: relative;
        left: 50%;
        bottom: auto;
        margin-top: 14px;
      }
    }
.logo-cell-label{font-family:Georgia,serif;font-size:24px;opacity:.76;text-align:center;line-height:1.05}

/* Terminal motion and section integration refinements. */
.api-console {
  width: 100%;
  min-height: 500px;
  margin-inline: auto;
  transition: width .72s cubic-bezier(.22,1,.36,1), min-height .72s cubic-bezier(.22,1,.36,1), border-radius .72s cubic-bezier(.22,1,.36,1), opacity .22s ease, transform .34s cubic-bezier(.22,1,.36,1), filter .22s ease;
}
.api-console-frame { margin-top: -42px; }
.api-console-frame.is-format-json .api-console { width: 100%; min-height: 570px; border-radius: 12px; }
.api-console-frame.is-format-rest .api-console { width: min(100%, 520px); min-height: 520px; border-radius: 26px; }
.api-console-frame.is-format-webhooks .api-console { width: 100%; min-height: 405px; border-radius: 36px; }
.api-console-frame.is-format-json .api-code { min-height: 438px; }
.api-console-frame.is-format-rest .api-code { min-height: 388px; }
.api-console-frame.is-format-webhooks .api-code { min-height: 273px; }
.api-console-frame.is-switching .api-console {
  opacity: .28;
  transform: translateY(10px) scale(.994);
  filter: blur(3px);
}
.api-console-tabs button { transition: color .22s ease, background-color .22s ease, transform .22s ease; }
.api-console-tabs button.active { transform: translateY(-2px); }

@media (max-width: 980px) {
  .api-console-frame { margin-top: 0; }
  .api-console-frame.is-format-json .api-console,
  .api-console-frame.is-format-rest .api-console,
  .api-console-frame.is-format-webhooks .api-console { width: 100%; min-height: 0; border-radius: 14px; }
  .api-console-frame.is-format-json .api-code,
  .api-console-frame.is-format-rest .api-code,
  .api-console-frame.is-format-webhooks .api-code { min-height: 280px; }
}

/* Ruty blue palette for every Terminal product section. */
:root {
  --ivory: #f5f9fc;
  --ivory-2: #e5f1f9;
  --paper: #fff;
  --ink: #111418;
  --muted: #526473;
  --line: rgba(16, 42, 67, .18);
  --line-soft: rgba(16, 42, 67, .09);
  --clay: #315f8b;
  --clay-dark: #102a43;
  --lavender: #dbe7f6;
  --sage: #c3d5e9;
  --yellow: #e5f1f9;
  --dark: #102a43;
}

body {
  background: radial-gradient(circle at 82% 3%, rgba(91, 168, 255, .18), transparent 24rem), var(--ivory);
}
.nav-link { color: #526473; }
.btn { border-color: rgba(16, 42, 67, .26); }
.hero-copy { color: #526473; }
.hero-video-wrap { background: #e5f1f9; box-shadow: 0 28px 80px rgba(16, 42, 67, .14); }
.video-caption, .play-badge, .pillar-card, .case-card { box-shadow: 0 18px 48px rgba(16, 42, 67, .08); }
.helix-section { background: #eef6fb; }
#use-cases, #faq { background: #e5f1f9; }
.quotes { background: #174b9f; color: #f5faff; }
.stack-section, .logo-cell, .footer { background: #102a43; }
.stack-section { color: #f5faff; }
.stack-section :is(.kicker, .body-lg) { color: rgba(229, 241, 249, .72); }
.cta-section { background: #102a43; color: #f5faff; }
.cta-section .body-lg { color: rgba(229, 241, 249, .72); }
.cta-section .btn-dark { border-color: #fff; background: #fff; color: #102a43; }
.cta-section .btn:not(.btn-dark) { border-color: rgba(255,255,255,.46); color: #fff; }
.logo-cell::after { background: radial-gradient(circle at 50% 50%, rgba(72, 191, 255, .22), transparent 68%); }
.logo-cell.is-lit {
  background: #174b9f;
  color: #f5faff;
  box-shadow: inset 0 0 0 1px rgba(91, 168, 255, .62);
}
.api-copy .kicker { color: #315f8b; }
.api-status-dot {
  background: #0877ff;
  box-shadow: 0 0 0 4px rgba(8, 119, 255, .1);
}
