/* QuantWing website · Quantum Flight presentation, 2026-09-06.
   Keep account, order and update authority in their existing modules. */
:root {
  color-scheme: dark;
  --ink: #eef3f9;
  --muted: #9aaabd;
  --line: #2b3849;
  --panel: #131a24;
  --panel-raised: #18212d;
  --panel-inset: #0b131d;
  --cyan: #86d8fc;
  --mint: #88dcb4;
  --violet: #bac5e5;
  --ease: cubic-bezier(.2,.8,.2,1);
  font-family: "Segoe UI Variable Text", "Segoe UI", "Microsoft JhengHei", system-ui, sans-serif;
  background: #0b0f14;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; min-height: 100%; scroll-padding-top: 100px; }
body { min-height: 100vh; margin: 0; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(4,12,25,.12), rgba(5,13,27,.42) 54%, rgba(5,12,24,.82)), url('/assets/cinematic-orbit-v1-684e156eb99268ab.png') center top / cover no-repeat; }
.ambient { display: none; }
button, a, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
button:active:not(:disabled), .primary-action:active, .secondary-action:active { transform: translateY(1px); }
button:disabled { cursor: not-allowed; opacity: .5; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: #f8fcff; background: #28556f; }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 88px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 12px clamp(24px,4vw,64px); border-bottom: 1px solid rgba(154,170,189,.18); background: rgba(11,15,20,.74); backdrop-filter: blur(28px) saturate(125%); }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; }
.brand-mark { width: 58px; height: 58px; object-fit: contain; }
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 24px; font-weight: 650; letter-spacing: -.035em; }
.brand small { color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.product-nav { justify-self: center; display: flex; align-items: center; gap: 4px; }
.nav-item { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 550; cursor: pointer; transition: color .16s var(--ease), background .16s var(--ease); }
.nav-item svg { flex: 0 0 21px; width: 21px; height: 21px; }
.nav-item:hover { background: rgba(154,170,189,.08); color: var(--ink); }
.nav-item.is-active { border-color: rgba(134,216,252,.18); background: rgba(134,216,252,.1); color: var(--cyan); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle, .system-pill { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(19,26,36,.7); color: var(--muted); font-size: 13px; white-space: nowrap; }
.language-toggle { min-width: 44px; cursor: pointer; }
.language-toggle:hover, .system-pill:hover { border-color: #3a495b; color: var(--ink); }
.language-picker { position: relative; flex: 0 0 auto; }
.language-toggle { width: 44px; min-height: 44px; padding: 10px; }
.language-toggle svg { width: 22px; height: 22px; }
.language-toggle[aria-expanded="true"] { color: var(--ink); border-color: var(--cyan); }
.language-menu { position: absolute; z-index: 130; top: calc(100% + 10px); right: 0; width: min(196px,calc(100vw - 32px)); padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: rgba(19,26,36,.97); box-shadow: 0 14px 36px #0006; backdrop-filter: blur(24px); }
.language-menu button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-align: left; font-size: 15px; cursor: pointer; }
.language-menu button:hover, .language-menu button:focus-visible { background: var(--panel-raised); }
.language-menu button[aria-checked="true"]::after { content: "✓"; color: var(--cyan); }

main { min-height: calc(100vh - 150px); }
.view { display: none; width: min(1600px,100%); min-height: calc(100vh - 150px); margin: 0 auto; padding: clamp(56px,8vh,104px) clamp(24px,4vw,64px); }
.view.is-active { display: grid; animation: view-in .25s var(--ease) both; }
.view[data-view="overview"] { grid-template-columns: minmax(0,.86fr) minmax(0,1.2fr); align-items: center; gap: clamp(36px,4vw,64px); }
.hero-copy, .detail-copy, .hero-product { min-width: 0; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 12px; font-weight: 550; letter-spacing: .12em; }
h1 { max-width: 840px; margin: 0; font-size: clamp(44px,4.2vw,68px); font-weight: 620; line-height: 1.2; letter-spacing: -.045em; }
h1 em { color: var(--cyan); font-style: normal; }
.hero-lede { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary-action, .secondary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 21px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .16s var(--ease), transform .16s var(--ease); }
.primary-action { border: 1px solid #b3e6fb; background: #a8dff5; color: #102131; }
.primary-action:hover { background: #c3ecfc; }
.primary-action svg { width: 20px; height: 20px; }
.secondary-action { border: 1px solid #3a495b; background: rgba(19,26,36,.8); color: var(--ink); }
.secondary-action:hover { background: var(--panel-raised); }
.secondary-action.compact { min-height: 40px; padding: 0 14px; font-size: 14px; }
.primary-action.compact { min-height: 40px; padding: 0 14px; font-size: 14px; }
.header-actions > a { white-space: nowrap; }
.marketing-risk { margin: 0 clamp(24px,4vw,64px) 28px; }
.trust-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-row span { display: grid; align-content: start; gap: 6px; min-width: 0; }
.trust-row b { font-size: 18px; font-weight: 550; }
.trust-row small { color: var(--muted); font-size: 12px; line-height: 1.7; }
.hero-product { perspective: 1400px; }
.product-glow { display: none; }
.product-window { overflow: hidden; border: 1px solid #3a495b; border-radius: 16px; background: var(--panel-inset); box-shadow: 0 28px 70px rgba(0,0,0,.24); transform: rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform .18s var(--ease); }
.real-product-shot, .actual-screen { display: block; width: 100%; height: auto; aspect-ratio: 1456 / 909; object-fit: contain; object-position: top center; background: var(--panel-inset); color: var(--muted); }

.detail-view { grid-template-columns: minmax(0,.86fr) minmax(0,1.2fr); align-items: center; gap: clamp(40px,5vw,80px); }
.detail-copy h2 { margin: 0; font-size: clamp(40px,4vw,62px); font-weight: 620; line-height: 1.25; letter-spacing: -.04em; }
.detail-copy > p:not(.eyebrow) { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.code-panel { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(19,26,36,.94); }
.code-panel header { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 16px 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.code-panel header i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.code-panel pre { margin: 0; padding: 40px; color: var(--cyan); font: 500 clamp(15px,1.3vw,20px)/1.9 Consolas,"Microsoft JhengHei",monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.security-orbit { position: relative; width: min(560px,100%); aspect-ratio: 1; justify-self: center; }
.orbit { position: absolute; inset: 8%; border: 1px solid rgba(154,170,189,.2); border-radius: 50%; }
.orbit-b { inset: 24%; border-color: rgba(134,216,252,.28); }
.shield { position: absolute; inset: 35%; display: grid; place-items: center; border: 1px solid #3a495b; border-radius: 22px; background: var(--panel); }
.shield svg { width: 56%; height: 56%; color: var(--cyan); }
.orbit-label { position: absolute; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); font-size: 13px; }
.label-a { top: 14%; left: 5%; }.label-b { top: 29%; right: 3%; }.label-c { right: 15%; bottom: 11%; }
.actual-screen-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.actual-screen-card > span { display: block; padding: 13px 17px; color: var(--muted); font-size: 13px; }

/* Existing remote controls: preserve hidden states, locks, order confirmation and lifecycle. */
.remote-workspace-view { align-content: start; gap: 28px; padding-top: 42px; }
.remote-workspace-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.remote-workspace-head h2 { margin: 0; font-size: 40px; font-weight: 620; letter-spacing: -.03em; }
.remote-workspace-head .eyebrow { margin-bottom: 10px; }
.remote-workspace-head p:not(.eyebrow) { max-width: 760px; margin: 12px 0 0; color: var(--muted); line-height: 1.7; }
.remote-member { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; color: var(--muted); font-size: 14px; }
.remote-login-card { min-height: 430px; display: grid; place-items: center; align-content: center; gap: 18px; padding: 40px; border: 1px solid var(--line); border-radius: 18px; background: rgba(19,26,36,.95); text-align: center; }
.remote-login-card h3 { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.4; }
.remote-login-card p { max-width: 600px; margin: 0 0 8px; color: var(--muted); line-height: 1.8; }
.remote-login-card small { min-height: 20px; color: var(--cyan); }
.remote-login-icon { width: 88px; height: 88px; display: grid; place-items: center; }
.remote-login-icon img { width: 100%; height: 100%; object-fit: contain; }
.remote-workbench { min-height: 640px; display: grid; grid-template-columns: minmax(220px,270px) minmax(0,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.remote-bot-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px; border-right: 1px solid var(--line); background: var(--panel); }
.remote-bot-rail > label { color: var(--muted); font-size: 14px; font-weight: 550; }
.remote-bot-rail select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #3a495b; border-radius: 9px; background: var(--panel-inset); color: var(--ink); }
.remote-bot-list { display: grid; gap: 9px; }
.remote-bot-card { width: 100%; min-height: 80px; display: grid; grid-template-columns: 44px minmax(0,1fr) 8px; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-raised); color: inherit; text-align: left; cursor: pointer; }
.remote-bot-avatar { display: block; width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid rgba(134,216,252,.35); border-radius: 50%; object-fit: cover; background: var(--panel-inset); }
.remote-bot-card .remote-bot-avatar { width: 44px; height: 44px; }
.remote-bot-card.is-active { border-color: rgba(134,216,252,.5); background: #1b2b3a; }
.remote-bot-card i, .remote-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #718096; }
.remote-bot-card i.is-online, .remote-status-dot.is-online { background: var(--mint); }
.remote-bot-card span { display: grid; gap: 4px; min-width: 0; }
.remote-bot-card strong, .remote-bot-card small { overflow-wrap: anywhere; white-space: normal; }
.remote-bot-card strong { font-size: 16px; font-weight: 550; }.remote-bot-card small { color: var(--muted); font-size: 12px; }
.remote-stage { min-width: 0; display: grid; grid-template-rows: auto auto auto minmax(300px,1fr) auto; }
.remote-stage-head { min-height: 70px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--panel-raised); }
.remote-stage-head > div { display: grid; gap: 4px; min-width: 0; flex: 1; }
.remote-status-dot { flex-shrink: 0; }
.remote-stage-head strong { font-size: 18px; font-weight: 550; overflow-wrap: anywhere; }.remote-stage-head small { color: var(--muted); font-size: 12px; }
.remote-lifecycle { min-width: 90px; min-height: 42px; margin-left: auto; border: 1px solid rgba(134,216,252,.3); border-radius: 9px; background: #203747; color: var(--cyan); font-weight: 600; cursor: pointer; }
.remote-trade-strip { display: grid; grid-template-columns: 80px 124px 80px 80px minmax(130px,1fr); gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); }
.remote-trade-strip > button, .remote-qty { min-height: 46px; border-radius: 9px; font-size: 15px; font-weight: 650; }
.remote-trade-strip > button { border: 0; cursor: pointer; }
.remote-buy { background: #69e8bd; color: #051b12; }.remote-sell { background: #ff7698; color: #250711; }.remote-flat { background: #ffc861; color: #261704; }
.remote-qty { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid #3a495b; }
.remote-qty button { border: 0; background: var(--panel-raised); color: var(--ink); cursor: pointer; }.remote-qty output { display: grid; place-items: center; background: var(--panel-inset); }
.remote-lock { border: 1px solid #3a495b !important; background: var(--panel-raised); color: var(--muted); }
.remote-lock[aria-pressed="true"] { border-color: rgba(136,220,180,.45) !important; background: #183529; color: var(--mint); }
.remote-trade-strip > button:disabled { cursor: not-allowed; filter: grayscale(.65); opacity: .46; }
.remote-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.remote-metrics span { display: grid; justify-items: center; gap: 4px; min-height: 60px; align-content: center; border-radius: 8px; background: var(--panel-inset); }.remote-metrics small { color: var(--muted); font-size: 12px; }.remote-metrics strong { font-size: 18px; }
.remote-screen-state { position: relative; min-height: 300px; display: grid; place-items: center; align-content: center; gap: 14px; padding: 32px; background: var(--panel-inset); text-align: center; }
.remote-screen-state strong { font-size: 26px; font-weight: 550; }.remote-screen-state p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.75; }.remote-screen-state small { color: var(--muted); }
.remote-screen-orbit { width: 80px; height: 80px; border: 1px solid #3a495b; border-radius: 50%; }
.remote-notice { min-height: 44px; display: flex; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--panel-raised); color: var(--muted); font-size: 14px; }
.remote-notice.is-error { color: #ff99aa; }.remote-notice.is-success { color: var(--mint); }
.remote-risk-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(19,26,36,.9); }
.remote-risk-strip p { margin: 0; color: var(--muted); font-size: 14px; }
.remote-risk-strip button { flex-shrink: 0; }
.remote-risk-dialog { width: min(640px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px; overflow: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); box-shadow: 0 24px 80px #0009; }
.remote-risk-dialog::backdrop { background: #030810b8; backdrop-filter: blur(8px); }
.remote-risk-dialog header { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.remote-risk-dialog h2 { margin: 0; font-size: 26px; line-height: 1.35; }
.remote-risk-dialog p { color: var(--muted); line-height: 1.8; }
.remote-risk-dialog > button { margin-top: 8px; }
footer { min-height: 62px; display: flex; align-items: center; gap: 24px; padding: 16px clamp(24px,4vw,64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer a { margin-left: auto; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1240px) {
  body[data-site-mode="marketing"] .site-header { grid-template-columns: minmax(0,1fr) auto; }
  body[data-site-mode="marketing"] .product-nav { grid-column: 1 / -1; grid-row: 2; }
  .site-header { gap: 16px; padding-inline: 24px; }
  .nav-item { padding-inline: 10px; font-size: 14px; }
  .brand small, .system-pill { display: none; }
}
@media (max-width: 980px) {
  .view[data-view="overview"], .detail-view { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .hero-copy { max-width: 760px; }.hero-product { max-width: 960px; width: 100%; }
  .detail-view { align-content: start; }
  .security-orbit { width: min(480px,100%); }
  .remote-workspace-head { align-items: start; flex-direction: column; gap: 18px; }
  .remote-trade-strip { grid-template-columns: 1fr 1.4fr 1fr; }
  .remote-flat { grid-column: 1 / 2; }.remote-lock { grid-column: 2 / 4; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  /* The header must not form a containing block around its fixed dock. */
  .site-header { min-height: 72px; grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 10px 20px; background: rgba(11,15,20,.9); backdrop-filter: none; }
  .brand { gap: 11px; }.brand-mark { width: 46px; height: 46px; }.brand strong { font-size: 23px; }
  .product-nav { position: fixed; z-index: 120; right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); left: 10px; width: calc(100% - 20px); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; padding: 6px; border: 1px solid rgba(154,170,189,.23); border-radius: 18px; background: rgba(19,26,36,.84); backdrop-filter: blur(28px) saturate(130%); }
  body[data-site-mode="marketing"] .site-header { grid-template-columns: minmax(0,1fr); gap: 10px; }
  body[data-site-mode="marketing"] .brand { justify-self: center; }
  body[data-site-mode="marketing"] .header-actions { justify-content: center; flex-wrap: wrap; gap: 8px; }
  body[data-site-mode="marketing"] .header-actions > a { min-height: 42px; padding-inline: 12px; font-size: 13px; }
  body[data-site-mode="marketing"] .product-nav { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .marketing-risk { margin: 0 20px 24px; }
  .nav-item { min-height: 56px; display: grid; place-items: center; gap: 3px; padding: 5px 2px; border-radius: 11px; }
  .nav-item span { font-size: 11px; line-height: 1.25; }.nav-item svg { width: 23px; height: 23px; }
  .view { min-height: 0; padding: 36px 20px 46px; }
  h1 { font-size: clamp(36px,10vw,48px); line-height: 1.25; letter-spacing: -.04em; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; }
  .hero-lede, .detail-copy > p:not(.eyebrow) { font-size: 16px; margin-top: 20px; line-height: 1.85; }
  .hero-actions { margin-top: 26px; gap: 10px; }.primary-action, .secondary-action { min-height: 48px; padding-inline: 15px; font-size: 15px; }
  .trust-row { gap: 12px; margin-top: 30px; padding-top: 20px; }.trust-row b { font-size: 15px; }.trust-row small { font-size: 11px; }
  .product-window { border-radius: 10px; transform: none; }
  .detail-copy h2 { font-size: 36px; line-height: 1.3; }
  .code-panel pre { padding: 26px 20px; font-size: 14px; }.code-panel header { padding: 14px 20px; }
  .remote-workspace-view { gap: 24px; padding-top: 28px; }
  .remote-risk-strip { align-items: start; flex-direction: column; gap: 12px; padding: 16px; }
  .remote-risk-dialog { padding: 20px; }
  .remote-stage-head { gap: 10px; padding-inline: 12px; flex-wrap: wrap; }
  .remote-stage-head > div { flex-basis: calc(100% - 88px); }
  .remote-stage-head .remote-lifecycle { margin-left: auto; }
  .remote-workspace-head h2 { font-size: 34px; }.remote-member { width: 100%; justify-content: space-between; font-size: 13px; }
  .remote-login-card { min-height: 430px; padding: 28px 22px; border-radius: 15px; }.remote-login-card h3 { font-size: 24px; }.remote-login-card p { font-size: 15px; }.remote-login-icon { width: 76px; height: 76px; }
  .remote-workbench { min-height: 700px; grid-template-columns: 1fr; border-radius: 15px; }
  .remote-bot-rail { padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }.remote-bot-list { display: none; }
  .remote-stage { grid-template-rows: auto auto auto minmax(260px,1fr) auto; }
  .remote-trade-strip { grid-template-columns: 1fr 1.4fr 1fr; }
  .remote-screen-state { min-height: 260px; padding: 26px 18px; }
  .remote-metrics small { font-size: 11px; }.remote-notice { font-size: 13px; }
  footer { flex-wrap: wrap; gap: 12px 18px; padding: 18px 20px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .product-window { transform: none !important; }
}

/* One continuous product story. Media dictates its own frame, never filler. */
body[data-site-mode="marketing"] main { width: min(1760px, 100%); margin: auto; }
body[data-site-mode="marketing"] .brand-hero {
  min-height: min(780px, calc(100svh - 96px)); padding: 80px clamp(24px, 5vw, 76px);
  display: grid; grid-template-columns: 1.4fr .7fr; gap: 48px; align-items: center;
}
.brand-hero h1 { font-size: clamp(48px, 6.4vw, 106px); line-height: 1.12; }
.hero-wing { display: block; width: 100%; max-width: 340px; justify-self: center; filter: drop-shadow(0 0 40px #82cfff18); }
body[data-site-mode="marketing"] .view {
  display: grid; min-height: 0; padding: 100px clamp(24px, 5vw, 76px);
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px);
  border-top: 1px solid #9cc8e51c; align-items: center; animation: none; scroll-margin-top: 110px;
}
body[data-site-mode="marketing"] .view:is([data-view="webhook"], [data-view="settings"]) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
}
body[data-site-mode="marketing"] .view:is([data-view="webhook"], [data-view="settings"]) .detail-copy { order: 2; }
body[data-site-mode="marketing"] h2 { font-size: clamp(38px, 4vw, 68px); line-height: 1.22; letter-spacing: -.035em; }
body[data-site-mode="marketing"] h2 em { color: var(--cyan); font-style: normal; }
body[data-site-mode="marketing"] .hero-lede, body[data-site-mode="marketing"] .detail-copy > p:not(.eyebrow) { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.75; }
body[data-site-mode="marketing"] .view[data-view="overview"] { grid-template-columns: 1fr; gap: 56px; }
body[data-site-mode="marketing"] .view[data-view="overview"] .hero-copy { max-width: 1000px; }
body[data-site-mode="marketing"] .view[data-view="overview"] .hero-product { width: 100%; max-width: none; }
body[data-site-mode="marketing"] .view[data-view="overview"] .trust-row { grid-template-columns: repeat(3, 1fr); }
body[data-site-mode="marketing"] .view[data-view="overview"] .trust-row > span { display: grid; gap: 8px; }
body[data-site-mode="marketing"] .view .hero-actions { display: none; }
body[data-site-mode="marketing"] .trust-row { grid-template-columns: 1fr; gap: 14px; }
body[data-site-mode="marketing"] .trust-row > span { display: flex; gap: 16px; align-items: baseline; }
body[data-site-mode="marketing"] .product-window { background: transparent; transform: none; border-radius: 12px; }
body[data-site-mode="marketing"] .real-product-shot { aspect-ratio: auto; width: 100%; height: auto; background: transparent; }
body[data-site-mode="marketing"] .product-glow { display: none; }
.signal-flow { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 300px; padding: 36px 0; border-block: 1px solid #8fc8ed26; }
.signal-flow > div { display: grid; grid-template-rows: 84px auto auto; align-items: center; justify-items: center; gap: 14px; text-align: center; }
.signal-flow strong { font-size: clamp(15px, 1.4vw, 22px); line-height: 1.5; white-space: nowrap; }
.signal-flow img, .signal-flow svg { width: 84px; height: 84px; object-fit: contain; }
.signal-flow svg { fill: none; stroke: #c7e8fa; stroke-width: 1.2; }
.signal-flow svg.tradingview-mark { fill: white; stroke: none; }
.signal-flow > span { color: var(--cyan); font-size: 26px; text-align: center; align-self: center; transform: translateY(-28px); }
.signal-flow small { color: var(--muted); }
.remote-summary { display: grid; justify-items: start; gap: 26px; padding: 48px 0; border-block: 1px solid #8fc8ed26; }
.remote-summary p { color: var(--cyan); font-size: 22px; margin: 0; }
.remote-summary > strong { font-size: clamp(30px, 3vw, 48px); line-height: 1.5; }
body[data-site-mode="marketing"] .product-nav { gap: 4px; }
body[data-site-mode="marketing"] .nav-item:active { transform: scale(.94); }
body[data-site-mode="marketing"] .nav-item { transition: transform 160ms cubic-bezier(.2,.8,.2,1), background 160ms, color 160ms; }
body[data-site-mode="marketing"] .primary-action, body[data-site-mode="marketing"] .secondary-action { backdrop-filter: blur(18px); }
@media (max-width: 760px) {
  body[data-site-mode="marketing"] .product-nav { left: 50%; right: auto; transform: translateX(-50%); width: calc(100vw - 32px); max-width: 520px; bottom: calc(10px + env(safe-area-inset-bottom)); background: rgba(17,31,47,.66); backdrop-filter: blur(22px) saturate(135%); -webkit-backdrop-filter: blur(22px) saturate(135%); }
  body[data-site-mode="marketing"] .brand-hero { min-height: 670px; grid-template-columns: 1fr; padding: 52px 24px; gap: 28px; }
  .hero-wing { width: 150px; }
  body[data-site-mode="marketing"] .view,
  body[data-site-mode="marketing"] .view:is([data-view="webhook"], [data-view="settings"]) { grid-template-columns: 1fr; padding: 62px 24px; gap: 32px; scroll-margin-top: 130px; }
  body[data-site-mode="marketing"] .view:is([data-view="webhook"], [data-view="settings"]) .detail-copy { order: 0; }
  body[data-site-mode="marketing"] .view[data-view="overview"] .trust-row { grid-template-columns: 1fr; }
  .signal-flow { gap: 4px; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr); min-height: 220px; }
  .signal-flow > div { grid-template-rows: 60px auto auto; gap: 12px; }
  .signal-flow img, .signal-flow svg { width: 60px; height: 60px; }
  .signal-flow > span { font-size: 20px; transform: translateY(-22px); }
  .signal-flow strong { font-size: 14px; white-space: normal; }
}
