/*
Theme Name: CompoundTraffic
Theme URI: https://compoundtraffic.com
Author: CompoundTraffic
Description: A minimal, focused landing page theme for CompoundTraffic. Calm, reliable, slightly premium.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: compoundtraffic
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */

:root {
  /* Colors - Locked */
  --color-background: #FFFFFF;
  --color-text-primary: #0F172A;
  --color-text-muted: #475569;
  --color-accent: #2563EB;
  --color-accent-hover: #1D4ED8;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-body: 17px;
  --line-height: 1.6;
  
  /* Layout */
  --max-width: 700px;
  --spacing-section: 120px;
  --spacing-element: 32px;
  --padding-horizontal: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  line-height: var(--line-height);
  color: var(--color-text-primary);
  background-color: var(--color-background);
}

/* ============================================
   LAYOUT
   ============================================ */

.site-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-horizontal);
}

/* ============================================
   HEADER / WORDMARK
   ============================================ */

.site-header {
  padding-top: 48px;
  padding-bottom: 80px;
}

.site-wordmark {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: default;
  user-select: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

h2 {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-element);
}

p {
  color: var(--color-text-muted);
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

a:hover {
  text-decoration: underline;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  margin-bottom: var(--spacing-section);
}

.section:last-child {
  margin-bottom: 0;
}

/* Hero Section */
.section-hero {
  padding-top: 40px;
}

.hero-headline {
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: 19px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}

/* Content Sections */
.section-content p {
  font-size: 17px;
  line-height: 1.7;
}

/* Lists */
.section-list {
  list-style: none;
  padding: 0;
}

.section-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section-list li:last-child {
  margin-bottom: 0;
}

.section-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--color-text-muted);
  border-radius: 50%;
  opacity: 0.5;
}

/* Risk Reversal */
.section-risk p {
  font-size: 16px;
}

/* Pricing Section */
.section-pricing {
  padding-bottom: 120px;
}

.pricing-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.cta-button {
  display: inline-block;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
  text-decoration: none;
}

.cta-button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 40px var(--padding-horizontal);
  text-align: center;
}

.footer-legal {
  font-size: 14px;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.footer-legal a {
  color: var(--color-text-muted);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
  :root {
    --spacing-section: 80px;
    --padding-horizontal: 20px;
  }
  
  .site-header {
    padding-top: 32px;
    padding-bottom: 56px;
  }
  
  .hero-subhead {
    font-size: 17px;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
  }
  
  .section-pricing {
    padding-bottom: 80px;
  }
}

