/* dsm-pro.app — the DSM Pro extension's identity (extension/css/base.css, dark-mode.css) */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/MaterialIcons-Regular.woff2') format('woff2');
}

:root {
  --bg: #f0f3f5;
  --surface: #ffffff;
  --surface-high: #f5f7fa;
  --outline: #e3e8f0;
  --text: #1f2937;
  --muted: #64748b;
  --faint: #94a3b8;
  --accent: #3b82f6;
  --brand: #3b82f6;
  --brand-dark: #1d4ed8;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --green: #22c55e;
  --shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b1e;
    --surface: #2b2a2e;
    --surface-high: #323539;
    --outline: rgba(255, 255, 255, 0.08);
    --text: #e1e0e0;
    --muted: #9ca3af;
    --faint: #6b7280;
    --accent: #93c5fd;
    --shadow: none;
  }
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ─────────────────────────────────────────── */
.site-header { padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; }

/* ── Hero ───────────────────────────────────────────── */
.hero { display: grid; gap: 48px; align-items: center; padding: 24px 0 64px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: 40px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--outline); font-size: 13px; font-weight: 600; color: var(--muted); }
.eyebrow .material-icons { font-size: 18px; color: var(--accent); }

h1 { font-size: clamp(38px, 7vw, 56px); line-height: 1.06; letter-spacing: -0.035em; margin: 18px 0 14px; }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 30px; }

/* The extension's primary button: brand gradient, 8px radius. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 10px;
  background: var(--gradient); color: #fff; text-decoration: none;
  font-weight: 650; font-size: 17px;
  box-shadow: 0 8px 24px -10px rgba(29, 78, 216, 0.7);
  transition: transform 0.12s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }

.meta { color: var(--muted); font-size: 14px; }
.meta strong { color: var(--text); font-weight: 600; }

/* ── Phone ──────────────────────────────────────────── */
.phone { justify-self: center; width: min(300px, 78vw); padding: 10px; border-radius: 44px; background: #0b0d12; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }

/* ── Sections ───────────────────────────────────────── */
section { padding: 8px 0 56px; }
h2 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 18px; }

.cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--outline); box-shadow: var(--shadow); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }

.features { display: grid; gap: 10px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--outline); box-shadow: var(--shadow); }
.feature .material-icons { flex: none; color: var(--accent); margin-top: 1px; }
.feature b { display: block; }
.feature span:not(.material-icons) { color: var(--muted); font-size: 15px; }

/* ── QR (desktop visitors) ──────────────────────────── */
.qr { display: none; align-items: center; gap: 18px; margin-top: 28px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--outline); box-shadow: var(--shadow); max-width: 420px; }
.qr img { width: 96px; height: 96px; padding: 8px; border-radius: 10px; background: #fff; }
.qr p { color: var(--muted); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .qr { display: flex; } }

/* ── Verify ─────────────────────────────────────────── */
details { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius); padding: 16px 18px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); font-size: 14px; margin-top: 10px; }
code { display: block; margin-top: 6px; padding: 10px 12px; border-radius: 8px; background: var(--surface-high); color: var(--text); font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }

footer { padding: 28px 0 40px; border-top: 1px solid var(--outline); color: var(--faint); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--muted); text-decoration: none; }
