:root {
  --bg: #07110f;
  --surface: #0d1b18;
  --surface-2: #11231f;
  --surface-3: #162d28;
  --text: #eef8f5;
  --muted: #9fb5ae;
  --accent: #8EE5D1;
  --accent-strong: #49cbb4;
  --warning: #f5c16c;
  --danger: #ff8f8f;
  --border: rgba(142, 229, 209, 0.16);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.anchor-section {
  scroll-margin-top: 110px;
}

.anchor-alias {
  display: block;
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 4%, rgba(142, 229, 209, 0.18), transparent 30%),
    linear-gradient(135deg, #07110f 0%, #0a1614 48%, #08100f 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 15, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  min-height: 74px;
  margin: 0 auto;
  padding: 0 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 3px 0;
  font-size: 23px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  background: linear-gradient(135deg, #f4fffc 0%, #8ee5d1 48%, #49cbb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: visible;
  text-shadow:
    0 0 18px rgba(142, 229, 209, 0.2),
    0 0 34px rgba(73, 203, 180, 0.12);
}

.logo-text {
  display: block;
  line-height: 1.2;
  padding: 2px 0 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(142, 229, 209, 0.1);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 10px;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 850;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}

h3 {
  font-size: 21px;
  font-weight: 760;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 690px;
  margin-top: 22px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 229, 209, 0.48);
  background: rgba(142, 229, 209, 0.1);
}

.button-icon {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  opacity: 1;
  filter:
    drop-shadow(0 0 16px rgba(142, 229, 209, 0.38))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.hero-actions .button {
  min-width: 190px;
  border-color: rgba(142, 229, 209, 0.28);
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(7, 17, 15, 0.58);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.hero-actions .button:hover {
  border-color: rgba(142, 229, 209, 0.5);
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(12, 29, 25, 0.72);
}

.button.primary {
  border-color: rgba(142, 229, 209, 0.65);
  background: var(--accent);
  color: #061210;
}

.button.subtle-download {
  border-color: rgba(142, 229, 209, 0.34);
  background: rgba(142, 229, 209, 0.08);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.button.disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(142, 229, 209, 0.15), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.interface-window {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-rows: 42px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(6, 14, 13, 0.72);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

.dot:nth-child(2) {
  opacity: 0.65;
}

.dot:nth-child(3) {
  opacity: 0.35;
}

.window-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 0;
}

.mock-sidebar {
  border-right: 1px solid var(--border);
  background: rgba(142, 229, 209, 0.05);
}

.mock-line {
  width: 54px;
  height: 8px;
  margin: 18px auto;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.mock-line.active {
  background: rgba(142, 229, 209, 0.42);
}

.mock-content {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px;
}

.status-card,
.metric-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.status-card {
  padding: 18px;
}

.guide-preview-card {
  background:
    linear-gradient(135deg, rgba(142, 229, 209, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
}

.status-title {
  color: var(--text);
  font-weight: 800;
}

.guide-preview-card p {
  margin-top: 10px;
  font-size: 14px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}

.status-pill {
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(142, 229, 209, 0.14);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

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

.metric-card {
  min-height: 92px;
  padding: 15px;
}

.metric-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 25px;
}

.mock-steps {
  display: grid;
  gap: 12px;
}

.mock-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 80px;
  padding: 14px;
  border: 1px solid rgba(142, 229, 209, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.mock-step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(142, 229, 209, 0.32);
  border-radius: var(--radius);
  background: rgba(142, 229, 209, 0.1);
  color: var(--accent);
  font-weight: 900;
}

.mock-step strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.2;
}

.mock-step p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.section {
  padding: 54px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-header.spaced {
  margin-top: 54px;
}

.section-header p {
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.help-center {
  padding-top: 62px;
}

.help-center-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.help-center-head .eyebrow {
  margin-bottom: 12px;
}

.help-center-head p:last-child {
  margin-top: 14px;
  font-size: 18px;
}

.help-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.help-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.1), transparent 44%),
    rgba(13, 27, 24, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.help-group-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.help-group-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.icon-tile {
  overflow: visible;
}

.png-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 1;
  filter:
    drop-shadow(0 0 16px rgba(142, 229, 209, 0.38))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.button:hover .button-icon,
.card:hover .png-icon,
.help-group:hover .png-icon,
.support-card:hover .png-icon {
  filter:
    drop-shadow(0 0 22px rgba(142, 229, 209, 0.48))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.36));
}

.icon-hero {
  width: 72px;
  height: 72px;
}

.icon-card {
  width: 48px;
  height: 48px;
}

.icon-button {
  width: 22px;
  height: 22px;
}

.button-icon.icon-button {
  width: 22px;
  height: 22px;
}

.help-group-head p {
  margin-top: 8px;
}

.help-list {
  display: grid;
  gap: 10px;
}

.help-link {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 15px 44px 15px 16px;
  border: 1px solid rgba(142, 229, 209, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 17, 15, 0.36);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.help-link::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--accent);
  font-weight: 900;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.help-link:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 229, 209, 0.44);
  background: rgba(17, 35, 31, 0.88);
}

.help-link:hover::after {
  transform: translate(4px, -50%);
}

.help-link span {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  color: var(--text);
  font-size: 17px;
  font-weight: 820;
}

.help-link small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.help-link.featured {
  border-color: rgba(142, 229, 209, 0.14);
  background: rgba(7, 17, 15, 0.36);
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 2px;
}

.help-actions a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(142, 229, 209, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(7, 17, 15, 0.46);
  color: var(--text);
  font-size: 14px;
  font-weight: 780;
}

.related-guides {
  margin-top: 16px;
}

.related-guides .card {
  position: relative;
  overflow: hidden;
  gap: 12px;
  justify-content: flex-start;
  border-color: rgba(142, 229, 209, 0.2);
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.08), transparent 46%),
    rgba(13, 27, 24, 0.82);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.related-guides .card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 229, 209, 0.48), transparent);
  opacity: 0.72;
}

.related-guides .card:hover {
  border-color: rgba(142, 229, 209, 0.44);
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.12), transparent 48%),
    rgba(15, 31, 28, 0.9);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(142, 229, 209, 0.08);
}

.guide-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-card-title h3 {
  margin: 0;
}

.guide-card-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.guide-card-icon svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.96;
}

.related-guide-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent);
  font-size: 14px;
  font-weight: 760;
}

.related-guide-action::after {
  content: "→";
  transition: transform 0.2s ease;
}

.related-guides .card:hover .related-guide-action::after {
  transform: translateX(4px);
}

.card,
.step-card,
.faq-item,
.support-card,
.screenshot-slot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 27, 24, 0.78);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
}

.card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 229, 209, 0.5);
  background: rgba(17, 35, 31, 0.92);
}

.product-card {
  position: relative;
  overflow: hidden;
  gap: 12px;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 229, 209, 0.45), transparent);
}

.featured-card {
  min-height: 210px;
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.12), transparent 46%),
    rgba(13, 27, 24, 0.82);
}

.card-meta {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(142, 229, 209, 0.22);
  border-radius: var(--radius);
  background: rgba(142, 229, 209, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.download-card {
  gap: 14px;
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 4px;
}

.download-card-head .card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 0;
}

.download-card-head .icon-card {
  width: 60px;
  height: 60px;
}

.download-card .button {
  width: fit-content;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.download-actions + .related-guide-action {
  margin-top: 4px;
}

.card-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: none;
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  text-shadow:
    0 0 6px rgba(142, 229, 209, 0.16),
    0 0 12px rgba(142, 229, 209, 0.06);
}

.quick-card {
  justify-content: flex-start;
  min-height: 224px;
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.07), transparent 45%),
    rgba(13, 27, 24, 0.78);
}

.quick-card h3 {
  margin-top: 2px;
}

.quick-card .icon-card {
  width: 48px;
  height: 48px;
}

body:has(.hero) .product-card.quick-card .card-icon,
body:has(.hero) .product-card.quick-card .icon-card {
  width: 56px;
  height: 56px;
}

.quick-card .card-meta {
  margin-top: auto;
}

.inline-actions {
  margin-top: 10px;
}

.optional-step-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.card p,
.step-card p,
.support-card p {
  margin-top: 10px;
}

.step-card .optional-step-note {
  margin-top: 14px;
}

.page-hero {
  padding: 58px 0 22px;
}

.guide-page .page-hero {
  padding-bottom: 12px;
}

.guide-page .section {
  padding: 34px 0 44px;
}

.page-hero .lead {
  max-width: 820px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.guide-page .content-stack {
  gap: 14px;
}

.panel {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 27, 24, 0.76);
}

.panel.spaced {
  margin-top: 24px;
}

.panel h2 {
  margin-bottom: 16px;
}

.panel h3 + p {
  margin-top: 10px;
}

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

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #0b1715;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  gap: 18px;
  align-items: stretch;
  min-height: 178px;
  padding: 18px;
}

.step-card.text-only {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.step-number {
  position: relative;
  display: inline-flex;
  min-width: 30px;
  align-items: baseline;
  justify-content: flex-start;
  margin: 0 12px 10px 0;
  background: none;
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    0 0 10px rgba(142, 229, 209, 0.4),
    0 0 24px rgba(142, 229, 209, 0.16);
  vertical-align: baseline;
}

.step-number::after {
  content: "";
  width: 18px;
  height: 1px;
  margin-left: 10px;
  background: linear-gradient(90deg, rgba(142, 229, 209, 0.55), transparent);
  transform: translateY(-6px);
}

.step-body {
  min-width: 0;
}

.step-body > h3 {
  display: inline;
  vertical-align: baseline;
}

.step-media {
  display: grid;
  min-height: 142px;
  place-items: center;
  border: 1px dashed rgba(142, 229, 209, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(7, 17, 15, 0.52);
  background-size: 24px 24px;
  color: var(--muted);
  text-align: center;
}

.step-media:has(img) {
  display: block;
  aspect-ratio: auto;
  min-height: 0;
  border-style: solid;
  overflow: visible;
  background: rgba(7, 17, 15, 0.92);
  line-height: 0;
}

.step-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  filter: none;
  opacity: 1;
  transform: none;
  backdrop-filter: none;
  image-rendering: auto;
  object-fit: contain;
}

.windows-guide .step-card,
.office-guide .step-card {
  grid-template-columns: 1fr;
}

.windows-guide .step-media-group,
.office-guide .step-media-group {
  display: grid;
  gap: 16px;
}

.windows-guide .step-media,
.office-guide .step-media {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  overflow: visible;
  border: 1px solid rgba(142, 229, 209, 0.28);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.windows-guide .step-media {
  max-width: min(100%, 1536px);
}

.office-guide .step-media {
  max-width: min(100%, 1672px);
}

.windows-guide .step-media:hover,
.office-guide .step-media:hover {
  border-color: rgba(142, 229, 209, 0.5);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.36);
}

.windows-guide .step-media img,
.office-guide .step-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.windows-guide .step-media img {
  max-width: 1536px;
}

.office-guide .step-media img {
  max-width: 1672px;
}

.step-media span {
  max-width: 210px;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: rgba(7, 17, 15, 0.78);
  font-size: 13px;
  font-weight: 760;
}

.step-hint {
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(142, 229, 209, 0.18);
  border-radius: var(--radius);
  background: rgba(142, 229, 209, 0.06);
  color: var(--muted);
  font-size: 14px;
}

.notice,
.note {
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(142, 229, 209, 0.22);
  border-radius: var(--radius);
  background: rgba(142, 229, 209, 0.08);
  color: var(--text);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}

.notice.important {
  border-color: rgba(142, 229, 209, 0.42);
  background: rgba(142, 229, 209, 0.1);
}

.notice.attention,
.warning {
  border-color: rgba(245, 193, 108, 0.35);
  background: rgba(245, 193, 108, 0.08);
}

.notice.error {
  border-color: rgba(255, 143, 143, 0.4);
  background: rgba(255, 143, 143, 0.08);
}

.notice.tip {
  border-color: rgba(73, 203, 180, 0.34);
  background: rgba(73, 203, 180, 0.08);
}

.upgrade-warning {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid rgba(245, 193, 108, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 193, 108, 0.12), rgba(13, 27, 24, 0.78) 48%);
}

.upgrade-warning h3 {
  color: var(--warning);
}

.error-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.error-card {
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(255, 143, 143, 0.22);
  border-radius: var(--radius);
  background: rgba(33, 17, 18, 0.42);
}

.error-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--danger);
  font-size: 15px;
}

.copy-box {
  margin-top: 18px;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid rgba(142, 229, 209, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 12, 11, 0.72);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-line;
}

.sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.side-box {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 35, 31, 0.8);
}

.side-box strong {
  display: block;
  margin-bottom: 8px;
}

.side-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.side-links a {
  color: var(--accent);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 19px 22px;
  color: var(--text);
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 22px 20px;
}

.support-card {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(142, 229, 209, 0.08), transparent 48%),
    rgba(13, 27, 24, 0.8);
}

.support-card .card-icon {
  margin-bottom: 18px;
}

.support-telegram-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border-color: rgba(142, 229, 209, 0.28);
  background:
    linear-gradient(135deg, rgba(142, 229, 209, 0.12), rgba(13, 27, 24, 0.76) 52%),
    rgba(13, 27, 24, 0.82);
}

.support-telegram-panel h2 {
  margin-bottom: 10px;
}

.method-grid {
  margin-top: 18px;
}

.method-card {
  justify-content: flex-start;
  min-height: 270px;
}

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

.screenshot-slot {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(13, 27, 24, 0.78);
  background-size: 26px 26px;
  text-align: center;
}

.screenshot-slot span {
  display: inline-flex;
  max-width: 260px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(7, 17, 15, 0.76);
  color: var(--muted);
  font-weight: 760;
}

.footer {
  margin-top: 44px;
  border-top: 1px solid var(--border);
  background: rgba(5, 12, 11, 0.62);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 98px;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-2px);
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 8, 7, 0.84);
  backdrop-filter: blur(10px);
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox-content {
  position: relative;
  width: min(100%, 1672px);
  max-height: 90vh;
}

.image-lightbox img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  image-rendering: auto;
  border: 1px solid rgba(142, 229, 209, 0.36);
  border-radius: var(--radius);
  background: rgba(7, 17, 15, 0.92);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.62),
    0 0 56px rgba(142, 229, 209, 0.18);
}

.image-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(142, 229, 209, 0.36);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .hero-grid,
  .content-layout,
  .help-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 500px;
  }

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

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

@media (max-width: 720px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(7, 17, 15, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px;
  }

  .hero {
    padding-top: 48px;
  }

  .section-header,
  .footer-inner {
    display: grid;
  }

  .grid.categories,
  .grid.two,
  .grid.three,
  .steps,
  .sidebar,
  .step-card,
  .error-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .interface-window {
    inset: 18px;
  }

  .mock-content {
    gap: 10px;
    padding: 14px;
  }

  .status-card {
    padding: 12px;
  }

  .mock-step {
    min-height: 68px;
    padding: 11px;
  }

  .mock-step strong {
    font-size: 14px;
  }

  .status-row {
    gap: 8px;
  }

  .metric-card {
    min-height: 70px;
    padding: 12px;
  }

  .metric-card strong {
    margin-bottom: 6px;
    font-size: 20px;
  }

  .card,
  .step-card,
  .support-card,
  .panel,
  .help-group {
    padding: 20px;
  }

  .support-telegram-panel {
    grid-template-columns: 1fr;
  }

  .help-group-head {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .help-link {
    padding-right: 38px;
  }
}

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