:root {
  --color-sand: #efe3d6;
  --color-sand-deep: #e3d0bf;
  --color-rose-soft: #f3dcd4;
  --color-heart: #b4645a;
  --color-success: #3f6b52;
  --color-error: #a6483e;
  --shadow-soft: 0 24px 60px -28px rgba(45, 45, 58, 0.25);
  --shadow-lift: 0 32px 80px -30px rgba(45, 45, 58, 0.32);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
  overflow-x: hidden;
}

.container--narrow {
  max-width: 880px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: var(--color-anthracite);
  color: #fff;
  font-size: var(--text-small);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

.btn:focus-visible,
.header__nav-link:focus-visible,
.footer a:focus-visible,
.mobile-nav button:focus-visible,
.faq__question:focus-visible,
.testimonials__btn:focus-visible,
.testimonials__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-small);
}

.header--scrolled {
  background: rgba(250, 249, 247, 0.94);
  box-shadow: 0 10px 30px -24px rgba(45, 45, 58, 0.45);
}

/* ---------- Placeholder imagery ---------- */

.ph {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(150deg, #edd8cd 0%, #d9b6a4 55%, #bf8d7c 100%);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.75), transparent 55%),
    radial-gradient(90% 70% at 85% 100%, rgba(88, 52, 42, 0.28), transparent 60%);
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.045) 0 2px,
    transparent 2px 5px
  );
  mix-blend-mode: soft-light;
}

.ph--sand {
  background: linear-gradient(150deg, #f2e6d6 0%, #dfc6ac 55%, #c6a687 100%);
}

.ph--rose {
  background: linear-gradient(150deg, #f6ded6 0%, #e3b5a6 55%, #cf9484 100%);
}

.ph--clay {
  background: linear-gradient(150deg, #e3c3b2 0%, #c99a87 50%, #a97262 100%);
}

.ph--dusk {
  background: linear-gradient(150deg, #dcc9bd 0%, #bfa99b 50%, #94806f 100%);
}

.ph__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 20px rgba(88, 52, 42, 0.25);
}

.ph__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-anthracite);
}

.ph__tag svg {
  width: 13px;
  height: 13px;
  color: var(--color-success);
}

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--header-height) + 48px) 0 72px;
  min-height: auto;
}

.hero__inner {
  min-height: 0;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  margin-bottom: 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-fg-muted);
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 4px rgba(63, 107, 82, 0.12);
}

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

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: var(--text-small);
  color: var(--color-fg-muted);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-anthracite);
  opacity: 0.75;
}

.hero__visual {
  padding: 24px 0 32px;
}

.hero__glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 180, 160, 0.5), transparent 68%);
  filter: blur(10px);
  z-index: -1;
}

.hero__mockup {
  max-width: 342px;
  aspect-ratio: 9 / 18.6;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #34343f 0%, #1d1d26 60%, #2b2b36 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 50px 90px -35px rgba(35, 32, 45, 0.55),
    0 18px 40px -24px rgba(35, 32, 45, 0.4);
}

.hero__mockup-screen {
  border-radius: 38px;
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
}

/* ---------- App screen mock ---------- */

.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-anthracite);
}

.app-status__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-status__icons span {
  display: block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: rgba(45, 45, 58, 0.75);
}

.app-status__icons span:nth-child(1) { width: 12px; height: 7px; }
.app-status__icons span:nth-child(2) { width: 10px; height: 8px; border-radius: 2px; }
.app-status__icons span:nth-child(3) { width: 18px; height: 8px; border-radius: 3px; }

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 12px;
}

.app-top__brand {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-anthracite);
}

.app-top__brand span {
  color: var(--color-accent);
}

.app-top__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-anthracite);
}

.app-profile {
  position: relative;
  margin: 0 14px;
  border-radius: 22px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  box-shadow: 0 16px 30px -22px rgba(45, 45, 58, 0.6);
}

.app-profile .ph {
  height: 100%;
}

.app-profile__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-anthracite);
  box-shadow: 0 4px 12px rgba(45, 45, 58, 0.12);
}

.app-chip svg {
  width: 11px;
  height: 11px;
  color: var(--color-success);
}

.app-chip--accent svg {
  color: var(--color-accent);
}

.app-profile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 16px 14px;
  background: linear-gradient(to top, rgba(29, 24, 24, 0.72), rgba(29, 24, 24, 0.18) 65%, transparent);
  color: #fff;
}

.app-profile__name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.app-profile__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
}

.app-profile__meta svg {
  width: 11px;
  height: 11px;
}

.app-profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.app-profile__tags span {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.app-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 18px 18px;
}

.app-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-anthracite);
  box-shadow: 0 10px 18px -12px rgba(45, 45, 58, 0.35);
}

.app-action--main {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 16px 24px -14px rgba(196, 120, 106, 0.9);
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 26px 16px;
  border-top: 1px solid var(--color-border);
  color: rgba(45, 45, 58, 0.42);
}

.app-nav svg {
  width: 18px;
  height: 18px;
}

.app-nav svg:first-child {
  color: var(--color-accent);
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 45px -24px rgba(45, 45, 58, 0.5);
  z-index: 3;
}

.hero__float--match {
  top: 36px;
  right: 12px;
}

.hero__float--note {
  bottom: 56px;
  left: 12px;
}

.hero__float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero__float-icon--soft {
  background: var(--color-cream-darker);
  color: var(--color-anthracite);
}

.hero__float-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-anthracite);
}

.hero__float-text span {
  font-size: 11px;
  color: var(--color-fg-muted);
}

.hero__float-avatars {
  display: flex;
}

.hero__float-avatars .ph {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.hero__float-avatars .ph + .ph {
  margin-left: -10px;
}

.hero__float-avatars .ph__initials {
  font-size: 10px;
}

/* ---------- Proof strip ---------- */

.proof {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.proof__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 26px 0;
}

.proof__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: var(--text-small);
  color: var(--color-fg-muted);
}

.proof__item strong {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-fg);
  letter-spacing: 0.01em;
}

.proof__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  color: var(--color-anthracite);
  flex-shrink: 0;
}

/* ---------- Features ---------- */

.features__layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.chat-showcase {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(243, 220, 212, 0.75), transparent 60%),
    var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-showcase__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  margin-bottom: 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
}

.chat-showcase__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.chat-head .ph {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-head .ph__initials {
  font-size: 15px;
}

.chat-head__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-anthracite);
}

.chat-head__name svg {
  width: 13px;
  height: 13px;
  color: var(--color-success);
}

.chat-head__status {
  font-size: 11.5px;
  color: var(--color-fg-muted);
}

.chat-head__icon {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-anthracite);
  background: #fff;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0;
  flex: 1;
}

.chat-day {
  align-self: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
  opacity: 0.7;
  margin-bottom: 4px;
}

.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 8px 18px -16px rgba(45, 45, 58, 0.5);
}

.chat-bubble--in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 6px;
  color: var(--color-fg);
}

.chat-bubble--out {
  align-self: flex-end;
  background: var(--color-anthracite);
  color: rgba(255, 255, 255, 0.94);
  border-bottom-right-radius: 6px;
}

.chat-bubble__time {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.02em;
}

.chat-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-fg-muted);
  opacity: 0.5;
  animation: typing 1.6s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 0.9; }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-fg-muted);
  font-size: 12.5px;
}

.chat-input svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.chat-input__send {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  flex-shrink: 0;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-row:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.feature-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--color-cream-darker);
  color: var(--color-anthracite);
  flex-shrink: 0;
}

.feature-row__icon svg {
  width: 21px;
  height: 21px;
}

.feature-row__title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-anthracite);
  margin-bottom: 4px;
}

.feature-row__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-fg-muted);
  max-width: 44ch;
}

/* ---------- Steps ---------- */

.steps {
  position: relative;
  margin-top: 8px;
}

.how-it-works::before {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-border-strong) 8%, var(--color-border-strong) 92%, transparent);
}

.step {
  padding: 26px 0;
  align-items: center;
}

.step__number {
  width: 56px;
  height: 56px;
  background: var(--color-anthracite);
  color: var(--color-cream);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 8px var(--color-bg), var(--shadow-md);
}

.step__content {
  max-width: 420px;
}

.step:nth-child(odd) .step__content {
  justify-self: end;
  padding-right: 8px;
}

.step:nth-child(even) .step__content {
  padding-left: 8px;
}

.step__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.step__title {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  margin-bottom: 8px;
}

.step__description {
  color: var(--color-fg-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 38ch;
}

.step:nth-child(odd) .step__description {
  margin-left: auto;
}

.mini-card {
  width: 100%;
  max-width: 310px;
  padding: 20px;
  border-radius: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.mini-card--flush {
  padding: 0;
  overflow: hidden;
}

.mini-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
}

.mini-card__title {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-anthracite);
}

.mini-card__body {
  padding: 18px;
}

.mini-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mini-field__label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-fg-muted);
}

.mini-field__input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  font-size: 11.5px;
  color: var(--color-fg-muted);
}

.mini-field__input--filled {
  color: var(--color-fg);
  border-color: var(--color-border-strong);
  background: #fff;
}

.mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mini-progress {
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--color-cream-darker);
  overflow: hidden;
  margin-top: 8px;
}

.mini-progress span {
  display: block;
  height: 100%;
  width: 80%;
  border-radius: inherit;
  background: var(--color-success);
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mini-avatar .ph__initials,
.mini-avatar.ph .ph__initials {
  font-size: 13px;
}

.mini-profile {
  padding: 16px;
}

.mini-profile__photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
}

.mini-profile__photo .ph {
  height: 100%;
}

.mini-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-heart);
  box-shadow: 0 6px 14px rgba(45, 45, 58, 0.18);
}

.mini-heart svg {
  width: 15px;
  height: 15px;
}

.match-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0 12px;
}

.match-pair .ph {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 10px 20px -14px rgba(45, 45, 58, 0.5);
}

.match-pair .ph + .ph {
  margin-left: -16px;
}

.match-pair .ph__initials {
  font-size: 18px;
}

.match-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: -14px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: 3px solid #fff;
  z-index: 2;
}

.match-badge svg {
  width: 15px;
  height: 15px;
}

.match-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-anthracite);
  margin-bottom: 4px;
}

.match-sub {
  text-align: center;
  font-size: 11.5px;
  color: var(--color-fg-muted);
  margin-bottom: 14px;
}

.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
}

.mini-bubble {
  max-width: 85%;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.45;
}

.mini-bubble--in {
  align-self: flex-start;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.mini-bubble--out {
  align-self: flex-end;
  background: var(--color-anthracite);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.mini-date {
  padding: 18px;
  text-align: center;
}

.mini-date__map {
  height: 92px;
  border-radius: 12px;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at 62% 42%, rgba(196, 120, 106, 0.32), transparent 3%),
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(45, 45, 58, 0.07) 17px 18px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(45, 45, 58, 0.07) 21px 22px),
    var(--color-cream);
  position: relative;
}

.mini-date__pin {
  position: absolute;
  left: 62%;
  top: 42%;
  transform: translate(-50%, -100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(196, 120, 106, 0.18);
}

.mini-date__pin svg {
  width: 13px;
  height: 13px;
}

.mini-date__label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-anthracite);
  margin-bottom: 2px;
}

.mini-date__sub {
  font-size: 11px;
  color: var(--color-fg-muted);
}

/* ---------- Benefits ---------- */

.benefits__layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.benefits__visual {
  position: relative;
  padding: 12px 12px 48px 0;
}

.benefits__photo-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: 170px 170px 26px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.benefits__photo-main .ph {
  height: 100%;
}

.benefits__photo-small {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1 / 1.15;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid var(--color-cream);
  box-shadow: var(--shadow-soft);
}

.benefits__photo-small .ph {
  height: 100%;
}

.benefits__seal {
  position: absolute;
  top: 14%;
  left: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.benefits__seal svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
}

.benefits__seal strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-anthracite);
}

.benefits__seal span {
  font-size: 10.5px;
  color: var(--color-fg-muted);
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.benefit-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.benefit-item__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  padding-top: 3px;
  min-width: 26px;
}

.benefit-item__title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--color-anthracite);
  margin-bottom: 5px;
}

.benefit-item__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-fg-muted);
  max-width: 46ch;
}

/* ---------- Testimonials ---------- */

.testimonials {
  background: var(--color-cream);
  overflow: hidden;
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials__slider {
  position: relative;
  overflow: hidden;
  padding: 6px 0 0;
}

.testimonials__track {
  align-items: stretch;
  transition: transform 520ms var(--ease-out);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.testimonial-card::before {
  display: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: var(--color-accent);
}

.testimonial-card__stars svg {
  width: 14px;
  height: 14px;
}

.testimonial-card__text {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--color-fg);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-card__text em {
  font-style: italic;
  color: var(--color-accent);
}

.testimonial-card__author {
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card__avatar.ph .ph__initials {
  font-size: 14px;
}

.testimonial-card__info h5 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-anthracite);
  margin-bottom: 2px;
}

.testimonial-card__info p {
  font-size: 12px;
  color: var(--color-fg-muted);
}

.testimonials__controls {
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  background: transparent;
}

.testimonials__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.testimonials__btn:disabled:hover {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-fg);
}

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

.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.testimonials__dot {
  position: relative;
  min-height: 48px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0 6px;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

.testimonials__dot::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--color-border-strong);
  transition: all var(--transition-base);
}

.testimonials__dot[aria-current="true"]::before {
  width: 24px;
  background: var(--color-accent);
}

/* ---------- FAQ ---------- */

.faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq__item {
  background: transparent;
}

.faq__question {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: 0;
  padding: 24px 0;
  gap: 24px;
  min-height: 48px;
}

.faq__question-text {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.faq__num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-accent);
  min-width: 24px;
}

.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  color: var(--color-anthracite);
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.faq__icon svg {
  width: 13px;
  height: 13px;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  background: var(--color-anthracite);
  border-color: var(--color-anthracite);
  color: var(--color-cream);
}

.faq__answer-content {
  padding: 0 54px 26px 38px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-fg-muted);
  max-width: 68ch;
}

.faq__more {
  margin-top: 40px;
  text-align: center;
  font-size: var(--text-small);
  color: var(--color-fg-muted);
}

.faq__more a {
  color: var(--color-fg);
  border-bottom: 1px solid var(--color-border-strong);
  padding-bottom: 2px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.faq__more a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ---------- Contact ---------- */

.contact {
  background: var(--color-cream);
}

.contact__inner {
  gap: clamp(40px, 6vw, 88px);
}

.contact__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.contact__description {
  max-width: 42ch;
}

.contact__details {
  gap: 8px;
}

.contact__detail {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact__detail:last-child {
  border-bottom: 0;
}

.contact__detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-anthracite);
}

.contact__detail-text a {
  color: var(--color-fg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.contact__detail-text a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.contact__form {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(24px, 3vw, 36px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 7px;
}

.form-label span {
  font-weight: 400;
  color: var(--color-fg-muted);
  font-size: 11px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 16px; /* Prevent zoom on iOS */
  color: var(--color-fg);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 11px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  appearance: none;
  min-height: 48px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b7b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196, 120, 106, 0.14);
}

.form-textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}

.form-hint {
  font-size: 11.5px;
  color: var(--color-fg-muted);
  margin-top: 6px;
}

.form-error {
  display: none;
  font-size: 11.5px;
  color: var(--color-error);
  margin-top: 6px;
}

.form-group--invalid .form-input,
.form-group--invalid .form-textarea,
.form-group--invalid .form-select {
  border-color: var(--color-error);
  background: #fdf6f5;
}

.form-group--invalid .form-error {
  display: block;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-fg-muted);
  cursor: pointer;
  min-height: 48px;
  padding: 6px 0;
}

.form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  cursor: pointer;
}

.form-consent a {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent-error {
  display: none;
  font-size: 11.5px;
  color: var(--color-error);
  margin: -14px 0 18px;
}

.form-consent-error.is-visible {
  display: block;
}

.form-submit {
  width: 100%;
  gap: 10px;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--color-fg-muted);
  text-align: center;
}

.form-note svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 460px;
  padding: 24px;
}

.form-success.is-visible {
  display: flex;
}

.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(63, 107, 82, 0.1);
  color: var(--color-success);
  margin-bottom: 22px;
}

.form-success__icon svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 10px;
}

.form-success p {
  font-size: 14.5px;
  color: var(--color-fg-muted);
  max-width: 34ch;
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */

.footer {
  background: #262633;
}

.footer__grid {
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer__logo {
  font-size: 1.9rem;
  letter-spacing: -0.02em;
}

.footer__tagline {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer__app-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer__app-badge svg {
  width: 14px;
  height: 14px;
}

.footer__social-link {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer__column h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.footer__link:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12.5px;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.footer__legal-link:hover {
  color: #fff;
}

.footer__made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.footer__made svg {
  width: 12px;
  height: 12px;
  color: var(--color-accent);
}

/* ---------- Legal pages ---------- */

.legal-hero {
  padding: calc(var(--header-height) + 72px) 0 40px;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

.legal-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal-hero p {
  color: var(--color-fg-muted);
  font-size: 14px;
}

.legal {
  padding: 56px 0 88px;
}

.legal__body {
  max-width: 760px;
}

.legal__body h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

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

.legal__body h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 6px;
}

.legal__body p,
.legal__body li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--color-fg-muted);
  margin-bottom: 12px;
}

.legal__body ul {
  list-style: none;
  margin-bottom: 12px;
}

.legal__body ul li {
  padding-left: 18px;
  position: relative;
}

.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.legal__body strong {
  color: var(--color-fg);
  font-weight: 600;
}

.legal__body a {
  color: var(--color-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border-strong);
}

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

.legal__note {
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-fg-muted);
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-fg);
}

.legal__back svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.legal__back:hover svg {
  transform: translateX(-3px);
}

/* ---------- Responsive ---------- */

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.hero__background {
  overflow: hidden;
}

.hero__mockup {
  width: 100%;
  max-width: min(342px, 100%);
  box-sizing: border-box;
}

.legal-hero h1 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.legal__body {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (max-width: 1100px) {
  .hero__float--match {
    right: 8px;
  }

  .hero__float--note {
    left: 8px;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-xl) / 2);
  }
}

@media (max-width: 1024px) {
  .feature-row__text {
    max-width: none;
  }

  .benefits__layout {
    gap: 48px;
  }

  .testimonial-card__text {
    font-size: 16.5px;
  }

  .header__nav {
    gap: var(--space-md);
  }

  .header__nav-link {
    font-size: 13.5px;
    padding: 8px 0;
  }

  .header__cta {
    font-size: 13.5px;
    padding: 9px 16px;
  }
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .features__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .chat-showcase {
    order: 2;
  }

  .chat-body {
    padding: 18px 0;
  }

  .benefits__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits__visual {
    max-width: 440px;
    margin: 0 auto;
    padding-bottom: 32px;
  }

  .benefits__photo-main {
    aspect-ratio: 4 / 4;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero__text {
    padding-right: 0;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
    gap: 12px 20px;
  }

  .hero__visual {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 8px 0 16px;
  }

  .hero__float {
    position: absolute;
    z-index: 3;
    animation: none !important;
    opacity: 1;
  }

  .hero__float--match {
    top: 20px;
    right: -10px;
    transform: scale(0.9);
    transform-origin: top right;
  }

  .hero__float--note {
    bottom: 30px;
    left: -10px;
    transform: scale(0.9);
    transform-origin: bottom left;
  }

  .hero__bg-shape {
    animation: none !important;
    opacity: 0.25;
  }

  .proof__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 0;
  }

  .proof__item {
    justify-content: flex-start;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
  }

  .proof__item:last-child {
    border-bottom: 0;
  }

  .steps::before {
    display: none;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
    text-align: center;
  }

  .step .step__number {
    order: 1;
    margin: 0 auto;
  }

  .step .step__content {
    order: 2;
    justify-self: center;
    text-align: center;
    padding: 0;
  }

  .step .step__visual {
    order: 3;
    justify-self: center;
  }

  .step:nth-child(odd) .step__description,
  .step:nth-child(even) .step__description {
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 24px;
  }

  .testimonials__controls {
    gap: 14px;
  }

  .faq__answer-content {
    padding: 0 0 20px 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact__info {
    padding-right: 0;
    text-align: center;
  }

  .contact__detail {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .hero__title {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.15;
  }

  .hero__float {
    display: none;
  }

  .hero__mockup {
    max-width: 295px;
    border-radius: 38px;
    padding: 7px;
  }

  .hero__mockup-screen {
    border-radius: 31px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__glow {
    width: min(280px, 85vw);
    height: min(280px, 85vw);
    opacity: 0.25;
  }

  .chat-showcase {
    padding: 18px 16px;
  }

  .chat-bubble {
    font-size: 13px;
    max-width: 88%;
  }

  .benefits__seal {
    left: 4px;
    top: 8px;
    padding: 8px 12px;
  }

  .benefits__photo-small {
    right: 4px;
    bottom: -8px;
  }

  .faq__question {
    font-size: 15px;
    padding: 18px 0;
  }

  .faq__num {
    display: none;
  }

  .faq__answer-content {
    padding-left: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__social-link {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .footer__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .contact__info {
    text-align: left;
  }

  .contact__detail {
    justify-content: flex-start;
  }
}

@media (max-width: 414px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .hero__title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .btn {
    font-size: 15px;
    padding: 12px 20px;
    min-height: 48px;
  }

  .mini-card {
    padding: 16px;
  }

  .testimonial-card {
    padding: 20px 16px;
  }

  .contact__form {
    padding: 20px 16px;
  }

  .modal__dialog {
    padding: 24px 16px 20px;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 375px) {
  .hero__mockup {
    max-width: 280px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.8vw, 2.1rem);
  }

  .step__title {
    font-size: 1.35rem;
  }

  .chat-showcase__label {
    font-size: 10px;
    padding: 5px 10px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 12px;
  }

  .header__inner {
    padding: 0 4px;
  }

  .header__logo {
    font-size: 1.35rem;
  }

  .hero__title {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .hero__description {
    font-size: 0.95rem;
  }

  .hero__mockup {
    max-width: 255px;
    border-radius: 34px;
    padding: 6px;
  }

  .hero__mockup-screen {
    border-radius: 28px;
  }

  .mini-card {
    padding: 12px;
  }

  .match-pair .ph {
    width: 50px;
    height: 50px;
  }

  .match-pair .ph + .ph {
    margin-left: -12px;
  }

  .chat-showcase {
    padding: 14px 12px;
  }

  .chat-bubble {
    font-size: 12px;
    padding: 9px 12px;
  }

  .chat-head .ph {
    width: 38px;
    height: 38px;
  }

  .chat-head__name {
    font-size: 13px;
  }

  .chat-head__status {
    font-size: 10.5px;
  }

  .testimonial-card {
    padding: 18px 12px;
  }

  .testimonial-card__text {
    font-size: 14.5px;
  }

  .contact__form {
    padding: 18px 12px;
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: 11px 12px;
  }

  .modal__title {
    font-size: 1.5rem;
  }
}

/* ---------- Signup modal ---------- */

body.no-scroll {
  overflow: hidden;
}

.header__nav-link.is-active {
  color: var(--color-fg);
}

.header__nav-link.is-active::after {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 38, 0.5);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 38px);
  box-shadow: 0 40px 90px -30px rgba(30, 28, 38, 0.55);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--transition-slow);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-cream);
  color: var(--color-fg);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal__close:hover {
  background: var(--color-cream-darker);
  transform: rotate(90deg);
}

.modal__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.modal__title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-fg-muted);
  margin-bottom: 24px;
  max-width: 38ch;
}

.modal__hint {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: var(--color-fg-muted);
}

.modal__success {
  display: none;
  text-align: center;
  padding: 14px 0 6px;
}

.modal__success.is-visible {
  display: block;
}

.modal__success .form-success__icon {
  margin-left: auto;
  margin-right: auto;
}

.modal__success h3 {
  margin-bottom: 8px;
}

.modal__success p {
  font-size: 14px;
  color: var(--color-fg-muted);
  max-width: 32ch;
  margin: 0 auto 22px;
}

.modal__legal {
  font-size: 11px;
  line-height: 1.6;
  color: var(--color-fg-muted);
  margin-top: 12px;
  text-align: center;
}

.modal__legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal.is-open ~ .backdrop {
  opacity: 1;
  visibility: visible;
}

/* ---------- Layout helpers ---------- */

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits__intro .section-header__title {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.benefits__intro .section-header__description {
  margin: 0 0 10px;
  max-width: 48ch;
  text-align: left;
}

.faq__heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: inherit;
}

.faq__list {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 1100px) {
  .testimonial-card {
    flex: 0 0 calc(50% - var(--space-xl) / 2);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
    min-width: 0;
  }

  .benefits__intro .section-header__title br {
    display: none;
  }
}

.faq__list .faq__item:first-child {
  border-top: 0;
}

.faq__list .faq__item:last-child {
  border-bottom: 0;
}

/* ---------- Contrast + structural corrections ---------- */

:root {
  --color-accent-strong: #a25445;
  --color-accent-deep: #8d4739;
}

.section-header__eyebrow,
.step__kicker,
.contact__eyebrow,
.modal__eyebrow,
.legal-hero__eyebrow,
.benefit-item__num,
.faq__num {
  color: var(--color-accent-strong);
}

.hero__title em,
.testimonial-card__text em {
  color: var(--color-accent-strong);
}

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

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

.header__nav-link {
  letter-spacing: 0.02em;
}

.faq__question {
  font-weight: 500;
}

.step .step__content { order: 1; }
.step .step__number { order: 2; }
.step .step__visual { order: 3; }

.step__content {
  justify-self: start;
  text-align: left;
  padding-left: 8px;
}

.step:nth-child(odd) .step__content {
  justify-self: end;
  text-align: right;
  padding-right: 8px;
  padding-left: 0;
}

.step:nth-child(odd) .step__description {
  margin-left: auto;
  margin-right: 0;
}

.step:nth-child(even) .step__content {
  justify-self: start;
  text-align: left;
  padding-left: 8px;
}

.step:nth-child(even) .step__description {
  margin-left: 0;
}

.app-profile {
  min-height: 240px;
}

.app-profile > .ph {
  position: absolute;
  inset: 0;
}

.footer__column h5 {
  color: rgba(255, 255, 255, 0.55);
}

.footer__copyright,
.footer__legal-link {
  color: rgba(255, 255, 255, 0.55);
}

.footer__made {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Timeline line scoped to steps ---------- */

.how-it-works::before {
  display: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--color-border-strong) 6%, var(--color-border-strong) 94%, transparent);
  z-index: 0;
}

@media (max-width: 768px) {
  .steps::before {
    display: none;
  }
}

/* ---------- Accent-strong on interactive surfaces ---------- */

.mini-btn,
.app-action--main,
.chat-input__send,
.match-badge,
.mini-date__pin,
.testimonials__btn:hover,
.footer__social-link:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: #fff;
}

.app-action--main {
  box-shadow: 0 16px 24px -14px rgba(162, 84, 69, 0.9);
}

.footer__link:hover {
  color: var(--color-rose);
}

.faq__more a:hover,
.legal__body a:hover {
  color: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
}

::selection {
  background: var(--color-rose-soft);
  color: var(--color-anthracite);
}

/* ---------- Motion enhancements (emilkowalski-motion) ---------- */

/* Chat typing indicator - subtle pulsing dots */
@keyframes typing-pulse {
  0%, 80%, 100% { opacity: 0.4; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.15); }
}

.chat-typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 8px 12px;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-fg-muted);
  animation: typing-pulse 1.4s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

/* Hero floating elements - gentle idle float */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-6px) translateX(2px); }
}

@keyframes float-gentle-alt {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(4px) translateX(-3px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__float--match {
    animation: float-gentle 4.5s ease-in-out infinite;
  }

  .hero__float--note {
    animation: float-gentle-alt 5.2s ease-in-out infinite;
  }

  .hero__glow {
    animation: glow-pulse 4s ease-in-out infinite;
  }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.08); }
}

/* Enhanced card interactions - feature rows, benefit items, step visuals */
.feature-row,
.benefit-item,
.step__visual > .mini-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
  .feature-row:hover,
  .benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-strong);
  }

  .step__visual > .mini-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
  }
}

/* Touch-active state for mobile */
.feature-row:active,
.benefit-item:active,
.step__visual > .mini-card:active {
  transform: scale(0.99);
  transition-duration: 75ms;
}

/* Testimonial card - smooth slide transition */
.testimonials__track {
  transition: transform 400ms var(--ease-out);
}

.testimonial-card {
  transition: opacity 300ms ease-out, transform 300ms ease-out;
}

/* Modal entrance/exit - fade + subtle scale */
.modal__backdrop {
  transition: opacity var(--transition-base);
  opacity: 0;
}

.modal__backdrop[data-close-signup] {
  opacity: 1;
}

.modal__dialog {
  transform: scale(0.96) translateY(12px);
  opacity: 0;
  transition: transform var(--transition-slow) var(--ease-out), opacity var(--transition-slow);
}

.modal.is-open .modal__dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .modal__dialog,
  .modal__backdrop {
    transition: none !important;
  }
}

/* FAQ accordion - enhanced with icon rotation */
.faq__icon svg {
  transition: transform var(--transition-base) var(--ease-out);
}

.faq__item--open .faq__icon svg {
  transform: rotate(45deg);
}

/* Form input focus - subtle glow ring */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px var(--color-accent-light), var(--shadow-sm);
  border-color: var(--color-accent);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

/* Header nav link underline animation */
.header__nav-link {
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
  transition: width var(--transition-base) var(--ease-out);
}

.header__nav-link:hover::after,
.header__nav-link.is-active::after {
  width: 100%;
}

/* Footer social links - subtle bounce */
.footer__social-link {
  transition: transform var(--transition-fast), color var(--transition-fast);
}

@media (hover: hover) {
  .footer__social-link:hover {
    transform: translateY(-2px) scale(1.1);
  }
}

.footer__social-link:active {
  transform: scale(0.95);
}

/* Mobile nav panel - enhanced slide */
.mobile-nav {
  transform: translateX(100%);
}

.mobile-nav--open {
  transform: translateX(0);
}

/* Signup CTA in hero - subtle pulse on load */
@keyframes cta-pulse {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: 0 0 0 4px rgba(196, 120, 106, 0.35), var(--shadow-md); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__actions .btn--primary {
    animation: cta-pulse 3s ease-in-out infinite;
    animation-delay: 2s;
  }
}

/* Step number - entrance stagger handled by GSAP, but CSS fallback */
.step__number {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

html.js .step__number {
  opacity: 0;
  transform: scale(0.8);
}

html.js .reveal--visible .step__number {
  opacity: 1;
  transform: scale(1);
}

/* Benefit list item numbers - subtle hover */
.benefit-item__num {
  transition: transform var(--transition-base), color var(--transition-base);
}

@media (hover: hover) {
  .benefit-item:hover .benefit-item__num {
    transform: scale(1.1) rotate(-2deg);
    color: var(--color-accent);
  }
}

/* Proof strip items - subtle lift */
.proof__item {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

@media (hover: hover) {
  .proof__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* Mobile: disable hover effects that don't make sense on touch */
@media (hover: none) and (pointer: coarse) {
  .feature-row:hover,
  .benefit-item:hover,
  .step__visual > .mini-card:hover,
  .proof__item:hover,
  .btn--primary:hover,
  .btn--secondary:hover,
  .header__nav-link:hover::after,
  .footer__social-link:hover {
    transform: none;
    box-shadow: none;
  }

  .btn--primary:active,
  .btn--secondary:active {
    transform: scale(0.98);
  }
}

/* Small screen animation reductions */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .hero__float {
    animation-duration: 6s;
  }

  .hero__glow {
    animation-duration: 5s;
  }
}

/* ---------- Keyboard-safe hidden states ---------- */

.mobile-nav {
  visibility: hidden;
  transition: transform var(--transition-slow), visibility 0s linear 0.4s;
}

.mobile-nav--open {
  visibility: visible;
  transition: transform var(--transition-slow), visibility 0s;
}

.faq__answer {
  visibility: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow), visibility 0s linear 0.4s;
}

.faq__item--open .faq__answer {
  visibility: visible;
  transition: max-height var(--transition-slow), padding var(--transition-slow), visibility 0s;
}

/* ---------- Reduced motion & small-screen animation reductions ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__bg-shape,
  .hero__float,
  .hero__glow {
    animation: none !important;
  }

  .modal__backdrop,
  .modal__content,
  .mobile-nav {
    transition: none !important;
  }

  .testimonials__track {
    transition: none !important;
  }

  .faq__answer {
    transition: none !important;
  }

  .benefits__card,
  .feature-card,
  .step__visual {
    transition: none !important;
  }
}

/* Cleaned up redundant mobile rules */

@media (max-width: 480px) {
  .hero__title {
    line-height: 1.15;
  }

  .steps::before {
    display: none;
  }
}

/* ============================================================
   COOKIE BANNER & SETTINGS PANEL
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__title {
  font-family: var(--font-family-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.cookie-banner__text strong {
  color: var(--color-text);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

.cookie-banner__btn {
  min-height: 44px;
  min-width: 44px;
}

@media (min-width: 600px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

/* Cookie Settings Panel */
.cookie-settings-panel {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.cookie-settings-panel--open {
  display: flex;
}

.cookie-settings-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn var(--transition-fast);
}

.cookie-settings-panel__container {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp var(--transition-base);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-settings-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.cookie-settings-panel__title {
  font-family: var(--font-family-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.cookie-settings-panel__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.cookie-settings-panel__close:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.cookie-settings-panel__body {
  padding: var(--space-4) var(--space-5);
  overflow-y: auto;
  flex: 1;
}

.cookie-settings-panel__intro {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-5);
  line-height: 1.5;
}

.cookie-settings-panel__categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr 56px;
  align-items: start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cookie-category:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.cookie-category--required {
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-category__info {
  min-width: 0;
}

.cookie-category__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 var(--space-1);
}

.cookie-category__badge {
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-category__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-1);
  line-height: 1.5;
}

.cookie-category__cookies {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-family: var(--font-family-mono, ui-monospace, monospace);
}

.cookie-category__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-category__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 28px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast);
}

.cookie-category__toggle input:checked + .cookie-toggle {
  background: var(--color-accent);
}

.cookie-category__toggle input:checked + .cookie-toggle::after {
  transform: translateX(20px);
}

.cookie-category__toggle input:disabled + .cookie-toggle {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category__toggle input:focus-visible + .cookie-toggle {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cookie-settings-panel__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cookie-settings-panel__footer .btn {
  min-height: 44px;
  min-width: 44px;
}

/* Mobile adjustments for cookie banner/panel */
@media (max-width: 599px) {
  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }

  .cookie-banner__btn--accept {
    order: 3;
  }

  .cookie-banner__btn--settings {
    order: 2;
  }

  .cookie-banner__btn--necessary {
    order: 1;
  }

  .cookie-category {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .cookie-category__toggle {
    justify-self: start;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-settings-panel__backdrop,
  .cookie-settings-panel__container,
  .cookie-toggle,
  .cookie-toggle::after {
    animation: none !important;
    transition: none !important;
  }
}
