/* Renyou v2 — extra.email-inspired layout & motion, built in the Renyou brand
   (Publica Play + Plus Jakarta Sans, pink #FF5E80 + teal #2DD4BF, light).
   Separate from the main site; nothing here touches index.html/styles.css. */

@font-face {
  font-family: 'PublicaPlay';
  src: url('fonts/PublicaPlay.otf') format('opentype');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --pink: #ff5e80; --pink-d: #e84d6e; --pink-t: #ffe6ec;
  --teal: #2dd4bf; --teal-d: #0e8f82; --teal-t: #dcfaf5;
  --ink: #0b0f14; --ink-2: #414b55; --muted: #8a8a93; --faint: #cdd3d9;
  --bg: #ffffff; --bg-2: #f5f8f9; --card: #ffffff; --line: #eaeef1;
  --night: #0b0f1c;
  --r-md: 20px; --r-lg: 30px; --r-xl: 42px; --r-pill: 999px;
  --maxw: 1200px;
  --pad: clamp(20px, 4vw, 60px);
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'PublicaPlay', var(--sans);
  --spring: cubic-bezier(0.34, 1.26, 0.5, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.teal { color: var(--teal-d); } .pink { color: var(--pink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: var(--r-pill); border: 0; cursor: pointer; transition: transform .5s var(--spring), filter .2s, box-shadow .3s var(--ease-out); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 16px 34px -14px rgba(255,94,128,.7); }
.btn-glass { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,.34); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -16px rgba(11,15,20,.4); }
.btn:hover { transform: translateY(-3px) scale(1.015); filter: brightness(1.03); }
.btn:active { transform: translateY(0) scale(.96); transition: transform .11s var(--ease-out); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ── NAV ───────────────────────────────────────────── */
/* floating sticky nav: just the logo and CTA, no background slab */
.xnav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); pointer-events: none; }
.xnav > * { pointer-events: auto; }
.xwm { font-family: var(--display); font-size: 42px; letter-spacing: -.02em; color: var(--pink); line-height: 1; text-shadow: 0 2px 16px rgba(11,15,20,.4); }
.xwm b { color: var(--teal); }
.xnav-cta { font-weight: 700; font-size: 14.5px; padding: 11px 22px; border-radius: var(--r-pill); background: var(--pink); color: #fff; border: 0; box-shadow: 0 12px 26px -12px rgba(255,94,128,.75); transition: transform .4s var(--spring), filter .2s; }
.xnav-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ── HERO (cinematic, scales into a card on scroll) ── */
.xhero { position: relative; height: 100vh; min-height: 640px; display: grid; place-items: center; overflow: hidden; }
.xh-media { position: absolute; inset: 0; z-index: 0; will-change: transform, border-radius; overflow: hidden; transform-origin: center; }
.xh-media img { width: 100%; height: 100%; object-fit: cover; }
.xh-scrim { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 50% 120%, rgba(11,15,28,.86), transparent 60%),
  linear-gradient(180deg, rgba(11,15,28,.5) 0%, rgba(11,15,28,.12) 34%, rgba(11,15,28,.55) 100%); }
.xh-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 0 var(--pad); max-width: 960px; }
.xh-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.9); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); padding: 8px 16px; border-radius: var(--r-pill); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-bottom: 26px; }
.xh-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(45,212,191,.3); }
.xh-title { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 9vw, 128px); line-height: .94; letter-spacing: -.04em; margin: 0; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.xh-title .t2 { color: var(--teal); }
.xh-sub { font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.9); max-width: 560px; margin: 22px auto 0; line-height: 1.5; }
.xh-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.store-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 15px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.34); color: #fff; backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); transition: transform .4s var(--spring), background .3s; }
.store-badge:hover { transform: translateY(-3px); background: rgba(255,255,255,.18); }
.store-badge svg { width: 26px; height: 26px; fill: #fff; flex: 0 0 auto; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.store-badge small { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.store-badge b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.xh-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 30px; height: 30px; color: rgba(255,255,255,.8); animation: bob 1.8s ease-in-out infinite; }
.xh-cue svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2.4; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ── SCROLL WORD-REVEAL statement ─────────────────── */
.wordreveal { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
.wr-sticky { display: grid; place-items: center; padding: 0 var(--pad); }
.wr-text { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 66px); line-height: 1.24; letter-spacing: -.02em; max-width: 15ch; margin: 0; text-align: left; }
.wr-text .word { transition: opacity .35s var(--ease-out), color .35s var(--ease-out); }
.wr-text .word.dim { opacity: .14; }
.wr-text .accentp { color: var(--pink); }
.wr-text .accentt { color: var(--teal-d); }

/* ── PINNED SCROLLYTELLING ────────────────────────── */
.story { position: relative; background: var(--bg); min-height: 100vh; min-height: 100dvh; }
.story-sticky { height: 100vh; height: 100dvh; display: grid; place-items: center; padding: clamp(58px,8vh,84px) 0 clamp(14px,2.4vh,26px); }
.story-panel { position: relative; width: min(1240px, 94vw); height: min(780px, 100%); border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 130% at 12% 6%, #123a3f 0%, #0b0f1c 58%), var(--night);
  box-shadow: 0 50px 120px -50px rgba(11,15,28,.7); }
.story-panel::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(45,212,191,.4), transparent 70%); left: -160px; top: -180px; }
.story-panel::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(255,94,128,.34), transparent 70%); right: -160px; bottom: -180px; }
.story-stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.6), transparent), radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,.4), transparent), radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,255,255,.5), transparent); opacity: .7; }
.story-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px,4vw,60px); align-items: center; padding: clamp(30px,5vw,64px); }

.story-left h2 { font-family: var(--display); font-weight: 400; font-size: clamp(24px,2.6vw,38px); line-height: 1.12; letter-spacing: -.02em; color: #fff; margin: 0 0 clamp(24px,4vh,44px); }
.story-left h2 .t2 { color: var(--teal); }
.story-steps { display: flex; flex-direction: column; gap: 2px; }
.story-step { position: relative; padding: clamp(8px,1.5vh,14px) 0 clamp(8px,1.5vh,14px) 22px; border-left: 2px solid rgba(255,255,255,.14); cursor: pointer; }
.story-step h3 { margin: 0; font-size: clamp(16px,1.9vh,22px); font-weight: 700; color: rgba(255,255,255,.42); transition: color .4s; }
.story-step p { margin: 8px 0 0; max-height: 0; opacity: 0; overflow: hidden; color: rgba(255,255,255,.72); font-size: 15.5px; line-height: 1.55; transition: max-height .5s var(--ease-out), opacity .4s, margin .4s; }
.story-step::before { content: ''; position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: linear-gradient(var(--teal), var(--pink)); transition: height .5s var(--ease-out); }
.story-step.active h3 { color: #fff; }
.story-step.active p { max-height: 92px; opacity: 1; }
.story-step.active::before { height: 100%; }

/* right-side mockup: stacked cross-fading panels */
.story-mock { position: relative; height: 100%; min-height: 300px; }
.mock-card { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; justify-content: center; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s var(--ease-out), transform .6s var(--spring); pointer-events: none; }
.mock-card.show { opacity: 1; transform: none; }
.mrow { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 16px 18px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mrow .mav { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; background: linear-gradient(135deg, var(--teal), var(--pink)); display: grid; place-items: center; color: #052; font-weight: 800; font-family: var(--display); }
.mrow .mbody { min-width: 0; flex: 1; }
.mrow .mname { color: #fff; font-weight: 700; font-size: 15.5px; }
.mrow .mmeta { color: rgba(255,255,255,.6); font-size: 13px; }
.mrow .mtag { flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); }
.mtag.t-teal { background: rgba(45,212,191,.2); color: #7ff0e0; }
.mtag.t-pink { background: rgba(255,94,128,.22); color: #ffb3c2; }
.mtag.t-live { background: var(--teal); color: #052; }
/* waveform bar for the "on a call" state */
.mwave { display: flex; align-items: center; gap: 5px; height: 40px; }
.mwave span { width: 5px; border-radius: 4px; background: linear-gradient(var(--teal), var(--pink)); animation: wave 1s ease-in-out infinite; }
.mwave span:nth-child(2){animation-delay:.1s}.mwave span:nth-child(3){animation-delay:.2s}.mwave span:nth-child(4){animation-delay:.3s}.mwave span:nth-child(5){animation-delay:.15s}.mwave span:nth-child(6){animation-delay:.25s}.mwave span:nth-child(7){animation-delay:.05s}
@keyframes wave { 0%,100%{height:12px}50%{height:38px} }

/* ── PILL HEADLINE + PHOTO ────────────────────────── */
.pillsec { padding: clamp(90px,13vw,180px) 0; }
.pill-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,6vw,90px); align-items: center; }
.pill-head { font-family: var(--display); font-weight: 400; font-size: clamp(38px,5.5vw,76px); line-height: 1.02; letter-spacing: -.03em; margin: 0; }
.pword { display: inline-block; padding: 0 .28em; border-radius: var(--r-pill); border: 2.5px solid transparent; background: linear-gradient(var(--pink), var(--pink)) padding-box, linear-gradient(120deg, var(--teal), var(--pink)) border-box; -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-clip: text; color: var(--pink); }
.pword-outline { -webkit-text-fill-color: initial; color: transparent; background: linear-gradient(120deg, var(--teal-d), var(--pink)); -webkit-background-clip: text; background-clip: text; border: 2.5px solid var(--teal); }
.pill-sub { color: var(--ink-2); font-size: 18px; margin: 24px 0 0; max-width: 46ch; }
.pill-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(11,15,20,.4); aspect-ratio: 4/5; width: 100%; max-width: 480px; justify-self: center; }
.pill-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── TALL COLOR BLOCKS ────────────────────────────── */
.blocks { padding: 0 0 clamp(90px,13vw,170px); }
.blocks h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px,4.6vw,64px); letter-spacing: -.03em; text-align: center; margin: 0 0 clamp(36px,5vw,60px); }
.block-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); }
.block { position: relative; border-radius: var(--r-xl); padding: clamp(26px,3vw,38px); min-height: 440px; display: flex; flex-direction: column; overflow: hidden; transition: transform .55s var(--spring), box-shadow .4s var(--ease-out); }
.block:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(11,15,20,.35); }
.block.b-pink { background: linear-gradient(165deg, #ffe1e8, #ffd0dc); }
.block.b-teal { background: linear-gradient(165deg, #d6f7f1, #c3f1e8); }
.block.b-night { background: radial-gradient(130% 130% at 20% 10%, #123a3f, #0b0f1c); }
.block .bvis { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(18px,3vh,32px); }
.bchip { font-weight: 700; font-size: 13px; padding: 9px 15px; border-radius: var(--r-pill); background: rgba(255,255,255,.7); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(11,15,20,.3); }
.block.b-night .bchip { background: rgba(255,255,255,.12); color: #fff; }
.bwave { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bwave span { width: 7px; border-radius: 5px; background: linear-gradient(var(--teal-d), var(--pink)); }
.block h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px,2.4vw,34px); letter-spacing: -.02em; margin: auto 0 8px; }
.block.b-night h3 { color: #fff; }
.block p { margin: 0; font-size: 15.5px; color: var(--ink-2); max-width: 30ch; }
.block.b-night p { color: rgba(255,255,255,.75); }

/* ── BETA / FINAL CTA ─────────────────────────────── */
.finalcta { position: relative; text-align: left; padding: clamp(90px,13vw,170px) var(--pad); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, #123a3f 0%, #0b0f1c 60%); color: #fff; }
.finalcta::before { content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(120px); background: radial-gradient(circle, rgba(255,94,128,.3), transparent 70%); left: 22%; top: -12%; transform: translateX(-50%); pointer-events: none; }
.join-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: center; }
.finalcta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px,4.8vw,74px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.finalcta h2 .t2 { color: var(--teal); }
.join-copy .lead { color: rgba(255,255,255,.82); font-size: 18px; margin: 20px 0 0; max-width: 44ch; }
.join-perks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 12px; }
.join-perks li { position: relative; padding-left: 30px; color: rgba(255,255,255,.9); font-weight: 500; }
.join-perks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%; background: var(--teal); }
.join-perks li::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid #06231f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.join-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-xl); padding: clamp(24px,3vw,38px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.6); }
.join-form { text-align: left; }
.jf-fields { display: grid; gap: 12px; margin-bottom: 14px; }
.join-form input { width: 100%; font-family: var(--sans); font-size: 16px; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 15px 18px; transition: border-color .25s, background .25s; }
.join-form input::placeholder { color: rgba(255,255,255,.5); }
.join-form input:focus { outline: none; border-color: var(--teal); background: rgba(255,255,255,.12); }
.jf-phone { display: flex; align-items: stretch; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; overflow: hidden; transition: border-color .25s; }
.jf-phone:focus-within { border-color: var(--teal); }
.jf-phone select { appearance: none; -webkit-appearance: none; border: 0; border-right: 1px solid rgba(255,255,255,.2); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 15px; padding: 0 32px 0 14px; cursor: pointer; max-width: 146px;
  background: rgba(255,255,255,.04) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%232dd4bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5l5 5 5-5'/></svg>") no-repeat right 12px center; transition: background-color .25s; }
.jf-phone select:hover { background-color: rgba(255,255,255,.09); }
.jf-phone select:focus { outline: none; }
.jf-phone select option { color: #0b0f14; background: #fff; }
.jf-phone input { border: 0; background: transparent; border-radius: 0; flex: 1; min-width: 0; }
.jf-submit { width: fit-content; min-width: 230px; margin: 6px auto 0; padding-left: 40px; padding-right: 40px; }
.hidden { display: none; }
.jf-sent { color: rgba(255,255,255,.8); margin: 0 0 14px; text-align: center; }
.jf-otp { text-align: center; letter-spacing: .5em; font-size: 24px; font-family: var(--display); margin-bottom: 14px; }
.jf-row { display: flex; gap: 10px; align-items: center; }
.jf-row .btn { flex: 1; }
.jf-resend, .jf-back { background: none; border: 0; color: rgba(255,255,255,.7); font-weight: 700; cursor: pointer; font-family: var(--sans); font-size: 14px; padding: 10px; white-space: nowrap; }
.jf-resend:hover, .jf-back:hover { color: #fff; }
.jf-err { color: #ffb3c2; text-align: center; margin: 12px 0 0; min-height: 1em; font-weight: 600; font-size: 14.5px; }
.jf-done { text-align: center; }
.jf-check { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); display: inline-grid; place-items: center; margin-bottom: 14px; }
.jf-check::after { content: ''; width: 15px; height: 27px; border: solid #06231f; border-width: 0 4px 4px 0; transform: rotate(45deg) translateY(-3px); }
.jf-done h3 { font-family: var(--display); font-weight: 400; font-size: 30px; margin: 0 0 8px; }
.jf-done p { color: rgba(255,255,255,.78); margin: 0; }
.jf-fine { position: relative; z-index: 2; color: rgba(255,255,255,.5); font-size: 13px; margin: 18px auto 0; max-width: 46ch; }

/* ── FOOTER (neon glow) ───────────────────────────── */
.xfoot { position: relative; overflow: hidden; background: #06080f; color: rgba(255,255,255,.6); padding: clamp(48px,7vw,84px) var(--pad) 40px; text-align: center; }
.foot-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px,5vw,64px); margin-bottom: clamp(34px,5vw,54px); padding-bottom: clamp(30px,4vw,44px); border-bottom: 1px solid rgba(255,255,255,.1); }
.fstat { text-align: center; }
.fstat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px,4vw,52px); line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.fstat .u { font-size: .3em; color: var(--teal); margin-left: .06em; }
.fstat:nth-child(odd) .u { color: #ff8ba4; }
.fstat span { display: block; margin-top: 8px; color: rgba(255,255,255,.6); font-size: 13.5px; font-weight: 600; }

.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: clamp(34px,5vw,54px); }
.foot-links a { color: rgba(255,255,255,.7); font-weight: 600; font-size: 15px; transition: color .25s; }
.foot-links a:hover { color: var(--teal); }
.foot-logo { font-family: var(--display); font-weight: 400; font-size: clamp(72px,19vw,232px); line-height: .9; letter-spacing: -.04em; color: #fff; margin: 0 0 clamp(6px,1.5vw,14px);
  text-shadow: 0 0 7px rgba(255,255,255,.5), 0 0 22px rgba(255,94,128,.9), 0 0 46px rgba(255,94,128,.7), 0 0 92px rgba(255,94,128,.5), 0 0 150px rgba(45,212,191,.4);
  animation: neon 3.6s ease-in-out infinite; }
.foot-logo b { color: #fff; text-shadow: 0 0 7px rgba(255,255,255,.6), 0 0 22px rgba(45,212,191,.95), 0 0 46px rgba(45,212,191,.7), 0 0 92px rgba(45,212,191,.5); }
@keyframes neon { 0%,100% { opacity: 1; } 46% { opacity: .82; } 48% { opacity: .95; } 50% { opacity: .86; } }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: clamp(24px,3.5vw,40px); font-size: 13.5px; color: rgba(255,255,255,.5); }
.foot-bottom .foot-mov { color: #ff8ba4; font-weight: 700; }
.foot-bottom .foot-addr { flex-basis: 100%; text-align: center; font-size: 12px; color: rgba(255,255,255,.35); max-width: 640px; margin: 2px auto 0; line-height: 1.5; }

/* progress bar */
.xprogress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 70; background: linear-gradient(90deg, var(--teal), var(--pink)); }

/* reveal-in */
.rin { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--spring); }
.rin.in { opacity: 1; transform: none; }

/* nav text link */
.xnav-link { font-weight: 700; font-size: 14.5px; color: rgba(255,255,255,.9); margin-right: 4px; letter-spacing: .01em; transition: color .4s; }
.xnav.solid .xnav-link { color: var(--ink-2); }
.xnav-link:hover { color: var(--teal); }
.xnav-right { display: flex; align-items: center; gap: 22px; }

/* ── STATS STRIP ──────────────────────────────────── */
.stats { padding: clamp(52px,7vw,90px) 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,3vw,40px); }
.stat { text-align: center; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(46px,6.4vw,86px); line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; display: inline-flex; align-items: baseline; }
.stat .u { color: var(--teal-d); font-size: .34em; margin-left: .08em; letter-spacing: -.01em; }
.stat:nth-child(odd) .u { color: var(--pink); }
.stat p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 600; }

/* ── SAFETY (dark editorial list) ─────────────────── */
.safety2 { position: relative; overflow: hidden; padding: clamp(90px,12vw,170px) 0; background: radial-gradient(120% 120% at 82% -10%, #14262e 0%, #0b0f1c 58%); color: #fff; }
.safety2::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(110px); background: radial-gradient(circle, rgba(45,212,191,.22), transparent 70%); left: -180px; bottom: -200px; pointer-events: none; }
.safety2::after { content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(110px); background: radial-gradient(circle, rgba(255,94,128,.18), transparent 70%); right: -160px; top: -160px; pointer-events: none; }
.safety2 .shead { max-width: 940px; margin: 0 auto clamp(28px,4vw,46px); position: relative; z-index: 2; }
.safety2 .lbl { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #8ff0e3; }
.safety2 h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px,5vw,66px); letter-spacing: -.03em; line-height: 1.02; margin: 16px 0 0; }
.safety2 h2 .t2 { color: var(--teal); }
.safety2 .shead p { color: rgba(255,255,255,.72); font-size: 18px; margin: 18px 0 0; max-width: 56ch; line-height: 1.55; }
.safe-list { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.13); }
.safe-row { display: grid; grid-template-columns: 92px 1fr 1.5fr; gap: clamp(14px,3vw,44px); align-items: baseline; padding: clamp(24px,3.2vw,40px) clamp(4px,1.4vw,20px); border-bottom: 1px solid rgba(255,255,255,.13); transition: background .4s var(--ease-out); }
.safe-row:hover { background: rgba(255,255,255,.035); }
.safe-num { font-family: var(--display); font-size: clamp(28px,3.2vw,46px); color: var(--teal); letter-spacing: -.02em; line-height: 1; transition: color .35s; }
.safe-row:hover .safe-num { color: var(--pink); }
.safe-row h3 { margin: 0; font-size: clamp(20px,2.2vw,28px); font-weight: 700; letter-spacing: -.015em; }
.safe-row p { margin: 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.62; }

/* ── #MOV MOVEMENT ────────────────────────────────── */
.mov { position: relative; overflow: hidden; text-align: center; padding: clamp(90px,13vw,170px) var(--pad);
  background: linear-gradient(135deg, #ff7a95 0%, #ff5e80 38%, #2dd4bf 100%); color: var(--ink); }
.mov::before, .mov::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.mov::before { width: 520px; height: 520px; background: rgba(255,255,255,.28); left: -140px; top: -180px; }
.mov::after { width: 480px; height: 480px; background: rgba(45,212,191,.4); right: -160px; bottom: -160px; }
.mov-inner { position: relative; z-index: 2; }
.mov-eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(11,15,20,.18); padding: 8px 18px; border-radius: var(--r-pill); }
.mov-tag { font-family: var(--display); font-weight: 400; font-size: clamp(96px,22vw,300px); line-height: .84; letter-spacing: -.05em; color: #fff; text-shadow: 0 24px 70px rgba(11,15,20,.3); margin: 22px 0 0; }
.mov h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px,4.4vw,58px); letter-spacing: -.025em; margin: 8px 0 0; color: var(--ink); }
.mov-sub { color: rgba(11,15,20,.78); font-size: clamp(17px,2vw,20px); max-width: 44ch; margin: 20px auto 0; line-height: 1.55; }

.hmarquee { overflow: hidden; margin: clamp(34px,5vw,54px) 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-track { display: inline-flex; align-items: center; gap: 14px; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.hmarquee.rev { margin-top: 14px; }
.hmarquee.rev .hm-track { animation-duration: 54s; animation-direction: reverse; }
.hmarquee:hover .hm-track { animation-play-state: paused; }
.hchip { font-family: var(--display); font-size: clamp(19px,2.3vw,30px); color: #fff; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.5); padding: 9px 22px; border-radius: var(--r-pill); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.hchip.solid { background: #fff; color: var(--pink-d); border-color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mov-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 860px; margin: clamp(40px,5vw,58px) auto 0; text-align: left; }
.mov-step { background: rgba(255,255,255,.92); border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: 0 24px 50px -30px rgba(11,15,20,.35); }
.mov-step b { font-family: var(--display); color: var(--pink); font-size: 30px; letter-spacing: -.02em; }
.mov-step h4 { margin: 8px 0 6px; font-size: 18px; letter-spacing: -.01em; }
.mov-step p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.mov-cta { margin-top: clamp(38px,5vw,52px); }

/* ── WORLDWIDE / GLOBE ────────────────────────────── */
.world { position: relative; overflow: hidden; text-align: center; padding: clamp(88px,12vw,160px) 0; background: radial-gradient(120% 120% at 50% -10%, #0e3238 0%, #0b0f1c 60%); color: #fff; }
.world .shead { max-width: 760px; margin: 0 auto; position: relative; z-index: 3; }
.world .shead .eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #8ff0e3; background: rgba(45,212,191,.14); border: 1px solid rgba(45,212,191,.34); padding: 8px 18px; border-radius: var(--r-pill); }
.world h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px,5vw,68px); letter-spacing: -.03em; line-height: 1.02; margin: 22px 0 0; }
.world h2 .t2 { color: var(--teal); }
.world .shead p { color: rgba(255,255,255,.78); font-size: clamp(16px,1.9vw,19px); margin: 20px auto 0; max-width: 52ch; line-height: 1.55; }

/* realistic rotating globe: pink land texture over a shaded teal ocean sphere */
.globe-wrap { position: relative; z-index: 2; width: min(560px, 86vw); aspect-ratio: 1; margin: clamp(30px,5vw,54px) auto 0; }
.globe { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 36% 30%, #4defd8 0%, #1cc3b1 40%, #0f8f9f 70%, #0a5265 100%);
  box-shadow: inset -26px -30px 76px rgba(3,20,24,.6), inset 16px 14px 46px rgba(255,255,255,.16); }
.globe-map { position: absolute; inset: 0; width: 200%; height: 100%;
  background-image: url('world-map.svg?v=2'); background-repeat: repeat-x; background-size: 50% auto; background-position: 0 50%;
  animation: globespin 36s linear infinite; will-change: transform;
  opacity: .96; filter: saturate(1.06) drop-shadow(0 1px 1px rgba(6,16,22,.4)); }
@keyframes globespin { to { transform: translateX(-50%); } }
/* strong spherical shading: bright highlight top-left, land recedes into a dark rim */
.globe-shade { position: absolute; inset: 0; z-index: 2; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.7) 0%, rgba(255,255,255,.18) 16%, rgba(255,255,255,0) 34%),
    radial-gradient(circle at 50% 50%, rgba(6,20,26,0) 38%, rgba(5,15,21,.32) 62%, rgba(4,11,17,.72) 84%, rgba(2,7,12,.95) 100%); }
.globe-shade::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 40px 8px rgba(3,12,18,.6); }
.globe-atm { position: absolute; inset: 0; z-index: 1; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 64px 4px rgba(45,212,191,.45), 0 40px 100px -18px rgba(45,212,191,.5); }
/* renyou wordmark laid horizontally across the globe (Universal-style) */
.globe-wm { position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--display); font-weight: 400; font-size: min(92px, 8.6vh, 19vw); line-height: 1; letter-spacing: -.03em; color: var(--pink); text-shadow: 10px 30px 22px rgba(3,10,14,.9), 7px 20px 14px rgba(3,10,14,.85), 4px 11px 8px rgba(3,10,14,.9), 2px 5px 3px rgba(3,10,14,1), 14px 42px 48px rgba(3,10,14,.55); pointer-events: none; white-space: nowrap; }
.globe-wm b { color: var(--teal); }

.greet-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.g-greet { position: absolute; transform: translate(-50%,-50%); overflow: hidden; font-weight: 700; font-size: 15px; color: #fff; background: rgba(8,16,26,.5); border: 1px solid rgba(255,255,255,.3); padding: .5em .95em; border-radius: var(--r-pill); white-space: nowrap; box-shadow: 0 12px 30px -16px rgba(0,0,0,.55); transition: opacity .9s ease; }
.g-greet.big { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.g-flag { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .6; }
.g-greet::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(8,16,26,.32), rgba(8,16,26,.62)); }
.g-txt { position: relative; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.65); }

/* accurate orthographic globe canvas */
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world-note { position: relative; z-index: 3; margin: clamp(30px,5vw,48px) auto 0; color: rgba(255,255,255,.62); font-size: 14px; font-weight: 600; letter-spacing: .01em; }

/* ═══ Fully free, smooth scrolling (snap removed) · sections still fill the screen ═══ */
html { scroll-snap-type: none; }
.xhero, .wordreveal, .story, .pillsec, .blocks, .world, .mov, .safety2, .finalcta {
  scroll-snap-align: none;
}
.pillsec, .blocks, .world, .mov, .safety2, .finalcta {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
}
/* flex items must fill (not shrink-to-content) so inner content can't push past the screen */
.pillsec > *, .blocks > *, .world > *, .mov > *, .safety2 > *, .finalcta > * { width: 100%; }
/* world and mov anchor to the top; safety centers so it fills the screen evenly */
.world, .mov { justify-content: flex-start; }
.safety2 { justify-content: center; }

/* keep the content-heavy sections within one screen (height-based sizing, tighter padding) */
.xhero { height: 100vh; height: 100dvh; min-height: 460px; }
.pillsec { padding: clamp(48px,6vh,90px) 0; }
.pill-head { font-size: clamp(30px,5.2vh,72px); }
.pill-photo { max-height: min(60vh, 560px); }
.blocks { padding: clamp(40px,5vh,80px) 0 clamp(48px,6vh,90px); }
.blocks h2 { font-size: clamp(28px,4.6vh,64px); margin-bottom: clamp(24px,3vh,52px); }
.block { min-height: clamp(190px,26vh,300px); }
.finalcta { padding: clamp(48px,6vh,90px) var(--pad); }

/* scrolling is fully free (no snap) on all screen sizes */

/* world: heading, globe and note all fit — globe scales with the shorter of height/width */
.world { padding: clamp(64px,8vh,100px) 0 clamp(22px,4vh,48px); }
.world h2 { font-size: clamp(28px,4.4vh,58px); margin-top: clamp(8px,1.4vh,18px); }
.world .shead p { font-size: clamp(13.5px,1.8vh,18px); margin-top: clamp(8px,1.4vh,16px); max-width: 46ch; }
.globe-wrap { width: min(460px, 44vh, 82vw); margin-top: clamp(10px,2vh,28px); }
.world-note { margin-top: clamp(12px,2vh,28px); }

/* safety: all four rows plus heading fit one screen */
.safety2 { padding: clamp(64px,8vh,100px) 0 clamp(28px,4vh,60px); }
.safety2 .shead { margin-bottom: clamp(14px,2.4vh,40px); }
.safety2 h2 { font-size: clamp(28px,4.2vh,58px); }
.safety2 .shead p { font-size: clamp(14px,1.7vh,18px); margin-top: clamp(8px,1.3vh,16px); }
.safe-row { padding: clamp(9px,1.8vh,28px) clamp(4px,1.4vw,20px); }
.safe-num { font-size: clamp(22px,3vh,44px); }
.safe-row h3 { font-size: clamp(18px,2.3vh,28px); }
.safe-row p { font-size: clamp(13.5px,1.7vh,16px); }

/* mov: the whole movement block fits */
.mov { padding: clamp(50px,6vh,90px) var(--pad) clamp(24px,3.5vh,64px); }
.mov-eyebrow { font-size: clamp(11px,1.4vh,13px); }
.mov-tag { font-size: clamp(52px,11vh,150px); margin-top: clamp(8px,1.4vh,20px); }
.mov h2 { font-size: clamp(22px,3.2vh,48px); }
.mov-sub { font-size: clamp(14px,1.7vh,19px); margin-top: clamp(8px,1.4vh,18px); max-width: 52ch; }
.hmarquee { margin-top: clamp(14px,2vh,38px); }
.mov-steps { margin-top: clamp(14px,2vh,38px); }
.mov-step { padding: clamp(16px,2.2vh,26px) clamp(16px,1.6vw,26px); }
.mov-cta { margin-top: clamp(14px,2vh,36px); }

.pillsec, .blocks { padding-top: clamp(70px,8vh,120px); padding-bottom: clamp(50px,7vh,120px); }

/* ── responsive ───────────────────────────────────── */
@media (max-width: 900px) {
  .xnav { padding: 14px 20px; }
  .xwm { font-size: 34px; }
  .story-grid { grid-template-columns: 1fr; align-content: center; gap: 20px; }
  .story-mock { display: none; }
  .story-panel { height: min(80vh, 620px); }
  .story-left h2 { font-size: clamp(26px, 6vw, 42px); }
  .pill-grid { grid-template-columns: 1fr; }
  .pill-photo { order: -1; aspect-ratio: 16/10; max-width: 560px; margin: 0 auto; }
  .block-grid { grid-template-columns: 1fr; }
  .block { min-height: 300px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 34px 20px; }
  .safe-row { grid-template-columns: 1fr; gap: 4px; }
  .safe-num { font-size: 30px; }
  .mov-steps { grid-template-columns: 1fr; }
  .join-inner { grid-template-columns: 1fr; gap: 34px; }
  .join-copy { text-align: center; }
  .join-copy .lead { margin-left: auto; margin-right: auto; }
  .join-perks { align-items: flex-start; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .jf-submit { width: 100%; }
}
@media (max-width: 600px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .xnav { padding: 12px 15px; }
  .xwm { font-size: 27px; }
  .xnav-link { display: none; }
  .xnav-cta { padding: 8px 14px; font-size: 13px; }
  .xhero { min-height: 540px; }
  .xh-title { font-size: clamp(44px, 15vw, 68px); }
  .xh-sub { font-size: 16px; }
  .xh-eyebrow { font-size: 11px; padding: 7px 12px; letter-spacing: .02em; }
  .xh-cta .btn { font-size: 15px; padding: 13px 22px; }
  .stats { padding: 46px 0; }
  .stat b { font-size: clamp(38px, 13vw, 54px); }
  .stat p { font-size: 12.5px; margin-top: 8px; }
  .wr-sticky { padding: 0 18px; }
  .wr-text { font-size: clamp(25px, 8.4vw, 40px); max-width: 13ch; line-height: 1.22; }
  .story-panel { border-radius: 24px; }
  .story-grid { padding: 26px 22px; }
  .story-left h2 { font-size: 26px; margin-bottom: 22px; }
  .story-step h3 { font-size: 19px; }
  .pillsec { padding: 62px 0; }
  .pill-head { font-size: clamp(30px, 9.5vw, 46px); }
  .pill-sub { font-size: 16px; }
  .blocks { padding-bottom: 62px; }
  .blocks h2 { font-size: clamp(28px, 8.6vw, 44px); }
  .block { min-height: 260px; padding: 24px; }
  .safety2 { padding: 60px 0; }
  .safety2 h2 { font-size: clamp(28px, 8.4vw, 46px); }
  .safe-row { padding: 22px 2px; }
  .safe-row h3 { font-size: 20px; }
  .safe-row p { font-size: 15px; }
  .world { padding: 60px 0; }
  .world h2 { font-size: clamp(28px, 8.6vw, 46px); }
  .world .shead p { font-size: 15.5px; }
  .globe-wrap { width: min(560px, 84vw); }
  .mov { padding: 62px 18px; }
  .mov-tag { font-size: clamp(74px, 32vw, 140px); }
  .mov h2 { font-size: clamp(26px, 7.4vw, 40px); }
  .mov-sub { font-size: 16px; }
  .hchip { font-size: clamp(15px, 4.6vw, 22px); padding: 8px 16px; }
  .finalcta { padding: 62px 18px; }
  .finalcta h2 { font-size: clamp(38px, 12.5vw, 58px); }
  .join-card { padding: 22px 20px; }
  .join-form input, .jf-phone select { font-size: 16px; }
  .foot-logo { font-size: clamp(50px, 21vw, 96px); }
  .foot-links { gap: 8px 16px; margin-bottom: 34px; }
  .foot-links a { font-size: 14px; }
  .foot-bottom { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .rin { opacity: 1; transform: none; transition: none; }
  .wr-text .word.dim { opacity: 1; }
  .btn:hover, .block:hover { transform: none; }
}
