/* WDIMTM landing — brand-aligned with extension UI */

:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-elevated: #0f0f13;
  --panel: #121218;
  --panel-2: #16161c;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #71717a;
  --accent: #818cf8;
  --accent-2: #8b5cf6;
  --accent-strong: #6366f1;
  --ok: #86efac;
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(99, 102, 241, 0.08);
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(800px 420px at 95% 5%, rgba(139, 92, 246, 0.14), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(99, 102, 241, 0.08), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Layout ─────────────────────────────────────────── */

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(7, 7, 10, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 7, 10, 0.88);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.nav-links {
  display: none;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

/* ── Buttons ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.65rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(99, 102, 241, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn-lg {
  height: 3.1rem;
  padding: 0 1.35rem;
  font-size: 1rem;
}

/* ── Hero ───────────────────────────────────────────── */

.hero {
  padding: 4.5rem 0 3.5rem;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 5.5rem 0 4.5rem;
  }

  .nav-links {
    display: flex;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: rgba(99, 102, 241, 0.1);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #c4b5fd 10%, #818cf8 45%, #a5b4fc 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  color: var(--faint);
  font-size: 0.85rem;
}

.hero-meta strong {
  color: var(--muted);
  font-weight: 600;
}

/* ── Product mock ───────────────────────────────────── */

.stage {
  position: relative;
  min-height: 420px;
}

.page-card {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #14141a 0%, #0e0e13 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 420px;
}

.page-card-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3f3f46;
}

.dot:nth-child(1) {
  background: #f87171;
}
.dot:nth-child(2) {
  background: #fbbf24;
}
.dot:nth-child(3) {
  background: #4ade80;
}

.url-chip {
  margin-left: 0.5rem;
  flex: 1;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.page-body {
  padding: 1.35rem 1.4rem 5.5rem;
  color: #d4d4d8;
  font-size: 0.95rem;
}

.page-body h3 {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.page-body p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.sel {
  background: rgba(129, 140, 248, 0.22);
  color: #eef2ff;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.05em 0.15em;
}

/* Floating bubble */
.bubble-float {
  position: absolute;
  left: 18%;
  top: 46%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 3px 10px 3px 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1c1c22 0%, #121218 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 0.78rem;
  font-weight: 650;
  animation: float-in 0.5s ease both 0.15s;
  z-index: 3;
}

.bubble-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Popover mock */
.popover-mock {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(320px, calc(100% - 1.5rem));
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0f0f13;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 4;
  animation: float-in 0.55s ease both 0.35s;
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(180deg, #16161c 0%, #121218 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 650;
}

.popover-head span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.popover-body {
  padding: 0.85rem 0.95rem 1rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #d4d4d8;
}

.popover-body p {
  margin: 0 0 0.55rem;
}

.popover-body p:last-child {
  margin-bottom: 0;
}

.popover-body strong {
  color: #fafafa;
  font-weight: 650;
}

.for-you {
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: #c7d2fe;
  font-size: 0.8rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font-size: 0.72rem;
  font-weight: 500;
}

.chip.accent {
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(99, 102, 241, 0.15);
  color: #e0e7ff;
}

.meta-line {
  margin-top: 0.7rem;
  font-size: 0.68rem;
  color: var(--faint);
  letter-spacing: 0.02em;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Sections ───────────────────────────────────────── */

section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.kicker {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Compare */
.compare {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.flow-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem 1.35rem;
}

.flow-card.good {
  border-color: rgba(129, 140, 248, 0.28);
  background:
    linear-gradient(180deg, rgba(99, 102, 241, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.flow-card h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.flow-steps li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.flow-steps .n {
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--faint);
}

.flow-card.good .n {
  background: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
}

.flow-card.bad li {
  text-decoration: none;
  opacity: 0.85;
}

/* Grid features */
.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  min-height: 100%;
}

.feature .icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
  font-size: 1rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Lenses */
.lens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lens-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.lens-pill b {
  color: var(--text);
  font-weight: 650;
}

/* Access */
.access {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .access {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.access-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 1.35rem 1.4rem;
}

.access-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.access-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--ok);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag.muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--faint);
}

code,
.mono {
  font-family: var(--mono);
  font-size: 0.86em;
}

code {
  padding: 0.1em 0.35em;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
}

/* CTA band */
.cta-band {
  margin: 1rem 0 3rem;
  padding: 2.25rem 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(129, 140, 248, 0.28);
  background:
    radial-gradient(500px 200px at 10% 0%, rgba(139, 92, 246, 0.2), transparent 60%),
    radial-gradient(400px 180px at 100% 100%, rgba(99, 102, 241, 0.18), transparent 55%),
    var(--panel-2);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 42ch;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
  color: var(--faint);
  font-size: 0.85rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a:hover {
  color: var(--muted);
}

/* Install steps */
.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 700;
}

.step h4 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bubble-float,
  .popover-mock {
    animation: none;
  }
  .btn:hover {
    transform: none;
  }
}
