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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #fbf8f5;
  color: #161b2a;
  line-height: 1.65;
  font-size: 16px;
}

a { color: #7b61ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #f4eee8;
  border-bottom: 1px solid #e8e0d6;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: #161b2a;
  letter-spacing: -0.5px;
}

.logo span { color: #7b61ff; }

nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { font-size: 14px; font-weight: 600; color: #667085; }
nav a:hover, nav a.active { color: #7b61ff; text-decoration: none; }

/* Main */
main { padding: 36px 0 60px; }

.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 900;
  color: #161b2a;
  margin-bottom: 6px;
}

.page-header .meta {
  font-size: 13px;
  color: #667085;
  font-weight: 600;
}

/* Cards */
.card {
  background: #f4eee8;
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.card h2 {
  font-size: 16px;
  font-weight: 900;
  color: #161b2a;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 14px;
  font-weight: 800;
  color: #161b2a;
  margin: 14px 0 6px;
}

.card p {
  font-size: 14px;
  color: #667085;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p:last-child { margin-bottom: 0; }

.card ul {
  margin: 6px 0 10px 0;
  padding-left: 20px;
}

.card ul li {
  font-size: 14px;
  color: #667085;
  font-weight: 600;
  margin-bottom: 4px;
  list-style: disc;
}

/* Index landing */
.hero {
  text-align: center;
  padding: 48px 0 36px;
}

.hero .app-icon {
  width: 80px;
  height: 80px;
  background: rgba(123,97,255,0.12);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 38px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  color: #667085;
  font-weight: 600;
  max-width: 480px;
  margin: 0 auto;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.link-card {
  background: #f4eee8;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}

.link-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); text-decoration: none; }

.link-card .icon {
  width: 44px;
  height: 44px;
  background: rgba(123,97,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.link-card h3 {
  font-size: 16px;
  font-weight: 900;
  color: #161b2a;
}

.link-card p {
  font-size: 13px;
  color: #667085;
  font-weight: 600;
}

/* FAQ */
.faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: rgba(123,97,255,0.12);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  color: #7b61ff;
  margin-right: 10px;
  vertical-align: middle;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.faq-question h2 {
  margin-bottom: 0;
}

/* Contact card */
.contact-email-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(123,97,255,0.07);
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.contact-email-row span {
  font-size: 14px;
  font-weight: 700;
  color: #161b2a;
}

.contact-email-row a {
  font-size: 14px;
  font-weight: 700;
  color: #7b61ff;
}

/* Footer */
footer {
  background: #f4eee8;
  border-top: 1px solid #e8e0d6;
  padding: 24px 0;
  text-align: center;
}

footer p {
  font-size: 13px;
  color: #667085;
  font-weight: 600;
  margin-bottom: 4px;
}

footer a { color: #7b61ff; }

@media (max-width: 480px) {
  .page-header h1 { font-size: 22px; }
  .hero h1 { font-size: 26px; }
  .card { padding: 18px; }
}
