:root {
  color-scheme: light;
  --ink: #121413;
  --muted: #5d625f;
  --line: #d9ddd7;
  --paper: #f5f4ee;
  --panel: #fffefa;
  --fog: #e9eee9;
  --charcoal: #181d1a;
  --green: #173f30;
  --green-2: #2d6e52;
  --blue: #2f5f7e;
  --rust: #d9184f;
  --amber: #d5aa4f;
  --hot: #e5164f;
  --hot-2: #ffedf3;
  --shadow: 0 24px 70px rgba(18, 24, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(47, 95, 126, 0.06), transparent 34%),
    linear-gradient(240deg, rgba(229, 22, 79, 0.09), transparent 36%),
    var(--paper);
  color: var(--ink);
  font-family:
    "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(245, 244, 238, 0.9);
  border-bottom: 1px solid rgba(18, 20, 19, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.desktop-nav,
.header-actions,
.hero-actions,
.hero-downloads,
.proof-line,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--hot);
  color: #fff;
  font-size: 15px;
}

.desktop-nav {
  gap: clamp(16px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 14px;
}

.desktop-nav a:hover,
.ghost-link:hover {
  color: var(--ink);
}

.header-actions {
  gap: 16px;
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--hot);
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(229, 22, 79, 0.2);
}

.button.small {
  min-height: 38px;
  padding-inline: 17px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.button.secondary:hover {
  box-shadow: none;
}

.platform-button {
  display: grid;
  min-height: 66px;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.72);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(18, 24, 20, 0.05);
}

.platform-button span {
  color: var(--hot);
  font-size: 12px;
  font-weight: 850;
}

.platform-button strong {
  font-size: 18px;
  line-height: 1.1;
}

.platform-button.primary {
  border-color: var(--hot);
  background: var(--hot);
  color: #fff;
}

.platform-button.primary span {
  color: rgba(255, 255, 255, 0.78);
}

.platform-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(18, 24, 20, 0.1);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero,
.problem-section,
.handled-section,
.steps-section,
.audience-section,
.faq-section {
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  min-height: min(700px, calc(100vh - 190px));
  padding-block: clamp(46px, 6vw, 76px) clamp(32px, 5vw, 56px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: 1.02;
}

.hero-title-line {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede,
.section-heading p,
.faq-list p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.64;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 34px;
}

.proof-line {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.proof-line span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 254, 250, 0.7);
  color: var(--hot);
  font-size: 13px;
  font-weight: 780;
}

.hero-visual,
.solution-visual {
  position: relative;
  margin: 0;
  padding: clamp(12px, 1.8vw, 18px);
  border: 1px solid rgba(18, 20, 19, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 237, 243, 0.62)),
    rgba(255, 254, 250, 0.68);
  box-shadow: var(--shadow);
}

.hero-visual {
  transform: none;
}

.hero-visual::before {
  position: absolute;
  inset: 9% -3% -5% 20%;
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(229, 22, 79, 0.2), transparent 38%),
    radial-gradient(circle at 75% 58%, rgba(45, 110, 82, 0.18), transparent 40%);
  filter: blur(18px);
  content: "";
}

.hero-visual img,
.solution-visual img {
  display: block;
  width: 100%;
  border: 4px solid rgba(229, 22, 79, 0.7);
  border-radius: 8px;
}

.visual-status {
  position: absolute;
  left: clamp(24px, 4vw, 48px);
  top: clamp(24px, 4vw, 44px);
  z-index: 2;
  display: grid;
  gap: 4px;
  max-width: min(330px, calc(100% - 48px));
  padding: 12px 14px;
  border: 1px solid rgba(18, 20, 19, 0.1);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.9);
  box-shadow: 0 14px 34px rgba(18, 20, 19, 0.14);
  backdrop-filter: blur(14px);
}

.visual-status span {
  color: var(--hot);
  font-size: 12px;
  font-weight: 850;
}

.visual-status strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.hero-visual figcaption,
.solution-visual figcaption {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hero-visual figcaption strong {
  color: var(--ink);
  white-space: nowrap;
}

.problem-section,
.handled-section,
.steps-section,
.audience-section,
.faq-section {
  padding-block: clamp(64px, 8vw, 108px);
}

.problem-section,
.faq-section {
  background: #fffefa;
}

.problem-section {
  background: #fffefa;
}

.handled-section {
  background:
    linear-gradient(120deg, rgba(229, 22, 79, 0.08), transparent 42%),
    var(--paper);
}

.steps-section {
  background: #ece8de;
}

.audience-section {
  background: var(--green);
  color: #fff;
}

.audience-section .eyebrow {
  color: var(--amber);
}

.audience-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2 {
  grid-column: 2;
}

.section-heading .eyebrow {
  grid-column: 1;
  align-self: start;
}

.section-heading p:not(.eyebrow) {
  grid-column: 3;
  margin-bottom: 0;
}

.section-heading.compact {
  display: block;
  max-width: 980px;
}

.pain-grid,
.timeline,
.audience-grid {
  display: grid;
  gap: 14px;
}

.pain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.pain-grid article,
.timeline article,
.audience-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-grid article {
  display: grid;
  min-height: 178px;
  align-content: space-between;
  padding: 22px;
  background: var(--panel);
}

.pain-grid article.wide {
  grid-column: span 2;
  min-height: 148px;
  background: var(--hot-2);
}

.pain-grid span,
.timeline span {
  display: inline-grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--hot);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
}

.solution-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.82);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 850;
  line-height: 1.25;
}

.solution-list li::before {
  position: absolute;
  left: 18px;
  top: 50%;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-2);
  color: #fff;
  font-size: 13px;
  transform: translateY(-50%);
  content: "✓";
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline article {
  display: grid;
  min-height: 188px;
  align-content: space-between;
  padding: 24px;
  background: var(--panel);
}

.timeline article:nth-child(3) {
  background: var(--green);
  color: #fff;
}

.timeline article:nth-child(3) span {
  background: rgba(255, 255, 255, 0.16);
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-grid article {
  min-height: 150px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 850;
  line-height: 1.22;
}

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

.faq-list details {
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.guide-page {
  background:
    linear-gradient(120deg, rgba(229, 22, 79, 0.08), transparent 36%),
    linear-gradient(240deg, rgba(47, 95, 126, 0.08), transparent 34%),
    var(--paper);
}

.install-guide {
  padding-inline: clamp(20px, 5vw, 72px);
}

.install-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: min(680px, calc(100vh - 128px));
  padding-block: clamp(54px, 7vw, 92px);
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.guide-checksum {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.guide-checksum code {
  display: inline-block;
  max-width: 100%;
  margin-left: 4px;
  padding: 4px 7px;
  overflow-wrap: anywhere;
  border-radius: 6px;
  background: rgba(47, 95, 126, 0.08);
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.guide-checksum-group {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.guide-checksum-group .guide-checksum,
.mac-download-card .guide-checksum {
  margin-top: 0;
}

.mac-download-section {
  padding-block: clamp(48px, 7vw, 84px);
  border-top: 1px solid rgba(18, 20, 19, 0.08);
}

.mac-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mac-download-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 340px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.86);
  box-shadow: 0 12px 28px rgba(18, 24, 20, 0.06);
}

.mac-download-card span {
  color: var(--hot);
  font-size: 13px;
  font-weight: 850;
}

.mac-download-card h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.mac-download-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.mac-download-card .button {
  justify-self: start;
}

.install-preview {
  margin: 0;
  padding: clamp(12px, 1.8vw, 18px);
  border: 1px solid rgba(18, 20, 19, 0.12);
  border-radius: 14px;
  background: rgba(255, 254, 250, 0.78);
  box-shadow: var(--shadow);
}

.install-preview img {
  display: block;
  width: 100%;
  border: 4px solid rgba(229, 22, 79, 0.7);
  border-radius: 8px;
}

.install-preview figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-block: clamp(48px, 7vw, 84px);
}

.install-steps article,
.guide-help-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.84);
}

.install-steps article {
  display: grid;
  min-height: 260px;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.install-steps span {
  display: inline-grid;
  width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--hot);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.install-steps h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.12;
}

.install-steps p,
.guide-help-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.mac-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.install-help {
  padding-block: clamp(54px, 7vw, 90px);
  border-top: 1px solid rgba(18, 20, 19, 0.08);
}

.guide-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-help-grid article {
  padding: 22px;
}

.guide-help-grid h3 {
  margin-bottom: 10px;
}

.safety-grid article {
  background: #fffefa;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  .menu-button span {
    width: 17px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav.is-open {
    position: fixed;
    inset: 68px 14px auto;
    z-index: 30;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .mobile-nav a {
    padding: 13px 10px;
    border-radius: 6px;
  }

  .hero,
  .solution-layout,
  .install-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-heading {
    display: block;
  }

  .pain-grid,
  .audience-grid,
  .install-steps,
  .guide-help-grid,
  .mac-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pain-grid article:nth-child(even),
  .timeline article:nth-child(2),
  .hero-visual {
    transform: none;
  }

  .solution-layout {
    background: var(--panel);
  }

  .timeline::before {
    display: none;
  }

}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-actions,
  .hero-downloads,
  .guide-actions,
  .button {
    width: 100%;
  }

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

  .pain-grid,
  .timeline,
  .audience-grid,
  .install-steps,
  .guide-help-grid,
  .mac-download-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid article,
  .pain-grid article.wide,
  .timeline article,
  .install-steps article {
    grid-column: auto;
    min-height: 170px;
  }

  .visual-status {
    position: static;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .hero-visual figcaption,
  .solution-visual figcaption {
    display: grid;
    gap: 4px;
  }

  .hero-visual figcaption strong {
    white-space: normal;
  }

  .solution-list li {
    padding-left: 48px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mac-download-card .button {
    justify-self: stretch;
  }
}
