/* --- About Author Block Responsive Styles --- */
.about-author-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.about-author-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.about-author-text {
  flex: 1 1 70%;
  max-width: 70%;
  min-width: 240px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  padding-right: 2rem;
}
.about-author-text p {
  margin-bottom: 1.2rem;
}
.about-author-photo {
  flex: 0 0 30%;
  max-width: 30%;
  min-width: 160px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-left: 2rem;
}
.about-author-photo img {
  width: 100%;
  max-width: 220px;
  border-radius: 1.5rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  display: block;
}
@media (max-width: 900px) {
  .about-author-photo {
    max-width: 180px;
    flex-basis: 180px;
  }
}
@media (max-width: 700px) {
  .about-author-title {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .about-author-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .about-author-photo, .about-author-text {
    max-width: 100%;
    flex-basis: 100%;
    padding: 0;
  }
  .about-author-photo {
    justify-content: center;
    margin-bottom: 1rem;
  }
  .about-author-photo img {
    max-width: 100%;
  }
}
.bg-cream { background: var(--cream); }
.bg-white { background: #fff; }
.bg-light { background: #f7f8fa; }
.bg-grey { background: #f1f3f6; }
:root {
  --cream: #f9f5f0;
  --pink: #eabccf;
  --orange: #f57c48;
  --black: #1a1a1a;
  --white: #ffffff;
  --muted: #666666;
  --line: rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --container: 72rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Outfit, sans-serif;
  background: var(--cream);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; transition: 0.2s ease; }

.container {
  width: min(var(--container), calc(100% - 3rem));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--black { background: #000; color: #fff; }
.btn--black:hover { background: #262626; }
.btn--white { background: #fff; border-color: #e5e7eb; }
.btn--white:hover { background: #fafafa; }
.btn--orange { background: var(--orange); color: #000; font-weight: 600; }
.btn--orange:hover { background: #fff; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(249, 245, 240, 0.9);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a:hover { color: #000; }

.hero { padding: 8rem 0 5rem; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero h1 .accent { color: var(--orange); }
.hero__desc {
  max-width: 31rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.cards-stack {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1000px;
  cursor: pointer;
  outline: none;
}
.memo-card {
  position: absolute;
  width: 16rem;
  height: 20rem;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--black);
  transition: transform 0.6s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  will-change: transform;
}
.memo-card--back { background: #fff; }
.memo-card--middle { background: var(--orange); }
.memo-card--front { background: var(--pink); }

.memo-card.is-front {
  transform: rotate(2deg) translate(-2rem, 1.5rem);
  z-index: 3;
}
.memo-card.is-middle {
  transform: rotate(-3deg) translate(1rem, -0.5rem);
  z-index: 2;
}
.memo-card.is-back {
  transform: rotate(6deg) translate(3rem, 1rem);
  z-index: 1;
}
.memo-card__icon {
  width: 4rem;
  height: 4rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.memo-card__date { font-size: 2rem; font-weight: 500; margin-bottom: 0.25rem; }
.memo-card__meta {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.55);
}
.memo-card__text { margin-top: 1rem; font-size: 0.9rem; font-weight: 500; line-height: 1.35; }

.section { padding: 5rem 0; }
.section--tight { padding: 4rem 0; }
.section__head { margin-bottom: 4rem; }
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section__desc {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.1rem;
}
.section__head--center { text-align: center; }
.section__head--center .section__desc { margin-inline: auto; }

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.tool-card {
  min-height: 480px;
  border-radius: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.tool-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-hover); }
.tool-card--pink { background: var(--pink); }
.tool-card--orange { background: var(--orange); }
.tool-card__content { flex: 1; }
.tool-card__icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.tool-card__icon {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-card h3 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; }
.tool-card p { font-size: 1.1rem; line-height: 1.65; opacity: 0.9; margin-bottom: 1.5rem; }
.tool-list { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.tool-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}
.tool-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #000;
  flex-shrink: 0;
}

 .platforms {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platforms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.platform-card {
  background: var(--cream);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #f1f1f1;
}
.platform-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.platform-card__icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-card__icon-wrap--pink { background: var(--pink); }
.platform-card__icon-wrap--orange { background: var(--orange); }
.platform-card__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.platform-card h3 { font-size: 1.25rem; font-weight: 600; }
.platform-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.platform-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
  min-height: 56px;
}
.platform-btn:hover { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); }
.platform-btn--pink:hover { border-color: var(--pink); }
.platform-btn--orange:hover { border-color: var(--orange); }
.platform-btn.is-disabled {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.platform-btn.is-disabled:hover { box-shadow: none; border-color: #e5e7eb; }
.platform-btn.is-disabled .platform-btn__badge { background: #9ca3af; }
.platform-btn.is-disabled .platform-btn__label { color: #9ca3af; }
.platform-btn__badge {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.platform-btn__badge--tg { background: #3b82f6; }
.platform-btn__badge--vk { background: #2563eb; }
.platform-btn__badge--ok { background: #f97316; }
.platform-btn__badge--web { background: #1f2937; }
.platform-btn__label { font-weight: 500; }

.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.blog-head h2 { font-size: 1.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.blog-head p { color: #6b7280; }
.blog-link {
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
  white-space: nowrap;
}
.blog-link:hover { color: var(--orange); border-color: var(--orange); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
}
.blog-card:hover { box-shadow: var(--shadow-soft); }
.blog-card__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.blog-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.blog-card p { font-size: 0.875rem; color: #6b7280; }

 .social {
  background: #000;
  color: #fff;
  border-radius: 2rem;
  padding: 2.5rem;
  text-align: center;
}
.social h2 { font-size: 1.9rem; font-weight: 600; margin-bottom: 1.25rem; }
.social p {
  color: #9ca3af;
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.social-links a {
  font-size: 0.875rem;
  border: 1px solid #374151;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
}
.social-links a:hover { background: #fff; color: #000; }

 .footer {
  border-top: 1px solid #f3f4f6;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer h5 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}
.footer ul a:hover { color: #000; }
.footer-bottom {
  border-top: 1px solid #f3f4f6;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero__grid,
  .tools-grid,
  .platforms-grid { grid-template-columns: 1fr; }
  .cards-stack { justify-content: center; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .container { width: calc(100% - 1.5rem); }
  .nav__links { display: none; }
  .hero { padding: 7rem 0 4rem; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .cards-stack { height: 360px; }
  .memo-card { width: 14rem; height: 17.5rem; padding: 1rem; }
  .platform-buttons { grid-template-columns: 1fr; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .social { padding: 2rem 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
