/* SOW Desk — shared marketing styles */
:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-card: #161f33;
  --border: #243049;
  --text: #e8eef9;
  --text-muted: #9aabc4;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --success: #22c55e;
  --gold: #f59e0b;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img { max-width: 100%; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
}

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

.nav-cta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  font-family: inherit;
  white-space: nowrap;
}

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

.btn:disabled,
.btn:disabled:hover {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.btn-primary:disabled:hover { background: var(--accent); color: #fff; }
.btn-secondary:disabled:hover { background: transparent; border-color: var(--border); color: var(--text); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: #3a4a68;
  color: var(--text);
}

.btn-gold {
  background: var(--gold);
  color: #1a1200;
}

.btn-gold:hover { background: #d97706; color: #1a1200; }

.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }

.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto;
  height: 420px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 auto 1.1rem;
  font-weight: 800;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

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

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 auto 0.75rem;
}

/* Sections */
section { padding: 4rem 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  font-weight: 750;
}

.section-sub {
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-center { text-align: center; }
.section-center .section-sub { margin-inline: auto; }

/* Problem grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 650;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
  margin-top: 2rem;
}

.step {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* Kit contents */
.kit-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.kit-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.kit-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.kit-list strong { display: block; margin-bottom: 0.15rem; }
.kit-list span { color: var(--text-muted); font-size: 0.9rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.price-tag {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.price-card .price-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  flex: 1;
}

.price-features li {
  padding: 0.45rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
  display: grid;
  gap: 0.75rem;
}

details.faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

details.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

details.faq[open] summary::after { content: "−"; }

details.faq p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1e3a5f 0%, #1a2744 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-band h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  max-width: 28ch;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-copy {
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal {
  padding: 3rem 0 4rem;
  max-width: 720px;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.6rem;
}

.legal p, .legal li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.placeholder {
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed var(--gold);
  color: #fcd34d;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
}

/* Utility */
.muted { color: var(--text-muted); }
.mt-2 { margin-top: 2rem; }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 3rem 0; }
  .price { font-size: 2.1rem; }
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.nav-toggle:hover {
  background: var(--bg-elevated);
  border-color: #3a4a68;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(11, 18, 32, 0.98);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0.5rem;
  }
  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
  .nav-cta .btn { width: 100%; }
  .site-header .nav { position: relative; flex-wrap: wrap; }
}
