/* DupeStack marketing skin for philstone.co.uk/dupestack.html */

:root {
  --bg: #0c0b0a;
  --text: #f4efe6;
  --muted: #a1a1aa;
  --emerald: #10b981;
  --line: rgba(244, 239, 230, 0.1);
  --ds-bg: #e4efe8;
  --ds-text: #14241e;
  --ds-muted: #3d5a4e;
  --ds-card: #fff;
  --ds-border: rgba(16, 64, 48, 0.12);
  --ds-emerald: #10b981;
  --ds-emerald-deep: #059669;
}

*, *::before, *::after { box-sizing: border-box; }

.ds-page {
  --nav-accent: var(--emerald);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.ds-page a { color: inherit; text-decoration: none; }
.ds-page a:visited { color: inherit; }

.ds-page .page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 88% 8%, rgba(16, 185, 129, 0.16), transparent 55%),
    radial-gradient(700px 400px at 8% 92%, rgba(63, 63, 70, 0.35), transparent 50%),
    linear-gradient(165deg, #18181b 0%, #0c0b0a 45%, #09090b 100%);
}

.shell.ds-shell {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  padding-bottom: 40px;
}

/* Phil Stone chrome — DupeStack topbar skin only (nav in site-chrome.css) */
.ds-page .topbar {
  background: rgba(12, 11, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}

.ds-page .site-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  color: var(--muted);
}

.ds-page .footer-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.ds-page .footer-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-page .legal {
  max-width: 40em;
  margin: 12px auto 0;
  line-height: 1.35;
  text-align: center;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ds-page .legal p { margin: 0; }
.ds-page .legal .nowrap { white-space: nowrap; }
.ds-page p.legal { display: block; }

/* DupeStack product panel */
main.ds {
  margin-top: 18px;
  padding: 0 0 28px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--ds-text);
  background:
    radial-gradient(720px 320px at 90% -10%, rgba(52, 211, 153, 0.28), transparent 55%),
    radial-gradient(560px 280px at 0% 100%, rgba(16, 185, 129, 0.14), transparent 50%),
    linear-gradient(165deg, #d7eadf 0%, #e4efe8 42%, #eef4ee 100%);
  border: 1px solid var(--ds-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.ds .hero {
  padding: 48px 22px 32px;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.92) 0%, rgba(6, 78, 59, 0.78) 45%, rgba(8, 32, 24, 0.94) 100%);
  color: #eef6f1;
}

.ds .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6ee7b7;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ds .brand-mark { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }

.ds .brand-mark .ds-sq {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ds-emerald);
  color: #052e1a;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.ds .brand-mark .ds-word { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.ds .brand-mark .ds-word span { color: #34d399; }

.ds h1 {
  font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fff;
}

.ds h1 em { font-style: normal; color: #34d399; font-weight: 700; }

.ds .lead { color: rgba(238, 246, 241, 0.82); font-size: 1.05rem; max-width: 38em; }
.ds .hero-link { margin-top: 14px; font-size: 0.92rem; font-weight: 600; }
.ds .hero-link a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }
.ds .hero-link a:hover { color: #fff; }

.ds .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.ds .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ds .button:hover { transform: translateY(-1px); }
.ds .primary { background: var(--ds-emerald); color: #09090b; }
.ds .primary:hover { background: #34d399; }
.ds .secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.ds .secondary:hover { background: rgba(255, 255, 255, 0.22); }

.ds .ds-body { padding: 8px 22px 8px; }

.ds .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 6px;
}

.ds .stat {
  padding: 18px 14px;
  border: 1px solid var(--ds-border);
  border-radius: 16px;
  background: var(--ds-card);
  text-align: center;
  box-shadow: 0 1px 2px rgba(16, 64, 48, 0.04);
}

.ds .stat-num {
  font-weight: 700;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  color: var(--ds-emerald-deep);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.ds .stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ds-muted);
}

.ds .section {
  padding: 28px 0 6px;
  border-top: 1px solid var(--ds-border);
  margin-top: 10px;
}

.ds .section h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ds-text);
}

.ds .section p, .ds .section li { color: var(--ds-muted); max-width: 42em; }
.ds .section p + p, .ds .section li + li { margin-top: 10px; }
.ds .section strong { color: var(--ds-text); }
.ds .section a { color: var(--ds-emerald-deep); text-decoration: underline; text-underline-offset: 2px; }
.ds .section a:hover { color: #047857; }

.ds .feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.ds .feat {
  padding: 18px 16px;
  border: 1px solid var(--ds-border);
  border-radius: 16px;
  background: var(--ds-card);
  box-shadow: 0 1px 2px rgba(16, 64, 48, 0.04);
  transition: border-color 0.15s ease;
}

.ds .feat:hover { border-color: rgba(16, 185, 129, 0.4); }
.ds .feat h3 { font-size: 0.95rem; margin-bottom: 6px; font-weight: 700; color: var(--ds-text); }
.ds .feat p { font-size: 0.88rem; max-width: none; color: var(--ds-muted); }

.ds .cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.ds .cat {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.ds .limits {
  margin-top: 12px;
  padding: 16px 18px;
  border-left: 3px solid var(--ds-emerald);
  background: rgba(16, 185, 129, 0.08);
  border-radius: 0 14px 14px 0;
}

.ds .limits ul { margin: 8px 0 0 1.1em; }
.ds .limits li { font-size: 0.9rem; }

.ds .note {
  margin-top: 22px;
  padding: 16px 22px 0;
  border-top: 1px solid var(--ds-border);
  color: var(--ds-muted);
  font-size: 0.84rem;
}

.ds .note a { color: var(--ds-emerald-deep); font-weight: 600; }
.ds .note a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .ds .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ds .feat-grid { grid-template-columns: 1fr; }
  .ds .hero, .ds .ds-body { padding-left: 16px; padding-right: 16px; }
  .ds .note { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 480px) {
  .ds .stat-grid { grid-template-columns: 1fr; }
  .ds .actions { flex-direction: column; }
  .ds .button { width: 100%; }
}
