:root {
    --rt-black: #090909;
    --rt-surface: #121212;
    --rt-surface-soft: #1a1a1a;
    --rt-white: #ffffff;
    --rt-muted: #b7b7b7;
    --rt-green: #00d464;
    --rt-orange: #ff7a2f;
    --rt-red: #ed2626;
    --rt-blue: #2e84ed;
    --rt-line: rgba(255, 255, 255, 0.13);
    --rt-max: 1180px;
}

html { scroll-behavior: smooth; }

body.reaction-timer-page {
    margin: 0;
    background: var(--rt-black);
    color: var(--rt-white);
    font-family: 'Maven Pro', sans-serif;
    overflow-x: hidden;
}

.reaction-timer-page *, .reaction-timer-page *::before, .reaction-timer-page *::after { box-sizing: border-box; }
.reaction-timer-page img { display: block; height: auto; }
.reaction-timer-page #menu_menu_item, .reaction-timer-page .menu_close { box-sizing: content-box; }
.reaction-timer-page p, .reaction-timer-page h1, .reaction-timer-page h2, .reaction-timer-page h3, .reaction-timer-page h4 { font-family: 'Maven Pro', sans-serif; }
.reaction-timer-page .menu_item, .reaction-timer-page .menu_title, .reaction-timer-page .menu_link, .reaction-timer-page .footer { font-family: 'Catamaran', sans-serif; }
.reaction-timer-page .menu_bar { background-color: rgba(0, 0, 0, 0.78); }
.reaction-timer-page .menu_item_link:focus-visible, .reaction-timer-page .menu_link:focus-visible, .reaction-timer-page a:focus-visible { outline: 3px solid var(--rt-green); outline-offset: 4px; }

.reaction-page-shell { min-height: 100vh; }
.rt-main { margin-top: 50px; overflow: hidden; }
.rt-container { width: min(calc(100% - 48px), var(--rt-max)); margin: 0 auto; }
.rt-section { padding: 130px 0; }
.rt-eyebrow { margin: 0 0 20px; color: var(--rt-orange); font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.rt-section-heading { max-width: 740px; }
.rt-section-heading-centred { margin: 0 auto 76px; text-align: center; }
.rt-section-heading h2, .rt-challenge-copy h2, .rt-devices-copy h2 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.rt-section-heading h2 span, .rt-challenge-copy h2 span, .rt-devices-copy h2 span { color: var(--rt-muted); }
.rt-section-heading > p:last-child, .rt-challenge-copy > p, .rt-devices-copy > p { max-width: 650px; margin: 28px 0 0; color: var(--rt-muted); font-size: 19px; line-height: 1.65; }
.rt-section-heading-centred > p:last-child { margin-right: auto; margin-left: auto; }

.rt-hero { position: relative; min-height: calc(100vh - 50px); display: flex; align-items: center; border-bottom: 1px solid var(--rt-line); }
.rt-hero-grid { min-height: 760px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
.rt-hero-copy { position: relative; z-index: 4; padding: 130px 0 72px; }
.rt-app-lockup { position: absolute; z-index: 5; top: 48px; left: 50%; display: flex; align-items: center; gap: 16px; margin: 0; font-size: 20px; font-weight: 700; white-space: nowrap; transform: translateX(-50%); }
.rt-app-icon { width: 56px; height: 56px; border-radius: 13px; }
.rt-hero h1 { margin: 0; font-size: clamp(58px, 7.4vw, 106px); line-height: .88; letter-spacing: -.075em; }
.rt-hero h1 span { color: var(--rt-orange); }
.rt-hero-intro { max-width: 570px; margin: 30px 0 0; color: #d1d1d1; font-size: 20px; line-height: 1.6; }
.rt-hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 36px; }
.rt-download-button { width: 260px; min-height: 68px; display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 12px 24px; border-radius: 14px; background: var(--rt-white); color: var(--rt-black); text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.rt-download-button:hover { transform: translateY(-3px); background: #ededed; }
.rt-app-store-badge-link { width: 200px; display: inline-block; border-radius: 9px; transition: transform .2s ease, opacity .2s ease; }
.rt-app-store-badge-link:hover { opacity: .88; transform: translateY(-3px); }
.rt-app-store-badge-link img { width: 100%; }
.rt-hero-actions .rt-app-store-badge-link { width: 180px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9); }
.rt-button-kicker { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.rt-button-label { font-size: 20px; font-weight: 800; white-space: nowrap; }
.rt-proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 570px; margin: 46px 0 0; padding: 0; list-style: none; color: var(--rt-muted); font-size: 13px; }
.rt-proof-list li { min-height: 78px; display: flex; flex-direction: column; justify-content: center; padding: 13px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .075); box-shadow: 0 14px 30px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.rt-proof-list strong { display: block; color: var(--rt-white); font-size: 17px; }
.rt-hero-visual { position: relative; align-self: stretch; min-width: 0; min-height: 760px; overflow: hidden; }
.rt-hero-device-frame { position: absolute; top: 50%; right: 50%; width: min(88%, 340px); padding: 7px; border: 2px solid #4a4a4a; border-radius: 40px; background: #050505; box-shadow: 0 22px 52px rgba(0, 0, 0, .42); transform: translate(50%, -46%); }
.rt-hero-device-frame::before, .rt-hero-device-frame::after { content: none; }
.rt-hero-device-frame img { position: relative; z-index: 2; width: 100%; border-radius: 30px; }

.rt-gameplay { background: var(--rt-surface); }
.rt-gameplay .rt-section-heading { margin-right: auto; margin-left: auto; text-align: center; }
.rt-gameplay .rt-section-heading > p:last-child { margin-right: auto; margin-left: auto; }
.rt-gameplay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: center; width: 100%; max-width: 820px; margin: 82px auto 0; }
.rt-gameplay-shot { margin: 0; display: grid; grid-template-columns: 1fr; align-items: center; gap: 22px; }
.rt-gameplay-frame { width: min(100%, 252px); justify-self: center; padding: 6px; border: 2px solid #4a4a4a; border-radius: 38px; background: #050505; box-shadow: 0 18px 42px rgba(0, 0, 0, .28); }
.rt-gameplay-frame img { width: 100%; border-radius: 28px; }
.rt-gameplay-shot figcaption { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.rt-gameplay-shot figcaption strong { font-size: 24px; }
.rt-gameplay-shot figcaption span { color: var(--rt-muted); font-size: 15px; line-height: 1.5; }
.rt-shot-success figcaption strong { color: var(--rt-green); }
.rt-shot-fail figcaption strong { color: var(--rt-red); }

.rt-modes { background: var(--rt-black); }
.rt-mode-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.rt-mode-track::before { content: ''; position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--rt-green) 0%, #95c93d 24%, var(--rt-orange) 52%, #f04e32 76%, var(--rt-red) 100%); pointer-events: none; }
.rt-mode { min-height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 28px 14px 24px; border-top: 3px solid transparent; border-bottom: 1px solid var(--rt-line); text-align: center; }
.rt-mode-number { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 2px solid currentColor; border-radius: 50%; color: var(--rt-muted); font-size: 20px; font-weight: 800; }
.rt-mode strong { font-size: 16px; line-height: 1.25; }
.rt-mode small { max-width: 180px; margin-top: 10px; color: var(--rt-muted); font-size: 12px; line-height: 1.45; }
.rt-mode-active { border-top-color: transparent; }
.rt-mode:nth-child(1) .rt-mode-number { color: var(--rt-green); }
.rt-mode:nth-child(2) .rt-mode-number { color: #95c93d; }
.rt-mode:nth-child(3) .rt-mode-number { color: var(--rt-orange); }
.rt-mode:nth-child(4) .rt-mode-number { color: #f04e32; }
.rt-mode-danger { border-top-color: transparent; }
.rt-mode:nth-child(5) .rt-mode-number { color: var(--rt-red); }
.rt-modes-showcase { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: 64px; margin-top: 100px; padding: 70px; background: var(--rt-surface-soft); border-radius: 36px; }
.rt-screenshot-frame { width: min(100%, 340px); justify-self: start; padding: 8px; border: 2px solid #4a4a4a; border-radius: 38px; background: #050505; box-shadow: 0 22px 50px rgba(0, 0, 0, .32); }
.rt-screenshot-frame img { width: 100%; height: auto; border-radius: 28px; }
.rt-score-label { margin: 0; color: var(--rt-muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rt-score { margin: 8px 0 44px; color: var(--rt-red); font-size: clamp(44px, 6vw, 78px); font-weight: 800; letter-spacing: -.05em; }
.rt-modes-copy h3 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; }
.rt-modes-copy > p:last-child { max-width: 520px; margin: 24px 0 0; color: var(--rt-muted); font-size: 17px; line-height: 1.65; }

.rt-challenge { padding-bottom: 0; background: var(--rt-red); color: var(--rt-white); overflow: hidden; }
.rt-challenge-grid { min-height: 680px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.rt-challenge-art { align-self: end; height: 620px; overflow: hidden; }
.rt-challenge-art img { width: auto; max-width: none; height: 100%; margin: 0 auto; object-fit: contain; }
.rt-challenge-copy { padding-bottom: 120px; }
.rt-challenge-copy .rt-eyebrow { color: #2c0000; }
.rt-challenge-copy h2 span, .rt-challenge-copy > p { color: #330404; }
.rt-download-button-light, .rt-app-store-badge-link-light { margin-top: 34px; }

.rt-benefits { padding: 48px 0; background: var(--rt-white); color: var(--rt-black); }
.rt-benefit-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.rt-benefit-list li { padding: 10px 34px; border-right: 1px solid #d4d4d4; }
.rt-benefit-list li { text-align: center; }
.rt-benefit-list li:first-child { padding-left: 0; }
.rt-benefit-list li:last-child { padding-right: 0; border-right: 0; }
.rt-benefit-list strong, .rt-benefit-list span { display: block; }
.rt-benefit-list strong { font-size: 18px; }
.rt-benefit-list span { margin-top: 6px; color: #5e5e5e; font-size: 14px; }

.rt-devices { background: var(--rt-surface); }
.rt-devices-copy > .rt-eyebrow { line-height: 1.35; }
.rt-devices-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; }
.rt-devices-grid > img { width: 100%; }
.rt-device-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.rt-device-list li { padding: 9px 13px; border: 1px solid var(--rt-line); border-radius: 999px; color: #dfdfdf; font-size: 13px; font-weight: 700; }

.rt-final-cta { padding: 150px 0; text-align: center; }
.rt-final-inner { display: flex; flex-direction: column; align-items: center; }
.rt-final-icon { width: 82px; height: 82px; margin-bottom: 34px; border-radius: 18px; }
.rt-final-cta h2 { margin: 0; font-size: clamp(64px, 10vw, 126px); line-height: .9; letter-spacing: -.075em; }
.rt-final-cta p:not(.rt-eyebrow) { max-width: 520px; margin: 30px auto 0; color: var(--rt-muted); font-size: 19px; line-height: 1.6; }
.rt-final-cta .rt-download-button, .rt-final-cta .rt-app-store-badge-link { margin-top: 36px; }
.rt-final-cta .rt-app-store-badge-link { width: 180px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .9); }
.rt-final-cta small { margin-top: 18px; color: #858585; }
.reaction-timer-page .rt-footer { height: auto; margin: 0; padding: 40px 0 48px; border-top: 1px solid var(--rt-line); }
.reaction-timer-page .rt-footer .footer_text_2 { color: var(--rt-white); }
.reaction-timer-page .rt-copyright { margin-top: 6px; padding: 0; color: #8f8f8f !important; font-size: 14px; }

.rt-sticky-download { display: none; }

.rt-reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.rt-reveal.rt-visible { opacity: 1; transform: none; }

@keyframes rt-pulse { 0%, 100% { transform: rotate(8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.06); } }

@media (max-width: 980px) {
    .rt-section { padding: 100px 0; }
    .rt-hero-grid { grid-template-columns: 1.08fr .92fr; gap: 28px; }
    .rt-hero h1 { font-size: clamp(52px, 7vw, 64px); line-height: .98; letter-spacing: -.055em; }
    .rt-hero-device-frame { width: min(88%, 300px); }
    .rt-gameplay-grid { gap: 30px; }
    .rt-gameplay-shot { grid-template-columns: 1fr; }
    .rt-gameplay-shot figcaption { text-align: center; }
    .rt-modes-showcase { gap: 32px; padding: 46px 40px; }
    .rt-screenshot-frame { width: min(100%, 290px); }
    .rt-challenge-grid { gap: 38px; }
    .rt-devices-grid { gap: 50px; }
}

@media (max-width: 760px) {
    .rt-container { width: min(calc(100% - 32px), var(--rt-max)); }
    .rt-section { padding: 82px 0; }
    .rt-hero { min-height: auto; padding-top: 0; }
    .rt-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 0; }
    .rt-hero-copy { padding: 145px 0 18px; text-align: center; }
    .rt-app-lockup { top: 58px; justify-content: center; }
    .rt-hero h1 { font-size: clamp(48px, 11vw, 64px); line-height: .98; letter-spacing: -.055em; }
    .rt-hero-intro { margin: 26px auto 0; font-size: 17px; }
    .rt-hero-actions { flex-direction: column; gap: 16px; }
    .rt-download-button { width: min(100%, 300px); align-items: center; }
    .rt-proof-list { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 7px; margin: 36px auto 0; font-size: 13px; }
    .rt-proof-list li { min-height: 76px; padding: 9px 7px; border-radius: 13px; }
    .rt-proof-list strong { font-size: 17px; }
    .rt-hero-visual { min-height: 590px; margin: 0; overflow: hidden; }
    .rt-hero-device-frame { top: 50%; right: 50%; width: min(78%, 270px); transform: translate(50%, -50%); }
    .rt-section-heading, .rt-section-heading-centred { text-align: left; margin-left: 0; }
    .rt-section-heading h2, .rt-challenge-copy h2, .rt-devices-copy h2 { font-size: clamp(42px, 13vw, 62px); }
    .rt-section-heading > p:last-child, .rt-challenge-copy > p, .rt-devices-copy > p { font-size: 17px; }
    .rt-gameplay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 54px; align-items: start; }
    .rt-gameplay .rt-section-heading { margin-right: auto; text-align: center; }
    .rt-gameplay .rt-section-heading > p:last-child { margin-right: auto; margin-left: auto; }
    .rt-gameplay-frame { padding: 4px; border-radius: 28px; }
    .rt-gameplay-frame img { border-radius: 20px; }
    .rt-gameplay-shot figcaption strong { font-size: 18px; }
    .rt-gameplay-shot figcaption span { display: none; }
    .rt-modes .rt-section-heading { margin-right: auto; text-align: center; }
    .rt-modes .rt-section-heading > p:last-child { margin-right: auto; margin-left: auto; }
    .rt-mode-track { display: flex; gap: 8px; padding-bottom: 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
    .rt-mode-track::before { width: 982px; }
    .rt-mode { min-width: 190px; min-height: 220px; scroll-snap-align: start; }
    .rt-modes-showcase { grid-template-columns: 1fr; gap: 48px; margin-top: 58px; padding: 34px 22px; border-radius: 24px; }
    .rt-modes-showcase .rt-screenshot-frame { grid-row: 1; }
    .rt-modes-showcase .rt-modes-copy { grid-row: 2; }
    .rt-modes-copy { text-align: center; }
    .rt-modes-copy > p:last-child { margin-right: auto; margin-left: auto; }
    .rt-screenshot-frame { justify-self: center; width: min(100%, 280px); border-radius: 30px; }
    .rt-screenshot-frame img { border-radius: 22px; }
    .rt-score { margin-bottom: 30px; }
    .rt-challenge { padding-top: 82px; }
    .rt-challenge-grid { min-height: auto; grid-template-columns: 1fr; gap: 30px; }
    .rt-challenge-copy { grid-row: 1; padding: 0; text-align: center; }
    .rt-challenge-copy > p { margin-right: auto; margin-left: auto; }
    .rt-challenge-art { grid-row: 2; height: 520px; }
    .rt-benefit-list { grid-template-columns: 1fr; }
    .rt-benefit-list li, .rt-benefit-list li:first-child, .rt-benefit-list li:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid #d4d4d4; }
    .rt-benefit-list li:last-child { border-bottom: 0; }
    .rt-devices-grid { grid-template-columns: 1fr; gap: 50px; }
    .rt-devices-copy { text-align: center; }
    .rt-devices-copy > p { margin-right: auto; margin-left: auto; }
    .rt-device-list { justify-content: center; }
    .rt-final-cta { padding: 100px 0 120px; }
    .rt-final-cta h2 { font-size: clamp(66px, 20vw, 96px); }
    .rt-sticky-download { position: fixed; z-index: 970; left: 50%; right: auto; bottom: 10px; width: min(calc(100% - 20px), 480px); min-height: 62px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(17,17,17,.94); color: var(--rt-white); text-decoration: none; box-shadow: 0 12px 34px rgba(0,0,0,.48); transform: translate(-50%, calc(100% + 28px)); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    .rt-sticky-download.rt-sticky-visible { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
    .rt-sticky-download img { width: 44px; height: 44px; border-radius: 10px; }
    .rt-sticky-download span { display: flex; flex: 1; flex-direction: column; }
    .rt-sticky-download strong { font-size: 15px; }
    .rt-sticky-download small { color: var(--rt-muted); font-size: 12px; }
    .rt-sticky-download b { min-width: 58px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--rt-white); color: var(--rt-black); font-size: 14px; text-transform: uppercase; }
}

@media (max-width: 380px) {
    .rt-hero h1 { font-size: 46px; }
    .rt-hero-visual { min-height: 500px; }
    .rt-hero-device-frame { width: min(80%, 250px); }
    .rt-proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
    .rt-proof-list li { min-height: 72px; padding: 8px 5px; }
    .rt-challenge-art { height: 440px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rt-reveal { opacity: 1; transform: none; transition: none; }
    .rt-download-button, .rt-app-store-badge-link, .rt-sticky-download { transition: none; }
}
