:root {
  --bg: #dde3f5;
  --card: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.85);
  --primary: #6b6bdb;
  --primary-light: #e8e6ff;
  --text: #212121;
  --text-secondary: #757575;
  --divider: #e0e0e0;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(100, 100, 180, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 4px 20px 48px;
}

.doc-header {
  text-align: center;
  padding: 24px 20px 20px;
  margin-bottom: 8px;
}

.brand {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.doc-header h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text);
}

.updated {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}

.intro {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--text);
}

section h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

section p,
section li {
  margin: 0 0 12px;
  color: var(--text);
}

section ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

section ul li {
  margin-bottom: 6px;
}

.footer-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

a:active {
  opacity: 0.75;
}

/* Help & Support */

.hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hero-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.hero-sub {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.section-label {
  margin: 20px 0 10px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.quick-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.quick-card span {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
}

details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

details summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-right: 36px;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

details[open] summary::after {
  content: "−";
}

details .answer {
  padding: 0 16px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider);
}

.contact-email {
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0;
}

.disclaimer {
  background: var(--primary-light);
  border-color: rgba(107, 107, 219, 0.2);
}

.disclaimer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

/* ── Site navigation (homepage) ── */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--primary);
}

/* ── Homepage hero ── */

.home-page {
  padding-top: 0;
}

.home-hero {
  text-align: center;
  padding: 48px 20px 36px;
}

.home-app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #8b8be8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  box-shadow: 0 12px 32px rgba(107, 107, 219, 0.30);
}

.home-title {
  margin: 0 0 10px;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
}

.home-tagline {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
}

.home-desc {
  margin: 0 auto;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Feature grid ── */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ── Homepage footer ── */

.home-footer {
  margin-top: 32px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-links span {
  color: var(--divider);
  font-size: 14px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ── Mood badge strip ── */

.mood-strip {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 32px;
}

.mood-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.mood-badge.awful  { background: #EF5350; }
.mood-badge.bad    { background: #FF7043; }
.mood-badge.okay   { background: #FFC107; color: #333; }
.mood-badge.good   { background: #66BB6A; }
.mood-badge.great  { background: #26A69A; }
