:root {
  color-scheme: light;
  font: 16px/1.7 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #24182f;
  background: #f8f6fb;
  --light: #f3eafc;
  --dark: #20112d;
  --accent: #65369b;
  --muted: #5e5067;
  --line: #ded4e8;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #af7aff; outline-offset: 4px; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, calc(100% - 90px)); margin-inline: auto; }
header { background: var(--dark); color: #f9efff; }
.mast { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; gap: .65em; align-items: baseline; text-decoration: none; font-size: 1.33rem; font-weight: 760; }
.brand span { font-size: .72em; color: #e4c9f9; font-weight: 600; letter-spacing: .02em; }
nav { display: flex; gap: 15px 22px; flex-wrap: wrap; }
nav a { font-size: .9rem; }
.mast nav a { text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.hero { background: radial-gradient(ellipse at top right, #512870, transparent 65%), var(--dark); color: #fff; padding: 34px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .9fr; gap: clamp(34px, 6vw, 84px); align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 6vw, 6.2rem); margin: 0; line-height: 1.05; letter-spacing: -.075em; }
.hero h1 span { display: block; font-size: .54em; color: #e8c6ff; letter-spacing: -.035em; margin-top: 12px; }
.hero p { max-width: 27em; color: #eadcf4; margin: 24px 0; }
.hero img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 55%; border: 1px solid #ffffff38; border-radius: 34px; }
.device-nav { max-width: 32em; display: flex; flex-wrap: wrap; gap: 8px; }
.device-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 7px 17px; background: #ffefff17; border: 1px solid #d3a6f15e; border-radius: 40px; font-weight: 660; text-decoration: none; }
.device-nav a:hover { background: #f9e5ff; color: #261437; }
.section { padding-block: 66px; }
h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3.7vw, 2.9rem); line-height: 1.2; letter-spacing: -.045em; }
h3 { margin: 0 0 10px; }
.lede { color: var(--muted); max-width: 40em; }
.device-list { margin: 26px 0 0; border-top: 1px solid var(--line); }
.device-list details { scroll-margin-top: 20px; border-bottom: 1px solid var(--line); }
.device-list details:target { background: #ede2f8; border-radius: 10px; }
.device-list summary { cursor: pointer; padding: 17px 12px; font-weight: 720; }
.device-list summary span { font-weight: 520; color: var(--muted); margin-left: .7rem; }
.device-content { padding: 0 16px 15px 30px; max-width: 49em; }
.device-list a, .guide-body a { color: #553087; font-weight: 650; }
.change { background: #ebe0f4; }
.change .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px 62px; align-items: center; }
.change img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 22px; }
.change dl { margin: 24px 0; }
.change dl div { display: grid; grid-template-columns: 7rem 1fr; padding: 10px 0; border-top: 1px solid #cbb8db; gap: 12px; }
.change dt { font-weight: 750; }
.change dd { margin: 0; }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; }
.next h2 { grid-column: 1 / -1; }
.next section { padding-top: 15px; border-top: 1px solid var(--line); }
.next p { color: var(--muted); }
.next a { color: var(--accent); font-weight: 650; }
.guide { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.guide-head { background: #eadef4; padding-block: 48px; }
.guide-head h1 { margin: 12px 0 16px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.25; letter-spacing: -.04em; }
.guide-head p { color: var(--muted); margin-bottom: 0; }
.guide-body { padding-block: 42px 65px; }
.guide-body section + section { margin-top: 36px; }
.guide-body h2 { font-size: 1.55rem; }
.guide-body aside { padding: 12px 18px; background: #ede3f7; border-inline-start: 3px solid #9062c6; }
footer { background: var(--dark); color: #f2e5fb; padding-block: 25px; }
footer p { max-width: 66ch; }
.skip { position: absolute; left: 8px; top: 0; transform: translateY(-110%); padding: 5px 12px; background: white; z-index: 3; }
.skip:focus { transform: translateY(0); }
@media (max-width: 710px) {
  .wrap { width: calc(100% - 38px); }
  .mast { min-height: 59px; }
  .mast nav { gap: 10px; }
  .mast nav a { font-size: .79rem; }
  .hero { padding: 25px 0 28px; }
  .hero .wrap, .change .wrap, .next { grid-template-columns: 1fr; gap: 18px; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 4.5rem); }
  .hero p { margin: 16px 0; }
  .hero img { aspect-ratio: 4/3; border-radius: 22px; }
  .section { padding-block: 42px; }
  .change img { aspect-ratio: 2/1; }
  .guide-head { padding-block: 36px; }
  .device-list summary span { font-size: .88rem; }
}
