:root {
  color-scheme: light;
  --bg: #f6f5f1;
  --surface: #fff;
  --ink: #292a26;
  --muted: #66685f;
  --line: #dedfd7;
  --accent: #3d5848;
  --accent-hover: #2d4437;
  --tint: #ebeee8;
  --danger: #a13228;
  --radius: 16px;
  font-family:
    Inter,
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button,
a,
summary,
input {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid var(--accent);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
}
h2 {
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 20px;
  line-height: 1.5;
}
h4 {
  font-size: 16px;
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.muted,
.small-label {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--muted);
  margin-bottom: 18px;
}
.small-label {
  font-size: 12px;
  letter-spacing: 0.04em;
}
.site-header {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 24px;
  letter-spacing: -1px;
  font-weight: 650;
  text-decoration: none;
}
.brand-period {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-size: 13px;
  text-decoration: none;
}
nav a:hover,
.text-link:hover {
  color: var(--accent);
}
nav .source-link {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 90px;
}
.hero h1 {
  font-size: 58px;
  line-height: 1.3;
  letter-spacing: -0.06em;
}
.hero-description {
  font-size: 20px;
  line-height: 1.75;
  margin-top: 25px;
}
.hero-detail {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 21px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.7;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.primary {
  background: var(--accent);
  color: white;
}
.primary:hover:not(:disabled) {
  background: var(--accent-hover);
}
.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.secondary:hover:not(:disabled) {
  border-color: var(--accent);
  background: var(--tint);
}
.text-link {
  font-size: 13px;
}
.hero-footnote {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}
.product-figure {
  margin: 0;
  text-align: center;
  padding: 8px 14px 0;
}
.product-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 25px;
  box-shadow: 0 24px 50px -20px #18221855;
}
.product-figure figcaption {
  margin-top: 23px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.experience {
  padding-top: 58px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}
.section-intro > p:last-child {
  color: var(--muted);
  margin-top: 16px;
  font-size: 14px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  margin-top: 46px;
}
.benefits article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.benefits h3 {
  margin-top: 11px;
  font-size: 18px;
}
.benefits p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
  max-width: 270px;
}
.setup-section {
  background: #eeefe9;
  border-block: 1px solid var(--line);
  padding: 80px 0;
}
.setup-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 75px;
  align-items: start;
}
.setup-intro {
  position: sticky;
  top: 32px;
}
.setup-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}
.journey {
  list-style: none;
  margin: 37px 0 0;
  padding: 0;
  display: grid;
  gap: 26px;
}
.journey li {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
}
.journey li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #b8beb3;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}
.journey small {
  display: block;
  font-size: 12px;
}
.journey [aria-current="step"] {
  color: var(--accent);
  font-weight: 600;
}
.journey [aria-current="step"] > span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.journey .is-done > span {
  background: var(--tint);
  color: var(--accent);
  border-color: var(--accent);
}
.setup-intro .setup-note {
  font-size: 12px !important;
  border-top: 1px solid #d5d9cf;
  padding-top: 22px;
  margin-top: 36px !important;
}
.setup-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.section-heading h3 {
  font-size: 23px;
  margin-top: 3px;
}
.version-tag {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 8px;
  white-space: nowrap;
  color: var(--muted);
}
.section-description {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 20px;
}
.target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.target-card {
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--ink);
  position: relative;
  min-width: 0;
}
.target-card:hover:not(:disabled) {
  border-color: #92a48d;
  background: #f3f5ee;
}
.target-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: #f3f5ef;
}
.target-art {
  width: 100%;
  height: 126px;
  object-fit: contain;
  margin: 0 0 18px;
}
.target-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.target-description {
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
}
.target-choice {
  border-top: 1px solid var(--line);
  width: 100%;
  padding-top: 10px;
  font-size: 12px;
  margin-top: auto;
  color: var(--accent);
}
.flash-panel {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.browser-support {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 20px;
}
.browser-support.unsupported {
  color: var(--danger);
  background: #fff2ec;
  padding: 12px;
  border-radius: 8px;
}
.preparation {
  margin-top: 20px;
}
.preparation p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
details {
  font-size: 13px;
}
summary {
  cursor: pointer;
  min-height: 42px;
  padding: 10px 0;
  font-weight: 500;
}
details p {
  margin: 8px 0 14px;
  color: var(--muted);
}
.firmware-details {
  margin: 14px 0;
  border-bottom: 1px solid var(--line);
}
dl {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 6px;
  margin: 4px 0 18px;
  font-size: 12px;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.erase-notice {
  padding: 14px 16px;
  background: #f6f5ef;
  border-radius: 9px;
  margin: 20px 0 18px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13px;
  line-height: 1.7;
  cursor: pointer;
}
.checkbox-row input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.input-hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.erase-notice details {
  margin-left: 28px;
  font-size: 12px;
}
.erase-notice summary {
  padding-bottom: 0;
  min-height: 32px;
}
.confirmation {
  margin: 18px 0;
}
.install-button {
  width: 100%;
}
.install-caption {
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
  text-align: center;
}
.flash-progress {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcf9;
}
.progress-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.progress-heading h4 {
  font-size: 18px;
}
.progress-heading > span {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
#progress-message {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  min-height: 22px;
}
.progress-steps {
  list-style: decimal-leading-zero;
  margin: 22px 0 0;
  padding-left: 25px;
  font-size: 13px;
}
.progress-steps li {
  padding: 8px 0 8px 6px;
  color: var(--muted);
}
.progress-steps li::marker {
  font-size: 11px;
}
.progress-steps small {
  float: right;
  font-size: 11px;
}
.progress-steps [data-state="active"] {
  font-weight: 600;
  color: var(--accent);
}
.progress-steps [data-state="done"] {
  color: var(--accent);
}
.progress-steps [data-state="error"] {
  color: var(--danger);
}
progress {
  width: 100%;
  height: 7px;
  display: block;
  margin: 18px 0 4px;
  border: none;
  border-radius: 5px;
  accent-color: var(--accent);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: var(--line);
}
progress::-webkit-progress-value {
  background: var(--accent);
}
.error-message {
  background: #fff1ec;
  color: var(--danger);
  font-size: 13px;
  padding: 14px;
  border: 1px solid #efc7b9;
  border-radius: 8px;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
#reload-page {
  margin-top: 12px;
}
#continue-desktop {
  margin-top: 18px;
  width: 100%;
}
.recovery {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.recovery li {
  margin: 12px 0;
  color: var(--muted);
}
.recovery ul {
  padding-left: 18px;
}
.desktop-section {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 75px;
  padding-block: 80px;
}
.desktop-content {
  padding: 0 32px;
}
.platform-picker {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}
.platform-picker button {
  background: transparent;
  border: 0;
  border-radius: 5px;
  padding: 8px 22px;
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}
.platform-picker button[aria-pressed="true"] {
  background: var(--surface);
  box-shadow: 0 1px 4px #00000012;
  color: var(--ink);
}
.platform-requirement {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.desktop-steps {
  list-style: decimal-leading-zero;
  padding-left: 26px;
  margin: 30px 0 0;
}
.desktop-steps li {
  padding: 0 0 26px 14px;
}
.desktop-steps li::marker {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.desktop-steps h3 {
  font-size: 17px;
}
.desktop-steps p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.desktop-steps .button {
  margin-top: 16px;
}
.desktop-help {
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.faq {
  border-top: 1px solid var(--line);
  padding-block: 60px 80px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 75px;
}
.faq h2 {
  font-size: 25px;
}
.faq > div {
  padding-inline: 32px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.faq summary {
  padding-block: 18px;
}
.faq p {
  font-size: 13px;
  margin-bottom: 20px;
  max-width: 540px;
}
.site-footer {
  border-top: 1px solid var(--line);
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.site-footer .wordmark {
  font-size: 20px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
}
.site-footer > div {
  margin-left: auto;
  display: flex;
  gap: 24px;
  font-size: 12px;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 35px;
    padding-top: 50px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .setup-layout,
  .desktop-section,
  .faq {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 35px;
  }
  .setup-content {
    padding: 25px;
  }
  .desktop-content,
  .faq > div {
    padding-inline: 15px;
  }
  .target-art {
    height: 105px;
  }
}
@media (max-width: 740px) {
  html {
    scroll-padding-top: 18px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 78px;
  }
  .wordmark {
    font-size: 21px;
  }
  nav {
    gap: 18px;
  }
  nav a {
    font-size: 12px;
  }
  nav a[href="#experience"],
  nav .source-link {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 34px;
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-description {
    font-size: 18px;
    margin-top: 20px;
  }
  .hero-detail {
    font-size: 13px;
  }
  .hero-footnote {
    font-size: 10px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .actions {
    gap: 22px;
    margin-top: 27px;
  }
  .product-figure {
    max-width: 400px;
    width: 100%;
    margin: auto;
    padding: 0 16px;
  }
  .product-figure figcaption {
    margin-top: 18px;
    font-size: 10px;
  }
  h2 {
    font-size: 27px;
  }
  .experience {
    padding-block: 40px 45px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .benefits article {
    padding-top: 18px;
  }
  .benefits p {
    max-width: none;
    margin-top: 6px;
  }
  .setup-section {
    padding-block: 45px;
  }
  .setup-layout,
  .desktop-section,
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .setup-intro {
    position: static;
  }
  .setup-intro h2 br {
    display: none;
  }
  .setup-intro > p:not(.eyebrow) {
    margin-top: 12px;
  }
  .journey {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 26px;
  }
  .journey li {
    gap: 7px;
    align-items: center;
    font-size: 12px;
  }
  .journey li > span {
    width: 25px;
    height: 25px;
  }
  .journey small {
    display: none;
  }
  .setup-intro .setup-note {
    border: 0;
    padding: 0;
    font-size: 11px !important;
    margin-top: 20px !important;
  }
  .setup-intro .setup-note br {
    display: none;
  }
  .setup-content {
    padding: 21px 16px;
    border-radius: 14px;
  }
  .section-heading h3 {
    font-size: 21px;
  }
  .target-grid {
    gap: 10px;
  }
  .target-card {
    padding: 14px 11px 12px;
  }
  .target-art {
    height: 105px;
    margin-bottom: 14px;
  }
  .target-name {
    font-size: 13px;
  }
  .target-description {
    margin-bottom: 16px;
    font-size: 11px;
  }
  .version-tag {
    font-size: 10px;
  }
  .flash-progress {
    padding: 17px;
  }
  .progress-steps {
    padding-left: 22px;
  }
  .progress-steps small {
    font-size: 10px;
  }
  .desktop-section {
    padding-block: 45px;
  }
  .desktop-content,
  .faq > div {
    padding-inline: 0;
  }
  .desktop-steps {
    margin-top: 24px;
  }
  .faq {
    padding-block: 35px 50px;
    gap: 15px;
  }
  .site-footer {
    min-height: 140px;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-block: 24px;
  }
  .site-footer > div {
    width: 100%;
    margin: 0;
  }
  .site-footer p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

.photo-credit {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
}
.target-art {
  mix-blend-mode: multiply;
}

.device-summary {
  display: flex;
  align-items: center;
  gap: 15px;
}
.device-summary img {
  object-fit: contain;
  mix-blend-mode: multiply;
}
.device-summary > div {
  flex: 1;
  min-width: 0;
}
.device-summary strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.text-button {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 12px;
  white-space: nowrap;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.target-art {
  height: 160px;
}
.device-summary + .flash-panel {
  margin-top: 24px;
  padding-top: 24px;
}
@media (max-width: 740px) {
  .target-art {
    height: 130px;
  }
  .device-summary {
    gap: 10px;
  }
  .device-summary img {
    width: 46px;
    height: 46px;
  }
  .device-summary strong {
    font-size: 12px;
  }
}

#flash-progress:not([hidden]) + #install-control {
  margin-top: 16px;
}

.flash-progress.is-complete .progress-steps,
.flash-progress.is-complete progress {
  display: none;
}
