/* BellRat website. Colours and type follow the "BellRat website design" canvas. */
:root {
  --bg: #101618;
  --bg-deep: #0B1012;
  --surface: #1B2427;
  --line: #2E393C;
  --line-strong: #3B4A4E;
  --line-btn: #4A5A5E;
  --text: #F4F8F6;
  --text-2: #C3CED0;
  --text-3: #A9B6B8;
  --prose: #D5DEDF;
  --orange: #FF8A1F;
  --orange-2: #FFA24A;
  --orange-3: #FFC07F;
  --teal: #4FD8D4;
  --lime: #D9F36B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Archivo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
main { overflow-x: clip; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { color: var(--orange-3); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wide { font-stretch: 125%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; }

/* Nav */
.nav { border-bottom: 1px solid var(--line); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); margin-right: auto; }
.brand:hover { color: var(--text); }
.brand span { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.nav a.link { color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav a.link:hover, .nav a.link[aria-current] { color: var(--text); }
.nav a.link[aria-current] { font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.btn.sm { min-height: 44px; font-size: 15px; padding: 0 20px; }
.solid { background: var(--orange); color: var(--bg); }
.solid:hover { background: var(--orange-2); color: var(--bg); }
.ghost { border: 1.5px solid var(--line-btn); color: var(--text); }
.ghost:hover { border-color: var(--text-3); color: var(--text); }
.dark { background: var(--bg); color: var(--text); justify-content: center; }
.dark:hover { background: #1F2A2D; color: var(--text); }

/* Shared type */
.eyebrow { margin: 0 0 14px; font-weight: 800; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.meta { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.h2 { margin: 0; font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -0.01em; }
.lede { margin: 20px 0 0; font-size: 19px; line-height: 1.55; color: var(--text-2); }
.orange { color: var(--orange); }
.teal { color: var(--teal); }
.lime { color: var(--lime); }

/* Phone frames */
.phone { position: relative; width: 280px; border-radius: 42px; padding: 10px; background: var(--bg-deep); border: 1.5px solid var(--line-strong); }
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.phone.lg { width: 300px; border-radius: 44px; }
.phone.lg img { border-radius: 34px; }

/* Live timer demo: the app's timer screen at 393 × 852 pt, scaled to the phone frame (--s set by timer-demo.js) */
.demo { position: relative; width: 100%; aspect-ratio: 393 / 852; border-radius: 34px; overflow: hidden; background: #0D1A1C; }
.demo-screen { position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform: scale(var(--s, 0.7)); transform-origin: 0 0; overflow: hidden; background: #0D1A1C; color: var(--text); transition: background-color .4s; }
.demo-ring { position: absolute; left: -60px; top: 199px; width: 510px; height: 510px; border-radius: 50%; border: 28px solid rgba(79, 216, 212, 0.22); transition: border-color .4s; }
.demo-status { position: relative; height: 59px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 50px; font: 600 17px/1 system-ui, -apple-system, sans-serif; }
.demo-island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.demo-body { position: relative; height: 793px; padding: 8px 24px 24px; display: flex; flex-direction: column; }
.demo-top { display: flex; align-items: center; }
.demo-round { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.07); display: flex; align-items: center; justify-content: center; color: var(--text); }
.demo-header { flex: 1; text-align: center; font-weight: 800; font-size: 15px; }
.demo-bars { display: flex; gap: 3px; margin-top: 14px; }
.demo-bars i { flex: 1; height: 5px; border-radius: 5px; background: var(--line); transition: background-color .3s; }
.demo-phase { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.demo-phase [data-phase] { font-weight: 800; font-size: 14px; font-stretch: 125%; }
.demo-phase [data-minute] { font-weight: 700; font-size: 13px; color: var(--text-2); }
.demo-big { font-weight: 900; font-size: 210px; line-height: 0.95; letter-spacing: -10.5px; font-stretch: 68%; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(244, 248, 246, 0.45); }
.demo-move { font-weight: 800; font-size: 30px; line-height: 1.05; font-stretch: 125%; white-space: nowrap; }
.demo-dose { margin-top: 6px; font-weight: 800; font-size: 22px; line-height: 1.35; color: var(--orange-2); }
.demo-panel { margin-top: 14px; height: 170px; border-radius: 26px; background: rgba(30, 40, 43, 0.85); border: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; }
.demo-panel canvas { display: block; width: 343px; height: 168px; }
.demo-cue { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.06); font-weight: 700; font-size: 14px; line-height: 1.35; }
.demo-cue svg { flex: none; transition: color .3s; }

/* Hero */
/* One centred column; two columns from 960px, where the copy sits left of the phone. */
.hero { display: grid; justify-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; text-align: center; }
.hero-copy { min-width: 0; max-width: 640px; }
.hero .stores { justify-content: center; }

.hero h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.02em; }
.hero .intro { margin: 28px auto 0; max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; scroll-margin-top: 24px; }
.stores .badges { gap: 14px; }
.stores-qr { display: block; width: 96px; height: 96px; border-radius: 10px; }

/* Store badges, drawn after the official black badges */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 9px; height: 56px; padding: 0 18px 0 14px; border-radius: 11px; background: #000; border: 1.5px solid #A6A6A6; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: nowrap; }
.badge:hover { color: #fff; border-color: #fff; }
.badge span { display: flex; flex-direction: column; line-height: 1; }
.badge small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; }
.badge b { margin-top: 2px; font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }
.badge-apple { width: 28px; height: 28px; margin-top: -3px; }
.badge-play { width: 28px; height: 30px; }

/* Download dialog */
.get-app { width: min(480px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.get-app::backdrop { background: rgba(6, 10, 11, 0.72); backdrop-filter: blur(3px); }
.get-app[open] { animation: get-app-in .2s ease-out; }
@keyframes get-app-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.get-app-inner { position: relative; padding: 44px 28px 32px; text-align: center; font-family: Archivo, system-ui, sans-serif; }
.get-app h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.get-app-sub { margin: 12px 0 28px; font-size: 17px; color: var(--text-2); }
.get-app-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.get-app-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.get-app-qr { margin-top: 32px; }
.get-app-qr img { display: block; margin: 0 auto; width: 150px; height: 150px; border-radius: 12px; }
.get-app-qr p { margin: 14px 0 0; font-size: 15px; color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .get-app[open] { animation: none; } }
@media (hover: none) and (pointer: coarse) { .stores-qr, .get-app-qr { display: none; } }
.small-note { margin: 18px 0 0; font-size: 14px; color: var(--text-3); }
.hero-art { width: 300px; display: flex; justify-content: center; position: relative; }
.ring { position: absolute; width: 420px; height: 420px; top: 90px; border-radius: 50%; border: 34px solid #4A2D14; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; text-align: left; }
  .hero-copy { max-width: none; }
  .hero .intro { margin-left: 0; }
  .hero .stores { justify-content: flex-start; }
}
/* Steps */
.steps { padding-top: 88px; padding-bottom: 88px; }
.steps .h2 { margin-bottom: 48px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { padding: 32px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.step .num { margin: 0; font-weight: 900; font-size: 48px; }
.step h3 { margin: 16px 0 8px; font-size: 22px; font-weight: 800; }
.step p:last-child { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }

/* Feature rows */
.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.feature.reverse { flex-wrap: wrap-reverse; }
.feature-copy { flex: 999 1 460px; min-width: 0; }
.feature-art { flex: 1 1 280px; display: flex; justify-content: center; }
.dash-list { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before { content: "—"; color: var(--orange); font-weight: 900; }
#moves { scroll-margin-top: 24px; }

/* Guide cards */
.section-head { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; margin-bottom: 40px; }
.section-head .h2 { margin-right: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); color: var(--text); }
a.card:hover { border-color: var(--line-strong); color: var(--text); }
.on-surface .card { background: var(--surface); }
.card-art { height: 200px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-art .mark { margin: 0; font-weight: 900; font-size: 72px; line-height: 1; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card-body .meta { margin: 0; }
.card-body h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; }
.card-body .blurb { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text-3); }
.soon { align-self: flex-start; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--text-3); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; }
.dot { border-radius: 50%; background: var(--lime); }
.bg-orange { background: #18120D; }
.bg-teal { background: #0D1A1C; }
.bg-lime { background: #161A0E; }

/* Pro */
#pro { padding-top: 104px; padding-bottom: 104px; scroll-margin-top: 24px; }
.pro { border-radius: 32px; padding: 56px; background: var(--orange); color: var(--bg); display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.pro h2 { margin: 0; font-weight: 900; font-size: 44px; line-height: 1.05; letter-spacing: -0.01em; }
.pro p { margin: 16px 0 0; font-size: 19px; line-height: 1.5; max-width: 560px; }
.pro .prices { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.pro .prices p { margin: 0; font-size: 18px; font-weight: 700; }
.pro .btn { margin-top: 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; padding-top: 40px; padding-bottom: 56px; font-size: 15px; }
footer .name { font-weight: 800; margin-right: auto; }
footer a { color: var(--text-2); }
footer a:hover { color: var(--text); }
footer small { width: 100%; color: var(--text-3); font-size: 13px; }

/* Guides index */
.page-head { padding-top: 72px; padding-bottom: 40px; }
.page-head h1 { margin: 0; font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.page-head p { margin: 20px 0 0; max-width: 620px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; background: transparent; color: var(--text-2); border: 1.5px solid var(--line-strong); }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.featured { display: flex; flex-wrap: wrap; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.featured:hover { border-color: var(--line-strong); color: var(--text); }
.featured img { flex: 1 1 420px; min-width: 0; height: 400px; object-fit: cover; }
.featured div { flex: 1 1 380px; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured h2 { margin: 0; font-weight: 800; font-size: 36px; line-height: 1.1; }
.featured p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.featured .meta { color: var(--orange); }
.featured .go { font-weight: 700; color: var(--orange-2); }
.cards .card-art { height: 150px; justify-content: flex-start; padding: 0 28px; }
.cards .card-art .mark { font-size: 44px; }
.cards .card-body h3 { font-size: 21px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.cta div { flex: 999 1 420px; }
.cta h2 { margin: 0; font-weight: 800; font-size: 32px; }
.cta p { margin: 10px 0 0; font-size: 18px; color: var(--text-2); }

/* Article */
.article-head { max-width: 880px; margin: 0 auto; padding: 56px 24px 40px; }
.crumbs { margin: 0 0 24px; font-size: 15px; color: var(--text-3); }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.article-head h1 { margin: 0; font-weight: 900; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.article-head .standfirst { margin: 24px 0 0; font-size: 21px; line-height: 1.5; color: var(--text-2); }
.article-head .byline { margin: 28px 0 0; font-size: 15px; color: var(--text-3); }
.cover { display: block; width: 100%; height: 520px; object-fit: cover; border-radius: 28px; }
.article-body { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-top: 64px; padding-bottom: 40px; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; font-weight: 600; position: sticky; top: 24px; }
.toc p { margin: 0 0 4px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); font-weight: 800; }
.toc a { color: var(--text-3); }
.toc a:hover { color: var(--text); }
.prose { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.prose p { margin: 0 0 20px; font-size: 19px; line-height: 1.7; color: var(--prose); }
.prose h2 { margin: 56px 0 18px; font-size: 30px; line-height: 1.15; font-weight: 800; font-stretch: 125%; color: var(--text); scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose b { color: var(--text); }
.step-list { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.step-list li { display: flex; gap: 18px; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 18px; line-height: 1.55; color: var(--prose); }
.step-list li > span:first-child { font-weight: 900; font-size: 26px; line-height: 1.1; color: var(--orange); min-width: 28px; font-stretch: 125%; }
.in-app { margin: 40px 0; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.in-app .shot { flex: 1 1 220px; display: flex; justify-content: center; padding: 28px 0 0; }
.in-app .shot div { width: 200px; height: 300px; overflow: hidden; border-radius: 32px 32px 0 0; padding: 8px 8px 0; background: var(--bg-deep); border: 1.5px solid var(--line-strong); border-bottom: 0; }
.in-app .shot img { display: block; width: 100%; border-radius: 24px 24px 0 0; }
.in-app figcaption { flex: 1 1 280px; padding: 32px; }
.in-app figcaption p { font-size: 16px; line-height: 1.55; color: var(--text-2); margin: 0 0 20px; }
.in-app figcaption .eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.12em; color: var(--teal); }
.in-app figcaption .title { margin: 0 0 10px; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--text); font-stretch: 125%; }
.workout { margin: 0 0 20px; padding: 28px; border-radius: 24px; background: #0D1A1C; border: 1px solid #1F3A3C; }
.prose .workout .title { margin: 0; font-size: 26px; font-weight: 900; color: var(--teal); font-stretch: 125%; line-height: 1.2; }
.prose .workout .how { margin: 10px 0 18px; font-size: 17px; line-height: 1.55; }
.workout .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.workout .grid div { padding: 16px 18px; border-radius: 14px; background: var(--bg); }
.prose .workout .grid p { margin: 0; font-size: 14px; color: var(--text-3); line-height: 1.4; }
.prose .workout .grid p + p { margin-top: 4px; font-size: 19px; font-weight: 800; color: var(--text); }
.more { padding-top: 40px; padding-bottom: 96px; }
.more h2 { margin: 0 0 28px; font-weight: 800; font-size: 30px; }
.more .card { padding: 28px; background: var(--surface); }
.more .card .meta { margin: 0 0 10px; }
.more .card p:last-child { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.25; }

@media (max-width: 640px) {
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .ring { width: 320px; height: 320px; border-width: 26px; }
  .h2 { font-size: 32px; }
  .pro { padding: 36px 28px; }
  .pro h2 { font-size: 36px; }
  .featured img { height: 240px; }
  .featured div { padding: 28px; }
  .cover { height: 260px; border-radius: 20px; }
  .toc { position: static; }
  .nav nav { gap: 12px 20px; }
}
@media (max-width: 480px) {
  .nav .btn { display: none; }
}

/* Legal and help pages */
.legal .prose ul { margin: 0 0 20px; padding-left: 22px; }
.legal .prose li { margin: 0 0 10px; font-size: 18px; line-height: 1.6; color: var(--prose); }
.legal .prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal .byline .btn { text-decoration: none; }
.faq { display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-size: 18px; font-weight: 800; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 600; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 22px; font-size: 17px; }
.legal .article-body:not(:has(.toc)) { justify-content: center; padding-top: 24px; }
.legal .article-body:not(:has(.toc)) .prose { max-width: 832px; }
