/* HOPE Ring B product page.
   Type is chosen for older readers: Lora (warm, open serif) for headlines,
   Work Sans (large x-height, plain shapes) for reading. Base size 19px. */

@font-face { font-family: "Lora"; src: url("/fonts/Lora-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/fonts/Lora-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/WorkSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/fonts/WorkSans-Bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

.ring-page {
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --tide: #173f51;
  --muted: #4f5a5d;
  --radius: 28px;
  --gutter: clamp(20px, 5vw, 80px);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  background: var(--paper);
}
.ring-page main :is(h1, h2, h3) { margin: 0; font-weight: 400; }
.ring-page main :is(h1, h2) { font-family: var(--serif); letter-spacing: -.02em; line-height: 1.04; }
.ring-page main h2 { font-size: clamp(40px, 5.4vw, 76px); }
.ring-page main h2 em, .ring-page main h1 em, .r-hero-line em { font-style: italic; color: var(--blue); }
.ring-page main p { margin: 0; }
.ring-page nav { font-size: 17px; }
.ring-page .button.header-cta { min-height: 46px; }
@media (max-width: 900px) { .ring-page nav a { min-height: 56px; } }
.ring-page footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
.ring-page .footer-main > div:not(:first-child) { gap: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.r-eyebrow { margin-bottom: 18px !important; color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.r-eyebrow-light { color: var(--blue-light); }
.r-head { padding: 0 var(--gutter); margin-bottom: clamp(36px, 5vw, 64px); }
.r-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.r-footnote { padding: 28px var(--gutter) 0; color: var(--muted); font-size: 15px; }
.r-footnote-light { color: rgba(255,255,255,.62); }
.r-muted { color: var(--muted); }

/* buttons */
.r-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 32px; border: 2px solid transparent; border-radius: 100px;
  font: 600 18px/1 var(--sans); cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, border-color .2s;
}
.r-btn:hover { transform: translateY(-2px); }
.r-btn:active { transform: scale(.98); }
.r-btn-dark { color: white; background: var(--ink); }
.r-btn-dark:hover { background: var(--tide); }
.r-btn-ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.r-btn-light { color: var(--ink); background: white; }
.r-round {
  display: grid; place-items: center; width: 60px; height: 60px; border: 2px solid currentColor; border-radius: 50%;
  color: inherit; background: transparent; font: 400 24px/1 var(--sans); cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.r-round:hover { color: white; background: var(--ink); border-color: var(--ink); }
.r-round:disabled { opacity: .3; cursor: default; }
.ring-page :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

/* 1. hero */
.r-hero {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 4vw;
  min-height: 100svh; padding: 140px var(--gutter) 64px; overflow: hidden;
}
.r-hero-stage { position: relative; aspect-ratio: 16 / 10; }
.r-hero-orbit {
  position: absolute; inset: 2% 12%; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.7) 45%, rgba(255,255,255,0) 70%);
}
.r-hero-ring {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply; opacity: 0; transform: scale(.94) rotate(-4deg);
  transition: opacity .6s ease, transform .9s cubic-bezier(.2,.8,.2,1);
}
.r-hero-ring.is-active { opacity: 1; transform: translateY(var(--float, 0)) scale(1) rotate(0); }
.r-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 100px; color: var(--tide); background: rgba(63,141,168,.13); font-size: 15px; font-weight: 700; }
.r-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(63,141,168,.5); animation: r-ping 2.2s infinite; }
@keyframes r-ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(63,141,168,0); } }
.r-hero h1 { margin: 26px 0 14px; font-size: clamp(54px, 6.4vw, 96px); }
.r-logo-title img { width: min(100%, 470px); height: auto; }
.r-hero-line { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.2; }
.r-finishes { margin: 40px 0 0; padding: 0; border: 0; }
.r-finishes legend { margin-bottom: 14px; color: var(--muted); font-size: 17px; }
.r-finishes legend strong { color: var(--ink); }
.r-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.r-swatch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 10px;
  border: 2px solid var(--line); border-radius: 100px; color: var(--ink); background: white;
  font: 400 17px/1 var(--sans); cursor: pointer; transition: border-color .2s, transform .2s;
}
.r-swatch:hover { transform: translateY(-1px); border-color: rgba(16,21,23,.4); }
.r-swatch.is-selected { border-color: var(--ink); font-weight: 600; }
.r-chip { flex: none; display: inline-block; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.r-chip-black { background: linear-gradient(145deg, #4a4a4a, #111); }
.r-chip-silver { background: linear-gradient(145deg, #f1f2f4, #9a9ca0); }
.r-chip-gold { background: linear-gradient(145deg, #ece2c8, #a8956a); }
.r-chip-white { background: linear-gradient(145deg, #fff, #d9d9d5); }
.r-price { margin-top: 32px !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: var(--muted); font-size: 18px; }
.r-price strong { color: var(--ink); font-family: var(--serif); font-size: 44px; font-weight: 400; }
.r-price b { color: var(--tide); }
.r-was { color: var(--muted); font-family: var(--sans); font-size: .5em; font-weight: 400; text-decoration-thickness: 2px; }
.r-price .r-was { font-size: 24px; }
.r-offer-price .r-was { margin-right: 4px; vertical-align: middle; font-size: 26px; }
.r-offer-dark .r-was { color: rgba(255,255,255,.55); }
.r-buybar-price .r-was { margin-right: 4px; font-size: 16px; font-weight: 400; }
.r-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.r-ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 16px; }
.r-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.r-ticks li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: white; background: var(--blue); font-size: 13px; }

/* 2. cinema */
.r-cinema { position: relative; height: min(92vh, 900px); overflow: hidden; color: white; background: var(--ink); }
.r-cinema-media { position: absolute; inset: 0; }
.r-cinema-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--p, 0) * .18)); transform-origin: 50% 60%; will-change: transform; }
.r-cinema::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(10,20,24,.55) 0%, rgba(10,20,24,.05) 45%, rgba(10,20,24,.65) 100%); }
.r-cinema-copy { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 90px); }
.r-cinema h2 { font-size: clamp(48px, 7vw, 108px); }
.r-cinema-copy p { margin-top: 18px; font-size: clamp(20px, 1.6vw, 24px); color: rgba(255,255,255,.88); }

/* 2b. real moments explorer */
.r-moments { padding: clamp(90px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); }
.r-moments-stage { position: relative; margin: 0 var(--gutter); aspect-ratio: 16 / 8.2; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.r-moment { position: absolute; inset: 0; margin: 0; }
.r-moment img { width: 100%; height: 100%; object-fit: cover; }
.r-moment.is-active img { animation: r-kenburns 7s ease-out both; }
@keyframes r-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.r-moment.is-active { animation: r-fade .8s ease both; }
@keyframes r-fade { from { opacity: 0; } to { opacity: 1; } }
.r-moment::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(10,20,24,0) 45%, rgba(10,20,24,.78) 100%); pointer-events: none; }
.r-moment figcaption { position: absolute; z-index: 1; left: clamp(22px, 4vw, 56px); right: clamp(22px, 4vw, 56px); bottom: clamp(22px, 4vw, 52px); color: white; }
.r-moment figcaption p { max-width: 720px; margin-top: 14px !important; font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.15; }
.r-moment-tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 100px; color: var(--ink); background: rgba(255,255,255,.94); font-size: 16px; font-weight: 700; }
.r-moment-tag i { width: 10px; height: 10px; border-radius: 50%; background: #e8694a; box-shadow: 0 0 0 0 rgba(232,105,74,.6); animation: r-ping-warm 1.8s infinite; }
@keyframes r-ping-warm { 70%, 100% { box-shadow: 0 0 0 10px rgba(232,105,74,0); } }
.r-moments-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 22px var(--gutter) 0; }
.r-moment-tab { display: grid; gap: 12px; padding: 0 0 6px; border: 0; color: var(--muted); background: none; font: 600 17px/1.2 var(--sans); text-align: left; cursor: pointer; transition: color .2s; }
.r-moment-tab:hover, .r-moment-tab.is-active { color: var(--ink); }
.r-moment-bar { display: block; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(16,21,23,.14); }
.r-moment-bar i { display: block; width: 0; height: 100%; background: var(--ink); }
.r-moment-tab.is-active .r-moment-bar i { width: 100%; }
.r-moments.is-playing .r-moment-tab.is-active .r-moment-bar i { width: 0; animation: r-progress var(--slide-ms, 6000ms) linear forwards; }
@keyframes r-progress { to { width: 100%; } }
.r-moments-pause svg { width: 20px; height: 20px; fill: currentColor; }
.r-moments-pause .r-icon-play { display: none; }
.r-moments-pause[aria-pressed="true"] .r-icon-play { display: block; }
.r-moments-pause[aria-pressed="true"] .r-icon-pause { display: none; }

/* 6b. finishes banner */
.r-finish-band { display: flex; flex-direction: column; padding: clamp(90px, 12vw, 150px) 0 0; background: #ece6da; }
.r-finish-band-copy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; padding: 0 var(--gutter) clamp(36px, 5vw, 56px); }
.r-finish-band h2 { max-width: 720px; color: var(--ink); }
.r-finish-band > img { width: 100%; height: clamp(320px, 52vw, 760px); object-fit: cover; }
.r-finish-band .r-swatch { background: white; border-color: transparent; }
.r-finish-band .r-swatch:hover { border-color: var(--ink); }

/* 3. anatomy */
.r-anatomy { padding: clamp(90px, 12vw, 160px) 0; background: white; }
.r-anatomy-stage { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 4vw; padding: 0 var(--gutter); }
.r-anatomy-figure { position: relative; max-width: 760px; width: 100%; margin: 0 auto; }
.r-anatomy-figure img { width: 100%; height: auto; }
.r-hotspot {
  position: absolute; left: var(--x); top: var(--y); width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border: 0; border-radius: 50%; background: rgba(63,141,168,.18); cursor: pointer;
}
.r-hotspot::before { position: absolute; inset: 14px; content: ""; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px white; transition: transform .25s; }
.r-hotspot::after { position: absolute; inset: 0; content: ""; border-radius: 50%; border: 2px solid var(--blue); animation: r-ring 2.4s infinite; }
@keyframes r-ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.r-hotspot.is-active { background: var(--ink); }
.r-hotspot.is-active::before { background: white; box-shadow: none; transform: scale(.6); }
.r-hotspot.is-active::after { border-color: var(--ink); }
.r-spot-panel { position: relative; min-height: 300px; }
.r-spot span { color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.r-spot h3 { margin: 10px 0 14px; font-family: var(--serif); font-size: clamp(38px, 3.6vw, 56px); line-height: 1.05; }
.r-spot p { max-width: 420px; color: var(--muted); font-size: 21px; }
.r-spot.is-active { animation: r-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes r-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.r-spot-nav { display: flex; gap: 12px; margin-top: 36px; }

/* 4. alert demo */
.r-alert { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 6vw; padding: clamp(90px, 12vw, 150px) var(--gutter) 70px; color: white; background: radial-gradient(circle at 80% 30%, #1f4c60 0%, var(--ink) 60%); }
.r-alert h2 { max-width: 640px; }
.r-alert h2 em { color: var(--blue-light); }
.r-steps { display: grid; gap: 10px; margin: 44px 0 32px; padding: 0; list-style: none; }
.r-steps li { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 20px; font-size: clamp(21px, 1.8vw, 26px); color: rgba(255,255,255,.45); transition: background .4s, color .4s; }
.r-steps b { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 2px solid currentColor; border-radius: 50%; font-size: 18px; }
.r-steps li.is-on { color: white; background: rgba(255,255,255,.08); }
.r-steps li.is-on b { color: var(--ink); background: var(--blue-light); border-color: var(--blue-light); }
.r-tap { display: flex; align-items: center; gap: 16px; margin-top: 36px !important; color: rgba(255,255,255,.75); font-size: 18px; }
.r-tap-icon { position: relative; flex: none; width: 44px; height: 44px; border: 2px solid var(--blue-light); border-radius: 50%; }
.r-tap-icon::after { position: absolute; inset: 13px; content: ""; border-radius: 50%; background: var(--blue-light); }
.r-alert-toggle { margin-top: 24px; color: white; border-color: rgba(255,255,255,.6); background: transparent; }
.r-alert-toggle:hover { background: rgba(255,255,255,.12); }
.r-alert-toggle[hidden] { display: none; }
.r-phone { justify-self: center; width: min(380px, 100%); aspect-ratio: 9 / 18.5; padding: 12px; border-radius: 56px; background: #0b1114; box-shadow: 0 0 0 2px #2b3a40, 0 50px 120px rgba(0,0,0,.5); }
.r-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 46px; background: linear-gradient(180deg, #24566b 0%, #102a36 100%); text-align: center; }
.r-phone-island { width: 110px; height: 32px; margin: 14px auto 0; border-radius: 20px; background: #000; }
.r-phone-date { margin-top: 32px !important; color: rgba(255,255,255,.75); font-size: 17px; }
.r-phone-time { font-family: var(--sans); font-size: 86px; font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.r-pulse { position: relative; width: 120px; height: 120px; margin: 40px auto 0; transition: opacity .5s, transform .5s; }
.r-pulse img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.r-pulse span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue-light); opacity: 0; }
.r-alert.is-step-1 .r-pulse span { animation: r-ring 1.6s infinite; }
.r-alert.is-step-1 .r-pulse span:last-child { animation-delay: .8s; }
.r-notif { position: absolute; left: 14px; right: 14px; padding: 18px; border-radius: 26px; text-align: left; opacity: 0; transform: translateY(-24px) scale(.96); transition: opacity .5s, transform .6s cubic-bezier(.2,.9,.25,1.15); }
.r-notif-main { top: 196px; color: var(--ink); background: rgba(255,255,255,.95); }
.r-notif-ok { top: 410px; color: white; background: rgba(153,203,220,.32); backdrop-filter: blur(12px); }
.r-notif-app { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.r-notif-app i { width: 22px; height: 22px; border-radius: 7px; background: var(--ink) radial-gradient(circle, transparent 4px, white 5px, white 6.5px, transparent 7.5px); }
.r-notif-app time { margin-left: auto; text-transform: none; }
.r-notif-title { margin-top: 10px !important; font-size: 19px; font-weight: 700; }
.r-notif-body { margin-top: 4px !important; font-size: 16px; line-height: 1.4; opacity: .85; }
.r-notif-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.r-notif-actions span { padding: 11px 0; border-radius: 100px; text-align: center; font-size: 15px; font-weight: 600; background: #e9eef0; }
.r-notif-actions span:first-child { color: white; background: var(--ink); }
.r-alert.is-step-2 .r-pulse, .r-alert.is-step-3 .r-pulse { opacity: 0; transform: scale(.8); }
.r-alert.is-step-2 .r-notif-main, .r-alert.is-step-3 .r-notif-main { opacity: 1; transform: none; }
.r-alert.is-step-3 .r-notif-ok { opacity: 1; transform: none; }
.r-alert > .r-footnote { grid-column: 1 / -1; order: 3; padding: 0; }

/* real app screens in the alert demo */
.r-app { position: relative; justify-self: center; height: min(680px, 78vh); max-width: 82vw; aspect-ratio: 760 / 1593; }
.r-app > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 80px rgba(0,0,0,.45)); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.r-app-alert { opacity: 0; transform: scale(.97); }
.r-alert.is-step-2 .r-app-alert, .r-alert.is-step-3 .r-app-alert { opacity: 1; transform: none; }
.r-alert.is-step-2 .r-app-home, .r-alert.is-step-3 .r-app-home { opacity: 0; }
.r-app-ping { position: absolute; left: 31%; top: 34%; width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 0; transition: opacity .4s; }
.r-app-ping span { position: absolute; inset: 0; border: 3px solid #e8694a; border-radius: 50%; }
.r-alert.is-step-1 .r-app-ping { opacity: 1; }
.r-alert.is-step-1 .r-app-ping span { animation: r-ring 1.4s infinite; }
.r-alert.is-step-1 .r-app-ping span:last-child { animation-delay: .7s; }
.r-app .r-notif-ok { top: 9%; left: 8%; right: 8%; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.r-alert.is-step-3 .r-app .r-notif-ok { opacity: 1; transform: none; }
.r-box-photo { position: relative; overflow: hidden; }
.r-box-grid .r-box-photo { justify-content: flex-start; padding-top: 0; }
.r-box-grid .r-box-photo img { display: block; width: calc(100% + 56px); height: auto; max-width: none; margin: 0 -28px 18px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.r-box-grid .r-box-photo h3 { margin-top: auto; }
.r-macro { margin: 0 calc(var(--gutter) * -1); height: clamp(260px, 38vw, 560px); overflow: hidden; }
.r-macro img { width: 100%; height: 100%; object-fit: cover; }

/* 5. signals carousel */
.r-signals { padding: clamp(90px, 12vw, 150px) 0; }
.r-carousel-nav { display: flex; gap: 12px; }
.r-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 26vw, 380px); gap: 18px;
  margin: 0; padding: 0 var(--gutter) 8px; overflow-x: auto; list-style: none;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none;
}
.r-track::-webkit-scrollbar { display: none; }
.r-card {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius);
  scroll-snap-align: start; transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.r-card:hover { transform: translateY(-6px); }
.r-card h3 { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.r-card-photo { color: white; background: var(--ink); }
.r-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.r-card-photo:hover img { transform: scale(1.05); }
.r-card-photo::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 50%, rgba(10,20,24,.75)); }
.r-card svg { width: 72%; margin-bottom: 20%; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.r-card-tide { color: white; background: var(--tide); }
.r-card-blue { color: white; background: var(--blue); }
.r-card-paper { color: var(--blue); background: white; }
.r-card-paper h3 { color: var(--ink); }
.r-card-paper svg { width: 52%; }
.r-card-ink { color: var(--blue-light); background: var(--ink); }
.r-card-ink h3 { color: white; }
.r-ecg, .r-wave { stroke-dasharray: 400; stroke-dashoffset: 400; animation: r-draw 2.6s ease-in-out infinite; }
.r-wave { animation-duration: 3.4s; }
@keyframes r-draw { 0% { stroke-dashoffset: 400; } 55%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -400; } }
.r-card-paper circle { stroke-dasharray: 310; animation: r-spin 6s linear infinite; transform-origin: 60px 60px; }
.r-card-paper circle:nth-child(2) { animation-duration: 4.5s; animation-direction: reverse; }
.r-card-paper circle:nth-child(3) { animation-duration: 3s; }
@keyframes r-spin { to { transform: rotate(360deg); } }
.r-card-ink .r-bar { fill: currentColor; stroke: none; animation: r-blink 2.4s infinite; }
.r-card-ink .r-bar:nth-of-type(4) { animation-delay: .15s; } .r-card-ink .r-bar:nth-of-type(5) { animation-delay: .3s; } .r-card-ink .r-bar:nth-of-type(6) { animation-delay: .45s; }
@keyframes r-blink { 0%, 100% { opacity: 1; } 60% { opacity: .25; } }

/* 6. mosaic */
.r-life { padding: 0 0 clamp(90px, 12vw, 150px); }
.r-mosaic { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(260px, 34vw)); gap: 18px; padding: 0 var(--gutter); }
.r-tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.r-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.r-tile:hover img { transform: scale(1.04); }
.r-tile figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 18px; border-radius: 100px; color: var(--ink); background: rgba(255,255,255,.92); font-size: 17px; font-weight: 600; }
.r-tile-tall { grid-row: span 2; }
.r-tile-wide { grid-column: span 2; }

/* 7. battery */
.r-battery { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; padding: clamp(90px, 12vw, 150px) var(--gutter); color: white; background: var(--tide); }
.r-battery-dial { position: relative; width: min(520px, 100%); justify-self: center; }
.r-battery-dial svg { width: 100%; transform: rotate(-90deg); }
.r-battery-dial path { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 16; stroke-linecap: round; }
.r-battery-dial path.is-lit { stroke: var(--blue-light); transition: stroke .35s ease; }
.r-battery-dial p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--serif); font-size: clamp(120px, 15vw, 210px); line-height: .9; }
.r-battery-dial small { font-family: var(--sans); font-size: 22px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-light); }
.r-battery-copy h2 em { color: var(--blue-light); }
.r-battery-copy > p:not(.r-eyebrow):not(.r-footnote) { max-width: 480px; margin-top: 26px !important; color: rgba(255,255,255,.85); font-size: 21px; }
.r-battery-copy .r-footnote { padding: 28px 0 0; }

/* 8. in the box */
.r-box { padding: clamp(90px, 12vw, 150px) 0; background: white; }
.r-box-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 18px; margin: 0; padding: 0 var(--gutter); list-style: none; }
.r-box-grid li { display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 28px; border-radius: var(--radius); background: var(--paper); }
.r-box-grid li:first-child { position: relative; overflow: hidden; color: white; background: var(--ink); }
.r-box-grid li:first-child > img { position: absolute; top: 22px; right: -12%; width: 64%; height: auto; transform: translateX(0); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.r-box-grid li:first-child:hover > img { transform: rotate(25deg); }
.r-box-grid li:first-child p { color: rgba(255,255,255,.65); }
.r-box-grid h3 { position: relative; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.r-box-grid p { position: relative; margin-top: 6px !important; color: var(--muted); font-size: 17px; }
.r-box-icon { flex: none; width: 64px; height: 64px; margin-bottom: auto; border-radius: 50%; background: white center / 32px no-repeat; }
.r-icon-case { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%233f8da8' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='6' y='4' width='20' height='24' rx='5'/%3E%3Cpath d='M6 11h20M17 15l-4 6h6l-4 5'/%3E%3C/svg%3E"); }
.r-icon-size { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%233f8da8' stroke-width='2'%3E%3Ccircle cx='16' cy='16' r='11'/%3E%3Ccircle cx='16' cy='16' r='6'/%3E%3C/svg%3E"); }
.r-icon-people { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%233f8da8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='4'/%3E%3Ccircle cx='22' cy='12' r='3'/%3E%3Cpath d='M3 27c0-5 3.5-8 8-8s8 3 8 8M19 20c4 0 7 2.5 7 7'/%3E%3C/svg%3E"); }
.r-icon-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%233f8da8' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M16 3l10 4v8c0 7-5 12-10 14C11 27 6 22 6 15V7z'/%3E%3Cpath d='M11 16l4 4 7-8'/%3E%3C/svg%3E"); }
.r-box .r-footnote { padding-top: 24px; }

/* 9. specs */
.r-specs { padding: 0 var(--gutter); background: white; }
.r-specs-toggle { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.r-specs-toggle summary, .r-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; }
.r-specs-toggle summary::-webkit-details-marker, .r-faq summary::-webkit-details-marker { display: none; }
.r-specs-toggle summary { padding: 36px 0; }
.r-specs-toggle h2 { font-size: clamp(36px, 4vw, 56px); }
.r-plus { position: relative; flex: none; width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 50%; }
.r-plus::before, .r-plus::after { position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; content: ""; background: var(--ink); transition: transform .3s; }
.r-plus::after { transform: rotate(90deg); }
details[open] > summary .r-plus::after { transform: rotate(0); }
.r-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 0; padding: 0 0 48px; }
.r-spec-grid div { padding: 22px 0; border-top: 1px solid var(--line); }
.r-spec-grid dt { color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.r-spec-grid dd { margin: 6px 0 0; font-size: 20px; }
.r-specs + .r-reserve { margin-top: 0; }

/* 10. reserve */
.r-reserve { padding: clamp(90px, 12vw, 150px) var(--gutter); text-align: center; color: white; background: linear-gradient(180deg, #317995 0%, #62a8c1 60%, #a9d5e3 100%); }
.ring-page main .r-reserve h2 em { color: white; }
.r-reserve-sub { margin-top: 18px !important; font-size: 21px; color: rgba(255,255,255,.9); }
.r-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 520px)); justify-content: center; gap: 22px; margin-top: 56px; text-align: left; }
.r-offer { display: flex; flex-direction: column; padding: 40px; border-radius: var(--radius); color: var(--ink); background: white; box-shadow: 0 30px 80px rgba(10,43,58,.18); }
.r-offer-dark { color: white; background: var(--ink); }
.r-offer-price { font-family: var(--serif); font-size: 68px; line-height: 1; }
.r-offer-price span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 18px; color: var(--muted); }
.r-offer-dark .r-offer-price span { color: rgba(255,255,255,.65); }
.r-offer ul { display: grid; gap: 14px; margin: 32px 0 36px; padding: 28px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 18px; }
.r-offer-dark ul { border-color: rgba(255,255,255,.16); }
.r-offer li { display: flex; gap: 12px; }
.r-offer li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: white; background: var(--blue); font-size: 14px; }
.r-offer .r-btn { margin-top: auto; }
.r-funding { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; max-width: 1062px; margin: 22px auto 0; padding: 22px 32px; border-radius: var(--radius); color: var(--ink); background: rgba(255,255,255,.9); }
.r-funding img { width: auto; height: 48px; }
.r-funding p { font-size: 18px; }

/* 11. faq */
.r-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 4vw; padding: clamp(90px, 12vw, 150px) var(--gutter); }
.r-faq-list { border-top: 1px solid var(--line); }
.r-faq details { border-bottom: 1px solid var(--line); }
.r-faq summary { padding: 28px 0; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; }
.r-faq details p { max-width: 680px; padding: 0 0 30px; color: var(--muted); font-size: 20px; }
.r-faq-more { grid-column: 2; font-size: 19px; }
.r-faq-more a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* sticky buy bar */
.r-buybar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.r-buybar.is-visible { transform: none; }
.r-buybar-inner { display: flex; align-items: center; gap: 16px; max-width: 1100px; margin: 0 auto; padding: 10px 10px 10px 18px; border-radius: 100px; background: rgba(255,255,255,.9); box-shadow: 0 20px 60px rgba(10,43,58,.2); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.r-buybar-inner p { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; line-height: 1.25; }
.r-buybar-logo { flex: none; width: 132px; height: auto; }
.r-box-logo { width: min(100%, 210px); height: auto; }
.r-buybar-inner p span { color: var(--muted); }
.r-buybar-price { flex-shrink: 0; margin-left: auto !important; font-weight: 600; white-space: nowrap; }
.r-buybar-price span { font-weight: 400; }
.r-buybar .r-btn { min-height: 54px; padding: 0 24px; white-space: nowrap; }

/* scroll reveal (only when JS is running) */
.ring-page.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.ring-page.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .r-hero, .r-anatomy-stage, .r-alert, .r-battery, .r-faq { grid-template-columns: 1fr; }
  .r-moments-stage { aspect-ratio: 4 / 3; }
  .r-cinema { height: auto; aspect-ratio: 4 / 3; }
  .r-moments-tabs { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .r-buybar-price span { display: none; }
  .r-hero { padding-top: 120px; }
  .r-hero-stage { order: -1; margin: 0 -6vw; }
  .r-spot-panel { min-height: 0; }
  .r-alert-copy { order: 1; }
  .r-phone, .r-app { order: 2; }
  .r-app { height: min(620px, 70vh); }
  .r-faq-more { grid-column: 1; }
  .r-box-grid { grid-template-columns: repeat(2, 1fr); }
  .r-box-grid li:first-child { grid-column: span 2; min-height: 380px; }
  .r-box-grid li:first-child > img { width: 42%; right: 4%; }
  .r-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .r-offers { grid-template-columns: minmax(0, 560px); }
}
@media (max-width: 640px) {
  .ring-page { font-size: 18px; }
  .r-moments-stage { aspect-ratio: 4 / 5; margin: 0; border-radius: 0; }
  .r-cinema { aspect-ratio: 4 / 5; }
  .r-moments-tabs { display: flex; gap: 18px; margin: 18px 0 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
  .r-moment-tab { flex: 0 0 auto; min-width: 104px; }
  .r-finish-band { padding-top: 72px; }
  .r-finish-band > img { height: 300px; }
  .r-head-row { flex-direction: column; align-items: flex-start; }
  .r-ctas .r-btn { width: 100%; }
  .r-swatch { flex: 1 1 calc(50% - 10px); }
  .r-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .r-tile-tall { grid-row: span 2; }
  .r-tile-wide { grid-column: span 2; }
  .r-box-grid { grid-template-columns: 1fr; }
  .r-box-grid li:first-child { grid-column: auto; }
  .r-box-grid li { display: grid; grid-template-columns: 64px 1fr; align-items: center; column-gap: 18px; min-height: 0; padding: 18px; }
  .r-box-grid li h3, .r-box-grid li p { grid-column: 2; }
  .r-box-grid .r-box-icon { grid-row: 1 / span 2; }
  .r-box-grid li:first-child { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 320px; padding: 28px; }
  .r-box-icon { margin-bottom: 0; }
  .r-box-grid li.r-box-photo { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 0 22px 22px; }
  .r-box-grid li.r-box-photo img { width: calc(100% + 44px); margin: 0 -22px 16px; }
  .r-box-grid li.r-box-photo h3, .r-box-grid li.r-box-photo p { grid-column: auto; }
  .r-spec-grid { grid-template-columns: 1fr; }
  .r-offer { padding: 30px 24px; }
  .r-offer-price { font-size: 54px; }
  .r-buybar-inner > p:not(.r-buybar-price), .r-buybar-price span, .r-buybar-price .r-was { display: none; }
  .r-buybar .r-btn { padding: 0 20px; font-size: 17px; }
  .r-buybar-inner { padding-left: 14px; }
}
@media (max-width: 360px) {
  .r-buybar { padding-inline: 12px; }
  .r-buybar-inner { gap: 10px; padding-left: 10px; }
  .r-buybar .r-btn { padding-inline: 14px; font-size: 16px; }
  .r-buybar-price { font-size: 17px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ring-page *, .ring-page *::before, .ring-page *::after { animation: none !important; transition: none !important; }
  .ring-page.js .reveal { opacity: 1; transform: none; }
  .r-cinema-media img { transform: none; }
  .r-ecg, .r-wave { stroke-dashoffset: 0; }
}
