:root {
  --peach: #fed1c3;
  --lime: #fffdf8;
  --rose: #f9a4d2;
  --plum: #6b3959;
  --plum-dark: #3f2236;
  --cream: #fffdf8;
  --milk: #fffdf8;
  --sage: #6f8d80;
  --ink: #352431;
  --muted: #735d6d;
  --line: rgba(107, 57, 89, 0.16);
  --shadow: 0 24px 80px rgba(76, 44, 66, 0.18);
  --radius: 8px;
  --fs-eyebrow: 13px;
  --fs-nav: 14px;
  --fs-small: 15px;
  --fs-brand: 16px;
  --fs-body: 18px;
  --fs-lead: clamp(18px, 1.7vw, 22px);
  --fs-card-title: 22px;
  --fs-subsection-title: clamp(24px, 2.4vw, 30px);
  --fs-section-title: clamp(32px, 3.4vw, 48px);
  --fs-hero-title: clamp(40px, 4.6vw, 58px);
  --lh-body: 1.6;
  --lh-heading: 1.08;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(254, 209, 195, 0.28), rgba(255, 253, 248, 0.98) 42%),
    var(--cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(107, 57, 89, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 57, 89, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

::selection {
  color: var(--rose);
  background: transparent;
  text-shadow: none;
}

::-moz-selection {
  color: var(--rose);
  background: transparent;
  text-shadow: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1120px, calc(100% - 28px));
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 14px 45px rgba(63, 34, 54, 0.12);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.brand,
.header-cta,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-size: var(--fs-brand);
  font-weight: 700;
  color: var(--plum-dark);
}

.brand span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("assets/logo-chat-vzk.png") center / 154% no-repeat;
  box-shadow: 0 4px 14px rgba(107, 57, 89, 0.16);
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: var(--fs-nav);
}

.nav a,
.header-cta {
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--plum);
}

.header-cta {
  justify-self: end;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--milk);
  background: var(--plum);
  font-size: var(--fs-nav);
  font-weight: 700;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 640px;
  padding: 84px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(180, 130, 160, 0.22), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(245, 210, 195, 0.28), transparent 38%),
    linear-gradient(135deg, #fbf4ef 0%, #f6e9e6 48%, #efe3ea 100%);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 18%, rgba(249, 164, 210, 0.18), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(254, 209, 195, 0.3), transparent 40%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.9) 0%, rgba(255, 253, 248, 0.7) 42%, rgba(255, 253, 248, 0.2) 100%),
    linear-gradient(180deg, rgba(254, 209, 195, 0.1), rgba(255, 253, 248, 0.92) 92%);
}

.chat-smiles {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  pointer-events: none;
}

.hero-chat-cards {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 16px;
  pointer-events: none;
}

.hero-chat-cards div {
  width: fit-content;
  max-width: 270px;
  padding: 16px 19px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  color: rgba(63, 34, 54, 0.82);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 45px rgba(90, 50, 75, 0.12);
  font-size: var(--fs-small);
  font-weight: 650;
  line-height: 1.35;
  animation: chat-float 5.6s ease-in-out infinite;
  backdrop-filter: blur(14px);
}

.hero-chat-cards div:nth-child(1) {
  justify-self: end;
  margin-right: 8px;
}

.hero-chat-cards div:nth-child(2) {
  justify-self: start;
  margin-left: 4px;
  animation-delay: -1.7s;
}

.hero-chat-cards div:nth-child(3) {
  justify-self: center;
  margin-top: 74px;
  animation-delay: -3.2s;
}

@keyframes chat-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.chat-smiles span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 16px 35px rgba(107, 57, 89, 0.13);
  color: var(--plum);
  font-size: 20px;
  animation: smile-float 6s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.chat-smiles span:nth-child(1) {
  top: 170px;
  right: 9%;
}

.chat-smiles span:nth-child(2) {
  top: 390px;
  right: 15%;
  animation-delay: -1.6s;
}

.chat-smiles span:nth-child(3) {
  top: 285px;
  right: 28%;
  animation-delay: -3.1s;
}

.chat-smiles span:nth-child(4) {
  right: 10%;
  bottom: 130px;
  animation-delay: -4.4s;
}

@keyframes smile-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(5deg);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(260px, 360px);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--plum);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--plum-dark);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: var(--fs-hero-title);
  font-weight: 850;
  line-height: var(--lh-heading);
}

h2 {
  font-size: var(--fs-section-title);
  font-weight: 850;
}

h3 {
  font-size: var(--fs-card-title);
  font-weight: 850;
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: #544250;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
}

.lead strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sage);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
  color: var(--milk);
  background: var(--plum);
  box-shadow: 0 16px 34px rgba(107, 57, 89, 0.22);
}

.button-ghost {
  border-color: rgba(107, 57, 89, 0.24);
  color: var(--plum);
  background: rgba(255, 253, 248, 0.62);
}

.hero .button-primary {
  min-height: 48px;
  padding: 0 28px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  color: var(--milk);
  background: rgba(107, 57, 89, 0.86);
  box-shadow: 0 10px 30px rgba(107, 57, 89, 0.22);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(12px);
  transition: transform 280ms ease, box-shadow 280ms ease, background 280ms ease;
}

.hero .button-primary:hover {
  background: rgba(123, 66, 103, 0.92);
  box-shadow: 0 14px 38px rgba(107, 57, 89, 0.3);
  transform: translateY(-2px);
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}

.hero-visual {
  position: relative;
  min-height: 400px;
}

.hero-image-card {
  position: absolute;
  inset: 38px 18px 18px 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 36px;
  box-shadow: 0 24px 70px rgba(90, 50, 75, 0.14);
}

.hero-image-card::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.2), rgba(107, 57, 89, 0.16)),
    radial-gradient(circle at 70% 18%, rgba(249, 164, 210, 0.18), transparent 34%);
  content: "";
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(1.04) contrast(1.02);
}

.warm-note {
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.warm-note p {
  margin: 10px 0 0;
  color: var(--plum-dark);
  font-size: var(--fs-body);
}

.note-kicker {
  color: var(--sage);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 104px 0;
}

.split,
.story-grid,
.audience-grid,
.boundaries-grid,
.about-grid,
.price-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.soft-list {
  display: grid;
  gap: 14px;
}

.familiar .soft-list {
  gap: 16px;
  align-items: start;
}

.soft-list p,
.soft-list strong,
.boundary-copy p {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--rose);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.66);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.familiar .soft-list p {
  position: relative;
  width: 100%;
  padding: 20px 22px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid rgba(249, 164, 210, 0.72);
  color: rgba(255, 253, 248, 0.88);
  background:
    linear-gradient(135deg, rgba(63, 34, 54, 0.56), rgba(107, 57, 89, 0.42)),
    var(--plum-dark);
  box-shadow: 0 16px 38px rgba(63, 34, 54, 0.08);
  backdrop-filter: blur(12px);
}

.familiar .soft-list p:last-child {
  margin-top: 6px;
  padding: 24px 26px;
  border: 1px solid rgba(249, 164, 210, 0.34);
  border-left: 5px solid var(--rose);
  color: var(--plum-dark);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(242, 223, 223, 0.96)),
    var(--milk);
  box-shadow:
    0 22px 54px rgba(107, 57, 89, 0.13),
    0 0 0 8px rgba(249, 164, 210, 0.07);
  font-weight: 650;
}

.soft-list strong {
  border-left-color: var(--lime);
  color: var(--plum);
  background: rgba(255, 253, 248, 0.72);
}

.chat-story {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(63, 34, 54, 0.66), rgba(63, 34, 54, 0.18)),
    linear-gradient(90deg, rgba(63, 34, 54, 0.78) 0%, rgba(63, 34, 54, 0.38) 48%, rgba(63, 34, 54, 0.06) 100%),
    url("assets/community-bg.png") center / cover no-repeat,
    var(--plum);
  color: var(--milk);
}

.chat-story::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 164, 210, 0.18), transparent 34%),
    radial-gradient(circle at 80% 75%, rgba(255, 253, 248, 0.16), transparent 32%);
  content: "";
}

.chat-story h2,
.chat-story .eyebrow {
  color: var(--milk);
}

.story-grid {
  position: relative;
  z-index: 1;
}

.story-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(63, 34, 54, 0.26);
  box-shadow: 0 24px 70px rgba(32, 19, 29, 0.2);
  backdrop-filter: blur(5px);
}

.story-card p {
  color: rgba(255, 253, 248, 0.84);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.story-card p:last-child {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.82);
}

.principles {
  display: grid;
  gap: 16px;
}

.principles div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 84px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(63, 34, 54, 0.24);
  box-shadow: 0 18px 45px rgba(32, 19, 29, 0.16);
  backdrop-filter: blur(5px);
}

.principles span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  color: var(--plum-dark);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(254, 209, 195, 0.86));
  box-shadow:
    0 10px 24px rgba(249, 164, 210, 0.22),
    inset 0 0 0 5px rgba(255, 253, 248, 0.2);
  font-size: var(--fs-card-title);
  font-weight: 900;
}

.principles p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  gap: 22px;
}

.feature-grid article {
  --stack-index: 0;
  position: sticky;
  top: calc(96px + (var(--stack-index) * 12px));
  z-index: calc(10 + var(--stack-index));
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 26px;
  align-items: center;
  min-height: 280px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--milk);
  box-shadow: 0 22px 60px rgba(107, 57, 89, 0.14);
  transform-origin: top center;
}

.feature-grid article:nth-child(1) {
  --stack-index: 0;
}

.feature-grid article:nth-child(2) {
  --stack-index: 1;
}

.feature-grid article:nth-child(3) {
  --stack-index: 2;
}

.feature-grid article:nth-child(4) {
  --stack-index: 3;
}

.feature-grid article:nth-child(5) {
  --stack-index: 4;
}

.feature-grid article:nth-child(6) {
  --stack-index: 5;
}

.feature-grid h3 {
  align-self: end;
}

.feature-grid article p {
  align-self: start;
  margin-top: 0;
}

.feature-grid p,
.price-grid p,
.about-grid p,
.boundary-copy p,
.check-list {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.price-grid .eyebrow,
.about-grid .eyebrow,
.story-card .eyebrow {
  font-size: var(--fs-eyebrow);
  line-height: 1.2;
}

.feature-icon {
  display: block;
  width: min(100%, 220px);
  height: 178px;
  grid-row: 1 / span 2;
  margin: 0;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 22px rgba(249, 164, 210, 0.18));
}

.audience {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(254, 209, 195, 0.35);
  box-shadow: 0 0 0 100vmax var(--milk);
  clip-path: inset(-28px -100vmax);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 72px;
  padding: 20px 20px 20px 72px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

.check-list li::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 42px;
  height: 42px;
  background: url("assets/check-sticker.png") center / contain no-repeat;
  content: "";
  filter: drop-shadow(0 8px 12px rgba(249, 164, 210, 0.22));
  transform: translateY(-50%);
}

.boundaries {
  position: relative;
  width: min(1180px, calc(100% - 28px));
  margin: 28px auto;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 0 0 100vmax var(--milk);
  clip-path: inset(-36px -100vmax);
  background:
    linear-gradient(135deg, rgba(63, 34, 54, 0.72), rgba(63, 34, 54, 0.22)),
    linear-gradient(90deg, rgba(63, 34, 54, 0.86) 0%, rgba(63, 34, 54, 0.48) 48%, rgba(63, 34, 54, 0.08) 100%),
    url("assets/community-bg.png") center / cover no-repeat,
    var(--plum);
  color: var(--milk);
}

.boundaries::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(249, 164, 210, 0.2), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(255, 253, 248, 0.16), transparent 34%);
  content: "";
}

.boundaries-grid {
  position: relative;
  z-index: 1;
  align-items: center;
}

.boundaries .eyebrow,
.boundaries h2 {
  color: var(--milk);
}

.boundaries h2 {
  max-width: 520px;
}

.boundary-copy {
  display: grid;
  gap: 14px;
}

.boundary-copy p {
  position: relative;
  padding: 22px 24px 22px 76px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 0;
  color: rgba(255, 253, 248, 0.86);
  background: rgba(63, 34, 54, 0.26);
  box-shadow: 0 18px 45px rgba(32, 19, 29, 0.16);
  backdrop-filter: blur(5px);
}

.boundary-copy p::before {
  position: absolute;
  top: 50%;
  left: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 253, 248, 0.52);
  border-radius: 12px;
  color: var(--plum-dark);
  background: var(--milk);
  content: "";
  box-shadow:
    0 10px 22px rgba(32, 19, 29, 0.16),
    inset 0 0 0 5px rgba(255, 253, 248, 0.2);
  filter: none;
  transform: translateY(-50%);
}

.boundary-copy p::after {
  position: absolute;
  top: 50%;
  left: 31px;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--plum);
  border-left: 3px solid var(--plum);
  content: "";
  transform: translateY(-62%) rotate(-45deg);
}

.about-grid {
  align-items: center;
}

.about {
  background: var(--milk);
}

.portrait-card {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--peach);
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-card p {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  color: var(--plum-dark);
  background: rgba(255, 253, 248, 0.82);
  font-size: var(--fs-body);
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(12px);
}

.price {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(254, 209, 195, 0.44), rgba(249, 164, 210, 0.16)),
    var(--cream);
  box-shadow: 0 0 0 100vmax var(--milk);
  clip-path: inset(-28px -100vmax);
}

.price-card {
  padding: 34px;
  border: 1px solid rgba(107, 57, 89, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow);
}

.price-value {
  color: var(--plum);
  font-size: clamp(58px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.95;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding-left: 22px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid rgba(107, 57, 89, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 36px rgba(107, 57, 89, 0.08);
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 21px 24px;
  color: var(--plum-dark);
  font-size: var(--fs-body);
  font-weight: 850;
  list-style: none;
}

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

summary::before {
  display: inline-block;
  margin-right: 12px;
  color: var(--plum);
  content: "＋";
  font-weight: 800;
}

details[open] summary {
  background: #f2dfdf;
}

details[open] summary::before {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 24px 24px 54px;
  color: #5f4a59;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.final {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
  color: var(--milk);
  background:
    linear-gradient(135deg, rgba(63, 34, 54, 0.72), rgba(63, 34, 54, 0.34)),
    linear-gradient(180deg, rgba(63, 34, 54, 0.44), rgba(63, 34, 54, 0.76)),
    url("assets/cozy-hero.png") center 58% / cover no-repeat,
    var(--plum);
  text-align: center;
}

.final-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.final p {
  margin: 0 auto 18px;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  text-shadow: 0 2px 16px rgba(63, 34, 54, 0.9);
}

.final h2 {
  margin-bottom: 32px;
  color: var(--milk);
  text-shadow: 0 3px 18px rgba(63, 34, 54, 0.92);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 253, 248, 0.78);
  background: var(--plum-dark);
  font-size: var(--fs-nav);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.4fr;
  gap: 28px;
  align-items: start;
}

.footer-grid > div,
.footer-links {
  display: grid;
  gap: 8px;
}

.footer-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.58);
}

.site-footer strong {
  color: var(--milk);
  font-size: var(--fs-small);
}

.site-footer a {
  width: fit-content;
  color: inherit;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--milk);
}

.legal-page {
  padding: 138px 0 84px;
}

.legal-content {
  max-width: 860px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  font-size: var(--fs-section-title);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: var(--fs-subsection-title);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.legal-content a {
  color: var(--plum);
  font-weight: 800;
}

.legal-subtitle {
  margin: 10px 0 28px;
  color: var(--plum);
  font-size: var(--fs-card-title);
  font-weight: 800;
}

.legal-content hr {
  height: 1px;
  margin: 34px 0 0;
  border: 0;
  background: var(--line);
}

.legal-content ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 18px;
  padding-left: 24px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .brand {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-bg img {
    object-position: 58% center;
  }

  .hero-grid,
  .split,
  .story-grid,
  .audience-grid,
  .boundaries-grid,
  .about-grid,
  .price-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .warm-note {
    max-width: 480px;
  }

}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span:last-child {
    font-size: var(--fs-nav);
  }

  .header-cta {
    min-height: 34px;
    padding: 0 13px;
    font-size: var(--fs-eyebrow);
  }

  .hero {
    min-height: auto;
    padding: 116px 0 62px;
  }

  .hero-visual {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    height: 280px;
    min-height: 280px;
    margin-top: 18px;
    pointer-events: none;
  }

  .hero-image-card {
    display: block;
    inset: 0;
    border-radius: 28px;
  }

  .chat-story {
    width: calc(100% - 18px);
    margin: 18px auto;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(63, 34, 54, 0.56), rgba(63, 34, 54, 0.32)),
      linear-gradient(90deg, rgba(63, 34, 54, 0.72), rgba(63, 34, 54, 0.06)),
      url("assets/community-bg.png") 74% center / auto 100% no-repeat,
      var(--plum);
  }

  .story-card,
  .principles div {
    background: rgba(63, 34, 54, 0.22);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.72) 0%, rgba(255, 253, 248, 0.34) 42%, rgba(255, 253, 248, 0.88) 100%),
      linear-gradient(90deg, rgba(255, 253, 248, 0.86) 0%, rgba(255, 253, 248, 0.42) 58%, rgba(255, 253, 248, 0.18) 100%);
  }

  .hero-bg img {
    object-position: 62% center;
    filter: saturate(1.08) contrast(1.04);
  }

  .chat-smiles span:nth-child(1) {
    top: 128px;
    right: 18px;
  }

  .chat-smiles span:nth-child(2) {
    top: 322px;
    right: 30px;
    animation-delay: -1.6s;
  }

  .chat-smiles span:nth-child(3) {
    top: 258px;
    right: 20px;
    animation-delay: -3.1s;
  }

  .chat-smiles span:nth-child(4) {
    right: 84px;
    bottom: 124px;
    animation-delay: -4.4s;
  }

  .hero-chat-cards {
    top: 22px;
    right: -10px;
    bottom: auto;
    left: auto;
    width: 250px;
    gap: 10px;
    opacity: 0.95;
  }

  .hero-chat-cards div {
    max-width: 180px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
  }

  .hero-chat-cards div:nth-child(1) {
    justify-self: end;
    margin-right: 0;
  }

  .hero-chat-cards div:nth-child(2) {
    justify-self: start;
    margin-top: 94px;
    margin-left: 0;
  }

  .hero-chat-cards div:nth-child(3) {
    display: block;
    justify-self: end;
    margin-top: 0;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy,
  .warm-note {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
  }

  .hero-copy {
    padding: 0;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 21px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .hero .button-primary {
    min-height: 46px;
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .boundary-copy p {
    padding: 20px 18px 20px 66px;
  }

  .boundary-copy p::before {
    top: 50%;
    left: 16px;
    width: 36px;
    height: 36px;
  }

  .boundary-copy p::after {
    left: 26px;
  }

  .feature-grid article {
    min-height: auto;
  }

  .feature-grid article {
    top: calc(86px + (var(--stack-index) * 10px));
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    min-height: 320px;
    padding: 22px;
  }

  .feature-grid h3,
  .feature-grid article p {
    align-self: auto;
  }

  .feature-icon {
    width: min(100%, 230px);
    height: 128px;
    grid-row: auto;
    object-position: left center;
  }

  .feature-grid h3 {
    margin-top: 2px;
  }

  .feature-grid article p {
    margin: 0;
  }

  .portrait-card {
    min-height: auto;
  }

  .site-footer {
    padding: 30px 0;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-copy {
    grid-column: auto;
    grid-row: auto;
    margin-top: 4px;
  }

  .legal-page {
    padding: 104px 0 56px;
  }

  .legal-content {
    padding: 26px 18px;
  }
}
