@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&display=swap");

:root {
  --bg: #0c090d;
  --ink: #f7f2f5;
  --muted: #c2aeb8;
  --surface: #181218;
  --line: #3d2a36;
  --accent: #f72585;
  --clay: #ff6aa8;
  --header: #070508;
  --radius: 16px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Montserrat", "Arial Narrow", "Segoe UI", sans-serif;
  --serif: "Montserrat", "Arial Narrow", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; }
p { margin: 0 0 0.9rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--header);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip-link:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 5, 8, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.brand span { border-bottom: 3px solid var(--clay); }
.nav-toggle {
  margin-left: auto;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-lines { margin: 0 auto; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 0.35rem 1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"] { color: var(--clay); }

.btn {
  display: inline-block;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 0 22px rgba(247, 37, 133, 0.35); }
.btn-primary:hover { background: #ff4d9a; color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--clay); }
.btn-secondary:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--clay); border-color: var(--line); }
.hero .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero .btn-secondary:hover { background: #fff; color: var(--header); }

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--header);
  overflow: hidden;
}
.hero-media,
.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 5, 8, 0.88) 6%, rgba(40, 8, 28, 0.55) 58%, rgba(7, 5, 8, 0.2) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 4.5rem 1.4rem 3.2rem;
  margin-left: max(1.2rem, calc((100% - var(--max)) / 2));
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 0.7rem; }
.hero-lead { font-size: 1.12rem; max-width: 38ch; color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }
.hero-media img,
.article-hero-img img,
.blog-card img,
.avatar--photo,
.avatar-lg--photo,
.photo--img {
  filter: saturate(.92) hue-rotate(16deg) contrast(1.08);
}

.section { padding: 4rem 1.25rem; }
.section-alt { background: #140e14; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 42rem; margin-bottom: 1.6rem; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--clay);
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.about-teaser {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}
.steps, .features-grid, .reviews-grid, .blog-cards, .team-grid, .related-grid {
  display: grid;
  gap: 1rem;
}
.steps { grid-template-columns: repeat(4, 1fr); }
.features-grid, .reviews-grid { grid-template-columns: repeat(3, 1fr); }
.blog-cards { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.step, .feature-card, .review-card, .blog-card, .team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.step-icon { font-family: var(--serif); color: var(--clay); font-size: 1.4rem; }
.proof-rating { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-bottom: 1rem; }
.stars { color: var(--clay); letter-spacing: 0.08em; }
.review-card, .author-box { display: flex; gap: 0.9rem; align-items: flex-start; }
.avatar, .avatar-lg, .photo {
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.blog-card figure { margin: -1.1rem -1.15rem 0.8rem; }
.blog-card img, .article-hero-img img { width: 100%; display: block; object-fit: cover; }
.blog-card figure img { border-radius: var(--radius) var(--radius) 0 0; height: 180px; }
.article-hero-img { margin: 1rem 0 1.4rem; }
.article-hero-img img { border-radius: var(--radius); max-height: 460px; }
.blog-card--horizontal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.blog-card--horizontal figure { margin: 0; height: 100%; }
.blog-card--horizontal img { height: 100%; min-height: 160px; border-radius: 0; }
.blog-card-body { padding: 1rem 1.15rem 1.15rem; }
.topic-nav, .guide-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.guide-links { flex-direction: column; list-style: none; padding: 0; }
.guide-links li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.faq-list { display: grid; gap: 0.6rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 1rem;
}
.faq-item summary { cursor: pointer; font-weight: 650; }
.faq-body { color: var(--muted); }

.page-article { padding: 2.2rem 1.25rem 4rem; }
.page-article > .section-inner, .page-article .section-inner { max-width: 820px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.6rem; color: var(--line); }
.article-meta { color: var(--muted); font-size: 0.92rem; }
.prose { max-width: 68ch; }
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  margin: 1rem 0 1.4rem;
}
.toc ol { margin: 0.3rem 0 0; }
.author-box {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.infographic {
  margin: 1.4rem 0;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border-left: 4px solid var(--clay);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.infographic-steps { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-styled { display: grid; gap: 0.35rem; max-width: 36rem; }
.form-styled input, .form-styled textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #100c10;
  color: var(--ink);
  font: inherit;
  margin-bottom: 0.6rem;
}
.form-styled button { justify-self: start; cursor: pointer; }

.site-footer {
  background: var(--header);
  color: rgba(247, 242, 245, 0.88);
  padding: 2.6rem 1.25rem 1.4rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.4rem; }
.footer-col h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a, .social-row a, .store-badges a { color: rgba(247, 242, 245, 0.88); text-decoration: none; }
.footer-col a:hover, .social-row a:hover, .store-badges a:hover { color: #fff; }
.social-row, .store-badges { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; }
.store-badges { margin-top: 1.4rem; }
.store-badges a {
  border: 1px solid rgba(247, 37, 133, 0.55);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}
.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(247, 37, 133, 0.28);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .steps, .features-grid, .reviews-grid, .blog-cards, .team-grid, .related-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-teaser { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .steps, .features-grid, .reviews-grid, .blog-cards, .team-grid, .related-grid, .footer-grid,
  .blog-card--horizontal { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}
