:root {
  --bg: #f6f7f9;
  --ink: #171b25;
  --muted: #657080;
  --line: #dce1e9;
  --blue: #2458ed;
  --soft-blue: #e9efff;
  --paper: #fff;
  --max: 1160px;
  --header-height: 80px;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
  border-radius: 3px;
}
::selection { background: #dbe5ff; color: #153487; }

.wrap { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 11px; letter-spacing: .09em; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 19px; height: 2px; background: var(--blue); }

.skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: white; }
.skip:focus { top: 15px; }

.header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 650;
}
.brand-mark { width: 26px; height: 26px; display: block; }
.header-right { display: flex; gap: 45px; align-items: center; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; color: #535e6e; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  position: relative;
  transition: color .2s;
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current="location"] { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 10px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a[aria-current="location"]::after { transform: scaleX(1); }

/* Approved B: short editorial hero, precision drawing, single rental strip. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.section { padding: 64px 0; }
section[id] { scroll-margin-top: 12px; }
section[id]:focus { outline: none; }
.rental-home { padding-bottom: 4px; }
.hero { padding: 44px 0 28px; }
.hero-layout { display: grid; grid-template-columns: .44fr .56fr; gap: 24px; align-items: center; min-height: 416px; }
.hero-copy { min-width: 0; padding: 8px 0 30px; }
.hero .eyebrow { margin-bottom: 26px; font-size: 12px; letter-spacing: .06em; }
.hero h1 { margin: 0; font-size: clamp(46px, 4.55vw, 64px); line-height: 1.2; letter-spacing: -.045em; font-weight: 650; }
.hero h1 .second { display: block; margin-top: 9px; color: var(--ink); }
.hero-lead { margin: 26px 0 28px; color: #5c6674; font-size: 16px; line-height: 1.8; }
.actions { margin: 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 48px; padding: 11px 21px; border: 1px solid var(--blue); border-radius: 5px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 500; transition: background .18s, transform .18s; }
.button svg { width: 17px; height: 17px; }
.button:hover { background: #1947cc; transform: translateY(-1px); }
.hero-note { margin: 15px 0 0; font-size: 12px; line-height: 1.8; color: #727c8b; }
.art { position: relative; min-width: 0; align-self: center; }
.art-viewport { width: 100%; }
.connect-svg { display: block; width: 100%; height: auto; overflow: visible; }
.svg-label { fill: #6e7c90; font-size: 11px; font-family: inherit; letter-spacing: .04em; }
.art-controls { display: flex; justify-content: flex-end; gap: 6px; position: absolute; bottom: -6px; right: 10px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: #708096; border-radius: 50%; }
.icon-button:hover { color: var(--blue); background: #e9efff; }
.icon-button svg { width: 13px; height: 13px; }
.icon-button:disabled { opacity: .3; cursor: default; }
.play-shape { display: none; }
[aria-pressed="true"] .play-shape { display: block; }
[aria-pressed="true"] .pause-shape { display: none; }
.plans { padding: 0; }
.plan-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid #dfe4ec; border-radius: 8px; padding: 22px 0; }
.plan-option { display: grid; grid-template-columns: 46px minmax(0, 1fr) 12px; align-items: center; gap: 19px; min-width: 0; min-height: 88px; padding: 2px 24px; position: relative; }
.plan-option + .plan-option { border-left: 1px solid #e7ebf1; }
.plan-option:hover h3, .plan-option:focus-visible h3 { color: var(--blue); }
.plan-option:focus-visible { outline-offset: -4px; border-radius: 5px; }
.plan-icon { width: 46px; height: 50px; color: #718096; }
.plan-info { min-width: 0; }
.plan-info h3 { margin: 0 0 3px; font-size: 14px; line-height: 1.5; font-weight: 550; }
.rental-price { margin: 0; font-size: 26px; line-height: 1.5; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rental-price span { color: #677281; font-size: 12px; letter-spacing: 0; font-weight: 400; }
.plan-blurb { margin: 3px 0 0; color: #6f7987; font-size: 12px; line-height: 1.6; }
.plan-arrow { color: #8a97aa; font-size: 15px; }
.plan-option.is-soon { cursor: default; }
.plan-option.is-soon .rental-price { font-size: 20px; letter-spacing: -.02em; color: #5c6674; }
.term-note { margin: 9px 0 0; text-align: right; font-size: 11px; color: #7c8694; }
.connection { padding: 34px 0 38px; }
.connection-row { display: grid; grid-template-columns: .38fr .62fr; gap: 28px; align-items: center; }
.connection h2 { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 550; letter-spacing: -.02em; }
.connection-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; gap: 24px; margin: 0; padding: 0; }
.connection-steps li { display: flex; align-items: center; gap: 10px; color: #526071; font-size: 13px; }
.connection-steps .mono { font-size: 11px; color: #8190a4; letter-spacing: 0; }
.connection-note { margin: 22px 0 0; color: #77818e; font-size: 12px; line-height: 1.9; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid var(--line); }
.footer .brand { font-size: 16px; letter-spacing: -.5px; }
.footer-text { font-size: 12px; color: #7c8694; margin: 0; }
.footer-right a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #5c6776; }
.footer-right a:hover { color: var(--blue); }
.login-panel { padding: 72px 0 110px; max-width: 880px; }
.login-panel h2 { margin: 12px 0 10px; font-size: 36px; letter-spacing: -.045em; font-weight: 560; }
.login-panel > p { color: var(--muted); max-width: 520px; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }

/* App shell */
.app-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 160px); }
.app-side { padding: 28px 22px; border-right: 1px solid var(--line); background: #fbfcfd; }
.app-side nav { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.app-side a, .app-side button.linkish {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  background: none;
  border-radius: 8px;
  text-align: left;
  color: #4d5766;
  font-size: 14px;
}
.app-side a.active, .app-side a:hover, .app-side button.linkish:hover { background: var(--soft-blue); color: var(--ink); }
.app-main { padding: 32px 36px 64px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.muted { color: var(--muted); }
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: var(--soft-blue); color: #1d3fa8; font-size: 12px; }
.badge.warn { background: #fff4d9; color: #7a5300; }
.badge.danger { background: #fde8e8; color: #8a1f1f; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; font-size: 14px; }
.form { display: grid; gap: 12px; max-width: 520px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  padding: 10px 18px;
  min-height: 44px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.notice { padding: 12px 14px; border-radius: 10px; background: #fff7e8; border: 1px solid #f0d7a3; color: #5c4300; font-size: 13px; margin: 12px 0; }
.secret { filter: blur(5px); }
.secret.shown { filter: none; }
.blocked { font-size: 13px; color: #8a4b00; }
.privacy-note { margin-top: 36px; max-width: 520px; font-size: 13px; }
.privacy-note .text-link { min-height: auto; padding: 0; display: inline; }


@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-layout { grid-template-columns: .44fr .56fr; gap: 12px; min-height: 390px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 14px; }
  .plan-option { gap: 12px; padding-inline: 17px; grid-template-columns: 34px minmax(0, 1fr); }
  .plan-icon { width: 34px; height: 42px; }
  .plan-arrow { display: none; }
  .rental-price { font-size: 23px; }
  .connection-steps { gap: 12px; }
}
@media (max-width: 720px) {
  :root { --header-height: 106px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { display: grid; grid-template-columns: 1fr; grid-template-rows: 58px 48px; }
  .site-header > .brand { font-size: 20px; }
  .brand-mark { width: 23px; height: 23px; }
  .header-right { display: contents; }
  .nav { display: flex; justify-content: space-between; width: 100%; min-width: 0; gap: 12px; font-size: 13px; }
  .nav a { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav a::after { bottom: 6px; }
  .hero { padding: 32px 0 22px; }
  .hero-layout { grid-template-columns: 1fr; gap: 14px; min-height: 0; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { margin-bottom: 18px; font-size: 11px; }
  .hero h1 { font-size: clamp(39px, 10.8vw, 52px); line-height: 1.18; letter-spacing: -.04em; }
  .hero h1 .second { margin-top: 7px; }
  .hero-lead { margin: 19px 0 21px; font-size: 14px; }
  .hero-note { font-size: 11px; margin-top: 12px; }
  .art { margin: 8px 0 20px; }
  .art-controls { bottom: -24px; right: -6px; }
  .plan-strip { grid-template-columns: 1fr; padding: 0 18px; }
  .plan-option { grid-template-columns: 42px minmax(0, 1fr) 12px; padding: 17px 0; min-height: 116px; gap: 18px; }
  .plan-option + .plan-option { border-left: 0; border-top: 1px solid #e7ebf1; }
  .plan-info h3 { font-size: 14px; }
  .plan-icon { width: 42px; height: 48px; }
  .rental-price { font-size: 25px; }
  .plan-arrow { display: block; }
  .term-note { font-size: 10px; }
  .connection { padding: 28px 0 30px; }
  .connection-row { grid-template-columns: 1fr; gap: 20px; }
  .connection h2 { font-size: 16px; }
  .connection h2 br { display: none; }
  .connection-steps { grid-template-columns: 1fr; gap: 14px; }
  .connection-note { font-size: 12px; margin-top: 20px; }
  .desktop-break { display: none; }
  .footer { gap: 12px; flex-wrap: wrap; padding: 16px 0 20px; }
  .footer-text { font-size: 11px; }
  .app-shell { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-main { padding: 20px; min-width: 0; overflow-x: auto; }
  .login-grid { grid-template-columns: 1fr; }
  .login-panel { padding: 40px 0 72px; }
  .login-panel h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none; }
}

/* OS marks: canonical filled silhouettes, identical slots; rental layout unchanged. */
.plan-os-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 50px; color: #171b25; }
.plan-os-mark .plan-icon { display: block; width: 28px; height: 28px; flex: 0 0 28px; color: inherit; }
.plan-os-mark[data-os="windows"] { color: #2458ed; }
.plan-os-name { color: #657080; font-size: 9px; line-height: 11px; letter-spacing: 0; white-space: nowrap; }

/* Approved 2.5D hero: reserved raster geometry with independent SVG exchanges. */
.art .art-viewport { position: relative; aspect-ratio: 13 / 9; max-width: 600px; margin-inline: auto; isolation: isolate; }
.art picture { display: block; }
.hero-devices { display: block; width: 100%; height: auto; aspect-ratio: 13 / 9; }
.exchange-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.exchange-labels { fill: #657080; font-size: 12px; font-family: inherit; letter-spacing: .03em; }
@media (prefers-reduced-motion: reduce) {
  #packet-windows, #packet-mac { opacity: 0; }
  #link-windows, #link-mac { stroke-dashoffset: 0; }
}
