/* ─────────────────────────────────────────────
   GearLife — Global stylesheet
   Design: text-first, clean, analytical
   ───────────────────────────────────────────── */

/* ── Tokens ─────────────────────────────────── */
:root {
  --bg:         #ffffff;
  --bg-subtle:  #f7f7f7;
  --bg-inset:   #f0f0f0;
  --border:     #e4e4e4;
  --text:       #111111;
  --text-2:     #555555;
  --text-3:     #888888;
  --accent:     #1a56db;
  --accent-dim: #eef2ff;
  --success:    #166534;
  --warn:       #92400e;
  --radius:     6px;
  --max-w:      720px;
  --max-w-wide: 960px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: var(--max-w-wide); }

main { flex: 1; }

/* ── Nav ─────────────────────────────────────── */
nav {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-2);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); font-weight: 500; }
.nav-links a.lang-switch {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-3);
}
.nav-links a.lang-switch:hover { color: var(--text); border-color: var(--text-3); }

/* ── Footer ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.8125rem; color: var(--text-3); }
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a { font-size: 0.8125rem; color: var(--text-3); }
.footer-links a:hover { color: var(--text-2); text-decoration: none; }

/* ── Hero (landing) ──────────────────────────── */
.hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.125rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); }
.btn-disabled {
  background: var(--bg-inset);
  color: var(--text-3);
  cursor: default;
  border: 1px solid var(--border);
}
.btn-disabled:hover { opacity: 1; }

/* ── Badge ───────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-blue { background: var(--accent-dim); color: var(--accent); }
.badge-green { background: #dcfce7; color: var(--success); }
.badge-amber { background: #fef3c7; color: var(--warn); }

/* ── Feature grid ────────────────────────────── */
.features {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 40px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-item {
  background: var(--bg);
  padding: 28px;
}
.feature-icon {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1;
}
.feature-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ── Platform list ───────────────────────────── */
.platforms {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-2);
}

/* ── Status table ────────────────────────────── */
.status-section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.status-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.status-table th, .status-table td {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}
.status-table th { font-weight: 600; color: var(--text-3); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--bg-subtle); }
.status-table tr:last-child td { border-bottom: none; }

/* ── Legal / prose pages ─────────────────────── */
.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.page-header .meta {
  font-size: 0.8125rem;
  color: var(--text-3);
  margin-top: 10px;
}
.prose h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 40px 0 10px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.prose h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.prose h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
}
.prose p { margin-bottom: 16px; font-size: 0.9375rem; color: var(--text-2); }
.prose ul { margin: 0 0 16px 20px; }
.prose li { font-size: 0.9375rem; color: var(--text-2); margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.prose .note {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.875rem;
  color: var(--text-2);
}
.prose .note strong { color: var(--text); }

/* ── Infobox ─────────────────────────────────── */
.infobox {
  background: var(--accent-dim);
  border: 1px solid #c7d7f9;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 0.9rem;
  color: #1e3a8a;
}

/* ── Support page ────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.support-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.support-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; }
.support-card p { font-size: 0.875rem; color: var(--text-2); margin-bottom: 0; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { gap: 16px; }
  .hero { padding: 48px 0 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
