/* DualShot Recorder — static site (Cloudflare Pages) */

:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --text: #f5f5f7;
  --muted: #8e8e93;
  --accent: #ffd60a;
  --border: rgba(255, 255, 255, 0.08);
  --font: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 640px;
  --max-wide: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.wrap--wide {
  max-width: var(--max-wide);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
}

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

.brand-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: inline;
}

@media (max-width: 480px) {
  .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .brand {
    gap: 0;
  }
}

.hero-logo {
  margin: 0 0 1.75rem;
}

.hero-logo img {
  display: block;
  max-width: min(280px, 88vw);
  height: auto;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42ch;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

section {
  margin-bottom: 2.5rem;
}

section h2 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

ul.features {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.features li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.35rem;
  border-bottom: 1px solid var(--border);
}

ul.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.meta {
  font-size: 0.875rem;
  color: var(--muted);
}

.meta code {
  font-size: 0.8em;
  padding: 0.15rem 0.4rem;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
}

footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

footer p {
  margin: 0.35rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.footer-sep {
  color: var(--border);
  user-select: none;
}

/* Support page */
.support-main {
  padding-bottom: 1rem;
}

.support-hero-logo {
  margin: 0 0 1.5rem;
}

.support-hero-logo img {
  display: block;
  max-width: min(320px, 92vw);
  height: auto;
}

.support-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.support-lead {
  max-width: 40ch;
}

.support-email-block {
  margin: 1.75rem 0;
}

.support-email-btn {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg) !important;
  background: var(--accent);
  border-radius: 10px;
  text-decoration: none !important;
  word-break: break-all;
}

.support-email-btn:hover {
  filter: brightness(1.08);
  text-decoration: none !important;
}

.support-note {
  max-width: 42ch;
}

/* Privacy / legal prose */
.prose h1 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose strong {
  color: var(--text);
}
