/* r19 hero (Astra, 18 Oct 2026). Loaded last (r17-x*), after style.css and the other r17 sheets.
   Desktop: copy left, the 3D team on the right, and a Gopy OS Approvals window standing in front of the podium.
   Phone: copy, the window, then the whole team. Markup: tools/r17_xhero.py. */

/* ---------- copy ---------- */
.r19-copy .r19-eyebrow{display:inline-flex;align-items:center;gap:10px;padding:7px 15px 7px 12px;margin-bottom:22px;font-size:13.5px;font-weight:600;letter-spacing:.01em;color:rgba(255,255,255,.86)}
.r19-dot{flex:none;width:7px;height:7px;border-radius:50%;background:#34E88C;box-shadow:0 0 0 4px rgba(52,232,140,.16)}
.r19-eyebrow .r17-cn{font-weight:700;letter-spacing:.04em}
.hero .r19-copy h1{font-size:clamp(38px,3.55vw,62px);line-height:1.04;letter-spacing:-.022em;margin-bottom:20px}
.hero .r19-copy h1 .ln{display:block;white-space:nowrap}
.hero .r19-copy h1 .accent{color:#9AF5C2}
.hero .r19-copy .sub{font-size:clamp(16px,1.18vw,19px);line-height:1.55;color:rgba(255,255,255,.78);max-width:31em;margin:0 0 28px;text-wrap:pretty}
.r19-copy .cta{display:flex;flex-wrap:wrap;gap:12px}

/* proof: two numbers + the connectors we work with */
.r19-proof{list-style:none;display:flex;flex-wrap:wrap;align-items:flex-end;gap:18px 34px;margin:34px 0 0;padding:20px 0 0;border-top:1px solid rgba(255,255,255,.09)}
.r19-proof .r19-stat{display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:1.25;color:rgba(255,255,255,.62);letter-spacing:.01em;white-space:nowrap}
.r19-proof .r19-stat b{font-family:var(--head);font-weight:400;font-size:30px;line-height:1;letter-spacing:-.02em;color:#fff}
.r19-proof .r19-conn{flex-basis:100%;display:flex;flex-direction:row;align-items:center;gap:14px;min-width:0;font-size:13px;letter-spacing:.01em}
.r19-conn-l{font-size:13px;line-height:1.25;color:rgba(255,255,255,.62)}
.r19-logos{display:flex;align-items:center}
.r19-logos{gap:6px}
.r19-lg{flex:none;display:block;width:28px;height:28px;border-radius:50%;background:url(img/r19/connectors.webp) no-repeat;background-size:calc(28px * 11) 28px;background-position:calc(var(--i) * -28px) 0;
  box-shadow:0 6px 14px -6px rgba(0,0,0,.8);transition:transform .2s var(--ease,ease)}
.r19-lg:hover{transform:translateY(-3px)}
.r19-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* ---------- the Gopy OS window ---------- */
.r19-visual{position:absolute;z-index:1;pointer-events:none}
.r19-win{pointer-events:auto;position:relative;border-radius:18px;overflow:hidden;color:#EDEEF2;
  background:linear-gradient(160deg,rgba(255,255,255,.11),rgba(255,255,255,.03) 46%,rgba(255,255,255,.05)),rgba(16,15,25,.9);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 0 0 1px rgba(255,255,255,.09),0 40px 80px -30px rgba(0,0,0,.95),0 18px 40px -18px rgba(0,0,0,.7)}
.r19-win::before{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;background:radial-gradient(60% 50% at 18% 0%,rgba(52,232,140,.12),transparent 70%)}
.r19-bar{position:relative;display:flex;align-items:center;gap:10px;height:46px;padding:0 14px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025)}
.r19-tl{display:flex;gap:6px;margin-right:4px}.r19-tl i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.16)}
.r19-app{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#34E88C;color:#06150D}
.r19-title{font-size:14.5px;font-weight:700;color:#fff}
.r19-cnt{font-size:13px;color:rgba(255,255,255,.55)}
.r19-demo{margin-left:auto;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.55);padding:3px 8px;border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.r19-g{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#0B0B0E;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.r19-g svg{width:16px;height:13px;fill:#34E88C}
.r19-rows{list-style:none;margin:0;padding:10px;display:grid;gap:8px}
.r19-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-items:center;padding:10px 12px 10px 14px;border-radius:12px;
  background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.r19-row-t{grid-column:1;display:flex;align-items:center;gap:10px}
.r19-dept{display:inline-flex;align-items:center;gap:7px;font-size:10.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.r19-dept::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--c)}
.r19-amt{font-size:12.5px;font-weight:700;color:rgba(255,255,255,.82);font-variant-numeric:tabular-nums}
.r19-what{grid-column:1;margin:0;font-size:14.5px;font-weight:700;line-height:1.3;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r19-acts{grid-column:2;grid-row:1/3;display:flex;gap:6px}
.r19-ok,.r19-ed{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 13px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}
.r19-ok{background:#34E88C;color:#06150D}
.r19-ed{color:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.r19-row:first-child .r19-ok{animation:r19-pulse 2.8s ease-in-out 2.6s 3}
@keyframes r19-pulse{0%,100%{box-shadow:0 0 0 0 rgba(52,232,140,0)}45%{box-shadow:0 0 0 6px rgba(52,232,140,.22)}}
.r19-foot{display:flex;align-items:center;gap:9px;padding:11px 16px 13px;border-top:1px solid rgba(255,255,255,.06);font-size:13px;color:rgba(255,255,255,.72)}
.r19-shield{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(52,232,140,.16);color:#34E88C}
.r19-foot-t{font-weight:600;color:#E9FFF2}
.r19-by{margin-left:auto;font-size:12px;color:rgba(255,255,255,.45);white-space:nowrap}
.r19-ic{flex:none}
html[lang^="zh"] .r19-dept{letter-spacing:.04em}
/* Chinese: Paytone has no CJK, so the headline uses a heavy CJK sans (and the same face for "AI") */
html[lang^="zh"] .hero .r19-copy h1{font-family:"PingFang SC","Hiragino Sans GB","Noto Sans SC","Source Han Sans SC","Microsoft YaHei",var(--sans),sans-serif;font-weight:800;letter-spacing:.01em;line-height:1.14;-webkit-text-stroke:.6px currentColor}
html[lang^="zh"] .hero .r19-copy .sub,html[lang^="zh"] .r19-what{word-break:keep-all;overflow-wrap:break-word}

/* the window rises in once, after the copy (transform + opacity only, so nothing shifts) */
@media (prefers-reduced-motion:no-preference){
  .r19-win{animation:r19-rise .9s cubic-bezier(.2,.8,.2,1) .55s both}
  .r19-row{animation:r19-row .6s cubic-bezier(.2,.8,.2,1) both}
  .r19-row:nth-child(1){animation-delay:.95s}.r19-row:nth-child(2){animation-delay:1.07s}.r19-row:nth-child(3){animation-delay:1.19s}
}
@keyframes r19-rise{from{opacity:0;transform:translateY(26px) scale(.985)}to{opacity:1;transform:none}}
@keyframes r19-row{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- desktop (>1080): copy left, team right, window in front of the podium ---------- */
@media (min-width:1081px){
  .hero{--ph:min(100svh,64vw);--cx:70.5vw}
  .stage{top:calc(var(--ph) * -.21)}
  .stage-light{background:linear-gradient(90deg,rgba(8,9,22,.98) 0%,rgba(8,9,22,.94) 24%,rgba(8,9,22,.55) 33%,rgba(8,9,22,0) 41%),radial-gradient(22% 30% at 50% 46%,rgba(255,214,160,.10),transparent 70%)}
  .hero-copy.r19-copy{left:clamp(28px,5vw,96px);top:53%;width:min(640px,41vw)}
  .r19-visual{--ww:clamp(430px,32vw,580px);width:var(--ww);left:calc(var(--cx) - var(--ww) * .5 + var(--ph) * .07);top:calc(var(--ph) * .58 + 6px)}
}
@media (min-width:1081px) and (max-width:1320px){
  .hero{--ph:min(100svh,60vw);--cx:71.5vw}
  .r19-what{font-size:14px}.r19-by{display:none}
}
@media (min-width:1081px) and (max-height:760px){
  .r19-by{display:none}.r19-rows{gap:6px;padding:8px}.r19-row{padding:9px 12px}
}

/* ---------- 761-1080 px ---------- */
@media (min-width:761px) and (max-width:1080px){
  .r19-visual{display:none}
  .r19-proof{gap:22px}
}

/* ---------- phone: copy, the window, then the whole team ---------- */
@media (max-width:760px){
  .r19-copy .r19-eyebrow{font-size:12.5px;margin-bottom:16px}
  .hero .r19-copy h1{font-size:min(9.4vw,38px);margin-bottom:14px}
  .hero .r19-copy .sub{font-size:15.5px;margin-bottom:20px}
  .r19-copy .cta{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .r19-copy .cta .btn{min-width:0;padding-left:10px;padding-right:10px;font-size:14.5px;white-space:nowrap}
  .r19-proof{flex-wrap:wrap;gap:16px 26px;margin-top:22px;padding-top:16px}
  .r19-proof .r19-conn{flex-direction:column;align-items:flex-start;gap:9px}
  .r19-logos{gap:4px}
  .r19-lg{width:26px;height:26px;background-size:calc(26px * 11) 26px;background-position:calc(var(--i) * -26px) 0}
  .r19-what{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:2.6em;line-height:1.3}
  .r19-visual{position:relative;z-index:2;margin:26px 14px 22px}
  .r19-bar{height:42px;padding:0 12px;gap:8px}.r19-tl{display:none}
  .r19-rows{padding:8px;gap:6px}
  .r19-row{padding:10px 10px 10px 12px;column-gap:10px}
  .r19-what{font-size:14px}
  .r19-ok{height:30px;padding:0 11px;font-size:12.5px}
  .r19-by{display:none}
  .r19-foot{padding:10px 14px 12px;font-size:12.5px}
}
