/* MindMentor Website — Design tokens from app */
:root {
  --brand-5: #f7f3ef;
  --brand-10: #ebe2d6;
  --brand-50: #a27450;
  --brand-80: #5f3d34;
  --brown-50: #ac836c;
  --brown-60: #926247;
  --brown-80: #4f3422;
  --green-10: #f0f2e8;
  --green-50: #9bb167;
  --green-80: #3d4a26;
  --gray-0: #ffffff;
  --gray-5: #f8f8f8;
  --gray-10: #f0f0f0;
  --gray-20: #e0e0e0;
  --gray-40: #a0a0a0;
  --gray-50: #808080;
  --gray-60: #606060;
  --gray-80: #333333;
  --orange-40: #ef8834;
  --purple-40: #a78bfa;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-80);
  background: var(--gray-5);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brown-60);
  text-decoration: none;
}

a:hover {
  color: var(--brown-80);
  text-decoration: underline;
}

/* ── Layout ─────────────────────────────── */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Nav ────────────────────────────────── */

.nav {
  background: var(--gray-0);
  border-bottom: 1px solid var(--gray-10);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown-80);
}

.nav__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-50);
}

.nav__links a:hover {
  color: var(--brown-80);
  text-decoration: none;
}

/* ── Hero ───────────────────────────────── */

.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, var(--brand-5) 0%, var(--gray-5) 100%);
}

.hero__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(79, 52, 34, 0.12);
}

.hero__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--brown-80);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--gray-50);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.hero__cta {
  display: inline-block;
  background: var(--brown-80);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.hero__cta:hover {
  background: var(--brown-60);
  color: #fff;
  text-decoration: none;
}

/* ── Features ──────────────────────────── */

.features {
  padding: 60px 0;
}

.features__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--brown-80);
  text-align: center;
  margin-bottom: 40px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--gray-0);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--gray-10);
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(79, 52, 34, 0.08);
}

.feature-card__emoji {
  font-size: 36px;
  margin-bottom: 12px;
}

.feature-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-80);
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--gray-50);
  line-height: 1.5;
}

/* ── Disclaimer Banner ─────────────────── */

.disclaimer {
  background: var(--green-10);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 auto 60px;
  max-width: 720px;
  text-align: center;
}

.disclaimer__text {
  font-size: 13px;
  color: var(--gray-50);
  line-height: 1.6;
}

/* ── Footer ────────────────────────────── */

.footer {
  background: var(--gray-0);
  border-top: 1px solid var(--gray-10);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer__brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-80);
}

.footer__copy {
  font-size: 12px;
  color: var(--gray-40);
}

.footer__links-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-80);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links-group a {
  font-size: 14px;
  color: var(--gray-50);
}

/* ── Legal Pages ───────────────────────── */

.legal {
  padding: 48px 0 80px;
}

.legal__header {
  text-align: center;
  margin-bottom: 40px;
}

.legal__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--brown-80);
  margin-bottom: 8px;
}

.legal__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-50);
}

.legal__date {
  font-size: 13px;
  color: var(--gray-40);
  margin-top: 4px;
}

.legal__section {
  background: var(--gray-0);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-10);
}

.legal__section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--brown-80);
  margin-bottom: 10px;
}

.legal__section-body {
  font-size: 15px;
  color: var(--gray-60);
  line-height: 1.7;
  white-space: pre-line;
}

/* ── Support Page ──────────────────────── */

.support {
  padding: 48px 0 80px;
}

.support__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--brown-80);
  text-align: center;
  margin-bottom: 8px;
}

.support__subtitle {
  font-size: 16px;
  color: var(--gray-50);
  text-align: center;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--gray-0);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-10);
}

.faq-item__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown-80);
  margin-bottom: 8px;
}

.faq-item__a {
  font-size: 15px;
  color: var(--gray-60);
  line-height: 1.7;
}

.support__contact {
  background: var(--brand-5);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.support__contact h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brown-80);
  margin-bottom: 12px;
}

.support__contact p {
  font-size: 15px;
  color: var(--gray-60);
  margin-bottom: 4px;
}

.support__contact a {
  font-weight: 600;
}

.crisis-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 24px;
  margin-top: 32px;
}

.crisis-box__title {
  font-size: 18px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 12px;
}

.crisis-box__text {
  font-size: 15px;
  color: #7f1d1d;
  line-height: 1.7;
}

/* ── Responsive ────────────────────────── */

@media (max-width: 768px) {
  .hero__title {
    font-size: 30px;
  }

  .hero__subtitle {
    font-size: 17px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }

  .nav__links {
    display: none;
  }
}

@media (max-width: 480px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 16px 40px;
  }

  .hero__title {
    font-size: 26px;
  }
}
