:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #040a13;
  --surface: #0d192b;
  --surface-2: #12233a;
  --surface-3: #172c49;
  --line: #263b59;
  --line-strong: #41618e;
  --text: #f4f7fc;
  --muted: #a9b9cf;
  --soft: #7f94b1;
  --blue: #8aabff;
  --blue-strong: #5f8fff;
  --cyan: #63e4cf;
  --warning: #ffd591;
  --danger: #ffb7bd;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg-deep);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(72, 112, 190, .24), transparent 35rem),
    radial-gradient(circle at 7% 62%, rgba(44, 179, 169, .08), transparent 28rem),
    linear-gradient(180deg, #091525 0%, #07111f 45%, #050c16 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

button,
input,
a { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

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

img { max-width: 100%; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.locked .site { display: none; }
body:not(.locked) .access-gate { display: none; }

/* Password gate */
.access-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.access-card {
  width: min(100%, 600px);
  padding: 46px;
  border: 1px solid rgba(123, 157, 214, .42);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(24, 42, 68, .96), rgba(11, 23, 40, .98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.access-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 23px;
  color: #c5d5f0;
  font-size: .875rem;
  letter-spacing: .08em;
}

.access-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid rgba(145, 175, 226, .58);
  border-radius: 17px;
  background: white;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

.access-card h1 {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.access-description {
  max-width: 31rem;
  margin: 15px auto 27px;
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
  line-height: 1.75;
}

.consult-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  margin-bottom: 25px;
  border: 1px solid rgba(99, 228, 207, .42);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(36, 102, 105, .38), rgba(34, 64, 105, .55));
}

.consult-card div {
  display: grid;
  gap: 5px;
}

.consult-card span {
  color: #b7c8dc;
  font-size: .875rem;
}

.consult-card strong {
  font-size: 1.075rem;
  line-height: 1.45;
}

.copy-button,
.text-copy {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(166, 207, 255, .48);
  border-radius: 10px;
  color: #edf4ff;
  background: rgba(102, 143, 211, .2);
  font-size: .875rem;
  font-weight: 650;
}

.copy-button:hover,
.text-copy:hover { background: rgba(102, 143, 211, .34); }

#access-form {
  display: grid;
  gap: 11px;
}

#access-form > label {
  color: #d9e4f5;
  font-size: .9rem;
  font-weight: 650;
}

.password-field {
  display: grid;
  grid-template-columns: 1fr auto;
  overflow: hidden;
  border: 1px solid #405879;
  border-radius: 12px;
  background: #07111e;
  transition: border-color .18s, box-shadow .18s;
}

.password-field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(138, 171, 255, .13);
}

.password-field input {
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font-size: 1rem;
}

.password-field button {
  width: 66px;
  border: 0;
  color: #b8c8de;
  background: transparent;
  font-size: .875rem;
}

.primary-button {
  min-height: 50px;
  margin-top: 3px;
  border: 0;
  border-radius: 12px;
  color: #08162c;
  background: linear-gradient(135deg, #bcd0ff, #73a0ff);
  box-shadow: 0 12px 28px rgba(65, 112, 214, .24);
  font-size: 1rem;
  font-weight: 750;
}

.primary-button:hover { filter: brightness(1.06); }

.access-error {
  margin: 2px 0 0;
  color: var(--danger);
  font-size: .9rem;
}

.gate-footnote {
  margin: 18px 0 0;
  color: var(--soft);
  text-align: center;
  font-size: .8rem;
}

/* Main shell */
.site-header,
.page,
footer {
  width: min(100% - 40px, 1220px);
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 720;
  letter-spacing: -.01em;
}

.brand img {
  width: 37px;
  height: 37px;
  object-fit: cover;
  border: 1px solid #385273;
  border-radius: 11px;
  background: white;
}

.unofficial-badge {
  padding: 7px 11px;
  border: 1px solid #293d59;
  border-radius: 999px;
  color: #95a8c2;
  background: rgba(12, 25, 43, .75);
  font-size: .78rem;
}

.page { padding: 24px 0 72px; }

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 33px 36px;
  border: 1px solid rgba(68, 95, 133, .6);
  border-radius: 24px;
  background:
    linear-gradient(105deg, rgba(26, 47, 76, .93), rgba(13, 27, 48, .78)),
    radial-gradient(circle at 90% 20%, rgba(99, 228, 207, .18), transparent 18rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

.hero-kicker {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(99, 228, 207, .32);
  border-radius: 999px;
  color: #91e7d9;
  background: rgba(32, 111, 105, .18);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.hero p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.025rem;
  line-height: 1.7;
}

.hero-status {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bdd0e8;
}

.hero-status strong {
  font-size: 3.3rem;
  line-height: 1;
  color: var(--cyan);
  font-weight: 720;
}

.hero-status span {
  font-size: .875rem;
  line-height: 1.55;
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  padding: 11px;
  margin: 18px 0;
  border: 1px solid rgba(50, 73, 106, .72);
  border-radius: 16px;
  background: rgba(7, 17, 31, .7);
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  color: #7f92ad;
  font-size: .82rem;
  transition: color .18s, background .18s;
}

.progress-item b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #344a69;
  border-radius: 8px;
  font-size: .7rem;
}

.progress-item.active {
  color: #eaf1ff;
  background: rgba(68, 104, 167, .25);
}

.progress-item.active b {
  border-color: var(--blue);
  color: #09162a;
  background: var(--blue);
}

.guide-layout { min-height: 570px; }

/* Desktop template */
body[data-layout="desktop"] .guide-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body[data-layout="desktop"] .step-sidebar,
body[data-layout="desktop"] .desktop-detail { display: block; }
body[data-layout="desktop"] .mobile-accordion { display: none; }

.step-sidebar {
  position: sticky;
  top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(12, 25, 43, .88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.sidebar-label {
  margin: 0 0 12px;
  color: #8094b1;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .09em;
}

.desktop-nav { display: grid; gap: 7px; }

.desktop-nav button {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #aabbd0;
  text-align: left;
  background: transparent;
  transition: background .18s, border-color .18s, color .18s;
}

.desktop-nav button:hover {
  color: #eef4ff;
  background: rgba(31, 55, 88, .62);
}

.desktop-nav button.active {
  border-color: rgba(119, 156, 221, .46);
  color: white;
  background: linear-gradient(135deg, rgba(49, 79, 128, .7), rgba(29, 55, 91, .62));
}

.nav-icon,
.mobile-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #334b6c;
  border-radius: 11px;
  color: #9bb8f5;
  background: rgba(13, 30, 52, .8);
}

.nav-icon svg,
.mobile-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-nav button.active .nav-icon {
  border-color: rgba(138, 171, 255, .62);
  color: white;
  background: rgba(90, 137, 226, .32);
}

.nav-copy { min-width: 0; }
.nav-copy strong { display: block; font-size: .94rem; line-height: 1.35; }
.nav-copy span { display: block; margin-top: 4px; color: #7287a4; font-size: .73rem; }
.nav-arrow { color: #67809f; font-size: 1.1rem; }

.sidebar-help {
  display: grid;
  gap: 5px;
  padding: 17px;
  margin-top: 18px;
  border: 1px solid rgba(99, 228, 207, .22);
  border-radius: 14px;
  background: rgba(38, 107, 101, .12);
}

.sidebar-help span { color: #8aa09f; font-size: .78rem; }
.sidebar-help strong { font-size: .9rem; }
.sidebar-help .text-copy { justify-self: start; min-height: 35px; padding: 6px 10px; margin-top: 7px; }

.desktop-detail {
  min-height: 570px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16, 31, 53, .96), rgba(9, 21, 37, .96));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

/* Mobile template */
body[data-layout="mobile"] .step-sidebar,
body[data-layout="mobile"] .desktop-detail { display: none; }
body[data-layout="mobile"] .mobile-accordion { display: grid; gap: 12px; }

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(13, 27, 47, .9);
  transition: border-color .18s, background .18s;
}

.accordion-item.active {
  border-color: rgba(123, 160, 225, .62);
  background: rgba(17, 35, 60, .96);
}

.accordion-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 15px;
  border: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
}

.mobile-icon { width: 43px; height: 43px; }
.accordion-title strong { display: block; font-size: 1rem; line-height: 1.4; }
.accordion-title span { display: block; margin-top: 4px; color: #7f94af; font-size: .76rem; }
.accordion-chevron { color: #8298b7; font-size: 1.25rem; transition: transform .18s; }
.accordion-item.active .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { padding: 0 17px 22px; border-top: 1px solid rgba(49, 72, 104, .7); }

/* Shared content */
.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 23px;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(48, 72, 105, .76);
}

.detail-step {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.detail-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.detail-header p {
  max-width: 42rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.detail-number {
  flex: 0 0 auto;
  color: rgba(138, 171, 255, .2);
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 780;
}

.content-section + .content-section { margin-top: 28px; }

.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.section-heading::before {
  width: 5px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--blue-strong));
  content: "";
}

.check-list,
.plain-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding: 13px 15px 13px 46px;
  border: 1px solid rgba(46, 69, 100, .72);
  border-radius: 12px;
  color: #c2cfe0;
  background: rgba(6, 17, 31, .48);
  font-size: 1rem;
  line-height: 1.65;
}

.check-list li::before {
  position: absolute;
  left: 16px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  color: #061a1d;
  background: var(--cyan);
  content: "✓";
  font-size: .75rem;
  font-weight: 900;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 17px;
}

.action-button,
.outline-button,
.navigation-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 700;
}

.action-button {
  border: 1px solid transparent;
  color: #07162a;
  background: linear-gradient(135deg, #bcd1ff, #7ca7ff);
}

.outline-button,
.navigation-button {
  border: 1px solid #3b5578;
  color: #d9e5f7;
  background: rgba(25, 46, 76, .65);
}

.action-button:hover,
.outline-button:hover,
.navigation-button:hover { filter: brightness(1.08); }

.external-pill {
  color: #8ca1bd;
  font-size: .76rem;
}

.notice {
  padding: 14px 16px;
  margin: 17px 0 0;
  border-left: 3px solid var(--blue);
  border-radius: 0 11px 11px 0;
  color: #9fb2ce;
  background: rgba(26, 48, 80, .42);
  font-size: .9rem;
  line-height: 1.7;
}

.responsibility-grid,
.service-grid,
.plan-grid,
.registration-steps,
.device-grid {
  display: grid;
  gap: 13px;
}

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

.responsibility-card,
.service-card,
.plan-card,
.registration-step,
.device-card {
  border: 1px solid rgba(49, 75, 109, .74);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(19, 40, 67, .82), rgba(9, 22, 39, .76));
}

.responsibility-card { padding: 20px; }
.responsibility-card strong { display: block; margin-bottom: 9px; font-size: 1rem; }
.responsibility-card p { margin: 0; color: #a9b9cf; font-size: .92rem; line-height: 1.75; }
.responsibility-card.user { border-top: 3px solid #f2b76e; }
.responsibility-card.merchant { border-top: 3px solid var(--cyan); }

.registration-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.registration-step { padding: 19px; }
.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border: 1px solid rgba(138, 171, 255, .45);
  border-radius: 10px;
  color: #eaf1ff;
  background: rgba(79, 124, 208, .25);
  font-size: .82rem;
  font-weight: 800;
}
.registration-step h3 { margin: 0 0 8px; font-size: 1rem; }
.registration-step p { margin: 0; color: #a8b9cf; font-size: .9rem; line-height: 1.7; }

.figure-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px;
  margin-top: 17px;
  border: 1px solid #324c70;
  border-radius: 15px;
  background: rgba(7, 18, 33, .74);
}

.figure-card img {
  width: 100%;
  max-height: 245px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.figure-copy { min-width: 148px; }
.figure-copy strong { display: block; font-size: .95rem; }
.figure-copy span { display: block; margin: 7px 0 12px; color: #8397b3; font-size: .8rem; line-height: 1.55; }

.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-card { position: relative; overflow: hidden; padding: 20px; }
.plan-card.recommended { border-color: rgba(128, 153, 255, .68); box-shadow: inset 0 2px 0 #8c79ff; }
.plan-label { color: #879bb6; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.plan-card h3 { margin: 8px 0 5px; font-size: 1.22rem; }
.plan-amount { margin: 0; color: #c4d6ef; font-size: .9rem; }
.plan-card ul { padding-left: 18px; margin: 15px 0 0; color: #9eafc5; font-size: .86rem; line-height: 1.75; }
.recommend-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #d7d0ff;
  background: rgba(126, 91, 229, .22);
  font-size: .66rem;
}

.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { padding: 21px; }
.service-card.primary-service { border-color: rgba(99, 228, 207, .37); background: linear-gradient(145deg, rgba(25, 71, 72, .5), rgba(12, 31, 51, .88)); }
.service-kicker { color: #8ea4bf; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.service-card h3 { margin: 8px 0 15px; font-size: 1.13rem; }
.wechat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(71, 104, 143, .65);
  border-radius: 10px;
  background: rgba(4, 15, 28, .42);
}
.wechat-row + .wechat-row { margin-top: 9px; }
.wechat-row span { color: #aabbd0; font-size: .83rem; }
.wechat-row strong { display: block; margin-top: 3px; font-size: .95rem; }
.wechat-row .text-copy { min-height: 34px; padding: 6px 9px; }
.service-card ol { padding-left: 21px; margin: 0; color: #a9b9cf; font-size: .9rem; line-height: 1.72; }
.service-card li + li { margin-top: 7px; }

.device-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.device-card {
  min-height: 86px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 15px 10px;
  color: #bfcee1;
  text-align: center;
}
.device-card svg { width: 25px; height: 25px; stroke: var(--blue); fill: none; stroke-width: 1.7; }
.device-card span { font-size: .86rem; }

.detail-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding-top: 25px;
  margin-top: 31px;
  border-top: 1px solid rgba(48, 72, 105, .72);
}

.navigation-button[disabled] {
  opacity: .36;
  cursor: default;
  filter: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 25px 0 32px;
  border-top: 1px solid rgba(38, 58, 84, .68);
  color: #778ba6;
  font-size: .78rem;
}

.image-dialog {
  width: min(94vw, 1120px);
  max-height: 92vh;
  padding: 0;
  overflow: auto;
  border: 1px solid #45628a;
  border-radius: 18px;
  color: white;
  background: #081321;
  box-shadow: var(--shadow);
}

.image-dialog::backdrop { background: rgba(2, 7, 14, .86); backdrop-filter: blur(6px); }
.dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 17px;
  border-bottom: 1px solid #2f4666;
  background: rgba(8, 19, 33, .95);
}
.dialog-bar button { padding: 7px 10px; border: 0; color: #c7d5e7; background: transparent; }
.image-dialog img { display: block; width: 100%; height: auto; background: white; }

/* Forced preview surfaces */
html[data-preview="mobile"] body {
  width: min(100%, 430px);
  margin-inline: auto;
  box-shadow: 0 0 80px rgba(0, 0, 0, .58);
}

html[data-preview="desktop"] body { min-width: 1024px; }

body[data-layout="mobile"] .site-header,
body[data-layout="mobile"] .page,
body[data-layout="mobile"] footer { width: min(100% - 28px, 720px); }

body[data-layout="mobile"] .site-header { min-height: 70px; }
body[data-layout="mobile"] .brand { font-size: .91rem; }
body[data-layout="mobile"] .brand img { width: 33px; height: 33px; }
body[data-layout="mobile"] .unofficial-badge { display: none; }
body[data-layout="mobile"] .page { padding-top: 13px; padding-bottom: 52px; }
body[data-layout="mobile"] .hero { align-items: flex-start; padding: 23px 21px; border-radius: 19px; }
body[data-layout="mobile"] .hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
body[data-layout="mobile"] .hero p { font-size: .94rem; }
body[data-layout="mobile"] .hero-status { display: none; }
body[data-layout="mobile"] .progress-strip {
  grid-template-columns: repeat(4, minmax(86px, 1fr));
  overflow-x: auto;
  scrollbar-width: none;
}
body[data-layout="mobile"] .progress-strip::-webkit-scrollbar { display: none; }
body[data-layout="mobile"] .progress-item { justify-content: center; padding-inline: 6px; }
body[data-layout="mobile"] .progress-item span { display: none; }
body[data-layout="mobile"] .detail-header { padding: 19px 0 18px; margin-bottom: 20px; }
body[data-layout="mobile"] .detail-header h2 { font-size: 1.52rem; }
body[data-layout="mobile"] .detail-header p { font-size: .94rem; }
body[data-layout="mobile"] .detail-number { display: none; }
body[data-layout="mobile"] .responsibility-grid,
body[data-layout="mobile"] .registration-steps,
body[data-layout="mobile"] .plan-grid,
body[data-layout="mobile"] .service-grid { grid-template-columns: 1fr; }
body[data-layout="mobile"] .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-layout="mobile"] .figure-card { grid-template-columns: 1fr; }
body[data-layout="mobile"] .figure-copy { min-width: 0; }
body[data-layout="mobile"] .figure-card img { max-height: none; }
body[data-layout="mobile"] .check-list li,
body[data-layout="mobile"] .plain-list li { font-size: .94rem; }
body[data-layout="mobile"] .detail-navigation { gap: 9px; }
body[data-layout="mobile"] .navigation-button { flex: 1; padding-inline: 10px; }
body[data-layout="mobile"] footer { flex-direction: column; line-height: 1.6; }

@media (max-width: 640px) {
  .access-gate { padding: 16px; }
  .access-card { padding: 31px 22px; border-radius: 22px; }
  .access-brand { margin-bottom: 19px; }
  .access-logo { width: 50px; height: 50px; border-radius: 15px; }
  .access-card h1 { font-size: clamp(1.15rem, 6vw, 1.65rem); }
  .access-description { margin-bottom: 21px; font-size: .92rem; }
  .consult-card { align-items: stretch; flex-direction: column; padding: 15px; }
  .copy-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

:focus-visible {
  outline: 3px solid #a8c1ff;
  outline-offset: 3px;
}
