:root {
  color-scheme: light;
  --paper: #f7f8fc;
  --surface: #fff;
  --ink: #101827;
  --muted: #4a5a70;
  --blue: #1047df;
  --blue-hover: #0736b9;
  --line: #dbe3f1;
  --tint: #edf3ff;
  font-family:
    'PingFang SC',
    'Microsoft YaHei',
    -apple-system,
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
ol,
fieldset {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--blue-hover);
}
:where(a, button, summary):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
h2 {
  font-size: clamp(1.9rem, 4.1vw, 3.4rem);
  letter-spacing: -0.055em;
}
h3 {
  font-size: 1.16rem;
}
section[id] {
  scroll-margin-top: 1rem;
}

.wrap {
  width: min(92%, 1280px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: var(--surface);
}
.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
}
.header-inner,
.site-header nav,
.brand,
.button,
.guide-link {
  display: flex;
  align-items: center;
}
.header-inner {
  justify-content: space-between;
  min-height: 72px;
  gap: 0.75rem;
}
.brand {
  flex: none;
  gap: 0.5rem;
  color: var(--ink);
  font:
    750 1.65rem/1 system-ui,
    sans-serif;
  letter-spacing: -0.07em;
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.site-header nav {
  gap: clamp(0.85rem, 2.9vw, 2.2rem);
}
.site-header nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a:hover {
  color: var(--blue);
}
.site-header nav .nav-download {
  padding: 0.48rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
}
.site-header nav .nav-download:hover {
  border-color: var(--blue);
}

.hero {
  display: grid;
  justify-items: center;
  padding-block: clamp(2.55rem, 4.6vw, 4.5rem) clamp(1.9rem, 3vw, 2.75rem);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.85rem, 7.8vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.095em;
  text-wrap: balance;
}
.hero h1 strong {
  font-weight: inherit;
  color: var(--blue);
}
.hero p {
  margin-block: 0.95rem 1.3rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.35rem);
}

/* Motion Prompt #001-024 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#001
   Motion Prompt #005 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#005 */
@media screen and (prefers-reduced-motion: no-preference) {
  .hero :is(h1, p) {
    overflow: clip;
  }
  .hero-line {
    display: block;
    animation: hero-reveal 650ms var(--reveal-ease) 350ms backwards;
    --reveal-offset: max(120px, 100%);
    --reveal-ease: linear(0, 0.41 10%, 0.672 20%, 0.832 30%, 0.922 40%, 0.969 50%, 0.998 70%, 1);
  }
  .hero p .hero-line {
    --reveal-offset: min(-60px, -100%);
    animation-duration: 600ms;
    animation-delay: 550ms;
  }
  @keyframes hero-reveal {
    from {
      transform: translateY(var(--reveal-offset));
    }
    to {
      transform: translateY(0);
    }
  }
}

/* Motion Prompt #073-096 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#073
   Motion Prompt #086 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#086
   Motion Prompt #093 · MIT License (c) 2026 Shohei Ohtaki · https://showheyohtaki.github.io/motion-prompt/#093 */
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .site-header nav a:not(.nav-download) {
    position: relative;
  }
  .site-header nav a:not(.nav-download)::after {
    content: '';
    position: absolute;
    inset: auto 0 -4px;
    height: 3px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms cubic-bezier(0.3333, 1, 0.6667, 1);
  }
  .site-header nav a:is(:focus-visible, :hover)::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}
.button,
.guide-link {
  min-height: 48px;
  gap: 0.55rem;
  justify-content: center;
  font-weight: 700;
}
.button {
  padding: 0.62rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 2.5rem;
  text-decoration: none;
  transition:
    background-color 180ms,
    color 180ms,
    transform 180ms;
  color: white;
  background: var(--blue);
}
.button:hover {
  color: white;
  background: var(--blue-hover);
  transform: translateY(-2px);
}
.button img {
  filter: brightness(0) invert(1);
}
.guide-link {
  width: fit-content;
}

.experience {
  margin-bottom: clamp(2.8rem, 5.6vw, 5rem);
}
.showcase {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
}
.showcase-shell {
  overflow: clip;
  padding: clamp(1.05rem, 2.6vw, 2.15rem);
  border-radius: clamp(1.15rem, 2.6vw, 2rem);
  color: #fff;
  background:
    radial-gradient(ellipse at 65% 118%, #4d87ff 0%, transparent 62%),
    radial-gradient(circle at 1px 1px, #afc6ff30 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(138deg, #10215d 1%, #143bbc 57%, #2059f6);
  box-shadow: 0 28px 58px -34px #153eabc0;
}
#mode-mobile:checked ~ .showcase-shell {
  background:
    radial-gradient(ellipse at 80% 130%, #5296ff 0%, transparent 72%),
    radial-gradient(circle at 1px 1px, #afc6ff30 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(140deg, #142759, #1c51c0 75%);
}
#mode-chat:checked ~ .showcase-shell {
  background:
    radial-gradient(ellipse at 65% 112%, #528afa 0%, transparent 56%),
    radial-gradient(circle at 1px 1px, #afc6ff30 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(140deg, #131e59, #253fb0 75%);
}
.showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}
.showcase-head h2 {
  font-size: clamp(1.15rem, 2.3vw, 1.85rem);
  letter-spacing: -0.045em;
}
.mode-controls {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid #ffffff45;
  border-radius: 2rem;
  background: #091b6133;
}
.mode-controls label {
  display: grid;
  min-height: 44px;
  padding: 0.45rem clamp(0.62rem, 1.5vw, 1.13rem);
  place-items: center;
  border-radius: 1.5rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  transition:
    color 160ms,
    background-color 160ms;
}
.mode-controls label:hover {
  background-color: #ffffff25;
}
#mode-desktop:checked ~ .showcase-shell label[for='mode-desktop'],
#mode-mobile:checked ~ .showcase-shell label[for='mode-mobile'],
#mode-chat:checked ~ .showcase-shell label[for='mode-chat'] {
  color: #133b93;
  background: white;
  box-shadow: 0 4px 16px #091b6138;
}
#mode-desktop:focus-visible ~ .showcase-shell label[for='mode-desktop'],
#mode-mobile:focus-visible ~ .showcase-shell label[for='mode-mobile'],
#mode-chat:focus-visible ~ .showcase-shell label[for='mode-chat'] {
  outline: 3px solid #d7e6ff;
  outline-offset: 2px;
}
.mode-view {
  display: none;
}
#view-desktop,
#mode-mobile:checked ~ .showcase-shell #view-mobile,
#mode-chat:checked ~ .showcase-shell #view-chat {
  display: block;
}
:is(#mode-mobile, #mode-chat):checked ~ .showcase-shell #view-desktop {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .mode-view {
    animation: scene-in 380ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
  }
}
@keyframes scene-in {
  from {
    opacity: 0;
    transform: translateY(0.65rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transfer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(3.2rem, 8.5vw, 7.7rem) minmax(0, 1fr);
  align-items: center;
}
.endpoint {
  min-width: 0;
}
.transfer-route {
  position: relative;
  min-height: 3.25rem;
  background: linear-gradient(#9dc6ff80, #9dc6ff80) center / 100% 2px no-repeat;
}
.route-packet {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.45rem;
  aspect-ratio: 1;
  place-items: center;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 1px solid #cbdcff;
  border-radius: 0.8rem;
  background: white;
  box-shadow: 0 5px 24px #15246c94;
}
.scroll-route {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .showcase:not(:has(> input:checked)) label[for='mode-desktop'] {
    color: #133b93;
    background: white;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .showcase-shell {
    --scene-hold: 6s;
    --scene-cycle: calc(3 * var(--scene-hold));
  }
  .showcase:not(:has(> input:checked)) .showcase-content {
    display: grid;
  }
  .showcase:not(:has(> input:checked)) .mode-view {
    display: block;
    grid-area: 1 / 1;
    min-width: 0;
    visibility: hidden;
    animation: show-rotation var(--scene-cycle) step-end var(--scene-delay, 0s) infinite;
  }
  .showcase:not(:has(> input:checked)) .mode-controls label {
    animation: mark-rotation var(--scene-cycle) step-end var(--scene-delay, 0s) infinite;
  }
  #view-mobile,
  label[for='mode-mobile'] {
    --scene-delay: calc(-2 * var(--scene-hold));
  }
  #view-chat,
  label[for='mode-chat'] {
    --scene-delay: calc(-1 * var(--scene-hold));
  }
  .showcase-shell:has(.showcase-content:focus-within) {
    --rotation-state: paused;
  }
  @media (hover: hover) {
    .showcase-shell:has(.showcase-content:hover) {
      --rotation-state: paused;
    }
  }
  .showcase:not(:has(> input:checked)) :is(.mode-view, .mode-controls label) {
    animation-play-state: var(--rotation-state, running);
  }
  @keyframes show-rotation {
    0% {
      visibility: visible;
    }
    33.333333%,
    100% {
      visibility: hidden;
    }
  }
  @keyframes mark-rotation {
    0% {
      color: #133b93;
      background-color: white;
    }
    33.333333%,
    100% {
      color: white;
      background-color: transparent;
    }
  }
}
.alternate-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 5vw, 4rem);
  min-height: 320px;
}
.alternate-copy h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.5rem, 3.85vw, 3.2rem);
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.alternate-copy p {
  max-width: 30ch;
  color: #e6efff;
}
.scan-steps {
  display: grid;
  gap: 0.5rem;
}
.scan-steps details {
  border: 1px solid #ffffff65;
  border-radius: 0.95rem;
  color: var(--ink);
  background: #f6f9ff;
}
.scan-steps summary {
  display: flex;
  min-height: 48px;
  gap: 0.65rem;
  align-items: center;
  padding: 0.6rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.scan-steps summary::-webkit-details-marker {
  display: none;
}
.scan-steps summary::after {
  margin-left: auto;
  color: var(--blue);
  content: '+';
}
.scan-steps details[open] summary::after {
  content: '−';
}
.step-index {
  display: grid;
  flex: 0 0 1.8rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #e4edff;
  font:
    700 0.85rem/1 system-ui,
    sans-serif;
}
.scan-steps p {
  padding: 0 0.85rem 0.85rem 3.3rem;
  color: var(--muted);
}

.screen {
  overflow: clip;
  border: 1px solid #9ab2e9;
  border-radius: clamp(0.65rem, 1.1vw, 1rem);
  background: #fff;
  box-shadow: 0 17px 38px -27px #021039;
  transition:
    border-color 300ms,
    box-shadow 300ms;
}
.screen:hover {
  box-shadow: 0 18px 44px -24px #021039;
}
.screen-open,
.screen-fallback {
  width: 100%;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: zoom-in;
  text-decoration: none;
}
.screen-open,
.screen-lightbox {
  display: none;
}
.screen-fallback {
  display: block;
}
.screen-open:focus-visible,
.screen-fallback:focus-visible {
  outline-offset: -4px;
}
.screen-bar {
  display: flex;
  min-height: 2.55rem;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: #f5f8ff;
  font-size: clamp(0.76rem, 1.12vw, 0.92rem);
}
.screen-bar span {
  color: var(--blue);
  white-space: nowrap;
}
.screen :is(.screen-open, .screen-fallback) > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.1;
  object-fit: contain;
  object-position: top;
}
#view-chat .screen :is(.screen-open, .screen-fallback) > img {
  aspect-ratio: 2;
}

@supports selector(:popover-open) {
  .screen-fallback {
    display: none;
  }
  .screen-open {
    display: block;
  }
  .screen-lightbox:popover-open {
    display: block;
    width: min(94vw, 70rem);
    max-height: 90vh;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: var(--ink);
    background: var(--surface);
  }
  .screen-lightbox::backdrop {
    background: #111e3be0;
  }
  .screen-lightbox > img {
    width: 100%;
    height: auto;
  }
  .lightbox-bar {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid var(--line);
  }
  .lightbox-bar button {
    min-height: 44px;
    padding-inline: 0.6rem;
    border: 0;
    border-radius: 0.5rem;
    color: var(--blue);
    background: var(--tint);
    cursor: pointer;
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 64px;
  }
  .header-inner .brand {
    font-size: 1.33rem;
  }
  .header-inner .brand img {
    width: 32px;
    height: 32px;
  }
  .hero p br {
    display: none;
  }
  .showcase-head {
    display: grid;
  }
  .mode-controls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mode-controls label {
    padding-inline: 0.27rem;
    text-align: center;
  }
  .alternate-layout {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .transfer-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .transfer-route {
    min-height: 2.4rem;
    width: 100%;
    background-size: 2px 100%;
  }
  .route-packet {
    top: 50%;
    left: 50%;
    width: 1.86rem;
    border-radius: 0.5rem;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}
@media (max-width: 360px) {
  .site-header nav {
    gap: 0.55rem;
  }
  .site-header nav a {
    font-size: 0.79rem;
  }
  .site-header nav .nav-download {
    padding-inline: 0.65rem;
  }
}
@property --handoff-progress {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}
@supports (view-timeline-name: --handoff) and (animation-range: exit-crossing 0px exit-crossing 1px) {
  @media (min-width: 920px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
    .experience {
      --handoff-top: 1.65rem;
      --handoff-travel: clamp(20rem, 52svh, 30rem);
      --handoff-range: exit-crossing 0px exit-crossing var(--handoff-travel);
      view-timeline-name: --handoff;
      view-timeline-inset: var(--handoff-top) 0;
    }
    .experience::after {
      display: block;
      height: var(--handoff-travel);
      content: '';
    }
    .showcase {
      position: sticky;
      top: var(--handoff-top);
    }
    #view-desktop .screen :is(.screen-open, .screen-fallback) > img {
      max-height: min(34svh, 16rem);
    }
    .transfer-route .route-packet {
      display: none;
    }
    .scroll-route {
      --file-chip-size: 2.75rem;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: calc(var(--file-chip-size) / 2 + 0.875rem);
      min-height: var(--file-chip-size);
      margin-top: 1rem;
      color: #e1ebff;
      font-size: 0.78rem;
      font-weight: 700;
    }
    .scroll-track {
      position: relative;
      height: 3px;
      border-radius: 2rem;
      background: #b0cbff59;
    }
    .scroll-track::before {
      display: block;
      width: 100%;
      height: 100%;
      transform: scaleX(var(--handoff-progress));
      transform-origin: left;
      border-radius: inherit;
      background: #e0edff;
      box-shadow: 0 0 1rem #93b9ff;
      content: '';
    }
    .scroll-file {
      position: absolute;
      top: 50%;
      inset-inline: 0;
      height: var(--file-chip-size);
      clip-path: inset(0 calc(100% - var(--file-chip-size)) 0 0);
      transform: translate(calc(var(--handoff-progress) - var(--file-chip-size) / 2), -50%);
      filter: drop-shadow(0 2px 3px #071e6699);
      pointer-events: none;
    }
    .scroll-file-icons {
      width: var(--file-chip-size);
      height: auto;
      animation: file-icon-type ease-in-out both;
      animation-timeline: --handoff;
      animation-range: var(--handoff-range);
    }
    .scroll-route {
      animation: file-handoff cubic-bezier(0.42, 0.08, 0.58, 0.92) both;
      animation-timeline: --handoff;
      animation-range: var(--handoff-range);
    }
    #view-desktop .endpoint-destination .screen {
      animation: receive-focus linear both;
      animation-timeline: --handoff;
      animation-range: var(--handoff-range);
    }
    body::before {
      position: fixed;
      z-index: 2;
      inset: 0 0 auto;
      height: 3px;
      transform-origin: left;
      background: var(--blue);
      pointer-events: none;
      content: '';
      animation: reading-progress linear both;
      animation-timeline: scroll(root block);
    }
    @keyframes file-handoff {
      from {
        --handoff-progress: 0%;
      }
      to {
        --handoff-progress: 100%;
      }
    }
    @keyframes file-icon-type {
      0%,
      24% {
        transform: translateY(0);
      }
      31%,
      46% {
        transform: translateY(-25%);
      }
      53%,
      68% {
        transform: translateY(-50%);
      }
      75%,
      100% {
        transform: translateY(-75%);
      }
    }
    @keyframes receive-focus {
      0%,
      74% {
        border-color: #9ab2e9;
        box-shadow: 0 17px 38px -27px #021039;
      }
      100% {
        border-color: #e1ebff;
        box-shadow: 0 0 30px #a6c7ff9c;
      }
    }
    @keyframes reading-progress {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .mode-controls label,
  .screen {
    transition: none;
  }
}
.download-section {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.15rem, 4vw, 4.5rem);
  margin-block: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: 0 24px 80px -60px #243a7550;
}
.download-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-bottom: 2.5rem;
}
.download-heading h2 {
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
}
.download-heading p {
  color: var(--muted);
  font-size: 0.9rem;
}
.release-version {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font:
    0.8rem/1.5 ui-monospace,
    monospace;
}
.download-grid {
  display: grid;
  gap: 0;
}
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 0;
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
}
.platform {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}
.platform > img {
  box-sizing: content-box;
  flex: none;
  width: 28px;
  height: 28px;
  padding: 1rem;
  border-radius: 1.05rem;
  background: var(--paper);
}
.platform h3 {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: -0.035em;
}
.platform p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex: none;
}
.artifact-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  min-width: 102px;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}
.artifact-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.artifact-link:hover img {
  filter: brightness(0) invert(1);
}
.download-note {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.download-note p {
  max-width: 84ch;
}
.download-note p + p {
  margin-top: 0.6rem;
}
.download-note .text-links {
  margin-top: 0.85rem;
}
.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}
.text-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.feature-section {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: #eaf0ff;
}
.feature-section h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.4vw, 3.75rem);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.feature-grid article {
  padding-top: 1.2rem;
  border-top: 1px solid #b9c9ed;
}
.feature-grid h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
}
.feature-grid p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vw, 8rem);
}
.info-section + .info-section {
  border-top: 1px solid var(--line);
}
.info-section h2 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  letter-spacing: -0.055em;
}
.info-section > div > .guide-link {
  margin-top: 1.5rem;
}
.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  font-weight: 650;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 2rem 3.8rem;
  counter-increment: step;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li::before {
  position: absolute;
  top: -0.15rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid #b9c9ed;
  border-radius: 50%;
  color: var(--blue);
  font:
    600 0.9rem/1 ui-monospace,
    monospace;
  content: counter(step);
}
.steps li:not(:last-child)::after {
  position: absolute;
  top: 2.6rem;
  bottom: 0.8rem;
  left: 1.16rem;
  width: 1px;
  background: var(--line);
  content: '';
}
.steps h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
.steps p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.faq-list {
  min-width: 0;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  display: block;
  padding: 1.4rem 2.5rem 1.4rem 0;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.04rem;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  position: absolute;
  right: 0.25rem;
  top: 1.45rem;
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--blue);
  font:
    300 1.8rem/1 system-ui,
    sans-serif;
  content: '+';
  transition: transform 180ms ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list summary:hover {
  color: var(--blue);
}
.faq-list p {
  padding: 0 2.25rem 1.4rem 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.site-footer {
  padding-block: 2.5rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-bottom: 2rem;
}
.footer-main .text-links {
  font-size: 0.9rem;
}
.filing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}
.filing a {
  color: inherit;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.download-section :is(a, button):focus-visible,
.feature-section a:focus-visible,
.info-section :is(a, summary):focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 0.25rem;
}

@media (max-width: 760px) {
  .download-section {
    border-radius: 1.25rem;
    padding-block: 2.5rem;
  }
  .download-heading {
    align-items: start;
    flex-direction: column;
    padding-bottom: 1.5rem;
    gap: 0.7rem;
  }
  .download-card {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.5rem;
  }
  .platform {
    gap: 0.85rem;
  }
  .platform > img {
    padding: 0.8rem;
    width: 24px;
    height: 24px;
  }
  .artifact-links {
    width: 100%;
  }
  .artifact-link {
    flex: 1;
    min-width: 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  .feature-grid article::before {
    margin-bottom: 1rem;
  }
  .feature-grid p {
    max-width: 58ch;
  }
  .info-section {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .steps li {
    padding-left: 3.3rem;
  }
  .faq-list summary {
    font-size: 1rem;
  }
  .footer-main {
    align-items: start;
    flex-direction: column;
    padding-bottom: 1.4rem;
  }
  .filing {
    align-items: start;
    flex-direction: column;
    gap: 0.3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .artifact-link,
  .faq-list summary::after {
    transition: none;
  }
}
