/* ===========================
   Variables
   =========================== */
:root {
  --bg:             #0a0a0a;
  --bg-card:        #111111;
  --border:         #1f1f1f;
  --border-card:    #2a2a2a;
  --text-primary:   #ffffff;
  --text-secondary: #aaaaaa;
  --text-muted:     #555555;
  --text-label:     #444444;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width:  760px;
  --nav-height: 60px;
}

/* ===========================
   Reset
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   Layout
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Nav
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

/* ===========================
   Sections
   =========================== */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.section--hero {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* ===========================
   Typography
   =========================== */
.label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-label);
  margin-bottom: 16px;
}
.body-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
}
h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
}

/* ===========================
   App Card
   =========================== */
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  max-width: 360px;
}
.app-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.app-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  flex-shrink: 0;
}
.app-card__meta {
  min-width: 0;
}
.app-card__name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.app-card__category {
  font-size: 11px;
  color: var(--text-muted);
}
.app-card__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.app-card__links {
  display: flex;
  gap: 8px;
}
.btn-link {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 6px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-link:hover {
  color: var(--text-primary);
  border-color: var(--text-label);
}

/* ===========================
   Contact
   =========================== */
.email-link {
  display: inline-block;
  font-size: 14px;
  color: var(--text-primary);
  margin-top: 8px;
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.email-link:hover { border-color: var(--text-muted); }

/* ===========================
   Footer
   =========================== */
.footer { padding: 24px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer span {
  font-size: 11px;
  color: var(--text-label);
}

/* ===========================
   Privacy Policy page
   =========================== */
.nav-back {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text-primary); }

.policy-header {
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.policy-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.policy-date {
  font-size: 11px;
  color: var(--text-muted);
}

.policy-content {
  padding: 48px 24px;
  max-width: calc(var(--max-width) - 160px);
  margin: 0 auto;
}
.policy-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
}
.policy-summary p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.policy-section {
  margin-bottom: 32px;
}
.policy-section h2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.policy-section p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===========================
   Support page
   =========================== */
.support-section {
  margin-bottom: 32px;
}
.support-section h2 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.support-section h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 8px;
}
.support-section p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.support-list {
  margin: 8px 0 12px 20px;
  padding: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.support-list li {
  margin-bottom: 4px;
}
.support-after-link {
  margin-top: 16px;
}
.support-qa {
  margin-bottom: 20px;
}
.support-qa h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 8px;
}
.support-qa p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .section { padding: 48px 0; }
  .section--hero { padding-top: 64px; padding-bottom: 64px; }
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
  .app-card { max-width: 100%; }
  .policy-content { max-width: 100%; }
}
