/* Apple-inspired web layout, implemented with native CSS.
   DESIGN_VARIANCE: 6 / MOTION_INTENSITY: 4 / VISUAL_DENSITY: 3.
   Radius system: buttons 999px, feature surfaces 32px, hero backdrop 36px.
   Layers: header 10, skip-link 20; dialog uses the browser's top layer. */
:root {
  color-scheme: light;
  --page: #fbfbfd;
  --surface: #f2f3f6;
  --elevated: #fafbfc;
  --text: #1d1d1f;
  --secondary: #616672;
  --accent: #0068ce;
  --accent-hover: #0059b2;
  --line: #dce0e6;
  --stage-blue: #eaf1f9;
  --stage-gray: #eaecef;
  --stage-ice: #eef3f8;
  --glass: rgb(251 251 253 / 90%);
  --on-accent: #fbfbfd;
  --shadow: rgb(39 57 86 / 16%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #15171b; --surface: #1d2026; --elevated: #23272f;
    --text: #f3f4f7; --secondary: #b1b6c1; --accent: #80b8f5;
    --accent-hover: #99c7fc; --line: #363b46;
    --stage-blue: #222e3e; --stage-gray: #24282f; --stage-ice: #252e39;
    --glass: rgb(21 23 27 / 92%); --on-accent: #142135;
    --shadow: rgb(4 11 24 / 40%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #15171b; --surface: #1d2026; --elevated: #23272f;
  --text: #f3f4f7; --secondary: #b1b6c1; --accent: #80b8f5;
  --accent-hover: #99c7fc; --line: #363b46;
  --stage-blue: #222e3e; --stage-gray: #24282f; --stage-ice: #252e39;
  --glass: rgb(21 23 27 / 92%); --on-accent: #142135;
  --shadow: rgb(4 11 24 / 40%);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, ol, dl, dd { margin: 0; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 6px; }
[hidden] { display: none !important; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 9px 14px; background: var(--elevated); transform: translateY(-200%); z-index: 20; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 650; letter-spacing: -.5px; white-space: nowrap; }
.brand img { border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; white-space: nowrap; }
.site-nav a { color: var(--secondary); }
.site-nav a:hover, .site-footer a:hover { color: var(--accent); }
.theme-toggle { min-height: 32px; padding: 4px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: transparent; cursor: pointer; font-size: 12px; }
.theme-toggle:hover { background: var(--surface); }
.preview-notice { padding: 9px 20px; text-align: center; background: var(--surface); color: var(--secondary); font-size: 12px; }
.hero { padding-block: 64px 52px; text-align: center; }
.hero-copy { max-width: 760px; margin-inline: auto; padding-bottom: 50px; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .7px; margin-bottom: 24px; }
h1 { font-size: clamp(48px, 5.05vw, 68px); line-height: 1.2; letter-spacing: -2.4px; font-weight: 700; }
.hero-lead { margin-top: 24px; color: var(--secondary); font-size: 18px; line-height: 1.8; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 11px 29px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; font-size: 16px; font-weight: 500; transition: background-color .2s, transform .2s; }
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); }
.button:active { transform: scale(.98); }
.text-link, .inline-link { color: var(--accent); }
.text-link { font-size: 15px; white-space: nowrap; }
.text-link span { display: inline-block; margin-left: 3px; font-size: 21px; transition: transform .2s; }
.text-link:hover span { transform: translateX(3px); }
.hero-visual { min-width: 0; width: 100%; }
.hero-stage { position: relative; height: 650px; isolation: isolate; }
.stage-photo { position: absolute; width: 100%; height: 554px; top: 52px; border-radius: 36px; object-fit: cover; object-position: center 64%; opacity: .86; }
.device { position: absolute; border: 5px solid #344155; background: #344155; border-radius: 32px; overflow: hidden; box-shadow: 0 24px 44px -14px var(--shadow), 0 3px 10px var(--shadow); }
.device img { width: 100%; height: auto; border-radius: 25px; }
.device-front { width: 278px; left: calc(50% - 286px); top: 0; transform: rotate(-5deg); }
.device-back { width: 242px; right: calc(50% - 290px); top: 78px; transform: rotate(7deg); }
.features-section { background: var(--page); padding-block: 70px 56px; }
.section-intro { max-width: 740px; margin-bottom: 42px; }
h2 { font-size: clamp(32px, 3.9vw, 48px); line-height: 1.25; font-weight: 700; letter-spacing: -1.4px; }
.muted-heading { color: var(--secondary); }
.section-intro p { margin-top: 22px; color: var(--secondary); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature { position: relative; overflow: hidden; border-radius: 32px; }
.feature-copy { position: relative; }
.feature h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -.9px; }
.feature p { margin-top: 18px; color: var(--secondary); line-height: 1.85; max-width: 26ch; }
.feature-fitness { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 500px; background: var(--stage-blue); }
.feature-fitness .feature-copy { padding: 64px; }
.feature p.feature-detail { margin-top: 32px; font-size: 12px; max-width: none; }
.feature-image img { border-radius: 24px 24px 0 0; box-shadow: 0 15px 42px var(--shadow); }
.fitness-image { height: 500px; display: flex; justify-content: center; align-items: flex-start; padding-top: 38px; }
.fitness-image img { width: 302px; height: auto; }
.feature-theory, .feature-calendar { min-height: 640px; }
.feature-theory { background: var(--stage-gray); }
.feature-calendar { background: var(--stage-ice); }
.feature-theory .feature-copy, .feature-calendar .feature-copy { padding: 44px 44px 0; }
.feature-theory p, .feature-calendar p { max-width: 30ch; font-size: 15px; }
.theory-image, .calendar-image { height: 395px; margin-top: 32px; display: flex; justify-content: center; align-items: flex-start; }
.theory-image img, .calendar-image img { width: 276px; height: auto; }
.release-section { padding-block: 84px 76px; }
.release-heading h2 { font-size: 30px; letter-spacing: -.7px; }
.release-heading p { margin-top: 14px; color: var(--secondary); font-size: 15px; max-width: 44ch; }
.release-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; margin-bottom: 32px; }
.release-facts dt { font-size: 12px; color: var(--secondary); margin-bottom: 7px; }
.release-facts dd { font-size: 20px; font-weight: 550; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 23px; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
.disclosure-symbol { color: var(--secondary); font-size: 26px; font-weight: 350; line-height: 1; transition: transform .2s; flex: 0 0 auto; }
details[open] .disclosure-symbol { transform: rotate(45deg); }
.details-body { padding: 0 36px 23px 0; color: var(--secondary); font-size: 15px; line-height: 1.85; }
.release-notes { border-top: 1px solid var(--line); padding-top: 24px; }
.release-notes h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.release-notes ol { padding-left: 22px; }
.release-notes li + li { margin-top: 9px; }
.install-section { padding-block: 36px; }
.install-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding: 56px; background: var(--surface); border-radius: 32px; }
.install-intro > p:last-child { margin-top: 24px; color: var(--secondary); max-width: 25ch; font-size: 15px; }
.install-steps { list-style: none; padding: 0; display: grid; gap: 32px; }
.install-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 20px; }
.step-number { background: var(--page); color: var(--secondary); border: 1px solid var(--line); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; }
.install-steps h3 { font-size: 20px; font-weight: 600; }
.install-steps p { margin-top: 8px; color: var(--secondary); font-size: 14px; max-width: 38ch; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; padding-block: 98px; }
.faq-section h2 { font-size: 30px; letter-spacing: -.8px; }
.faq-list details:first-child summary { padding-top: 4px; }
.faq-list summary { font-size: 16px; }
.inline-link:hover { text-decoration: underline; }
.site-footer { background: var(--surface); color: var(--secondary); font-size: 12px; }
.footer-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-inner nav { display: flex; gap: 24px; }
.legal-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-bottom: 24px; font-size: 11px; line-height: 1.8; }
.legal-links a { display: inline-flex; align-items: center; gap: 5px; }
.legal-links img { flex: 0 0 16px; }
.download-dialog { border: 1px solid var(--line); border-radius: 28px; background: var(--elevated); color: var(--text); padding: 0; width: min(420px, calc(100% - 40px)); max-height: calc(100dvh - 48px); overflow: auto; }
.download-dialog::backdrop { background: rgb(12 20 34 / 36%); backdrop-filter: blur(4px); }
.dialog-content { padding: 36px; }
.dialog-icon { border-radius: 14px; margin-bottom: 24px; }
.dialog-content h2 { font-size: 25px; letter-spacing: -.5px; }
.dialog-content p { margin-top: 16px; color: var(--secondary); font-size: 15px; }
.dialog-content .button { margin-top: 28px; width: 100%; }
.noscript-note { padding-block: 24px; color: var(--secondary); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-visual { animation: settle .65s cubic-bezier(.16, 1, .3, 1) both; }
  .reveal.is-entering { animation: enter .65s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes settle { from { transform: translateY(12px); } to { transform: translateY(0); } }
  @keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--page); backdrop-filter: none; -webkit-backdrop-filter: none; } .download-dialog::backdrop { backdrop-filter: none; } }
@media (max-width: 1023px) and (min-width: 768px) {
  .shell { width: calc(100% - 64px); }
  h1 { font-size: 49px; letter-spacing: -1.7px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .hero-stage { height: 470px; }
  .stage-photo { height: 390px; top: 38px; }
  .device-front { width: 197px; left: calc(50% - 195px); top: 16px; }
  .device-back { width: 174px; right: calc(50% - 192px); top: 85px; }
  .feature-fitness .feature-copy { padding: 38px; }
  .feature-theory .feature-copy, .feature-calendar .feature-copy { padding: 34px 30px 0; }
  .install-layout, .faq-section { gap: 44px; }
  .install-layout { padding: 38px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 76px; }
  .shell { width: calc(100% - 40px); max-width: 560px; }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 28px; height: 28px; }
  .site-nav { gap: 16px; font-size: 11px; }
  .site-nav .overview-link, .site-nav > a[href^="https:"] { display: none; }
  .theme-toggle { min-height: 32px; padding-inline: 10px; font-size: 11px; }
  .preview-notice { font-size: 11px; padding-block: 8px; }
  .hero { padding-block: 42px 38px; }
  .hero-copy { padding-bottom: 38px; }
  .eyebrow { font-size: 12px; margin-bottom: 17px; }
  h1 { font-size: clamp(40px, 11.8vw, 54px); line-height: 1.22; letter-spacing: -1.7px; }
  .hero-lead { margin-top: 18px; margin-inline: auto; font-size: 15px; max-width: 28ch; line-height: 1.8; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 24px; gap: 20px; }
  .button { min-height: 48px; font-size: 15px; padding-inline: 24px; }
  .text-link { font-size: 13px; }
  .hero-visual { width: 100%; margin-inline: auto; }
  .hero-stage { height: 420px; }
  .stage-photo { top: 34px; height: 360px; border-radius: 28px; }
  .device { border-width: 4px; border-radius: 26px; }
  .device img { border-radius: 20px; }
  .device-front { width: 182px; top: 3px; left: 20px; }
  .device-back { width: 160px; top: 59px; right: 7px; }
  .features-section { padding-block: 58px 36px; }
  .section-intro { margin-bottom: 30px; }
  h2 { font-size: 34px; letter-spacing: -1px; }
  .section-intro p { font-size: 15px; margin-top: 17px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature { border-radius: 24px; }
  .feature-fitness { grid-template-columns: 1fr; min-height: 0; }
  .feature-fitness .feature-copy, .feature-theory .feature-copy, .feature-calendar .feature-copy { padding: 32px 28px 0; }
  .feature h3 { font-size: 28px; }
  .feature p { font-size: 14px; margin-top: 14px; max-width: 26ch; }
  .feature p.feature-detail { font-size: 11px; margin-top: 20px; }
  .fitness-image { height: 350px; padding-top: 26px; }
  .fitness-image img { width: 247px; }
  .feature-theory, .feature-calendar { min-height: 0; }
  .theory-image, .calendar-image { height: 338px; margin-top: 26px; }
  .theory-image img, .calendar-image img { width: 245px; }
  .release-section { padding-block: 56px; }
  .release-heading h2 { font-size: 27px; }
  .release-heading p { font-size: 14px; }
  .release-facts { gap: 12px; margin-block: 28px 24px; }
  .release-facts dt { font-size: 11px; }
  .release-facts dd { font-size: 15px; }
  summary { padding-block: 20px; }
  .details-body { font-size: 14px; }
  .install-section { padding-block: 24px; }
  .install-layout { grid-template-columns: 1fr; gap: 38px; padding: 32px 28px; border-radius: 24px; }
  .install-intro > p:last-child { margin-top: 18px; max-width: 30ch; font-size: 14px; }
  .install-steps { gap: 28px; }
  .install-steps li { grid-template-columns: 32px 1fr; gap: 15px; }
  .step-number { width: 32px; height: 32px; }
  .install-steps h3 { font-size: 18px; }
  .install-steps p { font-size: 14px; }
  .faq-section { grid-template-columns: 1fr; gap: 32px; padding-block: 58px; }
  .faq-section h2 { font-size: 27px; }
  .faq-list summary { font-size: 15px; }
  .footer-inner { flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding-block: 24px; font-size: 11px; }
  .dialog-content { padding: 28px; }
}
@media (max-width: 359px) {
  .shell { width: calc(100% - 32px); }
  .site-nav { gap: 12px; }
  .hero-actions { gap: 15px; }
  .hero-stage { height: 373px; }
  .device-front { width: 158px; left: 12px; }
  .device-back { width: 140px; right: 1px; }
  .stage-photo { height: 270px; }
  .release-facts { grid-template-columns: 1fr; gap: 18px; }
}
