/* dm-rf style landings — shared shell */
:root {
  --bg: #0f1219;
  --bg-elevated: #1a1f2e;
  --surface: #1e2433;
  --surface-2: #252b3d;
  --border: rgba(148, 163, 184, 0.14);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #e85d04;
  --accent-2: #f48c06;
  --accent-glow: rgba(232, 93, 4, 0.35);
  --success: #34d399;
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Libre Franklin", var(--font);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* subtle grid background */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(232, 93, 4, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 93, 4, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent);
}

.gradient-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  z-index: -1;
  pointer-events: none;
}
.gradient-orb--1 {
  top: -200px;
  right: -100px;
  background: var(--accent);
}
.gradient-orb--2 {
  bottom: 10%;
  left: -200px;
  background: var(--accent-2);
}

.wrap {
  width: min(var(--max), 100% - 2.5rem);
  margin-inline: auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 18, 0.78);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo:hover {
  color: var(--text);
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}
.nav-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
}
.nav-pages a {
  color: var(--muted);
  text-decoration: none;
}
.nav-pages a:hover,
.nav-pages a.is-active {
  color: var(--text);
}

.nav-pages--tworow {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  max-width: min(100%, 28rem);
}
.nav-pages__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  justify-content: flex-end;
}

/* внутренняя перелинковка для SEO */
.internal-links {
  padding-top: 2rem;
  padding-bottom: 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.internal-links__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 1rem;
}
.internal-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.internal-links__list a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}
.internal-links__list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #042f2e;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 40px var(--accent-glow);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 48px var(--accent-glow);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: var(--surface);
  text-decoration: none;
}

/* hero */
.hero {
  padding: 3.5rem 0 4rem;
}
@media (min-width: 900px) {
  .hero {
    padding: 5rem 0 5.5rem;
  }
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 34ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__meta strong {
  color: var(--text);
  display: block;
  font-size: 1rem;
}
.hero__visual {
  position: relative;
}
.hero__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__card {
  position: absolute;
  bottom: -1rem;
  left: -0.5rem;
  right: -0.5rem;
  margin: 0 auto;
  max-width: 280px;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}
@media (min-width: 900px) {
  .hero__card {
    left: auto;
    right: -1.5rem;
    bottom: 1.5rem;
  }
}
.hero__card-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.hero__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* sections */
.section {
  padding: 3.5rem 0;
}
.section--tight {
  padding-top: 0;
}
.section__head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}
.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.section__sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}
.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.15));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

a.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.card--link:hover {
  text-decoration: none;
  color: inherit;
}

.cards--services {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.split--services {
  margin-bottom: 2.25rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .split--reverse .split__media {
    order: 2;
  }
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/11;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__content h2 {
  margin-top: 0;
}
.split ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.split li + li {
  margin-top: 0.5rem;
}

.pricing {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.price-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  margin: 0 0 0.75rem;
  border: 1px solid var(--border);
}
.price-card--featured {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(180deg, var(--surface-2), var(--bg-elevated));
  position: relative;
}
.price-card--featured::before {
  content: "Популярно";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #042f2e;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
  color: var(--text);
}
.price-card .amount small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.price-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  position: relative;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  color: rgba(56, 189, 248, 0.35);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-band {
  margin: 2rem 0;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.12));
  border: 1px solid rgba(56, 189, 248, 0.25);
  text-align: center;
}
.cta-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
}
.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer__geo {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.site-footer__geo-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .site-footer__geo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.geo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.geo-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.geo-card__region {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.geo-card__text {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.geo-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.geo-card__link:hover {
  text-decoration: underline;
}
.site-footer__meta {
  padding-top: 0;
}
.site-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
.site-footer__contacts a {
  font-weight: 600;
  color: var(--text);
}
.site-footer__contacts a:hover {
  color: var(--accent);
}

.site-footer__meta p a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.site-footer__meta p a:hover {
  text-decoration: underline;
}

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

.breadcrumbs {
  padding: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--border);
  pointer-events: none;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--text);
}

/* Иконка «гамбургер» (три полоски) — шапка и нижняя панель */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 18px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}
[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
  background: rgba(7, 11, 18, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.mobile-bar__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 52px;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar__action:hover,
.mobile-bar__action:focus-visible {
  color: var(--text);
}
.mobile-bar__action--accent {
  color: var(--accent);
}
.mobile-bar__menu[aria-expanded="true"] {
  color: var(--accent);
}
.mobile-bar__label {
  line-height: 1.1;
}

body {
  padding-bottom: 0;
}

/* ——— Mobile UX (specs/mobile-ux.md) ——— */
@media (max-width: 899px) {
  .wrap {
    width: min(var(--max), 100% - 1.25rem);
  }

  .site-header__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
  }

  .logo {
    font-size: 0.92rem;
  }

  .header-cta {
    flex-shrink: 0;
  }

  .header-cta .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }

  .header-cta .btn--ghost:not(.header-cta__call) {
    display: none;
  }

  .header-cta .btn--primary + .btn--primary {
    display: none;
  }

  /* Нижняя панель как в приложениях; меню — только отсюда */
  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
  }

  /* Длинный список ссылок перед футером — только desktop (SEO в HTML остаётся) */
  .internal-links {
    display: none;
  }

  .nav-pages--tworow {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: calc(3.75rem + env(safe-area-inset-bottom));
    width: min(20rem, 100vw - 1rem);
    max-width: none;
    height: auto;
    max-height: none;
    z-index: 100;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border);
    padding: 0;
    margin: 0;
    overflow: hidden;
    align-items: stretch;
    align-self: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
  }

  .nav-pages--tworow.is-open {
    display: flex;
  }

  .nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .nav-drawer__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
  }

  .nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-pages__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow-y: auto;
    padding: 0.75rem 1rem 1.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .nav-pages__row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  .nav-pages__row + .nav-pages__row {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .nav-pages__row a {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .nav-pages__row a.is-active {
    background: rgba(56, 189, 248, 0.12);
  }

  /* Гамбургер в шапке скрыт — открытие с нижней панели */
  .nav-toggle {
    display: none !important;
  }

  .gradient-orb {
    display: none;
  }

  .bg-grid {
    opacity: 0.45;
  }

  .hero {
    padding: 2.25rem 0 2.5rem;
  }

  .hero__card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 1rem;
  }

  .hero__lead {
    max-width: none;
    font-size: 1.05rem;
  }

  .split--services {
    margin-bottom: 1.75rem;
  }

  .split--services .split__content h2 {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
  }

  .cards--services {
    grid-template-columns: 1fr;
  }

  .btn {
    min-height: 44px;
    padding: 0.75rem 1.35rem;
  }

  .price-card .amount {
    font-size: 1.65rem;
  }
}

@media (min-width: 900px) {
  .nav-toggle,
  .nav-overlay,
  .mobile-bar,
  .nav-drawer__head {
    display: none !important;
  }

  /* Обёртка drawer на mobile не ломает двухрядное меню desktop */
  .nav-pages__body {
    display: contents;
  }
}

.nav-toggle {
  display: none;
}

.nav-drawer__head {
  display: none;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-overlay[hidden] {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .mobile-bar {
  z-index: 85;
}

/* Prose block (контент для SEO) */
.prose {
  max-width: 68ch;
}
.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose a {
  color: var(--accent);
}

.prose-block {
  max-width: 48rem;
}
.prose-block h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}
.prose-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.prose-block p:last-child {
  margin-bottom: 0;
}
.prose-block code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--surface);
}
.when-master-list {
  margin: 0 0 2rem;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}
.when-master-list li {
  margin-bottom: 0.5rem;
}
.when-master-list a {
  color: var(--accent);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.25rem 1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.65rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Performance: font-display via Google Fonts URL &display=swap */
