:root {
  color-scheme: dark;
  --bg: #030511;
  --bg-deep: #050817;
  --panel: rgba(8, 13, 32, 0.82);
  --panel-solid: #0a1027;
  --card: rgba(17, 25, 53, 0.68);
  --line: rgba(151, 175, 255, 0.19);
  --line-strong: rgba(121, 217, 255, 0.43);
  --text: #f4f8ff;
  --muted: #9eabc9;
  --cyan: #54dcff;
  --blue: #6f9cff;
  --violet: #a887ff;
  --rose: #ff75c6;
  --green: #5cf2b8;
  --amber: #ffc866;
  --radius: 30px;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.54), 0 0 55px rgba(80, 126, 255, 0.12);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(79, 101, 255, 0.2), transparent 45%),
    linear-gradient(150deg, #02040d 0%, #05091b 52%, #030511 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(93, 213, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 116, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.94), transparent 92%);
}

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

button {
  font: inherit;
}

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

svg {
  display: block;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.ambient__orb,
.ambient__beam {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.ambient__orb {
  width: 66vmax;
  height: 66vmax;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.25;
}

.ambient__orb--cyan {
  top: -38vmax;
  left: -24vmax;
  background: radial-gradient(circle, rgba(26, 205, 255, 0.75), rgba(18, 94, 255, 0.17) 46%, transparent 68%);
  animation: orb-cyan 18s ease-in-out infinite alternate;
}

.ambient__orb--violet {
  right: -34vmax;
  bottom: -38vmax;
  background: radial-gradient(circle, rgba(164, 94, 255, 0.68), rgba(255, 70, 190, 0.14) 45%, transparent 70%);
  animation: orb-violet 22s ease-in-out infinite alternate;
}

.ambient__beam {
  left: -30%;
  width: 160%;
  height: 15vmax;
  opacity: 0.16;
  filter: blur(40px);
  background: linear-gradient(90deg, transparent 12%, rgba(60, 227, 255, 0.88) 46%, rgba(160, 102, 255, 0.68) 59%, transparent 88%);
}

.ambient__beam--one {
  top: 14%;
  transform: rotate(-17deg) translate3d(-12%, 0, 0);
  animation: beam-one 13s ease-in-out infinite alternate;
}

.ambient__beam--two {
  bottom: 12%;
  transform: rotate(18deg) translate3d(10%, 0, 0);
  animation: beam-two 16s ease-in-out infinite alternate;
}

@keyframes orb-cyan {
  to { transform: translate3d(15vmax, 13vmax, 0) scale(1.08); opacity: 0.38; }
}

@keyframes orb-violet {
  to { transform: translate3d(-15vmax, -12vmax, 0) scale(1.1); opacity: 0.35; }
}

@keyframes beam-one {
  to { transform: rotate(-10deg) translate3d(14%, 7vmax, 0); opacity: 0.28; }
}

@keyframes beam-two {
  to { transform: rotate(12deg) translate3d(-15%, -5vmax, 0); opacity: 0.25; }
}

.viewport {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 20px;
}

.portal {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(540px, calc((100svh - 40px) * 0.5625), calc(100vw - 32px));
  min-height: min(960px, calc(100svh - 40px));
  aspect-ratio: 9 / 16;
  flex-direction: column;
  padding: clamp(22px, 3.6vmin, 34px);
  overflow: hidden;
  border: 1px solid rgba(139, 202, 255, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(12, 19, 45, 0.89), rgba(5, 9, 26, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.portal::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 210, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 118, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 15% 11%, rgba(54, 218, 255, 0.18), transparent 30%),
    radial-gradient(circle at 87% 34%, rgba(146, 87, 255, 0.18), transparent 34%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 62%, transparent 100%);
}

.portal::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 14%, rgba(90, 225, 255, 0.055) 42%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 20%, transparent 82%, rgba(78, 117, 255, 0.08));
}

.portal__scan {
  position: absolute;
  z-index: 0;
  top: -22%;
  left: 0;
  width: 100%;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(74, 223, 255, 0.07), transparent);
  animation: portal-scan 9s linear infinite;
}

@keyframes portal-scan {
  to { transform: translate3d(0, 720%, 0); }
}

.topbar,
.hero,
.nav-section,
.partner-panel,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(105, 223, 255, 0.56);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(63, 212, 255, 0.23), rgba(125, 92, 255, 0.2));
  box-shadow: inset 0 0 16px rgba(83, 205, 255, 0.11), 0 0 22px rgba(63, 197, 255, 0.13);
  transform: rotate(8deg);
}

.brand__mark::before,
.brand__mark::after,
.brand__mark i {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand__mark::before {
  width: 18px;
  height: 18px;
  border: 1px solid var(--cyan);
}

.brand__mark::after {
  width: 4px;
  height: 4px;
  background: #fff;
  box-shadow: 0 0 10px var(--cyan);
}

.brand__mark i {
  width: 25px;
  height: 9px;
  border-top: 1px solid rgba(181, 135, 255, 0.85);
  transform: rotate(-38deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-size: 0.89rem;
  letter-spacing: 0.08em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(85, 242, 184, 0.21);
  border-radius: 999px;
  color: #bafbe2;
  background: rgba(45, 173, 126, 0.09);
  font-size: 0.7rem;
  white-space: nowrap;
}

.status i,
.footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: status-pulse 2.2s ease-in-out infinite;
}

@keyframes status-pulse {
  50% { opacity: 0.38; transform: scale(0.82); }
}

.hero {
  margin-top: clamp(24px, 4.7vmin, 43px);
}

.eyebrow,
.modal__eyebrow {
  margin: 0 0 12px;
  color: #b7c8ec;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--cyan);
  text-shadow: 0 0 14px var(--cyan);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 10vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  width: fit-content;
  color: transparent;
  background: linear-gradient(95deg, #fff 0%, #7de8ff 42%, #b995ff 86%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 20px rgba(79, 213, 255, 0.14));
}

.hero__lead {
  max-width: 430px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 3vw, 0.9rem);
  line-height: 1.65;
}

.offer-row {
  display: flex;
  align-items: stretch;
  gap: 11px;
  margin-top: 18px;
}

.price-card,
.offer-note {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(13, 22, 50, 0.57);
}

.price-card {
  display: inline-flex;
  min-width: 148px;
  align-items: baseline;
  padding: 10px 13px;
  border-color: rgba(117, 216, 255, 0.28);
  background: linear-gradient(135deg, rgba(51, 186, 255, 0.13), rgba(120, 80, 255, 0.12));
  box-shadow: inset 0 0 20px rgba(75, 209, 255, 0.045);
}

.price-card__label {
  margin-right: 7px;
  color: #b7dfff;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.price-card strong {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(88, 213, 255, 0.28);
}

.price-card__unit {
  margin-left: 3px;
  color: #c8d1e7;
  font-size: 0.67rem;
}

.offer-note {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 9px 12px;
}

.offer-note strong {
  overflow: hidden;
  font-size: 0.73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.offer-note span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.63rem;
}

.nav-section {
  margin-top: clamp(20px, 4vmin, 34px);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.section-heading span {
  color: #687795;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nav-card {
  --accent: var(--cyan);
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 82px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(145deg, rgba(20, 31, 65, 0.76), rgba(10, 16, 39, 0.66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-card::before {
  position: absolute;
  top: -40%;
  left: -68%;
  width: 92%;
  height: 180%;
  content: "";
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  transform: rotate(20deg);
  transition: left 420ms ease, opacity 180ms ease;
}

.nav-card:hover,
.nav-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  outline: none;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, rgba(20, 31, 65, 0.9)), rgba(10, 16, 39, 0.82));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), inset 0 0 24px color-mix(in srgb, var(--accent) 7%, transparent);
  transform: translateY(-2px);
}

.nav-card:hover::before,
.nav-card:focus-visible::before {
  left: 85%;
  opacity: 1;
}

.nav-card:active {
  transform: translateY(0) scale(0.985);
}

.nav-card--violet { --accent: var(--violet); }
.nav-card--blue { --accent: var(--blue); }
.nav-card--rose { --accent: var(--rose); }
.nav-card--amber { --accent: var(--amber); }
.nav-card--green { --accent: var(--green); }

.nav-card__number {
  position: absolute;
  top: 8px;
  right: 9px;
  color: color-mix(in srgb, var(--accent) 52%, #5d6781);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.nav-card__icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 11px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, rgba(4, 8, 22, 0.6));
  box-shadow: inset 0 0 13px color-mix(in srgb, var(--accent) 5%, transparent), 0 0 15px color-mix(in srgb, var(--accent) 5%, transparent);
}

.nav-card__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.nav-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding-right: 3px;
}

.nav-card__copy strong {
  font-size: clamp(0.72rem, 3vw, 0.82rem);
  font-weight: 720;
  line-height: 1.32;
}

.nav-card__copy small {
  margin-top: 4px;
  overflow: hidden;
  color: #8592af;
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-card__arrow {
  position: absolute;
  right: 9px;
  bottom: 7px;
  color: color-mix(in srgb, var(--accent) 64%, #78839b);
  font-size: 0.68rem;
}

.partner-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(162, 126, 255, 0.22);
  border-radius: 15px;
  background: linear-gradient(100deg, rgba(105, 77, 214, 0.12), rgba(37, 174, 222, 0.08));
}

.partner-panel > div {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}

.partner-panel span {
  color: #aab4cc;
  font-size: 0.65rem;
}

.partner-panel strong {
  color: #fff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.89rem;
  letter-spacing: 0.06em;
}

.copy-button {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(108, 216, 255, 0.26);
  border-radius: 9px;
  color: #cbedff;
  background: rgba(33, 150, 204, 0.1);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(108, 216, 255, 0.62);
  outline: none;
  background: rgba(33, 150, 204, 0.19);
}

.copy-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.copy-button span {
  color: inherit;
  font-size: 0.61rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  color: #65718d;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}

.footer span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer i {
  display: inline-block;
  width: 5px;
  height: 5px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 3, 10, 0.83);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal__panel {
  position: relative;
  width: min(390px, 100%);
  max-height: 100%;
  padding: 26px;
  overflow: auto;
  border: 1px solid rgba(105, 220, 255, 0.31);
  border-radius: 24px;
  outline: none;
  background:
    radial-gradient(circle at 50% 0, rgba(67, 190, 255, 0.13), transparent 38%),
    #080e24;
  box-shadow: 0 30px 95px rgba(0, 0, 0, 0.7), 0 0 45px rgba(82, 181, 255, 0.12);
  transform: translateY(14px) scale(0.98);
  transition: transform 180ms ease;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #bdc7dc;
  background: rgba(18, 27, 53, 0.76);
  cursor: pointer;
}

.modal__eyebrow {
  color: var(--cyan);
}

.modal h2 {
  margin: 0;
  font-size: 1.55rem;
}

.modal h2 + p {
  margin: 8px 28px 18px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.qr-frame {
  position: relative;
  width: min(278px, 100%);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(88, 216, 255, 0.38);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 0 35px rgba(78, 202, 255, 0.17);
}

.qr-frame::before,
.qr-frame::after,
.qr-frame > span::before,
.qr-frame > span::after {
  position: absolute;
  width: 23px;
  height: 23px;
  content: "";
  pointer-events: none;
  border-color: var(--cyan);
  border-style: solid;
}

.qr-frame::before { top: -4px; left: -4px; border-width: 2px 0 0 2px; border-radius: 7px 0 0; }
.qr-frame::after { top: -4px; right: -4px; border-width: 2px 2px 0 0; border-radius: 0 7px 0 0; }
.qr-frame > span::before { bottom: -4px; left: -4px; border-width: 0 0 2px 2px; border-radius: 0 0 0 7px; }
.qr-frame > span::after { right: -4px; bottom: -4px; border-width: 0 2px 2px 0; border-radius: 0 0 7px; }

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.qr-tip {
  margin: 14px 0 0;
  color: #c9d7ed;
  font-size: 0.74rem;
  line-height: 1.55;
  text-align: center;
}

.qr-tip--mobile {
  display: none;
}

.modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.modal-button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #d8e1f3;
  background: rgba(22, 31, 59, 0.8);
  cursor: pointer;
}

.modal-button--primary {
  border-color: rgba(70, 214, 255, 0.36);
  color: #04111c;
  font-weight: 800;
  background: linear-gradient(100deg, #66e4ff, #9a91ff);
}

body.modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  z-index: 130;
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 14px));
  left: 50%;
  min-width: 180px;
  padding: 11px 16px;
  border: 1px solid rgba(96, 227, 255, 0.32);
  border-radius: 12px;
  color: #e9fbff;
  background: rgba(7, 19, 35, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  font-size: 0.75rem;
  text-align: center;
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Guide */
.guide-page {
  padding: 0;
}

.guide-wrap {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.guide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 14, 34, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.back-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(105, 215, 255, 0.23);
  border-radius: 10px;
  color: #c9eaff;
  background: rgba(39, 153, 202, 0.08);
  font-size: 0.74rem;
}

.guide-hero {
  position: relative;
  margin-top: 18px;
  padding: clamp(28px, 6vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(137, 196, 255, 0.23);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(12, 20, 49, 0.92), rgba(7, 11, 30, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
}

.guide-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(87, 220, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 112, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(115, 88, 255, 0.2), transparent 36%);
  background-size: 38px 38px, 38px 38px, auto;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.guide-hero > * {
  position: relative;
}

.guide-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4rem);
  letter-spacing: -0.05em;
}

.guide-hero h1 span {
  color: var(--cyan);
}

.guide-hero__lead {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.guide-notice {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 199, 102, 0.25);
  border-radius: 16px;
  color: #ebdfc7;
  background: rgba(138, 91, 20, 0.11);
  font-size: 0.82rem;
  line-height: 1.75;
}

.guide-notice strong {
  color: var(--amber);
}

.guide-content {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.guide-section {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 14, 34, 0.77);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
}

.guide-section__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.guide-section__heading span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(86, 216, 255, 0.29);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(49, 176, 222, 0.08);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
}

.guide-section h2 {
  margin: 0;
  font-size: 1.08rem;
}

.guide-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  position: relative;
  padding-left: 20px;
  color: #b5c0d7;
  font-size: 0.84rem;
  line-height: 1.72;
}

.guide-list li::before {
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(84, 220, 255, 0.55);
}

.basics-grid,
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.basic-card,
.quick-link {
  padding: 16px;
  border: 1px solid rgba(147, 166, 218, 0.15);
  border-radius: 15px;
  background: rgba(20, 29, 59, 0.55);
}

.basic-card strong,
.quick-link strong {
  display: block;
  font-size: 0.82rem;
}

.basic-card p,
.quick-link span {
  display: block;
  margin: 7px 0 0;
  color: #8f9cb7;
  font-size: 0.72rem;
  line-height: 1.62;
}

.quick-link {
  transition: border-color 160ms ease, transform 160ms ease;
}

.quick-link:hover,
.quick-link:focus-visible {
  border-color: rgba(87, 218, 255, 0.42);
  outline: none;
  transform: translateY(-2px);
}

.guide-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  align-items: center;
  gap: 28px;
}

.guide-contact .qr-frame {
  width: 100%;
}

.guide-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 4px 0;
  color: #687590;
  font-size: 0.65rem;
}

@media (max-width: 600px) {
  .viewport {
    display: block;
    padding: 0;
  }

  .portal {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    aspect-ratio: auto;
    padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .portal::before {
    background-size: 31px 31px, 31px 31px, auto, auto;
  }

  .hero {
    margin-top: 24px;
  }

  .offer-row {
    margin-top: 15px;
  }

  .nav-section {
    margin-top: 22px;
  }

  .nav-card {
    min-height: 80px;
    gap: 8px;
    padding: 13px 10px;
  }

  .nav-card__copy strong {
    font-size: clamp(0.69rem, 3.45vw, 0.8rem);
  }

  .qr-tip--desktop {
    display: none;
  }

  .qr-tip--mobile {
    display: block;
  }

  .guide-wrap {
    width: min(100% - 24px, 920px);
    padding-top: 12px;
  }

  .guide-topbar {
    padding: 11px 12px;
  }

  .guide-hero {
    margin-top: 12px;
    border-radius: 22px;
  }

  .basics-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .guide-contact {
    grid-template-columns: 1fr;
  }

  .guide-contact .qr-frame {
    width: min(260px, 100%);
  }

  .guide-footer {
    flex-direction: column;
  }
}

@media (max-width: 355px) {
  .brand__text small,
  .offer-note span,
  .nav-card__copy small,
  .footer span:last-child {
    display: none;
  }

  .offer-row {
    gap: 8px;
  }

  .price-card {
    min-width: 137px;
  }

  .nav-grid {
    gap: 8px;
  }

  .nav-card {
    min-height: 74px;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 7px;
    padding: 11px 8px;
  }

  .nav-card__icon {
    width: 31px;
    height: 31px;
  }

  .partner-panel > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (min-width: 601px) and (max-height: 820px) {
  .portal {
    padding: 20px 22px;
  }

  .hero {
    margin-top: 20px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero__lead {
    margin-top: 8px;
    line-height: 1.45;
  }

  .offer-row {
    margin-top: 12px;
  }

  .nav-section {
    margin-top: 16px;
  }

  .nav-card {
    min-height: 68px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .partner-panel {
    margin-top: 9px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .footer {
    padding-top: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .portal,
  .guide-topbar,
  .modal__backdrop {
    background-color: var(--panel-solid);
  }
}
