:root {
  color-scheme: light;
  --paper: #f8f6f2;
  --surface: #fffefa;
  --ink: #282521;
  --muted: #79746d;
  --line: #e5e0d8;
  --orange: #c74716;
  --orange-hover: #a93b10;
  --orange-soft: #f1e1d8;
  --green: #368268;
  --sans: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei UI', sans-serif;
  --mono: 'DM Mono', monospace;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-shell { max-width: 1440px; margin: 0 auto; padding: 0 7.2%; overflow: hidden; }

.topbar { height: 82px; display: flex; align-items: center; border-bottom: 1px solid var(--line); gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 33px; height: 33px; display: inline-flex; justify-content: center; align-items: center; gap: 2px; border-radius: 10px; background: var(--orange); transform: rotate(-4deg); }
.brand-mark i { width: 3px; border-radius: 4px; background: #fff7ef; display: block; }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 14px; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.brand-name span { display: block; margin-top: 4px; color: #a29c93; font: 8px var(--mono); letter-spacing: .12em; }
.top-nav { display: flex; gap: 32px; margin-left: auto; color: #6d6861; font-size: 13px; }
.top-nav a, .text-link { transition: color .2s ease; }
.top-nav a:hover, .text-link:hover { color: var(--orange); }
.nav-cta { border: 1px solid #d5cec4; padding: 10px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; transition: .2s ease; }
.nav-cta:hover { color: var(--orange); border-color: var(--orange); }
.nav-cta span { margin-left: 8px; color: var(--orange); }

.hero { min-height: 546px; display: grid; grid-template-columns: 1fr .92fr; align-items: center; gap: 6%; padding: 52px 0 67px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-kicker { color: var(--orange); font: 10px var(--mono); letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #817a70; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #3682681c; }
.eyebrow-divider { color: #c9c1b6; }
h1 { margin: 26px 0 18px; max-width: 610px; font-size: clamp(42px, 5vw, 65px); line-height: 1.23; letter-spacing: -.07em; font-weight: 700; }
h1 em { color: var(--orange); font-style: normal; }
.hero-description { max-width: 430px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; border: 0; border-radius: 6px; padding: 0 18px; cursor: pointer; font-weight: 600; font-size: 13px; transition: background .2s, transform .2s, box-shadow .2s; }
.button-primary { min-width: 171px; background: var(--orange); color: white; box-shadow: 0 5px 14px #c7471626; }
.button-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 18px #c7471636; }
.button-primary span { font-size: 16px; }
.text-link { color: #686159; font-size: 12px; }
.text-link span { margin-left: 8px; color: var(--orange); }
.hero-footnote { display: flex; align-items: center; gap: 7px; margin-top: 26px; color: #928b82; font-size: 11px; }
.tiny-lock { width: 15px; height: 15px; border: 1px solid #c9c1b6; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; }

.hero-art { min-height: 405px; position: relative; display: grid; place-items: center; isolation: isolate; }
.art-grid { position: absolute; inset: 7% 0 0 4%; z-index: -1; opacity: .5; background-image: radial-gradient(#d9d0c5 .8px, transparent .8px); background-size: 16px 16px; mask-image: linear-gradient(130deg, transparent 0%, #000 30%, #000 80%, transparent 100%); }
.art-caption { position: absolute; top: 2%; left: 7%; right: 2%; display: flex; justify-content: space-between; color: #aaa297; font: 8px var(--mono); letter-spacing: .1em; }
.device-card { position: absolute; width: 270px; height: 182px; border: 1px solid #e4ddd4; background: #fffefa; border-radius: 9px; padding: 18px; box-shadow: 0 16px 45px #51453713; }
.device-card-main { top: 17%; left: 6%; transform: rotate(-3deg); }
.device-card-small { right: 0; bottom: 14%; width: 232px; height: 154px; transform: rotate(3deg); z-index: 2; }
.device-top { display: flex; justify-content: space-between; align-items: center; }
.device-icon { width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; color: var(--orange); background: #f5e7de; font-size: 16px; }
.mac-icon { color: #4a4742; background: #edeae4; font-size: 17px; }
.device-state { color: #47856d; font-size: 9px; }
.device-state i { display: inline-block; width: 5px; height: 5px; margin: 0 5px 1px 0; border-radius: 50%; background: #58a383; }
.device-name { margin-top: 17px; font-size: 14px; font-weight: 700; }
.device-meta { margin-top: 5px; color: #938c82; font-size: 10px; }
.device-meta span { padding: 0 4px; color: #c4bcb1; }
.device-id { display: flex; justify-content: space-between; border-top: 1px solid #eee9e2; margin-top: 17px; padding-top: 12px; color: #9a9389; font-size: 9px; }
.device-id b { color: #504a43; font: 10px var(--mono); letter-spacing: .08em; }
.connection-line { position: absolute; top: 44%; left: 43%; width: 148px; display: flex; align-items: center; justify-content: space-between; color: var(--orange); transform: rotate(-14deg); z-index: 1; }
.connection-line span { height: 1px; flex: 1; border-top: 1px dashed #d58a69; }
.connection-line i { width: 27px; height: 27px; margin: 0 7px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: white; font-style: normal; font-size: 12px; box-shadow: 0 5px 12px #c7471633; }
.art-stamp { position: absolute; right: 9%; top: 10%; display: flex; align-items: center; gap: 7px; color: #a59d92; }
.art-stamp span { color: var(--orange); font: italic 29px Georgia, serif; }
.art-stamp small { font: 7px/1.5 var(--mono); letter-spacing: .08em; }

.download-section { border-top: 1px solid var(--line); padding: 51px 0 58px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 23px; }
h2 { margin: 9px 0 0; font-size: 26px; letter-spacing: -.045em; }
.section-heading > p { max-width: 310px; margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.download-card { position: relative; min-height: 261px; padding: 22px 24px 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.download-card-featured { border-color: #e0b5a1; }
.download-card-featured::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--orange); }
.card-index { display: flex; justify-content: space-between; color: #9c958a; font: 9px var(--mono); letter-spacing: .08em; }
.card-index span { color: var(--green); }
.download-card-pending .card-index span { color: #9c958a; }
.platform-icon { position: absolute; top: 46px; right: 28px; }
.windows-large { width: 25px; height: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transform: skewY(-7deg); }
.windows-large span { background: #c74716; opacity: .9; }
.windows-large span:nth-child(2), .windows-large span:nth-child(3) { opacity: .68; }
.apple-large { color: #aaa398; font-size: 26px; line-height: 1; }
.download-card h3 { margin: 31px 0 4px; font-size: 18px; letter-spacing: -.03em; }
.download-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.card-rule { height: 1px; background: var(--line); margin: 16px 0 11px; }
.download-details { display: flex; justify-content: space-between; color: #777168; font-size: 10px; }
.button-download { width: 100%; min-height: 39px; justify-content: space-between; margin-top: 13px; background: var(--orange); color: white; font-size: 11px; }
.button-download:hover:not(:disabled) { background: var(--orange-hover); transform: translateY(-1px); }
.button-download:disabled { cursor: not-allowed; background: #ede9e2; color: #8f887e; }
.button-download.button-disabled { background: #f0ede7; color: #8f887e; }
.button-arrow { font-size: 14px; }
.card-note { margin-top: 9px; color: #a09a91; text-align: center; font-size: 9px; }
.download-code { text-align: center; margin-top: 9px; color: #7b746b; font-size: 10px; }
.download-code b { color: var(--ink); font: 500 11px var(--mono); letter-spacing: .08em; }
.download-code button { border: 0; background: none; color: var(--orange); cursor: pointer; font-size: 10px; }
.download-notice { display: flex; align-items: center; gap: 10px; margin-top: 17px; color: #898279; }
.notice-mark { width: 17px; height: 17px; flex: 0 0 17px; display: grid; place-items: center; border: 1px solid #cbc4b9; border-radius: 50%; font: 10px Georgia, serif; }
.download-notice p { margin: 0; font-size: 10px; line-height: 1.7; }
.download-notice code { padding: 2px 5px; background: #efeae2; border-radius: 3px; color: #625c53; font: 9px var(--mono); }

.guide-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 9%; padding: 51px 0 66px; border-top: 1px solid var(--line); }
.guide-title h2 { font-size: 24px; line-height: 1.4; }
.guide-title > p { margin-top: 10px; color: var(--muted); font-size: 11px; }
.steps { display: grid; }
.step { min-height: 76px; display: grid; grid-template-columns: 37px 1fr 27px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step-number { color: var(--orange); font: 10px var(--mono); }
.step h3 { margin: 0 0 4px; font-size: 12px; }
.step p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.step-icon { color: #c0b8ad; text-align: center; font-size: 16px; }

.footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 25px; height: 25px; border-radius: 7px; }
.footer-brand .brand-name { font-size: 12px; }
.footer-brand .brand-name span { font-size: 7px; }
.footer > p, .footer-copy { color: #928b82; font-size: 10px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 5; max-width: calc(100vw - 32px); padding: 11px 16px; border-radius: 7px; background: #2f2c28; color: white; font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .22s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
:focus-visible { outline: 3px solid #db754c80; outline-offset: 3px; }

@media (max-width: 900px) {
  .page-shell { padding: 0 5%; }
  .hero { grid-template-columns: 1fr .85fr; gap: 2%; }
  .device-card { width: 235px; }
  .device-card-small { width: 205px; }
  .connection-line { left: 39%; width: 125px; }
}
@media (max-width: 680px) {
  .page-shell { padding: 0 21px; }
  .topbar { height: 68px; gap: 14px; }
  .top-nav { gap: 16px; font-size: 11px; }
  .nav-cta { display: none; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 7px; padding: 48px 0 38px; }
  h1 { margin-top: 23px; font-size: clamp(43px, 11vw, 58px); }
  .hero-description { font-size: 13px; }
  .hero-art { min-height: 320px; margin: 5px -15px 0; }
  .device-card { width: min(250px, 64vw); height: 163px; padding: 15px; }
  .device-card-main { left: 2%; top: 18%; }
  .device-card-small { right: 0; bottom: 10%; width: min(215px, 57vw); height: 143px; }
  .device-name { margin-top: 13px; }
  .device-id { margin-top: 12px; padding-top: 9px; }
  .connection-line { top: 46%; left: 40%; width: 105px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 10px; }
  .download-section { padding: 39px 0 44px; }
  .download-grid { grid-template-columns: 1fr; gap: 12px; }
  .download-card { min-height: 249px; padding: 20px; }
  .guide-section { grid-template-columns: 1fr; gap: 24px; padding: 40px 0 47px; }
  .footer { flex-wrap: wrap; gap: 10px; padding: 16px 0; }
  .footer > p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
