:root {
  --ink: #0b0b0d;
  --ink-soft: #17171b;
  --panel: #222227;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #b9b8bd;
  --line: #34343a;
  --red: #e63946;
  --red-dark: #b91f2d;
  --yellow: #f4a261;
  --green: #35c47c;
  --max: 1180px;
  --shadow: 8px 8px 0 rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  line-height: 1.75;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-gap {
  margin-top: 26px;
}

.top-gap-large {
  margin-top: 32px;
}

.muted-copy {
  color: var(--muted);
}

.section-light .muted-copy {
  color: #57545b;
}

.narrow-preview {
  max-width: 400px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 11px;
  border-bottom: 2px solid transparent;
  color: #dedde1;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--yellow);
  border-bottom-color: var(--red);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.download-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--red);
  box-shadow: 5px 5px 0 var(--yellow);
  color: var(--white);
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.download-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--yellow);
}

.download-button:focus-visible,
.menu-button:focus-visible,
.site-nav a:focus-visible,
.text-link:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.download-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    min-width: 0;
}

.status-strip {
  background: var(--yellow);
  color: var(--ink);
  border-bottom: 4px solid var(--red);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(11, 11, 13, 0.22);
}

.status-item {
  min-height: 82px;
  padding: 14px 18px;
  background: var(--yellow);
}

.status-item strong,
.status-item span {
  display: block;
}

.status-item strong {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.status-item span {
  margin-top: 3px;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "JM";
  position: absolute;
  right: -30px;
  bottom: -130px;
  color: rgba(230, 57, 70, 0.09);
  font-size: 24rem;
  font-weight: 1000;
  line-height: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 72px;
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 5.2rem;
  font-weight: 1000;
}

.hero-copy > p {
  max-width: 680px;
  color: #cfced2;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.micro-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 196, 124, 0.13);
}

.hero-visual {
  justify-self: center;
  width: min(100%, 350px);
  max-width: 400px;
  padding: 12px;
  border: 2px solid var(--yellow);
  background: var(--panel);
  box-shadow: 14px 14px 0 var(--red);
  transform: rotate(1.5deg);
}

.hero-visual img {
  width: 100%;
  max-width: 400px;
}

.section {
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-red {
  background: var(--red);
  color: var(--white);
}

.section-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: 3rem;
  font-weight: 1000;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

section[aria-labelledby="check-title"] .card h3 {
  color: var(--white);
}

.section-label {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-red .section-label {
  color: var(--yellow);
}

.text-link {
  color: var(--red);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.section-red .text-link {
  color: var(--yellow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.feature-card,
.review-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ink-soft);
}

.section-light .card,
.section-light .feature-card,
.section-light .step-card {
  border-color: #d4d0c7;
  background: var(--white);
}

.card,
.feature-card {
  padding: 24px;
}

.card-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-weight: 1000;
}

.card p,
.feature-card p,
.step-card p,
.review-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-light .card p,
.section-light .feature-card p,
.section-light .step-card p {
  color: #57545b;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shelf-item {
  position: relative;
  min-height: 240px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid #d5d0c7;
  background: var(--white);
}

.shelf-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: var(--red);
}

.shelf-item:nth-child(2)::before,
.shelf-item:nth-child(4)::before {
  background: var(--yellow);
}

.shelf-tag {
  width: fit-content;
  margin-bottom: auto;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.shelf-item strong {
  font-size: 1.2rem;
}

.progress {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  background: #ddd8ce;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--red);
}

.control-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.control-list {
  display: grid;
  gap: 12px;
}

.control-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.control-row strong,
.control-row small {
  display: block;
}

.control-row small {
  color: var(--muted);
}

.toggle-demo {
  width: 46px;
  height: 26px;
  padding: 3px;
  border-radius: 15px;
  background: var(--red);
}

.toggle-demo::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--white);
}

.mode-panel {
  padding: 28px;
  border: 2px solid var(--yellow);
  background: var(--red);
}

.mode-panel ul,
.check-list,
.plain-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mode-panel li,
.check-list li,
.plain-list li {
  position: relative;
  padding: 9px 0 9px 28px;
}

.mode-panel li::before,
.check-list li::before,
.plain-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 1000;
}

.section-light .check-list li::before,
.section-light .plain-list li::before,
.section-yellow .plain-list li::before {
  color: var(--red);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.screenshot-item {
  margin: 0;
}

.screenshot-frame {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--red);
}

.screenshot-frame img {
  width: 100%;
  max-width: 400px;
}

.screenshot-item figcaption {
  margin-top: 16px;
  font-weight: 800;
}

.queue {
  display: grid;
  gap: 12px;
}

.queue-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.queue-index {
  color: var(--yellow);
  font-weight: 1000;
}

.queue-row small {
  color: var(--muted);
}

.queue-state {
  padding: 4px 9px;
  background: var(--green);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 0;
  border-left: 5px solid var(--red);
}

.timeline-item {
  position: relative;
  padding: 0 0 30px 32px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -13px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--paper);
  background: var(--yellow);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item time {
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  padding: 24px;
  background: var(--white);
  color: var(--ink);
}

.review-card p {
  color: #4e4c52;
}

.review-card footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #dad7cf;
  font-weight: 900;
}

.review-card footer time {
  display: block;
  margin-top: 6px;
  color: #66636b;
  font-size: 0.78rem;
  font-weight: 400;
}

.stars {
  margin-bottom: 12px;
  color: var(--red);
  letter-spacing: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.section-light details {
  border-color: #d4d0c7;
  background: var(--white);
}

summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 14px;
  color: var(--red);
  font-size: 1.5rem;
}

details[open] summary::after {
  content: "−";
}

.detail-body {
  padding: 0 20px 18px;
  color: var(--muted);
}

.section-light .detail-body {
  color: #57545b;
}

.inner-hero {
  border-bottom: 1px solid var(--line);
}

.inner-hero-grid {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr 0.38fr;
  align-items: center;
  gap: 60px;
  padding: 58px 0;
}

.inner-hero h1 {
  font-size: 4.5rem;
}

.inner-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-mark {
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 8px solid var(--yellow);
  background: var(--red);
  color: var(--ink);
  font-size: 8rem;
  font-weight: 1000;
  box-shadow: 12px 12px 0 var(--panel);
}

.prose-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.prose-grid > *,
.prose-body {
    min-width: 0;
}

.prose-grid > :first-child {
  align-self: start;
  position: sticky;
  top: 104px;
}

.prose-grid h2 {
  margin-bottom: 14px;
}

.prose-body p {
  color: #57545b;
}

.prose-body p:last-child {
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: 70px 1fr 170px;
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.step-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 1000;
}

.step-visual {
  min-height: 118px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 2.4rem;
  font-weight: 1000;
}

.note-box {
  padding: 22px;
  border-left: 6px solid var(--red);
  background: #ece8de;
  color: var(--ink);
}

.note-box strong {
  display: block;
  margin-bottom: 6px;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid #d4d0c7;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid #dfdcd5;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--ink);
  color: var(--yellow);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 32px;
  background: #cfcbc2;
}

.metric {
  padding: 22px;
  background: var(--white);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--red);
  font-size: 1.8rem;
}

.cta-band {
  padding: 54px 0;
  background: var(--yellow);
  color: var(--ink);
}

.cta-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-grid h2 {
  margin-bottom: 8px;
}

.cta-grid p {
  margin-bottom: 0;
}

.site-footer {
  padding: 48px 0 24px;
  background: #060607;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-app-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: center;
  padding: 22px 12px;
  border-radius: 8px;
  background: #f7f8fc;
  color: #183c9a;
}

.footer-app-info div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  border-right: 1px solid #dce1ee;
}

.footer-app-info div:last-child {
  border-right: 0;
}

.footer-app-info span {
  font-size: 0.78rem;
  color: #5d6b86;
}

.footer-app-info strong {
  font-size: 1rem;
  white-space: nowrap;
}
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

    .reveal {
        opacity: 1;
        transform: none;
    }

  .download-button {
    transition: none;
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    padding: 14px 16px 24px;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink);
    border-bottom: 2px solid var(--red);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .inner-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    justify-self: start;
  }

  .page-mark {
    min-height: 160px;
    font-size: 6rem;
  }

  .status-grid,
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-grid,
  .shelf-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .control-board,
  .prose-grid {
    grid-template-columns: 1fr;
  }

  .prose-grid > :first-child {
    position: static;
  }

  .step-card {
    grid-template-columns: 58px 1fr;
  }

  .step-visual {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .section {
    padding: 56px 0;
  }

  .hero-grid {
    min-height: auto;
    padding: 50px 0 64px;
  }

  h1 {
    font-size: 2.55rem;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 2.1rem;
  }

  .inner-hero h1 {
    font-size: 2.7rem;
  }

  .page-mark {
    font-size: 5rem;
  }

  .section-heading,
  .cta-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-grid,
  .card-grid.two,
  .review-grid,
  .screenshot-grid,
  .shelf-grid,
  .status-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .queue-row {
    grid-template-columns: 48px 1fr;
  }

  .queue-state {
    grid-column: 2;
    justify-self: start;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 48px;
    height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-app-info {
    padding: 18px 6px;
  }

  .footer-app-info div {
    padding: 0 8px;
  }

  .footer-app-info strong {
    font-size: 0.82rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-button {
    width: 100%;
  }
}
