/* Ringside: red corner, blue corner. Colours and type from the app and its promo film. */
.rs {
  --r-red: #e23a4a;
  --r-red-deep: #c92638;
  --r-red-dark: #5a0f18;
  --r-blue: #4f7bf2;
  --r-blue-deep: #2350d6;
  --r-ink: #f2f4f7;
  --r-muted: #a2a9b6;
  --r-card: #1c1f24;
  --r-line: #2b2f36;
  --r-bg: #07080a;
  --display: "Big Shoulders Display", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, sans-serif;
  background: var(--r-bg);
  color: var(--r-ink);
  font-family: var(--body);
  font-weight: 500;
}
.rs .nav { background: rgba(7, 8, 10, .6); }
.rs .red { color: var(--r-red); }
.rs .blue { color: var(--r-blue); }
.rs section { max-width: 1240px; padding-block: clamp(56px, 8vw, 110px); }

/* ---------- Shared bits ---------- */
.rs-display {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(88px, 15vw, 210px); line-height: .82; letter-spacing: -0.01em; margin: 0;
}
.rs-display.sm { font-size: clamp(54px, 9vw, 120px); line-height: .88; }
.rs-h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 7vw, 92px); line-height: .9; letter-spacing: 0; margin: 0 0 22px;
}
.rs-h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: .01em; margin: 34px 0 12px; }
.rs-eyebrow {
  font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--r-red); margin: 0 0 16px;
}
.rs-eyebrow.blue { color: var(--r-blue); }
.rs p { color: #c8ccd4; font-size: 18px; line-height: 1.55; }

.phone {
  position: relative; aspect-ratio: 1206 / 2622; width: 100%;
  border-radius: clamp(28px, 4vw, 46px); padding: clamp(6px, .8vw, 10px);
  background: linear-gradient(145deg, #2a2d33, #0c0d10);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 50px 100px -30px rgba(0, 0, 0, .9);
}
.phone > img, .phone > video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: clamp(22px, 3.3vw, 38px); background: #000;
}

/* ---------- Hero ---------- */
.rs-hero {
  position: relative; max-width: none !important; padding: 0 !important; overflow: hidden;
  min-height: calc(100svh - 64px);
}
.corners { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.corners span { position: absolute; inset: 0; }
.corners .red { background: linear-gradient(180deg, var(--r-red-deep), #9e1d2c); clip-path: polygon(0 0, 46% 0, 0 62%); }
.corners .blue { background: linear-gradient(0deg, var(--r-blue-deep), #1a3ea8); clip-path: polygon(100% 38%, 100% 100%, 54% 100%); }
.rs-hero .corners .red { animation: in-red 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.rs-hero .corners .blue { animation: in-blue 1.1s cubic-bezier(.2, .8, .2, 1) .1s both; }
@keyframes in-red { from { transform: translate(-30%, -30%); } }
@keyframes in-blue { from { transform: translate(30%, 30%); } }

.rs-hero-inner {
  position: relative; z-index: 1; max-width: 1240px; margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter);
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 80px); align-items: center;
  min-height: calc(100svh - 64px);
}
.rs-app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.rs-app-id img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .8); }
.rs-kicker { margin: 0; font-weight: 700; font-size: 18px !important; color: var(--r-ink) !important; }
.rs-sub { margin: 2px 0 0; font-size: 15px !important; color: var(--r-muted) !important; }
.rs-tagline {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 42px) !important; color: var(--r-ink) !important; margin: 18px 0 8px; letter-spacing: .01em;
}
.rs-tagline em { font-style: normal; color: var(--r-red); }
.rs-lede { max-width: 540px; font-size: 20px !important; }
.rs-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.rs-play {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700;
  padding: 10px 20px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14); transition: background .2s;
}
.rs-play:hover { background: rgba(255, 255, 255, .14); }
.rs-play-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--r-red); font-size: 13px; padding-left: 3px; }
.rs-meta { font-size: 14px !important; color: var(--r-muted) !important; margin-top: 22px; letter-spacing: .04em; }
.rs-hero-phone { justify-self: center; width: min(100%, 330px); }
.rs-hero-phone .phone { transform: rotate(4deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 60px 120px -30px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(226, 58, 74, .5); }

/* ---------- Marquee ---------- */
.rs-marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--r-line); background: #0d0f12; padding: 18px 0; }
.rs-marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 34s linear infinite; }
.rs-marquee span {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: .02em; color: #7d8594; white-space: nowrap;
}
.rs-marquee span:nth-child(3n + 1) { color: var(--r-red); }
.rs-marquee span:nth-child(3n + 2) { color: var(--r-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature rows ---------- */
.rs-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.rs-feature.flip > :first-child { order: 2; }
.rs-feature-copy { max-width: 560px; }
.rs-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 20px; letter-spacing: .03em;
  padding: 8px 18px; border-radius: 999px; color: #fff !important;
}
.pill.red { background: var(--r-red-deep); }
.pill.blue { background: var(--r-blue-deep); }
.rs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 30px); max-width: 560px; justify-self: center; width: 100%; }
.rs-duo .tilt-l { transform: rotate(-4deg) translateY(18px); }
.rs-duo .tilt-r { transform: rotate(4deg) translateY(-18px); }
.rs-duo .phone { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.rs-duo:hover .tilt-l { transform: rotate(-2deg) translateY(8px) scale(1.02); }
.rs-duo:hover .tilt-r { transform: rotate(2deg) translateY(-8px) scale(1.02); }
.rs-try { font-weight: 700; color: var(--r-ink) !important; font-size: 16px !important; }

/* ---------- Drag demo ---------- */
.rs-demo {
  width: min(100%, 330px); margin: 0 auto; overflow: hidden; touch-action: none; cursor: ns-resize; user-select: none;
  --fill: var(--r-red); --top: var(--r-red-dark);
  background: linear-gradient(145deg, #2a2d33, #0c0d10);
}
.rs-demo[data-phase="rest"] { --fill: var(--r-blue-deep); --top: #0f1f52; }
.rs-demo::before { /* the screen */
  content: ""; position: absolute; inset: clamp(6px, .8vw, 10px); border-radius: clamp(22px, 3.3vw, 38px); background: var(--top); transition: background .4s;
}
.rs-demo-fill {
  position: absolute; left: clamp(6px, .8vw, 10px); right: clamp(6px, .8vw, 10px); bottom: clamp(6px, .8vw, 10px);
  height: calc((100% - 2 * clamp(6px, .8vw, 10px)) * var(--p, 1));
  background: var(--fill); border-radius: 0 0 clamp(22px, 3.3vw, 38px) clamp(22px, 3.3vw, 38px);
  transition: background .4s;
}
.rs-demo.dragging .rs-demo-fill { transition: none; }
.rs-demo-top, .rs-demo-body, .rs-demo-strip, .rs-demo-hint { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.rs-demo-top { top: 9%; padding: 0 12%; display: flex; justify-content: space-between; align-items: center; }
.rs-demo-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; }
.rs-demo-end { font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.rs-demo-body { top: 26%; display: flex; flex-direction: column; align-items: center; }
.rs-demo-phase { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4vw, 44px); }
.rs-demo-time { font-family: var(--display); font-weight: 900; font-size: clamp(96px, 11vw, 128px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.rs-demo-round { font-weight: 600; font-size: 17px; margin-top: 4px; }
.rs-demo-strip { bottom: 14%; margin: 0 12%; height: 8px; display: flex; gap: 3px; }
.rs-demo-strip i { flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.rs-demo-strip i.rest { flex: .35; }
.rs-demo-strip i.done { background: #fff; }
.rs-demo-hint {
  bottom: 5.5%; text-align: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; opacity: .75;
  animation: hint 2.4s ease-in-out infinite;
}
.rs-demo.touched .rs-demo-hint { opacity: 0; animation: none; }
@keyframes hint { 50% { transform: translateY(6px); } }

/* ---------- Sounds ---------- */
.rs-sounds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rs-sounds button, .rs-bells button {
  font: inherit; font-weight: 700; color: var(--r-ink); cursor: pointer;
  background: var(--r-card); border: 1.5px solid var(--r-line); border-radius: 12px; padding: 10px 16px;
  transition: border-color .2s, background .2s, transform .15s;
}
.rs-sounds button:nth-child(odd) { border-color: rgba(226, 58, 74, .55); }
.rs-sounds button:nth-child(even) { border-color: rgba(79, 123, 242, .55); }
.rs-sounds button:hover, .rs-bells button:hover { background: #262a31; }
.rs-sounds button:active, .rs-bells button:active { transform: scale(.96); }
.rs-sounds button.playing { background: var(--r-red-deep); border-color: var(--r-red-deep); }
.rs-sounds button:nth-child(even).playing { background: var(--r-blue-deep); border-color: var(--r-blue-deep); }
.rs-bells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rs-bells button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-weight: 600; font-size: 14px; color: var(--r-muted); text-align: left; }
.rs-bells b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 22px; color: var(--r-ink); }
.rs-bells button.playing { border-color: var(--r-red); }

/* ---------- Siri / Lock screen cards ---------- */
.rs-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rs-card { border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: var(--r-card); border: 1px solid var(--r-line); position: relative; overflow: hidden; }
.rs-card.siri { background: radial-gradient(500px circle at 0% 100%, rgba(35, 80, 214, .45), transparent 70%), var(--r-card); }
.rs-card.lock { background: radial-gradient(500px circle at 100% 0%, rgba(201, 38, 56, .4), transparent 70%), var(--r-card); }
.rs-quote {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--r-ink) !important;
  font-size: clamp(38px, 4.6vw, 60px) !important; line-height: .95 !important; margin: 0 0 20px;
}
.island {
  display: flex; align-items: center; gap: 12px; width: fit-content; margin: 6px 0 24px;
  background: #000; border-radius: 999px; padding: 12px 20px 12px 14px; box-shadow: 0 20px 50px -20px #000;
}
.island-dot { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--r-red) 0 62%, #3a1016 62%); }
.island-label { font-weight: 700; font-size: 15px; }
.island-time { font-family: var(--display); font-weight: 900; font-size: 30px; color: var(--r-red); margin-left: 18px; font-variant-numeric: tabular-nums; }

/* ---------- Film ---------- */
.rs-film-head { text-align: center; }
.rs-film-frame {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--r-line); aspect-ratio: 16 / 9;
  box-shadow: 0 60px 140px -50px rgba(226, 58, 74, .55), 0 40px 120px -60px rgba(79, 123, 242, .6);
}
.rs-film-frame video { width: 100%; height: 100%; display: block; background: #000; }

/* ---------- Promise ---------- */
.rs-promise {
  position: relative; overflow: hidden; border-radius: 32px; text-align: center;
  margin: 0 var(--gutter) !important; max-width: 1240px; padding: clamp(60px, 9vw, 120px) clamp(22px, 5vw, 60px) !important;
  background: #0d0f12; border: 1px solid var(--r-line);
}
@media (min-width: 1368px) { .rs-promise { margin: 0 auto !important; } }
.corners.small .red { clip-path: polygon(0 0, 30% 0, 0 45%); }
.corners.small .blue { clip-path: polygon(100% 55%, 100% 100%, 70% 100%); }
.rs-promise .rs-display { position: relative; }
.rs-promise-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; text-align: left; }
.rs-promise-grid div { background: rgba(28, 31, 36, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--r-line); border-radius: 18px; padding: 20px; }
.rs-promise-grid b { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 24px; margin-bottom: 4px; }
.rs-promise-grid span { color: var(--r-muted); font-size: 15px; }

/* ---------- Support ---------- */
.rs-support { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.rs-support-lede a, .rs-faq a { color: var(--r-red); font-weight: 700; }
.rs-faq details { background: var(--r-card); border: 1px solid var(--r-line); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; }
.rs-faq summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rs-faq summary::-webkit-details-marker { display: none; }
.rs-faq summary::after { content: "+"; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: .8; color: var(--r-red); transition: transform .3s; }
.rs-faq details[open] summary::after { transform: rotate(45deg); }
.rs-faq details p { margin: 12px 0 0; font-size: 16.5px; }

.rs .footer { border-top-color: var(--r-line); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .rs-hero-inner, .rs-feature, .rs-support, .rs-grid-2 { grid-template-columns: 1fr; }
  .rs-feature.flip > :first-child { order: 0; }
  .rs-hero-phone { width: min(70%, 290px); }
  .rs-promise-grid { grid-template-columns: 1fr 1fr; }
  .corners .red { clip-path: polygon(0 0, 80% 0, 0 36%); }
  .corners .blue { clip-path: polygon(100% 70%, 100% 100%, 30% 100%); }
}
@media (max-width: 560px) {
  .rs-promise-grid, .rs-bells { grid-template-columns: 1fr; }
  .rs-demo { width: min(64vw, 260px); }
  .rs-marquee span { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-marquee-track { animation: none; }
}
