/* амебель.online — статический лендинг (стили как в PWA) */

:root {
  --bg: #f8f9fc;
  --surface: #ffffff;
  --border: #e4e7ef;
  --accent: #5b5ef7;
  --accent-hover: #484ce8;
  --accent-soft: rgba(91, 94, 247, 0.1);
  --text: #18181b;
  --muted: #52525b;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 40px rgba(24, 24, 27, 0.08);
  --pad: 20px;
  --max: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 48px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page > main {
  flex: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark__icon {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  box-shadow:
    0 10px 32px rgba(91, 94, 247, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* ——— Boot panel (как AppBootSplash в PWA) ——— */

.landing-boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  background: var(--bg);
  transition: opacity 0.52s ease;
}

.landing-boot--exit {
  opacity: 0;
  pointer-events: none;
}

.landing-boot__glow {
  position: absolute;
  top: 38%;
  left: 50%;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91, 94, 247, 0.22) 0%, transparent 68%);
  pointer-events: none;
  animation: bootGlow 3.2s ease-in-out infinite alternate;
}

body.landing-boot-active {
  overflow: hidden;
}

.boot-panel {
  position: relative;
}

.boot-panel__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: min(360px, 100%);
  height: min(360px, 80vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91, 94, 247, 0.18) 0%, transparent 68%);
  pointer-events: none;
  animation: bootGlow 3.2s ease-in-out infinite alternate;
  z-index: 0;
}

.boot-panel__inner {
  position: relative;
  z-index: 1;
}

.boot-panel--splash {
  width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  animation: bootPanelIn 0.55s ease forwards;
}

.boot-panel--hero {
  animation: bootPanelIn 0.55s ease forwards;
}

body.landing-boot-seen .boot-panel--hero {
  animation: none;
}

.boot-panel--hero .boot-panel__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.boot-panel--hero .boot-panel__mark {
  justify-content: flex-start;
}

.boot-panel__mark {
  display: flex;
  justify-content: center;
  margin: 0;
}

.boot-panel__icon {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow:
    0 10px 32px rgba(91, 94, 247, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.boot-panel__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.boot-panel__tagline {
  margin: 0;
  max-width: 36ch;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.boot-panel__benefit {
  margin: 0;
  max-width: 36ch;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: color-mix(in srgb, var(--accent) 55%, var(--text));
}

.boot-panel--splash .boot-panel__benefit {
  margin-bottom: 4px;
}

.boot-panel--splash .badge {
  margin-bottom: 12px;
}

.boot-panel--hero .boot-panel__tagline,
.boot-panel--hero .boot-panel__benefit {
  margin-left: 0;
  margin-right: 0;
  max-width: 42ch;
}

.boot-panel--hero .badge {
  margin: 4px 0 6px;
}

.boot-panel__progress {
  width: 100%;
  margin: 4px 0 0;
}

.boot-panel__progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(228, 231, 239, 0.85);
  overflow: hidden;
}

.boot-panel__progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, #8b5cf6 100%);
  transition: width 0.28s ease;
}

.boot-panel__step {
  height: 1.25rem;
  line-height: 1.25rem;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(82, 82, 91, 0.92);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@keyframes bootGlow {
  from {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes bootPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bootStepIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-boot,
  .landing-boot__glow,
  .boot-panel--splash,
  .boot-panel--hero,
  .boot-panel__glow,
  .boot-panel__step {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

.brand-mark--lg {
  width: 56px;
  height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.logo__text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.logo-dot {
  color: var(--accent);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 calc(var(--pad) * -1) 28px;
  padding: 12px var(--pad);
  background: rgba(248, 249, 252, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 231, 239, 0.8);
}

.header__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.landing-nav {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.landing-nav::-webkit-scrollbar {
  display: none;
}

.landing-nav__link {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.landing-nav__link:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.landing-nav__link--active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}

.section-head {
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-sub {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 42ch;
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 48ch;
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.promo-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: #16a34a;
  color: #fff;
  font-size: 0.875em;
  font-weight: 800;
  vertical-align: middle;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.actions--tight {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--lg {
  min-height: 50px;
  padding: 0 24px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(91, 94, 247, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #f0f2f8;
}

.btn-ghost {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.875rem;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid rgba(91, 94, 247, 0.3);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.hero--home {
  position: relative;
  padding: 8px 0 40px;
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px 40px;
  align-items: center;
}

.hero__visual {
  width: 100%;
}

.hero__collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  width: 100%;
  min-height: 300px;
  aspect-ratio: 5 / 4;
  max-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.hero__collage--empty {
  background: linear-gradient(135deg, var(--accent-soft), var(--surface));
  border: 1px dashed var(--border);
  box-shadow: none;
  min-height: 220px;
  aspect-ratio: auto;
}

.hero__collage-cell {
  position: relative;
  overflow: hidden;
  background: #e8ebf2;
  min-height: 0;
}

.hero__collage-cell--1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero__collage-cell--2 {
  grid-column: 2;
  grid-row: 1;
}

.hero__collage-cell--3 {
  grid-column: 3;
  grid-row: 1;
}

.hero__collage-cell--4 {
  grid-column: 2 / 4;
  grid-row: 2;
}

.hero__collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__collage-style {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(24, 24, 27, 0.72);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  pointer-events: none;
}

.hero__visual-caption {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.topic-hero {
  position: relative;
  margin-bottom: 28px;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.topic-hero__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}

.topic-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  align-items: center;
}

.topic-hero__content .lead {
  margin-bottom: 20px;
}

.topic-hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 1fr;
  gap: 8px;
  min-height: 240px;
  border-radius: 16px;
  overflow: hidden;
}

.topic-hero__visual--empty {
  background: linear-gradient(145deg, var(--accent-soft), #f0f2f8);
  border: 1px dashed var(--border);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.topic-hero__empty-note {
  margin: 0;
  max-width: 28ch;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.topic-hero__shot {
  overflow: hidden;
  background: #e8ebf2;
}

.topic-hero__shot--1 {
  grid-column: 1 / 3;
  grid-row: 1;
}

.topic-hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 100px;
}

.topic-hero--furniture {
  --accent-soft: rgba(91, 94, 247, 0.12);
}

.topic-hero--homes {
  --accent-soft: rgba(34, 139, 87, 0.12);
}

.topic-hero--interior {
  --accent-soft: rgba(124, 58, 237, 0.12);
}

.badge--furniture {
  background: rgba(91, 94, 247, 0.12);
  color: var(--accent);
}

.badge--homes {
  background: rgba(34, 139, 87, 0.12);
  color: #1a7a4c;
}

.badge--interior {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}

.page-theme--homes {
  --accent: #228b57;
  --accent-hover: #1a7a4c;
  --accent-soft: rgba(34, 139, 87, 0.12);
}

.page-theme--interior {
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-soft: rgba(124, 58, 237, 0.12);
}

.page-theme--homes .btn-primary {
  box-shadow: 0 4px 14px rgba(34, 139, 87, 0.3);
}

.page-theme--interior .btn-primary {
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.step-card {
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-card__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 800;
}

.step-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.topic-cards {
  margin-bottom: 44px;
}

.topic-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

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

.topic-card__tag {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.topic-card strong {
  font-size: 1.0625rem;
  font-weight: 700;
}

.topic-card span:not(.topic-card__tag):not(.topic-card__cta) {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}

.topic-card__cta {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.topic-card--furniture:hover {
  border-color: rgba(91, 94, 247, 0.4);
}

.topic-card--homes:hover {
  border-color: rgba(34, 139, 87, 0.4);
}

.topic-card--homes .topic-card__tag {
  color: #1a7a4c;
}

.topic-card--interior:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

.topic-card--interior .topic-card__tag {
  color: #7c3aed;
}

.topic-card--static {
  pointer-events: none;
}

.topic-card--static a {
  pointer-events: auto;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.landing-feed {
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.feed-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.feed-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feed-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feed-tile__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e8ebf2;
}

.feed-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feed-tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
}

.feed-tile__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin-bottom: 3px;
}

.feed-tile__price-old {
  font-size: 10px;
  text-decoration: line-through;
  opacity: 0.75;
}

.feed-tile__price-new {
  font-size: 13px;
  font-weight: 800;
  color: #bbf7d0;
}

.feed-tile__sale {
  padding: 2px 5px;
  border-radius: 4px;
  background: #16a34a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.feed-tile__meta {
  display: block;
  opacity: 0.9;
  font-size: 10px;
}

.feed-tile__stats {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
}

.landing-feed__updated {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.landing-feed__cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.landing-feed__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
}

.landing-feed__empty a {
  color: var(--accent);
}

.about-block {
  margin-bottom: 32px;
}

.about-block p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 62ch;
}

.about-links {
  list-style: none;
  margin-top: 10px;
}

.about-links a {
  color: var(--accent);
  text-decoration: none;
  line-height: 1.9;
}

/* ——— Страница «О сервисе» ——— */

.about-page {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-top: 8px;
}

.about-hero {
  position: relative;
  padding: 28px 24px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.about-hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: min(480px, 100%);
  height: min(480px, 80vw);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 94, 247, 0.16) 0%, transparent 68%);
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 52ch;
}

.about-hero__mark {
  margin-bottom: 16px;
}

.about-hero__icon {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow:
    0 10px 32px rgba(91, 94, 247, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.about-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: none;
}

.about-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.about-hero__lead {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 48ch;
}

.about-trust {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 18px 18px 4px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(91, 94, 247, 0.12);
}

.about-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
}

.about-trust__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.about-trust__item strong {
  font-weight: 700;
}

.about-section .section-head {
  margin-bottom: 20px;
}

.about-audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.about-audience__card {
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.about-audience__card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}

.about-audience__card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.about-note {
  margin: 18px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 52ch;
}

.about-cta {
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--accent-soft) 0%, var(--surface) 55%);
  text-align: center;
}

.about-cta__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-cta__text {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.about-cta__actions {
  justify-content: center;
}

.about-links {
  list-style: none;
  margin-top: 10px;
}

.about-links a {
  color: var(--accent);
  text-decoration: none;
  line-height: 1.9;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal {
  max-width: 52ch;
  padding: 24px 0 48px;
}

.legal h1 {
  font-size: 1.75rem;
  max-width: none;
}

.legal p {
  margin-bottom: 14px;
  color: var(--muted);
}

.legal a {
  color: var(--accent);
}

@media (max-width: 900px) {
  .hero__layout,
  .topic-hero__grid {
    grid-template-columns: 1fr;
  }

  .boot-panel--hero .boot-panel__inner {
    text-align: center;
  }

  .boot-panel--hero .boot-panel__mark {
    justify-content: center;
  }

  .boot-panel--hero .boot-panel__tagline,
  .boot-panel--hero .boot-panel__benefit {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__collage {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .topic-cards__grid {
    grid-template-columns: 1fr;
  }

  .about-audience {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 22px 18px 26px;
  }

  .step-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 16px;
  }

  .header__cta {
    font-size: 0.8125rem;
    padding: 0 12px;
  }

  .hero__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 120px 120px;
    aspect-ratio: auto;
    min-height: auto;
  }

  .hero__collage-cell--1 {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .hero__collage-cell--2 {
    grid-column: 1;
    grid-row: 2;
  }

  .hero__collage-cell--3 {
    grid-column: 2;
    grid-row: 2;
  }

  .hero__collage-cell--4 {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .topic-hero {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .topic-hero__visual {
    min-height: 180px;
  }

  .feed-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

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

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo__text {
    font-size: 1.05rem;
  }
}

@media (max-width: 380px) {
  .header__row {
    flex-wrap: wrap;
  }

  .header__cta {
    width: 100%;
    justify-content: center;
  }
}
