@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/barlow/BarlowSemiCondensed-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --ink: #151e27;
  --body: #45515a;
  --blue: #234fdf;
  --lime: #d6fa80;
  --rule: #d2d7d1;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, fieldset { margin: 0; }
body { line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #ce4900; outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - clamp(36px, 9vw, 144px))); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: white; padding: .7rem 1rem; }

.mast { border-bottom: 1px solid var(--rule); }
.mast-inner, .mast nav, .brand, .actions, .text-link, .footer nav { display: flex; align-items: center; }
.mast-inner { min-height: 75px; justify-content: space-between; gap: 20px; }
.brand { width: fit-content; gap: 10px; }
.brand span { font: italic 800 30px/.95 var(--display); letter-spacing: -.035em; }
.brand img { flex: none; }
.mast nav { gap: clamp(16px, 2.8vw, 42px); font-size: .92rem; font-weight: 650; }
.mast nav a, .footer nav a { padding-block: 9px; }
.mast .source { padding-inline-start: clamp(13px, 2.5vw, 33px); border-inline-start: 1px solid var(--rule); }
.source span, .text-link span { color: var(--blue); }
nav a:hover, .text-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(30px, 6vw, 94px); align-items: center; padding-block: clamp(32px, 4.6vw, 70px); }
.intro { min-width: 0; }
.platform { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #35434a; font-size: .83rem; }
.platform::before { content: ""; width: 27px; height: 4px; background: var(--blue); transform: skewX(-25deg); }
h1 { margin: 1.35rem 0 1.5rem; font-size: clamp(4.6rem, 6.8vw, 6.8rem); letter-spacing: -.065em; line-height: 1.06; font-weight: 850; }
h1 span { display: block; width: fit-content; color: var(--blue); font: italic 800 clamp(5.2rem, 8.7vw, 8.25rem)/.86 var(--display); letter-spacing: -.045em; padding: 0 .08em .085em 0; }
.lead { font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.45; font-weight: 750; letter-spacing: -.035em; }
.summary { max-width: 31em; margin-top: .85rem; font-size: 1rem; line-height: 1.9; color: var(--body); }
.actions { gap: clamp(15px, 2.3vw, 32px); flex-wrap: wrap; margin-top: 1.8rem; }
.download { display: inline-flex; align-items: center; gap: 12px; border-radius: 8px; background: var(--blue); color: #fff; padding: 13px 21px; font-weight: 700; }
.download:hover { background: #163bb8; }
.download-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 21px; padding-bottom: 4px; border-bottom: 2px solid; font-size: 22px; line-height: 1; }
.text-link { width: fit-content; gap: .45rem; font-size: .91rem; font-weight: 700; }
.install-note { margin-top: .85rem; color: #5b686b; font-size: .78rem; }
.install-note span { margin-inline: .35em; color: #84918f; }

.preview {
  position: relative; isolation: isolate; overflow: hidden; border: 0; min-width: 0;
  height: clamp(484px, 39vw, 555px); padding: 18px 23px 20px; border-radius: 18px;
  display: flex; flex-direction: column;
  background: linear-gradient(146deg, #345fed 0%, #244eda 48%, #193bbb 100%); color: white;
}
.poster-head { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; font-weight: 650; letter-spacing: .04em; }
.poster-head span:last-child { font-family: ui-monospace, Consolas, monospace; letter-spacing: .025em; }
.track { position: absolute; z-index: -1; width: 130%; height: 45%; left: -11%; top: 31%; transform: rotate(-34deg); }
.track i { position: absolute; inset: var(--lane, 0); border: 1.3px solid rgb(222 235 255 / 44%); border-radius: 999px; }
.track i:nth-child(2) { --lane: 12px; }
.track i:nth-child(3) { --lane: 24px; }
.track i:nth-child(4) { --lane: 36px; }
.track i:nth-child(5) { --lane: 48px; }
.track i:nth-child(6) { --lane: 60px; }
.track i:nth-child(3)::after, .track i:nth-child(5)::after {
  content: ""; position: absolute; left: 22%; top: -3px; width: 12%; height: 5px; border-radius: 4px; background: var(--lime);
}
.track i:nth-child(5)::after { inset: auto 22% -3px auto; width: 5%; }
.device-space { position: relative; display: grid; place-items: center; flex: 1; min-height: 0; }
.device {
  position: relative; width: clamp(187px, 15.1vw, 218px); aspect-ratio: 9 / 16; box-sizing: content-box;
  border: 5px solid #1c2935; border-radius: 21px; background: #1c2935;
  transform: rotate(8deg); box-shadow: 1px 1px 0 2px #8b9caf, 4px 4px 0 2px #132032, 14px 20px 24px #09286570;
}
.device::before { content: ""; position: absolute; width: 3px; height: 13%; right: -8px; top: 25%; background: #536477; }
.device a { display: none; height: 100%; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.device img { width: 100%; height: auto; }
#screen-loop:checked ~ .device-space .shot-loop, #screen-stride:checked ~ .device-space .shot-stride,
#screen-relay:checked ~ .device-space .shot-relay, #screen-more:checked ~ .device-space .shot-more { display: block; }
.switcher { align-self: center; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 302px); border-radius: 30px; padding: 4px; background: #10329c; }
.switcher label { cursor: pointer; text-align: center; border-radius: 20px; padding: 7px 4px; color: white; font-weight: 650; font-size: .85rem; }
.switcher label:hover { background: #2246b3; }
#screen-loop:checked ~ .switcher [for="screen-loop"], #screen-stride:checked ~ .switcher [for="screen-stride"],
#screen-relay:checked ~ .switcher [for="screen-relay"], #screen-more:checked ~ .switcher [for="screen-more"] { background: var(--lime); color: #142916; }
#screen-loop:focus-visible ~ .switcher [for="screen-loop"], #screen-stride:focus-visible ~ .switcher [for="screen-stride"],
#screen-relay:focus-visible ~ .switcher [for="screen-relay"], #screen-more:focus-visible ~ .switcher [for="screen-more"],
.device a:focus-visible { outline: 3px solid white; outline-offset: 2px; }

.features { padding-block: clamp(30px, 4vw, 58px) clamp(52px, 6.4vw, 94px); border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); letter-spacing: -.055em; line-height: 1.2; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.feature-grid article { padding: 26px clamp(17px, 2.5vw, 40px) 30px; }
.feature-grid article + article { border-left: 1px solid var(--rule); }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article:last-child { padding-right: 0; }
.feature-top { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; color: var(--blue); }
.module { font-size: .86rem; font-weight: 700; }
.module i { margin-left: .3ch; font: italic 800 1.17em var(--display); }
.glyph { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 31px; height: 28px; flex: none; }
.loop-glyph::before { content: ""; width: 22px; height: 22px; border: 2.5px solid; border-top-color: transparent; border-radius: 50%; transform: rotate(-25deg); }
.loop-glyph::after { content: ""; position: absolute; right: 4px; top: 1px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wave-glyph { gap: 3px; }
.wave-glyph i { width: 3px; height: 7px; background: currentColor; border-radius: 2px; }
.wave-glyph i:nth-child(2), .wave-glyph i:nth-child(4) { height: 17px; }
.wave-glyph i:nth-child(3) { height: 26px; }
.relay-glyph { transform: rotate(-27deg); }
.relay-glyph::before { content: ""; position: absolute; width: 20px; height: 2px; background: currentColor; }
.relay-glyph i { position: absolute; width: 10px; height: 10px; border: 2.5px solid; border-radius: 50%; background: var(--paper); }
.relay-glyph i:first-child { left: 0; }
.relay-glyph i:last-child { right: 0; }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.65rem); line-height: 1.4; letter-spacing: -.035em; margin-bottom: 10px; }
.feature-grid p, .faq p, .faq li { font-size: .96rem; line-height: 1.9; }
.feature-grid p { color: var(--body); }

.guide { background: #152637; color: #f4f8fb; }
.guide-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7%; padding-block: clamp(43px, 6vw, 86px); }
.guide-intro { margin-top: 21px; line-height: 1.9; color: #dde4eb; }
.requirements { margin-top: 28px; font-size: .85rem; }
.requirements div { display: flex; gap: 12px; margin-top: 5px; }
.requirements dt { width: 104px; font-weight: 700; color: var(--lime); }
.requirements dd { color: #dbe3ed; }
.faq details { border-bottom: 1px solid #50606b; }
.faq details:first-child { border-top: 1px solid #50606b; }
.faq summary { list-style: none; display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 17px 0; cursor: pointer; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font: 400 21px/1 monospace; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--lime); }
.faq p, .faq ol { color: #dbe3ed; margin: -2px 0 19px; }
.faq ol { padding-left: 1.55rem; }
.faq li::marker { color: var(--lime); font-weight: 650; }
.footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-block: 30px; }
.footer .brand span { font-size: 23px; }
.footer p { margin-top: 8px; font-size: .78rem; color: var(--body); }
.footer nav { gap: 22px; font-size: .88rem; font-weight: 650; }

@media (max-width: 780px) {
  .hero { gap: 24px; grid-template-columns: 1fr 1fr; }
  h1 { font-size: 4.45rem; }
  h1 span { font-size: 5.1rem; }
  .actions { gap: 14px; }
  .preview { padding-inline: 14px; }
  .feature-grid article { padding-inline: 16px; }
  .guide-inner { gap: 4%; }
}
@media (max-width: 650px) {
  .mast-inner { min-height: 63px; gap: 10px; }
  .brand { gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 24px; }
  .mast nav { gap: 13px; font-size: .82rem; }
  .mast .source { padding-inline-start: 12px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 34px; }
  h1 { margin: .9rem 0 1.15rem; font-size: clamp(3.9rem, 12.5vw, 5rem); }
  h1 span { font-size: clamp(5.2rem, 17vw, 7.25rem); }
  .lead { font-size: 1.4rem; }
  .summary { font-size: .95rem; }
  .actions { margin-top: 1.3rem; }
  .preview { height: 446px; padding: 14px 16px; border-radius: 14px; }
  .device { width: 170px; }
  .switcher { max-width: 265px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:first-child, .feature-grid article:last-child { padding: 22px 0; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--rule); }
  .feature-top { margin-bottom: 8px; }
  .guide-inner { grid-template-columns: 1fr; gap: 30px; }
  .guide-intro { margin-top: 14px; }
  .requirements { margin-top: 16px; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 365px) {
  .mast .source { border: 0; padding-inline-start: 0; }
  .mast nav { gap: 10px; }
  .mast nav .source span { display: none; }
}
