/* Xenomere marketing site — shared stylesheet */
:root {
  --bg: #080b10;
  --bg-2: #0d1118;
  --card: #12171f;
  --card-2: #171d26;
  --line: #1c2c28;
  --fg: #e8ecea;
  --muted: #8a9c96;
  --dim: #5e6e68;
  --mint: #61d3a0;
  --mint-2: #2dd4bf;
  --amber: #e8963a;
  --red: #ef6b6b;
  --purple: #8b7ec8;
  --sans: Inter, "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  text-decoration: none;
}

.wordmark:hover { text-decoration: none; opacity: 0.85; }

.site-nav { display: flex; gap: 24px; align-items: center; }

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--fg); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 4px;
}

.nav-toggle svg { display: block; }

/* ── Main ── */
.site-main {
  flex: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  width: 100%;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 64px 0 48px;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(97, 211, 160, 0.08);
  border: 1px solid rgba(97, 211, 160, 0.2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.hero-disclaimer {
  font-size: 12px;
  color: var(--dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Store badges ── */
.store-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.store-badge:hover {
  border-color: var(--mint);
  background: var(--card-2);
  text-decoration: none;
}

.store-badge svg { flex-shrink: 0; }

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.15s;
}

.feature-card:hover { border-color: rgba(97, 211, 160, 0.3); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(97, 211, 160, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--mint);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Section blocks ── */
.section {
  margin-top: 64px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section > p {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
}

/* ── Legal / content pages ── */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page-header .meta {
  font-size: 13px;
  color: var(--dim);
}

.content h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

.content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 28px 0 8px;
}

.content p {
  margin-bottom: 14px;
  color: var(--fg);
  line-height: 1.65;
}

.content ul, .content ol {
  margin: 0 0 16px 20px;
  color: var(--fg);
}

.content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.content strong { font-weight: 600; }

.content .muted { color: var(--muted); }

.content .highlight {
  background: rgba(97, 211, 160, 0.06);
  border: 1px solid rgba(97, 211, 160, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}

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

.content .warn {
  background: rgba(232, 150, 58, 0.06);
  border: 1px solid rgba(232, 150, 58, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0;
}

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

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.content th, .content td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--card);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.content td { background: var(--bg-2); }

/* ── FAQ ── */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fg);
}

.faq-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Contact card ── */
.contact-card {
  background: linear-gradient(135deg, rgba(97, 211, 160, 0.06), rgba(45, 212, 191, 0.04));
  border: 1px solid rgba(97, 211, 160, 0.2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-bottom: 48px;
}

.contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card .email {
  font-size: 18px;
  font-weight: 600;
  color: var(--mint);
  margin-bottom: 8px;
}

.contact-card .response {
  font-size: 14px;
  color: var(--muted);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}

.footer-entity {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 6px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--fg); }

.footer-bottom {
  max-width: 1080px;
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

/* ── Phone mockup ── */
.phone-mockup {
  width: 240px;
  height: 480px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 32px;
  padding: 12px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 16px;
}

.phone-screen .mock-header {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}

.phone-screen .mock-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--card-2);
  margin-bottom: 8px;
}

.phone-screen .mock-bar.short { width: 60%; }
.phone-screen .mock-bar.accent { background: rgba(97, 211, 160, 0.2); }

.phone-screen .mock-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--mint);
  margin: 16px auto;
  position: relative;
}

.phone-screen .mock-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--card);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-main { padding: 32px 16px 64px; }
  .hero { padding: 40px 0 32px; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { gap: 24px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(8, 11, 16, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 4px 0; }
  .content table { font-size: 12px; }
  .content th, .content td { padding: 8px 10px; }
  .phone-mockup { width: 200px; height: 400px; }
}

@media (max-width: 480px) {
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 240px; justify-content: center; }
}
