/* ═══════════════════════════════════════════════════════════
   РезюмеПро — тёплая «дорогая» минималистичная система
   Палитра: терракота / охра / крем + serif-заголовки
   ═══════════════════════════════════════════════════════════ */

:root {
  --brand: #b4532a;
  --brand-2: #c4783a;
  --accent: #c9a04a;
  --bg: #f7f1e9;
  --bg-2: #efe6d8;
  --surface: #fffcf7;
  --surface-2: #f3ebe0;
  --text: #2a2118;
  --muted: #7a6b5d;
  --border: color-mix(in srgb, #2a2118 12%, transparent);
  --grad: linear-gradient(135deg, #b4532a 0%, #c9a04a 100%);

  --rp-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --rp-sans: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;

  --font-sans: var(--rp-sans);
  --font-display: var(--rp-serif);

  --radius-1: 10px;
  --radius-2: 14px;
  --radius-3: 18px;

  --shadow-1: 0 1px 2px color-mix(in srgb, #2a2118 5%, transparent),
              0 4px 12px color-mix(in srgb, #2a2118 5%, transparent);
  --shadow-2: 0 2px 4px color-mix(in srgb, #2a2118 5%, transparent),
              0 12px 28px color-mix(in srgb, #b4532a 10%, transparent);
  --shadow-3: 0 8px 16px color-mix(in srgb, #2a2118 6%, transparent),
              0 24px 48px color-mix(in srgb, #b4532a 14%, transparent);

  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--rp-sans);
  font-size: var(--step-0, 1rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
}

.rp-main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .2s var(--ease-out, ease);
}
a:hover { color: color-mix(in srgb, var(--brand) 80%, #000); }

h1, h2, h3, h4, .rp-display {
  font-family: var(--rp-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1, .h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 .6em; }
h2, .h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 .55em; }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0 0 .45em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.muted, .rp-muted { color: var(--muted); }

.container {
  width: min(100% - 2rem, var(--container, 1120px));
  margin-inline: auto;
}

/* ── Mesh background ─────────────────────────────────────── */
.rp-mesh {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 8% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%),
    radial-gradient(700px 480px at 96% 8%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    radial-gradient(640px 420px at 70% 90%, color-mix(in srgb, var(--brand-2) 14%, transparent), transparent 60%),
    radial-gradient(500px 360px at 10% 80%, color-mix(in srgb, #e8c9a0 35%, transparent), transparent 50%);
  opacity: .9;
}

/* ── Header ──────────────────────────────────────────────── */
.rp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.rp-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--container, 1120px));
  margin-inline: auto;
}

.rp-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
  flex-shrink: 0;
}
.rp-logo:hover { color: var(--text); }
.rp-logo__mark {
  display: grid;
  place-items: center;
  color: var(--brand);
}
.rp-logo__text {
  font-family: var(--rp-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.rp-logo__text span {
  color: var(--brand);
  font-weight: 600;
}

.rp-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: auto;
}

.rp-nav__link {
  position: relative;
  padding: .5rem .75rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-1);
  transition: color .2s ease, background .2s ease;
}
.rp-nav__link:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 6%, transparent);
}
.rp-nav__link.is-active {
  color: var(--brand);
}
.rp-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.rp-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: .5rem;
  flex-shrink: 0;
}

.rp-header__cabinet {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  border-radius: var(--radius-1);
}
.rp-header__cabinet:hover {
  background: color-mix(in srgb, var(--brand) 7%, transparent);
  color: var(--brand);
}

.rp-btn-sm {
  padding: .55rem 1rem !important;
  font-size: .9rem !important;
}

.rp-btn-primary,
.btn.rp-btn-primary,
a.btn.rp-btn-primary {
  background: var(--grad);
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 28%, transparent);
}
.rp-btn-primary:hover,
.btn.rp-btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 32%, transparent);
}

.btn,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  font-family: var(--rp-sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-1);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(0) scale(.98); }

.btn-ghost,
a.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  background: color-mix(in srgb, var(--brand) 5%, transparent);
}

/* Burger */
.rp-burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  background: var(--surface);
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.rp-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.rp-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.rp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.rp-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Sections ────────────────────────────────────────────── */
.rp-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  z-index: 1;
}

.rp-section--alt {
  background: color-mix(in srgb, var(--bg-2) 88%, var(--surface));
}

.rp-section--dark {
  background: linear-gradient(160deg, #2c2118 0%, #3d2c20 55%, #4a3424 100%);
  color: #f6efe6;
}
.rp-section--dark h1,
.rp-section--dark h2,
.rp-section--dark h3,
.rp-section--dark .rp-display { color: #fffaf3; }
.rp-section--dark .rp-muted,
.rp-section--dark .muted { color: color-mix(in srgb, #f6efe6 68%, transparent); }
.rp-section--dark .rp-rule {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 80%, #fff), transparent);
}

.rp-section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.rp-section__head p {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
}

.rp-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 0 auto 1.25rem;
  border: 0;
  background: var(--grad);
  border-radius: 2px;
}

.rp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .9rem;
  padding: .35rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  border-radius: var(--radius-pill, 999px);
}

/* ── Cards ───────────────────────────────────────────────── */
.rp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: color-mix(in srgb, var(--brand) 22%, var(--border));
}

.rp-card--static:hover {
  transform: none;
  box-shadow: var(--shadow-1);
  border-color: var(--border);
}

.rp-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
}

/* ── Grids ───────────────────────────────────────────────── */
.rp-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.rp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rp-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* ── Hero (minimal, airy, centered) ──────────────────────── */
.rp-hero {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  text-align: center;
  z-index: 1;
}
.rp-hero__inner {
  max-width: 46rem;
  margin: 0 auto;
}
.rp-hero h1 {
  margin-bottom: 1rem;
  font-weight: 650;
}
.rp-hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.rp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.rp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: center;
  font-size: .9rem;
  color: var(--muted);
}
.rp-hero__meta strong {
  display: block;
  font-family: var(--rp-serif);
  font-size: 1.35rem;
  color: var(--text);
  font-weight: 650;
}

/* ── Steps ───────────────────────────────────────────────── */
.rp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.rp-step {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  text-align: center;
}
.rp-step__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent);
}
.rp-step h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
}
.rp-step p {
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
}
.rp-step__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--rp-serif);
  font-size: .85rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 45%, var(--muted));
}

/* ── Template / example cards ────────────────────────────── */
.rp-tpl-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  color: inherit;
}
.rp-tpl-card:hover { color: inherit; }
.rp-tpl-card__preview {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.rp-tpl-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.rp-tpl-card:hover .rp-tpl-card__preview img {
  transform: scale(1.03);
}
.rp-tpl-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.rp-tpl-card__body h3 {
  font-size: 1.1rem;
  margin: 0;
}
.rp-tpl-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .35rem;
}
.rp-tag {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill, 999px);
}
.rp-tag--brand {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--brand) 18%, transparent);
}

/* ── Reviews ─────────────────────────────────────────────── */
.rp-review {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.rp-review__stars {
  display: flex;
  gap: .15rem;
  color: var(--accent);
}
.rp-review__text {
  flex: 1;
  font-size: .98rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text);
}
.rp-review__person {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .25rem;
}
.rp-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--brand) 20%, #fff);
  background: var(--surface-2);
}
.rp-review__name {
  font-weight: 600;
  font-size: .95rem;
}
.rp-review__role {
  font-size: .82rem;
  color: var(--muted);
}

/* ── FAQ accordion ───────────────────────────────────────── */
.rp-faq {
  max-width: 44rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.rp-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rp-faq details[open] {
  border-color: color-mix(in srgb, var(--brand) 25%, var(--border));
  box-shadow: var(--shadow-2);
}
.rp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-family: var(--rp-serif);
  font-size: 1.08rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.rp-faq details[open] summary::after {
  transform: rotate(225deg) translateY(-2px);
  border-color: var(--brand);
}
.rp-faq__body {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}

/* ── CTA band ────────────────────────────────────────────── */
.rp-cta {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-3);
  background:
    radial-gradient(600px 240px at 20% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(500px 220px at 90% 100%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 55%),
    linear-gradient(145deg, #3a281c, #5a3a28);
  color: #f8f0e6;
  box-shadow: var(--shadow-3);
}
.rp-cta h2 { color: #fffaf3; margin-bottom: .6rem; }
.rp-cta p {
  color: color-mix(in srgb, #f8f0e6 75%, transparent);
  max-width: 30rem;
  margin: 0 auto 1.6rem;
}
.rp-cta .btn {
  background: #fff;
  color: var(--brand) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.rp-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

/* ── Forms ───────────────────────────────────────────────── */
.rp-label {
  display: block;
  margin-bottom: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.rp-input,
.rp-select,
.rp-textarea {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  transition: border-color .18s ease, box-shadow .18s ease;
  outline: none;
}
.rp-input:focus,
.rp-select:focus,
.rp-textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.rp-textarea { min-height: 120px; resize: vertical; }
.rp-field { margin-bottom: 1rem; }
.rp-field-hint {
  margin-top: .3rem;
  font-size: .8rem;
  color: var(--muted);
}

/* ── Footer ──────────────────────────────────────────────── */
.rp-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  background: color-mix(in srgb, var(--bg-2) 70%, #e8dccb);
  border-top: 1px solid var(--border);
}
.rp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}
.rp-footer__tagline {
  margin-top: .9rem;
  font-size: .92rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.6;
}
.rp-footer__title {
  font-family: var(--rp-serif);
  font-weight: 650;
  font-size: 1rem;
  margin-bottom: .85rem;
  color: var(--text);
}
.rp-footer__col {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.rp-footer__col a {
  color: var(--muted);
  font-size: .92rem;
}
.rp-footer__col a:hover { color: var(--brand); }
.rp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted);
}
.rp-footer__top {
  color: var(--muted);
  font-weight: 500;
}
.rp-footer__top:hover { color: var(--brand); }

/* ── Reveal (JS-only hide) ───────────────────────────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease-out, ease), transform .55s var(--ease-out, ease);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
html.js .reveal-d1 { transition-delay: .08s; }
html.js .reveal-d2 { transition-delay: .16s; }
html.js .reveal-d3 { transition-delay: .24s; }
html.js .reveal-d4 { transition-delay: .32s; }

/* ── Utilities ───────────────────────────────────────────── */
.rp-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.rp-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rp-center { text-align: center; }
.rp-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Alert / flash */
.rp-alert {
  padding: .9rem 1.1rem;
  border-radius: var(--radius-1);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 1rem;
  font-size: .95rem;
}
.rp-alert--ok {
  background: color-mix(in srgb, #2d8a4e 10%, var(--surface));
  border-color: color-mix(in srgb, #2d8a4e 30%, var(--border));
  color: #1e5c34;
}
.rp-alert--err {
  background: color-mix(in srgb, #b4532a 10%, var(--surface));
  border-color: color-mix(in srgb, #b4532a 30%, var(--border));
  color: #8a3a1a;
}

/* Page shell helpers for later modules */
.rp-page-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  text-align: center;
}
.rp-page-hero h1 { margin-bottom: .5rem; }
.rp-page-hero .rp-rule { margin-bottom: 1rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .rp-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rp-steps { grid-template-columns: repeat(2, 1fr); }
  .rp-footer__grid { grid-template-columns: 1fr 1fr; }
  .rp-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: 1rem;
    margin: 0;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-2);
  }
  .rp-nav.is-open { display: flex; }
  .rp-nav__link {
    padding: .85rem 1rem;
    font-size: 1rem;
  }
  .rp-nav__link.is-active::after { display: none; }
  .rp-burger { display: grid; }
  .rp-header__actions .btn-ghost { display: none; }
  .rp-header__cabinet span { display: none; }
}

@media (max-width: 640px) {
  .rp-grid--2,
  .rp-grid--3,
  .rp-grid--4 { grid-template-columns: 1fr; }
  .rp-steps { grid-template-columns: 1fr; }
  .rp-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .rp-hero__meta { gap: 1rem 1.5rem; }
  .rp-header__actions .rp-btn-primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}