  /* v35-BOLD marketing — the 34-bold charisma carried forward onto v3.5 tokens.
     Editorial rhythm: calm light base, punctuated by drenched deep-teal moments.
     Bold-only tokens: --deep gradient, --tb bright teal (on-deep accents), --amber.
     Base neutral/type/teal from relay-tokens-v35.css. Motion respects the token
     reduced-motion guard; AA verified (white on deep ≥ 12:1, teal em on dark ≥ 8:1). */
  :root {
    --tb: #5eead4;                                   /* bright teal — on deep bg only */
    --amber: #f3b04e;
    --deep: linear-gradient(165deg, #0c1413, #0d2b27 55%, #0d3530);
    --nav-h: 62px;
  }
  body { background: var(--rly-bg); color: var(--rly-text); font-family: var(--rly-font); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
  .container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
  a { color: inherit; text-decoration: none; }

  .btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--rly-font); font-weight: 600; font-size: 15px; border-radius: var(--rly-radius); padding: 13px 26px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, color .15s, background .15s; }
  .btn-lg { padding: 14px 30px; }
  .btn-bright { background: var(--tb); color: #0c1413; border-color: var(--tb); }
  .btn-bright:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(94,234,212,.28); }
  .btn-primary { background: var(--rly-accent-fill); color: var(--rly-on-accent); }
  .btn-primary:hover { transform: translateY(-1px); }
  .btn-ghost { background: transparent; color: var(--rly-text); border-color: var(--rly-border-hi); }
  .btn-ghost:hover { border-color: var(--rly-accent-ui); color: var(--rly-accent-text); }
  .btn-onghost { display: inline-flex; align-items: center; gap: 7px; font-family: var(--rly-font); font-size: 15px; font-weight: 500; padding: 12px 26px; border-radius: var(--rly-radius); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.24); transition: border-color .15s, color .15s; }
  .btn-onghost:hover { border-color: var(--tb); color: #fff; }

  /* header */
  .site-header { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: color-mix(in srgb, var(--rly-bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 0.5px solid var(--rly-border); }
  .site-header .container { display: flex; align-items: center; gap: 28px; height: 100%; }
  .relay-lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--rly-accent-ui); }
  .relay-lockup .rl-word { font-family: var(--rly-font-mark); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--rly-text-bright); }
  .nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
  .nav-cb, .nav-burger { display: none; }
  .nav a:not(.btn) { font-size: 14px; color: var(--rly-text-2); transition: color .15s; }
  .nav a:not(.btn):hover { color: var(--rly-text-bright); }

  /* ── Hero (drenched) ── */
  .hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: 100px 0 104px; }
  .hero::before { content: ''; position: absolute; top: -200px; right: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(13,148,136,.42), transparent 68%); filter: blur(28px); pointer-events: none; }
  .hero::after { content: ''; position: absolute; bottom: -240px; left: -140px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }
  .hero .container { position: relative; z-index: 2; }
  .drift { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
  .drift span { position: absolute; font-family: var(--rly-font-mono); font-size: 13px; letter-spacing: .18em; color: rgba(94,234,212,.10); animation: drift 26s linear infinite; }
  @keyframes drift { 0% { transform: translateY(30px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
  .hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 72px; align-items: center; }
  .eyebrow-deep { display: inline-flex; align-items: center; gap: 9px; font-family: var(--rly-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tb); margin-bottom: 28px; }
  .eyebrow-deep .d { width: 7px; height: 7px; border-radius: 50%; background: var(--tb); animation: blink 2.2s ease-in-out infinite; }
  @keyframes blink { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }
  .hero h1 { font-family: var(--rly-font-display); font-size: clamp(52px, 7vw, 104px); font-weight: 300; font-style: italic; line-height: .96; letter-spacing: -.015em; margin-bottom: 28px; text-wrap: balance; }
  .hero h1 em { font-style: normal; color: var(--tb); }
  .hero-sub { font-size: 19px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.76); max-width: 460px; margin-bottom: 36px; }
  .hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .hero-note { font-family: var(--rly-font-mono); font-size: 11px; letter-spacing: .04em; color: rgba(255,255,255,.5); margin-top: 18px; }

  /* live Code card — glassmorphic, cycling status */
  .codecard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 28px 30px; backdrop-filter: blur(5px); position: relative; overflow: hidden; }
  .codecard::before { content: ''; position: absolute; top: -70px; right: -70px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(94,234,212,.24), transparent 70%); pointer-events: none; }
  .cc-label { font-family: var(--rly-font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.48); }
  .cc-code { font-family: var(--rly-font-mono); font-size: clamp(40px, 5vw, 54px); font-weight: 600; letter-spacing: .16em; color: var(--tb); margin: 8px 0 18px; animation: cc-glow 6s ease-in-out infinite; }
  @keyframes cc-glow { 0%,58%,100% { text-shadow: none; } 70% { text-shadow: 0 0 24px rgba(94,234,212,.6); } 84% { text-shadow: none; } }
  .cc-status { position: relative; height: 18px; }
  .cc-row { position: absolute; inset: 0; display: flex; align-items: center; gap: 9px; font-family: var(--rly-font-mono); font-size: 12px; }
  .cc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
  .cc-await { color: var(--amber); animation: s-await 6s ease-in-out infinite; }
  .cc-await .cc-dot { background: var(--amber); animation: dot-amber 1.4s ease-in-out infinite; }
  .cc-recv { color: var(--tb); animation: s-recv 6s ease-in-out infinite; }
  .cc-recv .cc-dot { background: var(--tb); }
  @keyframes s-await { 0%,58% { opacity: 1; } 68%,94% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes s-recv { 0%,58% { opacity: 0; } 68%,94% { opacity: 1; } 100% { opacity: 0; } }
  @keyframes dot-amber { 0%,100% { box-shadow: 0 0 0 0 rgba(243,176,78,.5); } 60% { box-shadow: 0 0 0 6px rgba(243,176,78,0); } }
  .cc-div { height: 1px; background: rgba(255,255,255,.1); margin: 18px 0; }
  .cc-tag { display: inline-flex; font-family: var(--rly-font-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; color: #a5b4fc; background: rgba(99,102,241,.16); border: 1px solid rgba(99,102,241,.3); border-radius: 4px; padding: 3px 9px; }

  /* tool strip (light) */
  .tools { padding: 40px 0; border-bottom: 0.5px solid var(--rly-border); background: var(--rly-surface); }
  .tools-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
  .tools-label { font-family: var(--rly-font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--rly-text-muted); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
  .chip { font-family: var(--rly-font-mono); font-size: 12px; color: var(--rly-text-2); background: var(--rly-bg); border: 0.5px solid var(--rly-border); border-radius: 5px; padding: 6px 14px; transition: border-color .12s, color .12s; }
  .chip:hover { border-color: var(--rly-accent-ui); color: var(--rly-accent-text); }
  .chip.any { color: var(--rly-text-muted); font-style: italic; }
  .tools-sub { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); margin-left: auto; }

  /* section shell (light, editorial) */
  .sec { padding: 96px 0; border-bottom: 0.5px solid var(--rly-border); }
  .head { display: flex; align-items: baseline; gap: 24px; margin-bottom: 52px; flex-wrap: wrap; }
  .keyebrow { font-family: var(--rly-font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--rly-accent-text); flex-shrink: 0; }
  .title { font-family: var(--rly-font-display); font-size: clamp(32px, 4.2vw, 58px); font-weight: 300; font-style: italic; line-height: 1.03; color: var(--rly-text-bright); }
  .title em { font-style: normal; color: var(--rly-accent-text); }

  /* the loop — traveling packet */
  .loop-track { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
  .loop-rail { position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--rly-accent-ui), var(--rly-indigo)); opacity: .25; }
  .loop-packet { position: absolute; top: 26px; left: 12.5%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--rly-accent-ui); box-shadow: 0 0 0 6px var(--rly-accent-tint), 0 0 14px rgba(13,148,136,.6); z-index: 2; animation: loop-travel 7s cubic-bezier(.65,0,.35,1) infinite; }
  @keyframes loop-travel { 0% { left: 12.5%; opacity: 0; } 6% { opacity: 1; } 25% { left: 37.5%; } 50% { left: 62.5%; } 75% { left: 87.5%; } 94% { opacity: 1; } 100% { left: 87.5%; opacity: 0; } }
  .loop-step { position: relative; z-index: 1; text-align: center; }
  .loop-node { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px; background: var(--rly-bg); border: 0.5px solid var(--rly-border-hi); display: grid; place-items: center; font-family: var(--rly-font-mono); font-size: 17px; font-weight: 600; color: var(--rly-text-2); }
  .loop-step:nth-child(3) .loop-node, .loop-step:nth-child(4) .loop-node { color: var(--rly-accent-ui); border-color: rgba(13,148,136,.35); }
  .loop-step:nth-child(5) .loop-node, .loop-step:nth-child(6) .loop-node { color: var(--rly-indigo); border-color: rgba(99,102,241,.4); }
  .loop-name { font-family: var(--rly-font-display); font-size: 26px; font-weight: 300; font-style: italic; color: var(--rly-text-bright); margin-bottom: 11px; }
  .loop-desc { font-size: 14px; font-weight: 300; color: var(--rly-text-2); line-height: 1.65; max-width: 220px; margin: 0 auto; }

  /* platform strip (light) */
  .plat { padding: 96px 0; border-bottom: 0.5px solid var(--rly-border); background: var(--rly-surface); }
  .plat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .platc { background: var(--rly-bg); border: 0.5px solid var(--rly-border); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s; }
  .platc:hover { transform: translateY(-3px); border-color: var(--rly-accent-ui); }
  .platc-name { font-family: var(--rly-font-display); font-size: 25px; font-weight: 300; font-style: italic; color: var(--rly-text-bright); display: flex; align-items: center; gap: 9px; }
  .platc-desc { font-size: 13px; font-weight: 300; color: var(--rly-text-2); line-height: 1.6; }
  .platc-tool { font-family: var(--rly-font-mono); font-size: 10px; color: var(--rly-text-muted); margin-top: 4px; }
  .pulse-beat { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--rly-accent-ui); animation: heartbeat 1.9s ease-in-out infinite; }
  @keyframes heartbeat { 0%,100% { transform: scale(1); opacity: 1; } 22% { transform: scale(1.5); opacity: .65; } 38% { transform: scale(1); } 54% { transform: scale(1.32); opacity: .8; } 70% { transform: scale(1); } }

  /* drenched continuity moment */
  .drench { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: 108px 0; border-bottom: 0.5px solid var(--rly-border); }
  .drench::before { content: ''; position: absolute; top: -160px; left: -130px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(13,148,136,.38), transparent 68%); filter: blur(24px); pointer-events: none; }
  .drench::after { content: ''; position: absolute; bottom: -220px; right: -110px; width: 460px; height: 460px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.08); animation: orbit 64s linear infinite; pointer-events: none; }
  @keyframes orbit { to { transform: rotate(360deg); } }
  .drench .container { position: relative; z-index: 1; }
  .drench-eyebrow { font-family: var(--rly-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tb); margin-bottom: 22px; }
  .drench h2 { font-family: var(--rly-font-display); font-size: clamp(40px, 5.4vw, 76px); font-weight: 300; font-style: italic; line-height: 1.02; margin-bottom: 24px; max-width: 16ch; }
  .drench h2 em { font-style: normal; color: var(--tb); }
  .drench p { font-size: 17px; font-weight: 300; line-height: 1.78; color: rgba(255,255,255,.74); max-width: 520px; }

  /* use cases — hover wipe */
  .uc3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rly-border); border: 0.5px solid var(--rly-border); border-radius: var(--rly-radius-card); overflow: hidden; }
  .uc3-card { position: relative; background: var(--rly-bg); padding: 40px 32px; transition: background .2s; }
  .uc3-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--rly-accent-ui); transition: width .35s cubic-bezier(.22,1,.36,1); }
  .uc3-card:hover { background: var(--rly-surface); }
  .uc3-card:hover::before { width: 100%; }
  .uc3-eyebrow { font-family: var(--rly-font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--rly-text-muted); margin-bottom: 16px; }
  .uc3-title { font-family: var(--rly-font-display); font-size: 27px; font-weight: 300; font-style: italic; color: var(--rly-text-bright); line-height: 1.1; margin-bottom: 13px; }
  .uc3-desc { font-size: 14px; font-weight: 300; color: var(--rly-text-2); line-height: 1.7; }

  /* CTA close (drenched) */
  .cta { position: relative; overflow: hidden; background: var(--deep); color: #fff; padding: 128px 0; text-align: center; }
  .cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 720px; height: 720px; max-width: 130%; border-radius: 50%; background: radial-gradient(circle, rgba(13,148,136,.3), transparent 62%); pointer-events: none; }
  .cta .container { position: relative; z-index: 1; }
  .cta h2 { font-family: var(--rly-font-display); font-size: clamp(52px, 7vw, 96px); font-weight: 300; font-style: italic; line-height: 1; margin-bottom: 24px; }
  .cta h2 em { font-style: normal; color: var(--tb); }
  .cta p { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.74); margin: 0 auto 40px; max-width: 440px; line-height: 1.75; }
  .cta-note { margin-top: 20px; font-family: var(--rly-font-mono); font-size: 11px; color: rgba(255,255,255,.5); }

  .site-footer { padding: 40px 0; }
  .site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .foot-note { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); }

  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .codecard { max-width: 380px; }
    .plat-grid { grid-template-columns: 1fr 1fr; }
    .uc3 { grid-template-columns: 1fr; }
    .loop-track { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
    .loop-rail, .loop-packet { display: none; }
    .nav-burger { display: inline-flex; align-items: center; margin-left: auto; color: var(--rly-text-bright); cursor: pointer; padding: 6px; border-radius: var(--rly-radius-sm); }
    .nav-burger:hover { color: var(--rly-accent-text); }
    .nav-burger:focus-visible { outline: 2px solid var(--rly-accent-ui); outline-offset: 2px; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100; flex-direction: column; align-items: stretch; gap: 2px; margin-left: 0; background: var(--rly-bg); border-bottom: 0.5px solid var(--rly-border); padding: 10px 24px 18px; }
    .nav a:not(.btn) { padding: 11px 2px; font-size: 15px; border-bottom: 0.5px solid var(--rly-border); }
    .nav a.btn { margin-top: 10px; justify-content: center; }
    .nav-cb:checked ~ .nav { display: flex; }
  }
  @media (max-width: 640px) {
    .hero { padding: 64px 0 72px; }
    .sec, .plat { padding: 64px 0; }
    .plat-grid { grid-template-columns: 1fr; }
    .loop-track { grid-template-columns: 1fr; gap: 40px; }
    .drench, .cta { padding: 80px 0; }
    .tools-sub { margin-left: 0; }
  }
