* { box-sizing: border-box; }

:root {
  --blue: #2f5bea;
  --blue-dark: #2545c9;
  --blue-light: #4169f2;
  --bg: #f7f8fc;
  --ink: #1a1a2e;
  --muted: #6b7280;
  --border: #e4e7f2;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Site header / nav */
.site-header {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.brand-name { font-weight: 700; font-size: 16px; }

.site-nav { display: flex; gap: 18px; }
.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a.active { color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  padding: 56px 0 72px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text { flex: 1 1 320px; }
.hero-text h1 { font-size: 30px; line-height: 1.3; margin: 0 0 12px; }
.hero-text p { font-size: 15px; color: rgba(255, 255, 255, 0.9); margin: 0 0 24px; max-width: 440px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary { background: #fff; color: var(--blue); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-disabled {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
}

.hero-mock { flex: 1 1 260px; display: flex; justify-content: center; }

/* Mini recreation of the real popup UI, for an honest preview (not a
   screenshot of unbuilt features) */
.mock-frame {
  width: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 45px rgba(10, 20, 60, 0.35);
}
.mock-header {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.mock-header img { width: 20px; height: 20px; border-radius: 6px; }
.mock-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mock-row-top { display: flex; align-items: center; gap: 8px; }
.mock-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mock-name { font-size: 12px; font-weight: 600; }
.mock-issuer { font-size: 10px; color: var(--muted); }
.mock-row-bottom { display: flex; align-items: center; justify-content: space-between; }
.mock-code { font-size: 16px; font-weight: 700; letter-spacing: 1px; color: var(--blue); }
.mock-ring {
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
}
.mock-add {
  text-align: center;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
}

/* Sections */
section.block { padding: 48px 0; }
section.block h2 { font-size: 22px; margin: 0 0 8px; }
section.block > .wrap > p.lead { color: var(--muted); margin: 0 0 32px; max-width: 560px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.feature-card .icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: #e7edfd;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.feature-card h3 { font-size: 14px; margin: 0 0 6px; }
.feature-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* Content pages (privacy/terms/support) */
.doc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  margin: 32px 0 56px;
}
.doc h1 { font-size: 24px; margin-top: 0; }
.doc h2 { font-size: 16px; margin-top: 28px; }
.doc p, .doc li { font-size: 14px; color: #333; }
.doc .updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

.faq-item { margin-bottom: 20px; }
.faq-item h3 { font-size: 14px; margin: 0 0 6px; }
.faq-item p { font-size: 13px; color: #333; margin: 0; }

.contact-box {
  background: #eef2fe;
  border: 1px solid #cddafc;
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer a { color: var(--muted); margin-left: 14px; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .hero-text h1 { font-size: 24px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 13px; }
  .doc { padding: 20px; }
}
