/* ============================================================
   Pikarta — Release notes (/release-notes/)
   Builds on site.css tokens + pages.css (nav, crumb, CTA band).
   Each release carries its own accent from the card-editor themes:
   --ac (text-safe accent), --ac2 (bright accent), --acS (soft tint).
   ============================================================ */

.rn {
  --line: rgba(17, 24, 39, .09);
  --lineB: rgba(17, 24, 39, .14);
  --card: #fff;
  --ink: #0B120F;
  --ac: #0A7A55;
  --ac2: #0E9F6E;
  --acS: rgba(14, 159, 110, .12);
  --mono: var(--font);
  /* legacy names, mapped onto the shared site tokens */
  --tx: #16211B;
  --txS: var(--ink2, #46504A);
  --txF: var(--mute, #6B756F);
  --bg: var(--paper, #F6F1E7);
  --srf2: var(--cream, #FFF8EC);
  --gr: #0E9F6E;
  --grD: var(--leaf, #0B6B4A);
  --ease: var(--e-out, cubic-bezier(.23, 1, .32, 1));
  --pad: clamp(20px, 5vw, 80px);
  --display: var(--serif, "Bricolage Grotesque", "Archivo", system-ui, sans-serif);
  background: var(--bg);
}
.rn-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.rn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- reveal (only when JS runs; content is visible without it) ---------- */
.js .rv {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity .8s var(--ease) calc(var(--i, 0) * 70ms),
    transform .8s var(--ease) calc(var(--i, 0) * 70ms),
    filter .8s var(--ease) calc(var(--i, 0) * 70ms);
}
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- pulse dot ---------- */
.rn-pulse {
  position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.rn-pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor;
  animation: rnPulse 2s var(--ease) infinite;
}
@keyframes rnPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.2); opacity: 0; } }

/* ============================================================
   HERO
   ============================================================ */
.rn-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 36px 0 96px;
}
.rn-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(17, 24, 39, .13) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 65% 45%, #000 10%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 70% at 65% 45%, #000 10%, transparent 72%);
}
.rn-aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.rn-aurora i {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: rnDrift 18s ease-in-out infinite alternate;
}
.rn-aurora .b1 { width: 520px; height: 520px; right: 4%; top: -120px; background: #7EE0B8; }
.rn-aurora .b2 { width: 380px; height: 380px; right: 26%; top: 260px; background: #A5B4FC; opacity: .35; animation-delay: -6s; }
.rn-aurora .b3 { width: 300px; height: 300px; right: -60px; top: 380px; background: #FCD34D; opacity: .3; animation-delay: -11s; }
@keyframes rnDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.08); }
  100% { transform: translate(30px, -20px) scale(.96); }
}

.rn-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 80px); align-items: center; min-height: 620px;
}
.rn-hero-copy .pg-crumb { margin-bottom: 26px; }


.rn-h1 {
  margin-top: 8px;
  font-size: clamp(46px, 7.4vw, 104px); font-weight: 900; font-stretch: 112.5%;
  line-height: .9; letter-spacing: -.05em; color: var(--ink);
}
.rn-h1-grad {
  display: block; padding-bottom: .08em;
  background: linear-gradient(90deg, #0E9F6E, #1D4ED8, #6D28D9, #BE123C, #D97706, #0E9F6E);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rnGrad 14s linear infinite;
}
@keyframes rnGrad { to { background-position: 300% 0; } }

.rn-lead {
  margin-top: 24px; max-width: 54ch;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--txS); font-weight: 420;
}

.rn-stats {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  gap: 0; margin: 40px 0 0;
}
.rn-stats div { padding: 0 28px; border-left: 1px solid var(--lineB); }
.rn-stats div:first-child { padding-left: 0; border-left: 0; }
.rn-stats dt {
  font-size: 12.5px; font-weight: 600; color: var(--txS); margin-top: 6px; white-space: nowrap;
}
.rn-stats dd {
  margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 900; font-stretch: 112.5%;
  letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.rn-stats div { display: flex; flex-direction: column-reverse; }

/* ---------- Wallet card stack ---------- */
.rn-stack {
  --rx: 0deg; --ry: 0deg; --spread: 0;
  position: relative; height: 600px; perspective: 1600px;
}
.rn-stack-inner {
  position: absolute; left: 50%; top: 0; width: 320px; height: 100%;
  margin-left: -160px;
  transform-style: preserve-3d;
  transform: rotateX(calc(10deg + var(--rx))) rotateY(calc(-14deg + var(--ry))) rotateZ(3deg);
  transition: transform .6s var(--ease);
  animation: rnFloat 7s ease-in-out infinite;
}
@keyframes rnFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.rn-stack-glow {
  position: absolute; left: 50%; bottom: 10px; width: 360px; height: 60px; margin-left: -180px;
  border-radius: 50%; background: rgba(13, 59, 46, .28); filter: blur(28px); z-index: -1;
}

.wc {
  --gap: calc(58px + var(--spread) * 18px);
  position: absolute; left: 0; top: calc(var(--k) * var(--gap));
  width: 320px; height: 200px; border-radius: 18px; padding: 16px 18px;
  background: var(--bg); color: var(--fg);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .18) inset, 0 18px 40px -18px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .12);
  transform: translateZ(calc(var(--k) * 26px));
  transition: top .5s var(--ease);
}
.js .wc { animation: wcIn 1s var(--ease) both; animation-delay: calc(.25s + var(--k) * .14s); }
@keyframes wcIn {
  from { opacity: 0; transform: translateZ(calc(var(--k) * 26px)) translateY(-90px) rotateX(-24deg); }
}
.wc::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .18), transparent 45%);
}
.wc-top { position: relative; display: flex; align-items: center; gap: 10px; }
.wc-logo {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); font-style: normal; font-size: 13px; font-weight: 900;
  font-stretch: 112.5%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.wc-top b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.wc-hf { margin-left: auto; text-align: right; font-size: 17px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wc-hf small { display: block; font-size: 9px; letter-spacing: .12em; font-weight: 700; opacity: .75; }

.wc-poster { height: 400px; padding: 0; overflow: hidden; }
.wc-poster .wc-top { padding: 16px 18px 0; z-index: 2; }
.wc-art {
  position: absolute; inset: 0 0 34% 0; overflow: hidden;
  background: linear-gradient(180deg, #FDBA74 0%, #FB923C 30%, #F472B6 62%, #7C3AED 100%);
}
.wc-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 59, 46, 0) 45%, var(--bg) 100%);
}
.wc-art .sun {
  position: absolute; width: 110px; height: 110px; border-radius: 50%; right: 36px; top: 70px;
  background: radial-gradient(circle, #FEF3C7 0 45%, rgba(254, 243, 199, .0) 72%);
  animation: rnSun 9s ease-in-out infinite alternate;
}
.wc-art .hill { position: absolute; border-radius: 50% 50% 0 0; }
.wc-art .h1 { left: -60px; right: 30px; bottom: -40px; height: 180px; background: #166534; }
.wc-art .h2 { left: 90px; right: -80px; bottom: -70px; height: 190px; background: #14532D; }
@keyframes rnSun { from { transform: translateY(0); } to { transform: translateY(-18px) scale(1.05); } }
.wc-hero-val { position: absolute; left: 18px; top: 178px; z-index: 2; }
.wc-hero-val small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.wc-hero-val strong {
  font-size: 58px; font-weight: 900; font-stretch: 112.5%; letter-spacing: -.05em; line-height: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.wc-hero-val strong span { font-size: 26px; opacity: .8; letter-spacing: -.02em; }
.wc-acts { position: absolute; right: 16px; top: 206px; z-index: 2; display: flex; gap: 6px; }
.wc-acts span {
  padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.wc-foot {
  position: absolute; left: 18px; right: 18px; top: 272px; z-index: 2;
  display: flex; justify-content: space-between; font-size: 13px; font-weight: 700;
}
.wc-foot small { display: block; font-size: 9px; letter-spacing: .12em; opacity: .7; }
.wc-foot div:last-child { text-align: right; }
.wc-bc {
  position: absolute; left: 50%; bottom: 16px; width: 200px; margin-left: -100px; height: 58px;
  padding: 8px 12px; border-radius: 10px; background: #fff; z-index: 2;
}
.wc-bc i, .wg-bc {
  display: block; height: 100%;
  background: repeating-linear-gradient(90deg,
    #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px,
    #111 8px 11px, transparent 11px 12px, #111 12px 13px, transparent 13px 16px);
}
.wc-poster::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: rnSheen 7s var(--ease) 1.6s infinite;
}
@keyframes rnSheen { 0% { background-position: 130% 0; } 30%, 100% { background-position: -130% 0; } }

/* ============================================================
   BODY LAYOUT
   ============================================================ */
.rn-body { position: relative; padding: 24px 0 110px; background: var(--srf2); border-top: 1px solid var(--line); }
.rn-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(36px, 5vw, 88px); align-items: start; }

/* ---------- aside ---------- */
.rn-aside { position: sticky; top: 96px; padding-top: 40px; }
.rn-odo-box {
  padding: 22px 22px 20px; border-radius: 20px; background: var(--card);
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -18px rgba(0, 0, 0, .18);
  position: relative; overflow: hidden;
}
.rn-odo-box::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 220px; height: 220px; border-radius: 50%;
  background: var(--acS); filter: blur(30px); transition: background .5s;
}
.rn-odo-cap { position: relative; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--txF); }
.rn-odo {
  position: relative; display: flex; align-items: flex-end; margin-top: 8px;
  font-family: var(--font); font-stretch: 112.5%; font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; color: var(--ac); transition: color .5s;
}
.odo-v { font-size: .4em; font-weight: 800; margin: 0 .1em .14em 0; opacity: .5; letter-spacing: 0; }
.odo-dot { width: .3em; text-align: center; }
.odo-col { display: inline-block; height: 1em; overflow: hidden; }
.odo-reel {
  display: flex; flex-direction: column;
  transform: translateY(calc(var(--n, 0) * -1em));
  transition: transform .9s cubic-bezier(.2, .9, .2, 1.15);
}
.odo-reel b { display: block; height: 1em; font-weight: inherit; }
.odo-patch { display: inline-flex; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .6s var(--ease), opacity .4s; }
.rn-odo.has-patch .odo-patch { max-width: 1.2em; opacity: 1; }
.rn-odo-title {
  position: relative; margin-top: 12px; min-height: 2.6em;
  font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--tx);
}
.rn-odo-title.swap { animation: rnSwap .5s var(--ease); }
@keyframes rnSwap { from { opacity: 0; transform: translateY(8px); } }

.rn-vnav { position: relative; margin-top: 22px; }
.rn-vnav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rn-vnav a {
  position: relative; display: grid; grid-template-columns: 18px 56px minmax(0, 1fr); align-items: center;
  padding: 8px 10px 8px 4px; border-radius: 10px; font-size: 13.5px; color: var(--txS);
  transition: background .2s, color .2s;
}
.rn-vnav a:hover { background: rgba(0, 0, 0, .04); color: var(--tx); }
.rn-vnav a i {
  position: relative; z-index: 1; width: 9px; height: 9px; border-radius: 50%; margin-left: 4.5px;
  background: var(--srf2); box-shadow: inset 0 0 0 2px var(--lineB); transition: box-shadow .3s, background .3s, transform .3s var(--ease);
}
.rn-vnav a b { font-size: 13.5px; font-weight: 800; font-stretch: 112.5%; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--tx); }
.rn-vnav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-vnav a.is-seen i { background: var(--ac); box-shadow: none; }
.rn-vnav a.is-active { background: var(--card); color: var(--tx); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 0 0 1px var(--line); }
.rn-vnav a.is-active i { background: var(--ac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ac) 20%, transparent); transform: scale(1.15); }
.rn-vnav a.is-active b { color: var(--ac); }
.rn-vnav a.is-hidden { opacity: .35; }
.rn-vnav-rail { position: absolute; left: 12.5px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--line); }
.rn-vnav-rail span {
  position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); border-radius: inherit;
  background: linear-gradient(180deg, #0E9F6E, #6D28D9 30%, #1D4ED8 50%, #BE123C 70%, #0D3B2E);
}

/* ---------- toolbar ---------- */
.rn-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 40px 0 8px;
}
.rn-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--lineB); color: var(--tx);
  font-size: 14px; font-weight: 650; box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.rn-chip svg { width: 15px; height: 15px; color: var(--txS); transition: color .2s; }
.rn-chip:hover { border-color: rgba(14, 159, 110, .5); }
.rn-chip:active { transform: scale(.96); }
.rn-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5); }
.rn-chip[aria-pressed="true"] svg { color: #7EE0B8; }
.rn-chip-n {
  min-width: 22px; padding: 1px 6px; border-radius: 999px; text-align: center;
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, .06); color: var(--txS);
}
.rn-chip-n:empty { display: none; }
.rn-chip[aria-pressed="true"] .rn-chip-n { background: rgba(255, 255, 255, .16); color: #fff; }
.rn-result { margin-left: auto; font-size: 13px; color: var(--txF); font-variant-numeric: tabular-nums; }

/* ---------- timeline ---------- */
.rn-tl { position: relative; padding-left: 52px; margin-top: 28px; }
.rn-tl::before, .rn-tl-fill {
  content: ""; position: absolute; left: 11px; top: 14px; bottom: 0; width: 2px; border-radius: 2px;
}
.rn-tl::before { background: var(--line); }
.rn-tl-fill {
  bottom: auto; height: calc(var(--p, 0) * (100% - 14px));
  background: linear-gradient(180deg, #0E9F6E, #57534E 12%, #6D28D9 24%, #1D4ED8 40%, #D97706 55%, #BE123C 66%, #334155 76%, #0D3B2E 88%, #0E9F6E);
  box-shadow: 0 0 12px rgba(14, 159, 110, .35);
}

.rel { position: relative; padding-bottom: 104px; scroll-margin-top: 110px; }
.rel:last-child { padding-bottom: 0; }
.rel[hidden] { display: none; }
.rel::before {
  content: ""; position: absolute; left: -52px; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--srf2); box-shadow: inset 0 0 0 2px var(--lineB);
  transition: box-shadow .4s, background .4s, transform .4s var(--ease);
}
.rel::after {
  content: ""; position: absolute; left: -44px; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lineB); transition: background .4s;
}
.rel.is-seen::before { box-shadow: inset 0 0 0 2px var(--ac); background: var(--card); }
.rel.is-seen::after { background: var(--ac); }
.rel.is-active::before { transform: scale(1.12); box-shadow: inset 0 0 0 2px var(--ac), 0 0 0 7px var(--acS); }

.rel-head { position: relative; }
.rel-big {
  position: absolute; right: -8px; top: -58px; z-index: 0; pointer-events: none; user-select: none;
  font-size: clamp(120px, 15vw, 230px); font-weight: 900; font-stretch: 112.5%;
  letter-spacing: -.06em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ac) 22%, transparent);
  transform: translateY(var(--py, 0px));
  will-change: transform;
}
.rel-meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rel-ver {
  padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 800; font-stretch: 112.5%;
  letter-spacing: .01em; font-variant-numeric: tabular-nums; background: var(--ac); color: #fff; box-shadow: 0 6px 16px -8px var(--ac);
}
.rel-meta time { font-size: 14px; font-weight: 600; color: var(--txS); }
.rel-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--ac);
  background: var(--acS); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 25%, transparent);
}
.rel-badge svg { width: 13px; height: 13px; }
.rel-badge .rn-pulse { width: 6px; height: 6px; color: var(--ac2); }
.rel-title {
  position: relative; margin-top: 18px; max-width: 16ch;
  font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; font-variation-settings: "opsz" 96, "wdth" 94;
  line-height: .98; letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}
.rel-sum { position: relative; margin-top: 14px; max-width: 58ch; font-size: 17.5px; line-height: 1.6; color: var(--txS); }

/* ---------- feature cards ---------- */
.ft-grid {
  position: relative; list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.ft {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 22px 22px 24px; border-radius: 18px;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: opacity .8s var(--ease) calc(var(--i, 0) * 70ms), transform .5s var(--ease), filter .8s var(--ease) calc(var(--i, 0) * 70ms),
    box-shadow .35s, border-color .35s;
}
.ft::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--acS), transparent 45%);
}
.ft:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--ac) 30%, transparent); box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--ac) 55%, transparent), 0 1px 2px rgba(0, 0, 0, .04); }
.ft:hover::before { opacity: 1; }
.js .ft.rv { transition-property: opacity, transform, filter, box-shadow, border-color; transition-duration: .8s, .8s, .8s, .35s, .35s; }
.js .rv.done { --i: 0; }
.js .ft.rv.done { transition-duration: .5s, .5s, .5s, .35s, .35s; }
.js .ft.rv.in:hover { transform: translateY(-3px); }
.ft.is-out { opacity: 0 !important; transform: scale(.96) !important; }
.ft[hidden] { display: none; }

.ft-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ft-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--acS); color: var(--ac); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 14%, transparent);
  transition: transform .4s var(--ease);
}
.ft-ic svg { width: 20px; height: 20px; }
.ft:hover .ft-ic { transform: rotate(-6deg) scale(1.06); }
.ft-tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txF); }
.ft h3 { margin-top: 18px; font-size: 18px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); }
.ft p { margin-top: 8px; font-size: 15px; line-height: 1.62; color: var(--txS); }
/* The whole card is the link target: the anchor's ::after stretches over it. */
.ft:not(.ft-hero), .ft-hero .ft-body { display: flex; flex-direction: column; }
.ft-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px;
  font-size: 14px; font-weight: 700; color: var(--ac); align-self: flex-start;
}
.ft-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ft-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.ft:hover .ft-link svg { transform: translateX(4px); }
.ft:hover .ft-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.ft-link:focus-visible { outline: none; }
.ft:has(.ft-link:focus-visible) { outline: 2px solid color-mix(in srgb, var(--ac) 60%, transparent); outline-offset: 3px; }

/* ---------- language switcher (links, so every locale is crawlable) ---------- */
.rn .nav-right { display: flex; align-items: center; gap: 10px; }
.rn-lang .lang-menu a {
  padding: 8px 12px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--txF);
  transition: background .2s, color .2s;
}
.rn-lang .lang-menu a:hover { background: rgba(0, 0, 0, .06); color: var(--tx); }
.rn-lang .lang-menu a.active { background: var(--gr); color: #fff; }
.rn-lang .lang-chevron { fill: none; stroke: currentColor; stroke-width: 2.5; }
.rn-lang:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }

/* ---------- business types ---------- */
.rn-biz { padding: 96px 0 104px; background: var(--bg); border-top: 1px solid var(--line); }
.rn-biz-head { max-width: 760px; }
.rn-biz-head .sec-h2 { font-size: clamp(30px, 4vw, 52px); font-variation-settings: "opsz" 96, "wdth" 94; letter-spacing: -.03em; }
.rn-biz-lead { margin-top: 16px; font-size: 17.5px; line-height: 1.6; color: var(--txS); max-width: 60ch; }
.rn-biz-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.rn-biz-grid a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 64px; padding: 0 20px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  font-size: 15.5px; font-weight: 750; color: var(--ink);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s, color .3s;
}
.rn-biz-grid a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: linear-gradient(120deg, rgba(14, 159, 110, .12), rgba(14, 159, 110, 0) 70%);
}
.rn-biz-grid a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--txF); transition: transform .3s var(--ease), color .3s; }
.rn-biz-grid a:hover { transform: translateY(-3px); border-color: rgba(14, 159, 110, .4); box-shadow: 0 16px 34px -20px rgba(14, 159, 110, .6); color: var(--grD); }
.rn-biz-grid a:hover::before { opacity: 1; }
.rn-biz-grid a:hover svg { transform: translateX(4px); color: var(--gr); }
.rn-biz-more { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; }
.rn-biz-more a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--grD); }
.rn-biz-more a svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.rn-biz-more a:hover svg { transform: translateX(4px); }

.ft-hero {
  grid-column: 1 / -1; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch;
}
.ft-hero .ft-body { padding: 32px 34px; align-self: center; }
.ft-hero h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; font-stretch: 112.5%; letter-spacing: -.035em; }
.ft-hero p { font-size: 16px; }

/* ============================================================
   DEMOS — every mini animation idles until .play (in viewport)
   ============================================================ */
.demo {
  position: relative; overflow: hidden; min-height: 290px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background:
    radial-gradient(120% 90% at 20% 10%, var(--acS), transparent 60%),
    radial-gradient(rgba(17, 24, 39, .08) 1px, transparent 1.2px) 0 0 / 16px 16px,
    var(--srf2);
  border-right: 1px solid var(--line);
}
.demo, .demo * { animation-play-state: paused !important; }
.demo.play, .demo.play * { animation-play-state: running !important; }

/* phone shell shared by several demos */
.ph {
  position: relative; width: 150px; height: 244px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac2) 55%, #fff), var(--ac));
  box-shadow: 0 0 0 5px #0B120F, 0 22px 40px -18px rgba(0, 0, 0, .55);
}
.ph::before {
  content: ""; position: absolute; left: 50%; top: 8px; width: 44px; height: 13px; margin-left: -22px;
  border-radius: 10px; background: #0B120F; z-index: 5;
}

/* --- 1.7 classic ↔ poster --- */
.dp-card {
  position: relative; width: 176px; height: 112px; border-radius: 14px; overflow: hidden;
  background: #0D3B2E; color: #fff; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .5);
  animation: dpCard 7s var(--ease) infinite;
}
.dp-art {
  position: absolute; inset: 0 0 30% 0; opacity: 0; overflow: hidden;
  background: linear-gradient(180deg, #FDBA74, #F472B6 60%, #7C3AED);
  animation: dpFade 7s var(--ease) infinite;
}
.dp-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, #0D3B2E); }
.dp-art .sun { position: absolute; right: 22px; top: 44px; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, #FEF3C7 0 45%, transparent 72%); }
.dp-art .hill { position: absolute; left: -30px; right: -30px; bottom: -40px; height: 100px; border-radius: 50% 50% 0 0; background: #166534; }
.dp-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 10px 11px 0; font-size: 11.5px; }
.dp-top i {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); font-style: normal; font-size: 10px; font-weight: 900;
}
.dp-val { position: absolute; z-index: 2; left: 11px; top: 40px; animation: dpVal 7s var(--ease) infinite; transform-origin: left top; }
.dp-val small { display: block; font-size: 7.5px; letter-spacing: .12em; opacity: .8; font-weight: 700; }
.dp-val strong { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.dp-acts { position: absolute; z-index: 2; right: 10px; top: 128px; display: flex; gap: 4px; opacity: 0; animation: dpFade 7s var(--ease) infinite; }
.dp-acts span { padding: 4px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; background: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.dp-bc { position: absolute; z-index: 2; left: 38px; right: 38px; bottom: 10px; height: 24px; padding: 4px 6px; border-radius: 6px; }
.dp-bc { background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px, #111 12px 13px, transparent 13px 16px) content-box, #fff; }
.dp-seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 176px; padding: 3px;
  border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .05);
  font-size: 11.5px; font-weight: 700; text-align: center;
}
.dp-seg span { position: relative; z-index: 1; padding: 6px 0; color: var(--txS); }
.dp-seg i {
  position: absolute; left: 3px; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 999px;
  background: var(--ink); animation: dpSeg 7s var(--ease) infinite;
}
.dp-seg span:nth-child(1) { animation: dpSegA 7s var(--ease) infinite; }
.dp-seg span:nth-child(2) { animation: dpSegB 7s var(--ease) infinite; }
@keyframes dpCard { 0%, 36%, 94%, 100% { height: 112px; } 46%, 84% { height: 232px; } }
@keyframes dpFade { 0%, 38%, 90%, 100% { opacity: 0; } 50%, 82% { opacity: 1; } }
@keyframes dpVal { 0%, 36%, 94%, 100% { transform: none; top: 40px; } 46%, 84% { transform: scale(1.7); top: 76px; } }
@keyframes dpSeg { 0%, 36%, 94%, 100% { transform: none; } 46%, 84% { transform: translateX(100%); } }
@keyframes dpSegA { 0%, 36%, 94%, 100% { color: #fff; } 46%, 84% { color: var(--txS); } }
@keyframes dpSegB { 0%, 36%, 94%, 100% { color: var(--txS); } 46%, 84% { color: #fff; } }

/* --- 1.6.1 same-named clients --- */
.d-names { gap: 8px; }
.nm-search, .nm {
  width: 230px; display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 12px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04);
  font-size: 13.5px;
}
.nm-search { color: var(--txS); font-weight: 600; margin-bottom: 4px; }
.nm-search svg { width: 14px; height: 14px; }
.nm i {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--acS); color: var(--ac); font-style: normal; font-weight: 800; font-size: 12px;
}
.nm b { font-weight: 700; color: var(--tx); }
.nm span {
  margin-left: auto; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ac);
  padding: 2px 7px; border-radius: 6px; background: var(--acS);
  opacity: 0; transform: translateX(10px);
  animation: nmIn 6s var(--ease) infinite; animation-delay: calc(var(--k) * .25s);
}
.nm:nth-of-type(3) { animation: nmPick 6s var(--ease) infinite; }
@keyframes nmIn { 0%, 12% { opacity: 0; transform: translateX(10px); } 22%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateX(10px); } }
@keyframes nmPick {
  0%, 45%, 92%, 100% { box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(0, 0, 0, .04); transform: none; }
  52%, 84% { box-shadow: inset 0 0 0 2px var(--ac), 0 10px 24px -12px var(--ac); transform: scale(1.03); }
}

/* --- 1.6 widget → scanner --- */
.wg-grid { position: absolute; inset: 38px 14px auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.wg-grid i { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .32); }
.wg {
  grid-column: span 2; grid-row: span 2; border-radius: 14px; padding: 9px;
  background: rgba(255, 255, 255, .92); color: var(--ac);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: wgPress 6s var(--ease) infinite;
}
.wg svg { width: 22px; height: 22px; }
.wg span { font-size: 11px; font-weight: 800; color: var(--ink); }
.wg-tap {
  position: absolute; left: 46px; top: 64px; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); opacity: 0; animation: wgTap 6s var(--ease) infinite;
}
.wg-cam {
  position: absolute; inset: 0; z-index: 4; background: #0B120F;
  clip-path: circle(0 at 46px 64px); animation: wgCam 6s var(--ease) infinite;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.wg-frame {
  position: relative; width: 104px; height: 64px; padding: 10px 12px; border-radius: 10px;
  background: #fff;
}
.wg-frame::before {
  content: ""; position: absolute; inset: -8px; border-radius: 14px;
  border: 2px solid var(--ac2); opacity: .9;
}
.wg-line {
  position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; border-radius: 2px;
  background: #EF4444; box-shadow: 0 0 10px #EF4444; animation: wgLine 6s ease-in-out infinite;
}
.wg-ok {
  display: flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px;
  background: var(--ac2); color: #fff; font-size: 11px; font-weight: 800;
  opacity: 0; transform: translateY(8px) scale(.9); animation: wgOk 6s var(--ease) infinite;
}
.wg-ok svg { width: 13px; height: 13px; }
@keyframes wgTap { 0%, 14% { opacity: 0; transform: scale(.4); } 18% { opacity: .95; transform: scale(1); } 28%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes wgPress { 0%, 15%, 26%, 100% { transform: none; } 19% { transform: scale(.93); } }
@keyframes wgCam { 0%, 22% { clip-path: circle(0 at 46px 64px); } 36%, 90% { clip-path: circle(300px at 46px 64px); } 98%, 100% { clip-path: circle(0 at 46px 64px); } }
@keyframes wgLine { 0%, 36% { top: 8px; opacity: 0; } 40% { opacity: 1; } 52% { top: 54px; } 62% { top: 8px; opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes wgOk { 0%, 64% { opacity: 0; transform: translateY(8px) scale(.9); } 70%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }

/* --- 1.5 lock-screen campaign --- */
.ph-lock { background: linear-gradient(170deg, #1E3A8A, #1D4ED8 45%, #60A5FA); color: #fff; text-align: center; }
.lk-time { margin-top: 40px; font-size: 44px; font-weight: 700; font-stretch: 112.5%; letter-spacing: -.04em; line-height: 1; }
.lk-date { margin-top: 4px; font-size: 10.5px; font-weight: 600; opacity: .85; }
.lk-note {
  position: absolute; left: 8px; right: 8px; top: 118px; display: flex; gap: 7px; text-align: left;
  padding: 8px; border-radius: 14px; color: var(--ink);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(-40px) scale(.94);
  animation: lkIn 5.5s cubic-bezier(.2, .9, .25, 1.2) infinite;
}
.lk-note i {
  flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
  background: #1D4ED8; color: #fff; font-style: normal; font-size: 11px; font-weight: 900;
}
.lk-note b { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; }
.lk-note em { font-style: normal; font-weight: 500; color: var(--txS); }
.lk-note span { display: block; margin-top: 1px; font-size: 10px; line-height: 1.3; color: #374151; }
@keyframes lkIn { 0%, 10% { opacity: 0; transform: translateY(-40px) scale(.94); } 20%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-14px) scale(.97); } }

/* --- 1.4 currency reel --- */
.d-cur { gap: 6px; }
.cur-amt { display: flex; align-items: center; gap: 6px; font-size: 58px; font-weight: 900; font-stretch: 112.5%; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.cur-amt strong { font-weight: inherit; font-variant-numeric: tabular-nums; }
.cur-win { display: inline-block; height: 1em; overflow: hidden; color: var(--ac); }
.cur-reel { display: flex; flex-direction: column; align-items: flex-end; animation: curRoll 10.5s cubic-bezier(.6, 0, .2, 1.2) infinite; }
.cur-reel b { display: block; height: 1em; line-height: 1; font-weight: inherit; }
.cur-code { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--ac); padding: 4px 10px; border-radius: 8px; background: var(--acS); }
.cur-code .cur-win { color: inherit; }
.d-cur p { font-size: 13px; font-weight: 600; color: var(--txS); }
@keyframes curRoll {
  0%, 12% { transform: translateY(0); }
  16.6%, 28.6% { transform: translateY(calc(-100% / 7)); }
  33.3%, 45.3% { transform: translateY(calc(-200% / 7)); }
  50%, 62% { transform: translateY(calc(-300% / 7)); }
  66.6%, 78.6% { transform: translateY(calc(-400% / 7)); }
  83.3%, 95.3% { transform: translateY(calc(-500% / 7)); }
  100% { transform: translateY(calc(-600% / 7)); }
}

/* --- 1.3 languages --- */
.lg-words { position: relative; width: 100%; height: 64px; }
.lg-words span {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-size: clamp(26px, 3vw, 36px); font-weight: 900; font-stretch: 112.5%; letter-spacing: -.04em; color: var(--ink);
  opacity: 0; animation: lgWord 8s var(--ease) infinite; animation-delay: calc(var(--k) * 2s);
}
@keyframes lgWord { 0% { opacity: 0; transform: translateY(18px); filter: blur(6px); } 6%, 21% { opacity: 1; transform: none; filter: none; } 27%, 100% { opacity: 0; transform: translateY(-18px); filter: blur(6px); } }
.lg-chips {
  position: relative; display: grid; grid-template-columns: repeat(4, 48px); padding: 3px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-align: center;
}
.lg-chips span { position: relative; z-index: 1; padding: 6px 0; color: var(--txS); }
.lg-chips i { position: absolute; left: 3px; top: 3px; bottom: 3px; width: 48px; border-radius: 999px; background: var(--ac); animation: lgChip 8s var(--ease) infinite; }
@keyframes lgChip { 0%, 22% { transform: translateX(0); } 25%, 47% { transform: translateX(48px); } 50%, 72% { transform: translateX(96px); } 75%, 97% { transform: translateX(144px); } 100% { transform: translateX(0); } }

/* --- 1.2 resize --- */
.rs-ph {
  width: 150px; height: 250px; border-radius: 26px; padding: 30px 12px 14px; background: #fff;
  box-shadow: 0 0 0 5px #0B120F, 0 22px 40px -18px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column; gap: 8px; animation: rsSize 6s var(--ease) infinite;
}
.rs-ph i { display: block; border-radius: 6px; background: #E5E7EB; }
.rs-title { height: 14px; width: 60%; background: var(--ink) !important; }
.rs-chips { height: 10px; width: 85%; background: var(--acS) !important; }
.rs-row { flex: 1; min-height: 14px; }
.rs-btn { height: 22px; border-radius: 8px !important; background: var(--ac) !important; }
.rs-label { position: relative; height: 18px; width: 120px; font-size: 12.5px; font-weight: 800; color: var(--ac); text-align: center; }
.rs-label b { position: absolute; inset: 0; animation: rsLabA 6s var(--ease) infinite; }
.rs-label b + b { animation-name: rsLabB; }
@keyframes rsSize { 0%, 30%, 92%, 100% { width: 150px; height: 250px; } 42%, 80% { width: 112px; height: 196px; } }
@keyframes rsLabA { 0%, 30%, 92%, 100% { opacity: 1; } 38%, 84% { opacity: 0; } }
@keyframes rsLabB { 0%, 34%, 88%, 100% { opacity: 0; } 42%, 80% { opacity: 1; } }

/* --- 1.1 team PIN --- */
.d-team { gap: 14px; }
.tm-av { display: flex; }
.tm-av i {
  display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; border-radius: 50%;
  font-style: normal; font-weight: 800; font-size: 14px; color: #fff; background: var(--ac);
  box-shadow: 0 0 0 3px var(--srf2);
}
.tm-av i:first-child { margin-left: 0; background: #1F7A5C; }
.tm-av i:last-child { background: #3DBA8A; }
.tm-pin { display: flex; gap: 12px; }
.tm-pin i {
  width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ac);
  animation: tmDot 6s var(--ease) infinite; animation-delay: calc(var(--k) * .3s);
}
@keyframes tmDot { 0%, 8% { background: transparent; transform: none; } 12% { background: var(--ac); transform: scale(1.3); } 16%, 84% { background: var(--ac); transform: none; } 92%, 100% { background: transparent; } }
.tm-ok {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--ac); color: #fff; font-size: 12.5px; font-weight: 800;
  opacity: 0; transform: translateY(6px); animation: tmOk 6s var(--ease) infinite;
}
.tm-ok svg { width: 14px; height: 14px; }
@keyframes tmOk { 0%, 30% { opacity: 0; transform: translateY(6px); } 36%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.tm-perms { display: flex; gap: 6px; }
.tm-perms span {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: var(--txS); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  animation: tmPerm 6s var(--ease) infinite; animation-delay: calc(var(--k) * .22s);
}
.tm-perms span::before { content: ""; width: 18px; height: 10px; border-radius: 999px; background: #D1D5DB; transition: background .3s; }
@keyframes tmPerm { 0%, 40% { color: var(--txS); box-shadow: inset 0 0 0 1px var(--line); } 46%, 88% { color: var(--ac); box-shadow: inset 0 0 0 1.5px var(--ac); } 94%, 100% { color: var(--txS); } }

/* --- 1.0 stamps --- */
.st-card {
  width: 220px; padding: 14px; border-radius: 16px; background: #0D3B2E; color: #fff;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .5);
}
.st-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.st-top i {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); font-style: normal; font-size: 10px; font-weight: 900;
}
.st-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.st-grid i {
  aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28);
  animation: stFill 7s cubic-bezier(.2, .9, .25, 1.3) infinite; animation-delay: calc(var(--k) * .3s);
}
@keyframes stFill {
  0%, 2% { background: transparent; transform: scale(1); }
  6% { background: #3DBA8A; transform: scale(1.25); box-shadow: inset 0 0 0 2px #3DBA8A, 0 0 14px rgba(61, 186, 138, .7); }
  10%, 76% { background: #3DBA8A; transform: scale(1); box-shadow: inset 0 0 0 2px #3DBA8A; }
  84%, 100% { background: transparent; transform: scale(1); }
}
.st-reward {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--card); color: var(--ac); font-size: 13px; font-weight: 800;
  box-shadow: inset 0 0 0 1.5px var(--ac), 0 10px 24px -12px var(--ac);
  opacity: 0; transform: translateY(8px) scale(.9); animation: stReward 7s cubic-bezier(.2, .9, .25, 1.3) infinite;
}
.st-reward svg { width: 15px; height: 15px; }
@keyframes stReward { 0%, 46% { opacity: 0; transform: translateY(8px) scale(.9); } 52%, 78% { opacity: 1; transform: none; } 86%, 100% { opacity: 0; transform: translateY(4px); } }

/* ---------- empty state + CTA ---------- */
.rn-empty { padding: 40px 0; font-size: 15px; color: var(--txS); }
.rn-cta a[href^="mailto"] { color: #7EE0B8; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .rn-biz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rn-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .ft-hero { grid-template-columns: minmax(0, 1fr); }
  .ft-hero .demo { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .rn-hero { padding-bottom: 40px; }
  .rn-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 12px; }
  .rn-stack { height: 600px; transform: scale(.78); transform-origin: 50% 0; margin-bottom: -120px; }
  .rn-stats { grid-template-columns: repeat(2, auto); row-gap: 22px; }
  .rn-stats div:nth-child(3) { padding-left: 0; border-left: 0; }

  .rn-body { padding-top: 0; }
  .rn-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }

  /* the aside turns into a sticky strip under the nav */
  .rn-aside {
    top: 72px; z-index: 40; padding: 10px 0; margin: 0 calc(var(--pad) * -1);
    padding-left: var(--pad); padding-right: 0;
    display: flex; align-items: center; gap: 12px;
    background: rgba(247, 248, 246, .9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line);
  }
  .rn-odo-box { flex-shrink: 0; padding: 6px 12px; border-radius: 12px; box-shadow: none; }
  .rn-odo-box::before, .rn-odo-cap, .rn-odo-title { display: none; }
  .rn-odo { margin: 0; font-size: 26px; }
  .rn-vnav { margin: 0; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .rn-vnav::-webkit-scrollbar { display: none; }
  .rn-vnav ol { flex-direction: row; gap: 6px; padding-right: 40px; }
  .rn-vnav a { display: flex; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
  .rn-vnav a i { margin: 0; width: 7px; height: 7px; }
  .rn-vnav a span, .rn-vnav-rail { display: none; }

  .rn-toolbar { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 24px var(--pad) 6px; scrollbar-width: none; }
  .rn-toolbar::-webkit-scrollbar { display: none; }
  .rn-chip { flex-shrink: 0; }
  .rn-result { display: none; }
  .rel { scroll-margin-top: 150px; }
}

@media (max-width: 640px) {
  .rn-biz { padding: 64px 0 72px; }
  .rn-biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rn-biz-grid a { height: 56px; padding: 0 14px; font-size: 14px; }
  .rn-h1 { font-size: clamp(42px, 13vw, 60px); }
  .rn-stats div { padding: 0 18px; }
  .rn-tl { padding-left: 34px; }
  .rn-tl::before, .rn-tl-fill { left: 7px; }
  .rel { padding-bottom: 72px; }
  .rel::before { left: -34px; width: 18px; height: 18px; top: 5px; }
  .rel::after { left: -28px; top: 11px; width: 6px; height: 6px; }
  .rel-big { display: none; }
  .rel-sum { font-size: 16px; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ft-hero .ft-body { padding: 24px 22px 26px; }
  .demo { min-height: 270px; }
}

/* ============================================================
   Shared look: Bricolage headings, homepage card style
   ============================================================ */
.rn-h1, .rn-stats dd, .rn-odo, .rn-vnav a b, .rel-big, .rel-title, .rel-ver, .ft h3, .ft-hero h3,
.rn-biz-head .sec-h2, .cur-amt, .lk-time {
  font-family: var(--display);
}
.rn-h1 { font-weight: 700; letter-spacing: -.03em; line-height: .94; text-wrap: balance; }
.rel-title { font-weight: 700; letter-spacing: -.03em; }
.ft h3 { font-weight: 700; letter-spacing: -.02em; }
.rn-body { background: var(--cream, #FFF8EC); border-top-color: var(--line); }
.rn-biz { background: var(--paper, #F6F1E7); }
.ft {
  border-radius: clamp(24px, 2.4vw, 32px); padding: 26px 26px 28px;
  box-shadow: 0 1px 2px rgba(22, 33, 27, .04), 0 18px 40px -18px rgba(22, 33, 27, .18);
}
.rn-odo-box { border-radius: 28px; box-shadow: 0 1px 2px rgba(22, 33, 27, .04), 0 18px 40px -18px rgba(22, 33, 27, .18); }
@media (min-width: 901px) { .rn-aside { top: 104px; } }
/* phones: the strip rides directly under the header and follows it up when it hides */
@media (max-width: 900px) {
  .rn-aside { top: var(--nav-h, 72px); transition: top .45s var(--e-out, cubic-bezier(.23, 1, .32, 1)); }
  body:has(.nav.is-hidden) .rn-aside { top: 0; }
}
.ft:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .ft:hover { transform: translateY(-3px); }
  .js .ft.rv.in:hover { transform: translateY(-3px); }
}
@media (hover: none), (pointer: coarse) {
  .js .ft.rv.in:hover, .ft:hover { transform: none; }
  .ft:hover .ft-ic { transform: none; }
}
