/* Моя терапия — marketing landing (aligned with moya-terapiya-web brand DNA) */

:root {
  --purple: #7b5bff;
  --purple-deep: #5b3fe5;
  --pink: #ff6b9d;
  --pink-hover: #ff5790;
  --pink-soft: #ffe0ec;
  --page-bg: #f5f1fa;
  --surface: #f4f1fa;
  --lavender: #f6f2ff;
  --lavender-mist: #f6f2ff;
  --lavender-strong: #ede6ff;
  --bg-legacy: #fbfafc;
  --ink-900: #1a1330;
  --ink-700: #4a4360;
  --ink-500: #8b8499;
  --ink-300: #c9c4d6;
  --divider: #efedf5;
  --success: #3fb97a;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #7b5bff 0%, #ff6b9d 100%);
  --brand-gradient: linear-gradient(135deg, #7b5bff 0%, #ff6b9d 100%);
  --gradient-text: linear-gradient(90deg, #7b5bff 0%, #ff6b9d 100%);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 24px 70px rgba(26, 19, 48, 0.1);
  --shadow-sm: 0 2px 8px rgba(92, 64, 229, 0.06);
  --shadow-md: 0 8px 24px rgba(122, 92, 255, 0.1);
  --shadow-lg: 0 12px 32px rgba(92, 64, 229, 0.18);
  --shadow-glow: 0 24px 60px -12px rgba(123, 91, 255, 0.35);
  --radius-lg: 24px;
  --radius-full: 9999px;
  --max: 1200px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body.marketing-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--page-bg) !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--ink-900);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */
.mk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201, 196, 214, 0.45);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  min-height: 64px;
}

@media (min-width: 640px) {
  .mk-header__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.mk-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 17px;
}

.mk-brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.mk-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-gradient);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* Heart + check — как MarketingHeader основного сайта */
.mk-brand-mark--with-check {
  position: relative;
}

.mk-brand-mark__heart {
  display: block;
}

.mk-brand-mark__tick {
  position: absolute;
  right: 4px;
  bottom: 5px;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

.mk-footer__brand .mk-brand-mark__tick {
  right: 7px;
  bottom: 8px;
  width: 12px;
  height: 12px;
}

.mk-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .mk-nav {
    display: flex;
  }
}

.mk-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
}

.mk-nav a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.mk-lang {
  font-weight: 600;
  color: var(--purple-deep);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--ink-300);
  background: var(--white);
  font-size: 14px;
}

.mk-lang:hover {
  border-color: var(--purple);
  text-decoration: none;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.5rem;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.btn-brand:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-brand--primary {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(123, 91, 255, 0.28);
}

.btn-brand--primary:hover {
  opacity: 0.96;
  box-shadow: 0 14px 36px rgba(123, 91, 255, 0.34);
}

.btn-brand--ghost {
  background: var(--lavender);
  color: var(--purple-deep);
}

.btn-brand--outline {
  min-height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--ink-300);
  color: var(--purple-deep);
}

.btn-brand--outline:hover {
  border-color: rgba(123, 91, 255, 0.45);
  background: var(--white);
}

.mk-header__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .mk-header__actions {
    display: flex;
  }
}

.mk-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--ink-900);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mk-menu-btn {
    display: none;
  }
}

.mk-menu-panel {
  display: none;
  border-top: 1px solid rgba(201, 196, 214, 0.45);
  background: var(--white);
  padding: 1rem;
}

.mk-menu-panel.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .mk-menu-panel {
    display: none !important;
  }
}

.mk-menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mk-menu-panel a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 0.35rem 0;
}

/* ——— Hero ——— */
.hero-premium {
  position: relative;
  overflow: hidden;
  background: var(--page-bg);
  padding: 2rem 0 3rem;
}

@media (min-width: 1024px) {
  .hero-premium {
    padding: 3rem 0 4rem;
    min-height: min(100dvh, 880px);
    display: flex;
    align-items: center;
  }
}

.hero-premium__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.95;
  background:
    radial-gradient(ellipse 85% 65% at 75% 15%, rgba(123, 91, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(255, 107, 157, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(246, 242, 255, 0.9), transparent 70%);
}

.hero-premium__blur1 {
  position: absolute;
  left: -8rem;
  top: 6rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: var(--lavender);
  filter: blur(48px);
  opacity: 0.9;
}

.hero-premium__blur2 {
  position: absolute;
  right: -4rem;
  bottom: 0;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(255, 224, 236, 0.45);
  filter: blur(56px);
}

.hero-premium__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .hero-premium__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 0.75rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 1.5rem 0 0;
  font-size: clamp(17px, 2vw, 18px);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 36rem;
}

.marketing-body .section__lead,
.marketing-body .privacy-block p,
.marketing-body .contacts-card p {
  color: var(--ink-700);
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-note {
  margin-top: 2rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
}

/* CSS-only hero scene */
.hero-scene {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
  min-height: 440px;
  perspective: 1200px;
}

@media (min-width: 1024px) {
  .hero-scene {
    min-height: 520px;
    max-width: 480px;
  }
}

@media (max-width: 1023px) {
  .hero-scene {
    min-height: 380px;
    max-width: 100%;
  }
}

.hero-scene__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
}

.hero-scene__orb--1 {
  left: -10%;
  top: 8%;
  width: 160px;
  height: 160px;
  background: rgba(123, 91, 255, 0.15);
}

.hero-scene__orb--2 {
  right: -5%;
  bottom: 15%;
  width: 192px;
  height: 192px;
  background: rgba(255, 107, 157, 0.12);
}

/* Алиасы для сцены (как в Hero3DScene) */
.hero-heart-3d {
  transform: translateZ(40px);
}

.floating-pill {
  animation: float-medium 7s ease-in-out infinite;
}

.floating-tablet {
  animation: float-slow 9s ease-in-out infinite;
}

.float-slow {
  animation: float-slow 11s ease-in-out infinite;
}

.float-medium {
  animation: float-medium 8s ease-in-out infinite;
}

.soft-blob {
  filter: blur(48px);
  opacity: 0.9;
}

.hero-scene__pill {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 2;
  animation: float-medium 7s ease-in-out infinite;
}

.hero-scene__pill--1 {
  left: 4%;
  top: 18%;
  width: 96px;
  height: 36px;
  background: linear-gradient(90deg, rgba(123, 91, 255, 0.92), #9b7cff);
  box-shadow: var(--shadow-md);
  animation-delay: 0s;
}

.hero-scene__pill--2 {
  bottom: 22%;
  left: 2%;
  width: 112px;
  height: 40px;
  background: linear-gradient(90deg, rgba(255, 107, 157, 0.88), #ffb3cc);
  box-shadow: var(--shadow-md);
  animation-delay: -1.5s;
}

.hero-scene__pill--3 {
  right: 6%;
  top: 28%;
  width: 48px;
  height: 48px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  animation-delay: -2.5s;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes float-medium {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene__pill,
  .floating-pill,
  .floating-tablet,
  .float-slow,
  .float-medium {
    animation: none !important;
  }
}

.hero-scene__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.hero-scene__glass.hero-heart-3d,
.hero-scene__glass {
  position: relative;
  width: clamp(132px, 30vw, 184px);
  height: clamp(132px, 30vw, 184px);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 242, 255, 0.95) 100%);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateZ(40px);
}

.hero-scene__glass-inner {
  position: absolute;
  inset: 8px;
  border-radius: 26px;
  background: var(--gradient);
  opacity: 0.95;
}

.hero-scene__heart {
  position: relative;
  z-index: 1;
  width: 42%;
  height: 42%;
  color: var(--white);
}

.hero-scene__check {
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(63, 185, 122, 0.35);
}

.hero-scene__mini {
  margin-top: -1.5rem;
  width: clamp(200px, 52vw, 260px);
  border-radius: 28px;
  padding: 6px;
  background: linear-gradient(180deg, var(--white), var(--lavender));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px -15px rgba(26, 19, 48, 0.2);
  transform: rotateX(4deg);
  z-index: 4;
}

.hero-scene__mini-inner {
  border-radius: 22px;
  background: var(--page-bg);
  padding: 0.5rem 0.75rem 0.75rem;
}

.hero-scene__chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-900);
  box-shadow: var(--shadow-md);
}

.hero-scene__chip--tl {
  left: 0;
  top: 6%;
  animation: float-slow 10s ease-in-out infinite;
  animation-delay: -1s;
}

.hero-scene__chip--br {
  right: 0;
  bottom: 14%;
  animation: float-medium 8.5s ease-in-out infinite;
  animation-delay: -2s;
}

.hero-scene__chip--tr {
  right: 2%;
  top: 36%;
  animation: float-slow 12s ease-in-out infinite;
  animation-delay: -3s;
}

.hero-scene__chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-scene__chip-icon svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-scene__chip--tl,
  .hero-scene__chip--br,
  .hero-scene__chip--tr {
    animation: none;
  }
}

/* Product / iPhone mock */
.phone-mock {
  transform: perspective(1200px) translateZ(28px) rotateX(5deg);
}

.phone-mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 4px;
}

.phone-mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--divider);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-700);
}

.phone-mock__row--muted {
  font-weight: 500;
  color: var(--ink-500);
  border-top: none;
  padding-top: 0.25rem;
  margin-top: 0.25rem;
}

.phone-mock__pill-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
}

.phone-mock__live {
  font-size: 9px;
  font-weight: 700;
  color: var(--purple);
  background: var(--white);
  padding: 2px 8px;
  border-radius: 999px;
}

.phone-mock__stat {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.phone-mock__stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
}

.phone-mock__stat-sub {
  font-size: 12px;
  color: var(--ink-500);
  padding-bottom: 4px;
}

.phone-mock__bar {
  margin-top: 8px;
  height: 6px;
  border-radius: 999px;
  background: var(--divider);
  overflow: hidden;
}

.phone-mock__bar-fill {
  height: 100%;
  width: 50%;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.hero-app-status {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: -1rem auto 0;
  padding: 0 1rem 2rem;
  text-align: center;
}

.hero-app-status p {
  display: inline-block;
  margin: 0;
  padding: 0.65rem 1.25rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Почему это важно */
.why-grid {
  display: grid;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Как работает — орбита / цепочка */
.steps-path {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

.steps-path__orbit {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 1000px) {
  .steps-path__orbit {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    padding-top: 0.5rem;
  }

  .steps-path__orbit::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 2.75rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(123, 91, 255, 0.35), rgba(255, 107, 157, 0.45));
    pointer-events: none;
    z-index: 0;
  }
}

.step-node {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1rem;
  box-shadow: var(--glass-shadow);
}

.step-node__icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-node__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(123, 91, 255, 0.25);
}

.step-node h3 {
  margin: 0 0 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

.step-node p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.45;
}

.mk-footer__lang {
  margin-top: 1rem;
}

.mk-footer__lang a {
  font-weight: 600;
  font-size: 15px;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--muted {
  background: var(--lavender);
}

.section--surface {
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--pink-soft) 0.5%, var(--page-bg) 8%);
}

.section__title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ink-900);
}

.section__lead {
  text-align: center;
  color: var(--ink-500);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 17px;
}

/* How it works — steps */
.steps-row {
  display: grid;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .steps-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--glass-shadow);
}

.step-card h3 {
  margin: 0 0 0.5rem;
  font-size: 16px;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.45;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-500);
  line-height: 1.5;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(123, 91, 255, 0.22);
}

/* Privacy strip */
.privacy-block {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.privacy-block h2 {
  margin-top: 0;
}

.privacy-block p {
  color: var(--ink-500);
  font-size: 17px;
}

/* Contacts */
.contacts-card {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.contacts-card p {
  color: var(--ink-700);
  margin: 0 0 1rem;
}

.contacts-card .btn-brand--primary {
  min-height: 56px;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Footer marketing */
.mk-footer {
  background: var(--ink-900);
  color: var(--divider);
  padding: 3rem 1rem 2rem;
}

.mk-footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .mk-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.mk-footer p,
.mk-footer a {
  color: inherit;
  opacity: 0.92;
}

.mk-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.mk-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 17px;
}

.mk-footer__brand:hover {
  text-decoration: none;
  opacity: 0.95;
}

.mk-footer__nav-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin: 0 0 0.75rem;
}

.mk-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mk-footer li {
  margin-bottom: 0.5rem;
}

.mk-footer li a {
  font-size: 15px;
}

.mk-footer__legal {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  line-height: 1.65;
  opacity: 0.78;
}

.mk-footer__compact-row {
  font-size: 13px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal.reveal-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Legal pages */
.page-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main.legal-main {
  flex: 1;
  padding-bottom: 3rem;
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  margin: 0 0 0.5rem;
}

.page-hero .lead {
  color: var(--ink-500);
  margin: 0;
  font-size: 1rem;
}

.legal {
  padding: 0 1rem 3rem;
}

.legal article {
  max-width: min(100%, 960px);
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
}

.legal h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  font-size: 0.9375rem;
  color: var(--ink-700);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal .notice-box {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.12) 0%, rgba(123, 91, 255, 0.12) 100%);
  border: 2px solid rgba(255, 107, 157, 0.35);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.55;
}

.support-page {
  padding-bottom: 3rem;
}

.support-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
  }
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(233, 226, 250, 0.95);
  box-shadow: var(--shadow-sm);
}

.contact-card > h2:first-child,
.faq > h2:first-child {
  margin-top: 0;
}

.faq details {
  background: var(--white);
  border: 1px solid rgba(201, 196, 214, 0.6);
  border-radius: 12px;
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.faq summary {
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}

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

.faq details p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-500);
}

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

/* Legacy compact footer on legal if needed */
.site-footer--compact {
  padding: 1.75rem 0;
  background: var(--white);
  border-top: 1px solid rgba(201, 196, 214, 0.45);
}

.site-footer__compact-line {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-500);
  line-height: 1.65;
}

.site-footer__compact-email {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
}
