:root {
  --bg: #ffffff;
  --text: #101010;
  --muted: #666666;
  --line: #ececec;
  --panel: #f7f7f8;
  --panel-strong: #f1eaff;
  --accent: #7c3aed;
  --accent-soft: #f5f0ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.header {
  height: 82px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

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

.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111;
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 18px;
  fill: none;
  stroke: #111;
  stroke-width: 1.8;
}

.nav-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-btn,
.btn-dark {
  background: #101010;
  color: #fff;
}

.btn-light {
  background: #fff;
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fbfbfc 0%, #f6f1ff 100%);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -3px;
  max-width: 760px;
}

.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.page-content .support-cards,
.page-content .faq-list,
.page-content .story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.page-content .support-card,
.page-content .faq-item,
.page-content .story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}

.page-content .support-card h3,
.page-content .faq-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.page-content .support-card p,
.page-content .faq-item p,
.page-content .story-card p,
.page-lead,
.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.8;
}

.page-shell {
  padding: 0 0 80px;
}

.page-content {
  padding: 80px 0;
}

.page-hero {
  padding: 40px 0 40px;
  background:
    radial-gradient(circle at 78% 35%, #eee7ff 0%, transparent 30%),
    #fff;
}

.page-lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: 17px;
}

.prose {
  max-width: 860px;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: #5b21b6;
}

.prose h2,
.prose h3 {
  margin: 34px 0 16px;
  line-height: 1.1;
}

.prose p + p {
  margin-top: 18px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 18px 0;
}

footer {
  padding: 50px 0 26px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-description {
  margin-top: 16px;
  max-width: 320px;
  color: var(--muted);
}

footer h4 {
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #8a8a8a;
  font-size: 14px;
}

.pagination {
  margin-top: 38px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 600;
}

.page-btn.active {
  background: #101010;
  color: #fff;
  border-color: #101010;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  .header {
    height: auto;
    position: static;
  }

  .section-head,
  .footer-grid,
  .page-content .support-cards,
  .page-content .faq-list,
  .page-content .story-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }

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