/* /ae-reader/ : presentation page of AE reader (scripts/build-ae-reader.js, assets/js/reader-landing.js). Prefix rl-. */
.rl { --rl-navy: #0A1228; --rl-navy2: #0F1D45; --rl-blue: #2F62E8; --rl-sky: #9DB8FF; --rl-cyan: #4EE1FF; --rl-ink: #E7ECF6; overflow-x: clip; }
.rl * { box-sizing: border-box; }
.rl img { display: block; max-width: 100%; height: auto; }
.rl h1, .rl h2, .rl h3 { font-family: 'Sora', sans-serif; letter-spacing: -0.02em; margin: 0; }
.rl p { margin: 0; }
.rl-js .rl-reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.rl-js .rl-reveal.is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .rl-js .rl-reveal { opacity: 1; translate: none; transition: none; } }

.rl-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.rl-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--rl-blue), var(--rl-cyan)); }

/* ---- logo, buttons ---- */
.rl-logo { display: inline-flex; align-items: baseline; gap: 5px; font-size: 20px; line-height: 1; }
.rl-logo b { font: 800 21px 'Sora', sans-serif; letter-spacing: -0.03em; color: #fff; }
.rl-logo i { font: 600 25px 'Caveat', cursive; color: var(--rl-sky); font-style: normal; }
.rl-logo--big b { font-size: 44px; } .rl-logo--big i { font-size: 52px; }
.rl-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 50px; padding: 0 28px; border-radius: 100px; font: 600 15px/1 'Work Sans', sans-serif; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .2s, box-shadow .25s, background .2s; }
.rl-btn--primary { background: #fff; color: var(--rl-navy); box-shadow: 0 10px 30px -12px rgba(157, 184, 255, 0.7); }
.rl-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(157, 184, 255, 0.9); }
.rl-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.rl-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.rl-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rl-ctas--center { justify-content: center; }

/* ---- hero ---- */
.rl-hero { position: relative; color: var(--rl-ink); background: radial-gradient(120% 90% at 15% 0%, #1B3A8C 0%, #0F1D45 38%, #0A1228 72%); padding: clamp(46px, 7vw, 92px) 0 clamp(70px, 8vw, 120px); isolation: isolate; overflow: hidden; }
.rl-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(126, 160, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 160, 255, 0.07) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(80% 70% at 62% 40%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 62% 40%, #000, transparent); }
.rl-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rl-aurora i { position: absolute; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(80px); opacity: 0.5; }
.rl-aurora i:nth-child(1) { left: -8%; top: -18%; background: #2F62E8; }
.rl-aurora i:nth-child(2) { right: -10%; top: 6%; background: #4EE1FF; opacity: 0.22; }
.rl-aurora i:nth-child(3) { left: 30%; bottom: -30%; background: #7C6CFF; opacity: 0.3; }
.rl-aurora--soft i { opacity: 0.3; }
@media (prefers-reduced-motion: no-preference) {
  .rl-aurora i { animation: rlDrift 18s ease-in-out infinite alternate; }
  .rl-aurora i:nth-child(2) { animation-duration: 23s; animation-delay: -6s; }
  .rl-aurora i:nth-child(3) { animation-duration: 27s; animation-delay: -11s; }
}
@keyframes rlDrift { from { translate: 0 0; scale: 1; } to { translate: 7vw 5vw; scale: 1.18; } }
.rl-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(30px, 4vw, 56px); align-items: center; }
.rl-eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; line-height: 1.5; font: 500 12px/1.5 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: #A9B8DA; }
.rl-hero h1 { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.04; font-weight: 800; color: #fff; }
.rl-grad { background: linear-gradient(95deg, #9DB8FF 0%, #4EE1FF 60%, #B9A8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rl-lead { margin-top: 22px; max-width: 520px; font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; color: #C6D2EC; }
.rl-hero .rl-ctas { margin-top: 30px; }
.rl-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.rl-pills li { font: 500 12.5px 'IBM Plex Mono', monospace; padding: 7px 13px; border: 1px solid rgba(157, 184, 255, 0.28); border-radius: 99px; color: #C8D6F7; background: rgba(157, 184, 255, 0.07); }
.rl-apple { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 13.5px; color: #B8C6E6; }
.rl-apple img { width: 132px; height: auto; flex: none; }
.rl-apple b { color: #fff; font-weight: 600; }
.rl-hero-vis { position: relative; aspect-ratio: 1.12; margin-right: calc(-1 * clamp(0px, 3.5vw, 60px)); }
.rl-hero-vis > * { position: absolute; margin: 0; }
.rl-win { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(157, 184, 255, 0.22); box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.rl-win-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #161F36; }
.rl-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A4768; }
.rl-win-bar i:nth-child(1) { background: #FF6B6B; } .rl-win-bar i:nth-child(2) { background: #F5C451; } .rl-win-bar i:nth-child(3) { background: #4ADE80; }
.rl-win-bar span { margin: 0 auto; font: 500 11px 'IBM Plex Mono', monospace; color: #8FA0C4; padding: 3px 14px; border-radius: 99px; background: #0E1527; }
.rl-win img { width: 100%; height: auto; }
.rl-win--main { left: 0; top: 4%; width: 94%; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
.rl-phone { margin: 0; width: 26%; aspect-ratio: 1170 / 2532; border-radius: 9% / 4.2%; border: 5px solid #0B1020; background: #000; overflow: hidden; box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.8), 0 0 0 1.5px #2B3652; }
.rl-phone img { width: 100%; height: 100%; object-fit: cover; }
.rl-phone--a { right: 6%; bottom: -4%; z-index: 3; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
.rl-phone--b { right: -3%; bottom: 20%; width: 21%; z-index: 2; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(7deg); opacity: 0.95; }
.rl-chip { display: inline-flex; align-items: center; gap: 8px; z-index: 4; font: 600 13px 'Work Sans', sans-serif; color: #0A1228; padding: 9px 14px; border-radius: 99px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); transform: translate3d(var(--px, 0), var(--py, 0), 0); }
.rl-chip svg { color: var(--rl-blue); }
.rl-chip--1 { left: -3%; bottom: 10%; } .rl-chip--2 { left: -5%; top: 30%; } .rl-chip--3 { right: 10%; top: -3%; }
@media (prefers-reduced-motion: no-preference) {
  .rl-hero-copy > * { animation: rlUp .8s cubic-bezier(.2, .7, .2, 1) both; }
  .rl-hero-copy > *:nth-child(2) { animation-delay: .08s; } .rl-hero-copy > *:nth-child(3) { animation-delay: .16s; } .rl-hero-copy > *:nth-child(4) { animation-delay: .24s; } .rl-hero-copy > *:nth-child(5) { animation-delay: .32s; } .rl-hero-copy > *:nth-child(6) { animation-delay: .4s; }
  .rl-win--main { animation: rlWin 1.1s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .rl-phone--a { animation: rlPhone 1s cubic-bezier(.2, .7, .2, 1) .5s both, rlFloat 7s ease-in-out 1.5s infinite alternate; }
  .rl-phone--b { animation: rlPhone 1s cubic-bezier(.2, .7, .2, 1) .7s both, rlFloat 9s ease-in-out 1.7s infinite alternate-reverse; }
  .rl-chip { animation: rlPop .7s cubic-bezier(.2, .9, .3, 1.3) both, rlFloat 6s ease-in-out infinite alternate; }
  .rl-chip--1 { animation-delay: 1s, 1.7s; } .rl-chip--2 { animation-delay: 1.15s, 2s; } .rl-chip--3 { animation-delay: 1.3s, 1.4s; }
  .rl-scroll span { animation: rlWheel 1.8s ease-in-out infinite; }
}
@keyframes rlUp { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes rlWin { from { opacity: 0; translate: 0 60px; scale: .94; rotate: -1.5deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; } }
@keyframes rlPhone { from { opacity: 0; translate: 0 90px; } to { opacity: 1; translate: 0 0; } }
@keyframes rlPop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes rlFloat { from { translate: 0 0; } to { translate: 0 -12px; } }
.rl-scroll { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 14px; display: block; }
.rl-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; }
@keyframes rlWheel { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }

/* ---- strip ---- */
.rl-strip { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.rl-strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.rl-strip-in > div { padding: 28px 24px; border-left: 1px solid var(--border); }
.rl-strip-in > div:first-child { border-left: 0; }
.rl-strip strong { display: block; font: 800 clamp(26px, 3vw, 38px) 'Sora', sans-serif; letter-spacing: -0.03em; color: var(--accent); line-height: 1.1; }
.rl-strip span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--text-muted); }

/* ---- shared section ---- */
.rl-sec { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.rl-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.rl-head--left { margin: 0; text-align: left; }
.rl-tag { font: 500 12px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.rl-head h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; font-weight: 700; color: var(--text); }
.rl-head p:not(.rl-tag) { margin-top: 16px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: var(--text-muted); }
.rl-note { margin-top: 14px; font-size: 13.5px; color: var(--text-muted); }
.rl-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; }
.rl-checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.rl-checks svg { flex: none; margin-top: 1px; color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.rl-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--accent); text-decoration: none; }
.rl-link:hover { text-decoration: underline; }
.rl-shots { position: relative; aspect-ratio: 1360 / 850; background: #0E1527; }
.rl-shots .rl-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, scale .8s ease; scale: 1.015; }
.rl-shots .rl-slide.is-on { opacity: 1; scale: 1; }
.rl-sec .rl-win { border-color: var(--border); box-shadow: 0 40px 70px -40px rgba(10, 18, 40, 0.5); }

/* ---- sticky story ---- */
.rl-story-grid { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.rl-steps { list-style: none; margin: 0; padding: 0; }
.rl-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; padding: 12px 0; }
.rl-step.is-on { opacity: 1; }
.rl-step-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 18px; }
.rl-step h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 700; color: var(--text); }
.rl-step p { margin-top: 12px; font-size: 16.5px; line-height: 1.65; color: var(--text-muted); max-width: 440px; }
.rl-step .rl-keys { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.rl-step-fig { display: none; margin-top: 22px; }
.rl-story-media { position: sticky; top: 12vh; align-self: start; }
.rl-count { position: absolute; right: 16px; bottom: 16px; z-index: 3; font: 600 13px 'IBM Plex Mono', monospace; color: #fff; background: rgba(10, 18, 40, 0.8); padding: 6px 12px; border-radius: 99px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rl-count b { color: var(--rl-cyan); }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; font: 600 13px 'IBM Plex Mono', monospace; color: var(--text); background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--border); border-bottom-width: 3px; border-radius: 9px; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset; }

/* ---- themes (dark band) ---- */
.rl-themes { background: linear-gradient(180deg, #0A1228, #0F1D45); color: var(--rl-ink); overflow: hidden; isolation: isolate; }
.rl-themes .rl-head h2 { color: #fff; } .rl-themes .rl-head p:not(.rl-tag), .rl-themes .rl-note { color: #B8C6E6; } .rl-themes .rl-tag { color: var(--rl-sky); }
.rl-themes .rl-win { border-color: rgba(157, 184, 255, 0.22); box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 0.75); }
.rl-themes-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.rl-seg { display: inline-flex; gap: 4px; padding: 5px; margin-top: 26px; border-radius: 99px; background: rgba(157, 184, 255, 0.1); border: 1px solid rgba(157, 184, 255, 0.2); }
.rl-seg button { min-height: 42px; padding: 0 22px; border: 0; border-radius: 99px; font: 600 14.5px 'Work Sans', sans-serif; color: #C8D6F7; background: transparent; cursor: pointer; transition: background .25s, color .25s; }
.rl-seg button[aria-pressed="true"] { background: #fff; color: #0A1228; }

/* ---- page turn ---- */
.rl-flip-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.rl-flip-stage { display: grid; justify-items: center; }
.rl-book { position: relative; width: min(100%, 600px); aspect-ratio: 1400 / 972; perspective: 2200px; filter: drop-shadow(0 50px 50px rgba(10, 18, 40, 0.3)); }
.rl-book-base, .rl-leaf { position: absolute; top: 0; width: 50%; height: 100%; }
.rl-book-l { left: 0; } .rl-book-r { left: 50%; } .rl-leaf { left: 50%; transform-origin: 0 50%; transform-style: preserve-3d; }
.rl-book-base img, .rl-face img { width: 100%; height: 100%; object-fit: cover; }
.rl-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; background: #fff; }
.rl-back { transform: rotateY(180deg); }
.rl-book-l::after, .rl-book-r::before { content: ''; position: absolute; top: 0; bottom: 0; width: 18%; pointer-events: none; z-index: 2; }
.rl-book-l::after { right: 0; background: linear-gradient(90deg, transparent, rgba(10, 18, 40, 0.22)); }
.rl-book-r::before { left: 0; background: linear-gradient(270deg, transparent, rgba(10, 18, 40, 0.22)); }
.rl-book-shadow { position: absolute; left: 4%; right: 4%; bottom: -26px; height: 24px; background: radial-gradient(50% 50% at 50% 50%, rgba(10, 18, 40, 0.28), transparent); filter: blur(6px); z-index: -1; }
.rl-flip-cap { margin-top: 36px; font: 500 12px 'IBM Plex Mono', monospace; color: var(--text-muted); letter-spacing: .06em; }
@media (prefers-reduced-motion: no-preference) { .rl-leaf { animation: rlFlip 10s cubic-bezier(.5, 0, .3, 1) infinite; } }
@keyframes rlFlip { 0%, 30% { transform: rotateY(0deg); } 46%, 80% { transform: rotateY(-180deg); } 96%, 100% { transform: rotateY(0deg); } }

/* ---- mobile ---- */
.rl-mobile { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.rl-mobile-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.rl-phones { position: relative; height: clamp(420px, 46vw, 600px); }
.rl-phones .rl-phone { position: absolute; width: min(38%, 220px); border-color: #0B1020; }
.rl-phone--m { left: 31%; top: 0; z-index: 3; width: min(42%, 250px) !important; }
.rl-phone--l { left: 4%; top: 9%; z-index: 2; rotate: -7deg; }
.rl-phone--r { right: 4%; top: 9%; z-index: 2; rotate: 7deg; }
@media (prefers-reduced-motion: no-preference) {
  .rl-phones.is-in .rl-phone--m { animation: rlFloat 6s ease-in-out infinite alternate; }
  .rl-phones.is-in .rl-phone--l { animation: rlFloat 7.5s ease-in-out -2s infinite alternate; }
  .rl-phones.is-in .rl-phone--r { animation: rlFloat 8.5s ease-in-out -4s infinite alternate-reverse; }
}

/* ---- feature cards ---- */
.rl-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rl-card { padding: 26px 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); transition: transform .3s, box-shadow .3s, border-color .3s; }
.rl-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 24px 40px -28px rgba(34, 82, 204, 0.5); }
.rl-card-ico { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 13px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: 16px; }
.rl-card h3 { font-size: 17.5px; line-height: 1.25; font-weight: 700; color: var(--text); }
.rl-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

/* ---- keyboard ---- */
.rl-kbd { background: var(--bg-soft); border-top: 1px solid var(--border); }
.rl-keys-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rl-key { display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: transform .15s, box-shadow .2s, border-color .2s; }
.rl-key-caps { display: flex; gap: 6px; flex-wrap: wrap; }
.rl-key-t { font-size: 14.5px; font-weight: 500; color: var(--text); }
.rl-key.is-hit { transform: translateY(2px) scale(.985); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent), 0 20px 36px -22px var(--accent); }
.rl-key.is-hit kbd { background: var(--accent); color: #fff; border-color: var(--accent-dark); }

/* ---- own copy ---- */
.rl-own-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.rl-own-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rl-own-list li { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.rl-own-list svg { flex: none; color: var(--accent); }
.rl-own-list b { display: block; font: 700 16.5px 'Sora', sans-serif; color: var(--text); }
.rl-own-list span { display: block; margin-top: 5px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

/* ---- how ---- */
.rl-how { background: var(--bg-soft); border-top: 1px solid var(--border); }
.rl-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.rl-how-list li { padding: 28px 26px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.rl-how-list b { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font: 700 16px 'Sora', sans-serif; margin-bottom: 16px; }
.rl-how-list h3 { font-size: 19px; font-weight: 700; color: var(--text); }
.rl-how-list p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.rl-soon { display: flex; align-items: center; gap: 26px; margin-top: 18px; padding: 26px 28px; border-radius: 22px; background: linear-gradient(120deg, #0A1228, #12275F); color: #E7ECF6; }
.rl-soon img { flex: none; width: 183px; height: auto; }
.rl-soon b { font: 700 18px 'Sora', sans-serif; color: #fff; }
.rl-soon p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: #B8C6E6; max-width: 620px; }

/* ---- faq ---- */
.rl-faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.rl-faq-list { display: grid; gap: 10px; }
.rl-qa { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); padding: 0 22px; }
.rl-qa summary { cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font: 600 16.5px 'Sora', sans-serif; color: var(--text); position: relative; }
.rl-qa summary::-webkit-details-marker { display: none; }
.rl-qa summary::after { content: '+'; position: absolute; right: 2px; top: 50%; translate: 0 -50%; font: 400 24px/1 'Work Sans', sans-serif; color: var(--accent); transition: rotate .25s; }
.rl-qa[open] summary::after { rotate: 45deg; }
.rl-qa p { padding: 0 0 20px; font-size: 15.5px; line-height: 1.7; color: var(--text-muted); }

/* ---- final ---- */
.rl-final { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, #1B3A8C 0%, #0F1D45 45%, #0A1228 80%); color: var(--rl-ink); padding: clamp(70px, 9vw, 130px) 0; text-align: center; }
.rl-final h2 { margin-top: 18px; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; font-weight: 800; color: #fff; }
.rl-final p { margin-top: 14px; font-size: 18px; color: #C6D2EC; }
.rl-final .rl-ctas { margin-top: 30px; }
.rl-final .rl-fine { margin-top: 36px; font-size: 12.5px; color: #8FA0C4; }

/* ---- responsive ---- */
@media (max-width: 1100px) { .rl-cards { grid-template-columns: repeat(3, 1fr); } .rl-keys-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .rl-hero-in, .rl-themes-in, .rl-flip-in, .rl-mobile-in, .rl-own-in, .rl-faq-in { grid-template-columns: 1fr; }
  .rl-hero-vis { aspect-ratio: 1.05; margin-right: auto; max-width: 640px; margin: 8px auto 0; width: 100%; }
  .rl-story-grid { grid-template-columns: 1fr; }
  .rl-story-media { display: none; }
  .rl-step { min-height: 0; opacity: 1; padding: 0 0 46px; }
  .rl-step-fig { display: block; }
  .rl-strip-in { grid-template-columns: 1fr 1fr; }
  .rl-strip-in > div:nth-child(3) { border-left: 0; } .rl-strip-in > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .rl-cards { grid-template-columns: repeat(2, 1fr); }
  .rl-how-list { grid-template-columns: 1fr; }
  .rl-flip-stage { order: 2; } .rl-flip-in .rl-head { order: 1; }
  .rl-soon { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .rl-cards, .rl-keys-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rl-card { padding: 20px 16px; } .rl-key { padding: 16px 14px; }
  .rl-chip--2, .rl-chip--3 { display: none; }
  .rl-chip--1 { left: 2%; bottom: 4%; }
  .rl-btn { width: 100%; } .rl-ctas { width: 100%; }
  .rl-seg button { padding: 0 16px; }
  .rl-win-bar span { display: none; }
}
@media (max-width: 400px) { .rl-cards, .rl-keys-grid { grid-template-columns: 1fr; } }
