/* ============================================================
   EZBunny Marketing Site — Design Tokens & Styles
   Based on Brand Kit and UI Style Guide ("Refined Warmth")
   ============================================================ */

/* -- Reset ------------------------------------------------- */

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

/* -- Design Tokens ----------------------------------------- */

:root {
  /* Colors */
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-text: #1a1814;
  --color-text-secondary: #6b645a;
  --color-text-muted: #736b62;
  --color-border: #e8e3db;
  --color-border-light: #f0ece5;
  --color-accent: #ad4b1e;
  --color-accent-hover: #8e3c15;
  --color-accent-subtle: rgba(173, 75, 30, 0.08);
  --color-success: #2d6a4f;
  --color-success-subtle: rgba(45, 106, 79, 0.08);
  --color-error: #b83232;
  --color-error-subtle: rgba(184, 50, 50, 0.07);

  /* Typography */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 24, 20, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 24, 20, 0.06), 0 1px 4px rgba(26, 24, 20, 0.04);
  --shadow-lg: 0 12px 40px rgba(26, 24, 20, 0.08), 0 2px 8px rgba(26, 24, 20, 0.04);
  --shadow-focus: 0 0 0 3px rgba(173, 75, 30, 0.2);
}

/* -- Base -------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

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

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

/* -- Container --------------------------------------------- */

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -- Header ------------------------------------------------ */

.site-header {
  padding: 24px 0;
  text-align: center;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
}

.brand-mark .brand-ez {
  color: var(--color-accent);
}

.brand-mark .brand-bunny {
  color: var(--color-text);
}

.brand-dot {
  color: var(--color-accent);
}

/* -- Hero -------------------------------------------------- */

.hero {
  text-align: center;
  padding: 64px 0 48px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

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

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-surface);
  box-shadow: 0 2px 8px rgba(173, 75, 30, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(173, 75, 30, 0.3);
  color: var(--color-surface);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(173, 75, 30, 0.2);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* -- Features ---------------------------------------------- */

.features {
  padding: 48px 0;
}

.features h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 36px;
  color: var(--color-text);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* -- Pricing ----------------------------------------------- */

.pricing {
  padding: 48px 0;
  text-align: center;
}

.pricing h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: var(--color-text);
}

.pricing-tagline {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

/* -- Savings Calculator ------------------------------------ */

.calculator {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.calculator-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-text);
}

.calculator-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* Range slider styling */

.calculator-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  outline: none;
}

.calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 2px solid var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calculator-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: 2px solid var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.calculator-slider:focus-visible {
  box-shadow: var(--shadow-focus);
}

.calculator-team-size {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-accent);
  min-width: 48px;
  text-align: center;
}

/* Calculator results */

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calculator-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.calculator-row:last-child {
  border-bottom: none;
}

.calculator-row-label {
  font-size: 15px;
  color: var(--color-text-secondary);
}

.calculator-row-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.calculator-vs .calculator-row-value {
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
}

.calculator-savings .calculator-row-label,
.calculator-savings .calculator-row-value {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
}

.calculator-billing-nudge {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.calculator-billing-nudge p {
  margin: 0 0 4px;
}

.calculator-billing-nudge p:last-child {
  color: var(--color-accent);
  font-weight: 600;
}

.calculator-cta {
  margin-top: 32px;
}

/* -- Bottom CTA -------------------------------------------- */

.cta-bottom {
  padding: 64px 0;
  text-align: center;
}

.cta-bottom h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.cta-bottom p {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 440px;
  margin: 0 auto 28px;
}

/* -- Disclaimer -------------------------------------------- */

.disclaimer {
  padding: 32px 0;
  text-align: center;
}

.disclaimer-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

/* -- Footer ------------------------------------------------ */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 12px;
  transition: color 0.2s ease;
}

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

.copyright {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -- Legal/Prose Pages ------------------------------------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.prose h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.prose .last-updated {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.prose p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.prose ul,
.prose ol {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 6px;
}

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

.prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--color-accent-hover);
}

/* -- Accessibility ----------------------------------------- */

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

/* -- Reduced Motion ---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -- Responsive -------------------------------------------- */

@media (max-width: 640px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    font-size: 24px;
  }


  /* Calculator responsive */
  .calculator {
    padding: 24px 20px;
  }

  .calculator-label {
    font-size: 18px;
  }

  .calculator-team-size {
    font-size: 28px;
  }

  .calculator-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .calculator-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }

  .calculator-row {
    padding: 10px 0;
  }

  .calculator-row-label,
  .calculator-row-value {
    font-size: 14px;
  }

  .calculator-savings .calculator-row-label,
  .calculator-savings .calculator-row-value {
    font-size: 15px;
  }
}

/* ============================================================
   Landing Page Template Styles
   Shared structure: Hero -> Pain Points -> Features -> Calculator -> FAQ -> CTA
   ============================================================ */

/* -- Landing Hero ------------------------------------------ */

.landing-hero {
  text-align: center;
  padding: 48px 0 56px;
}

.landing-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.landing-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero .hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* -- Pain Points ------------------------------------------- */

.pain-points {
  padding: 56px 0;
}

.pain-points h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 36px;
  color: var(--color-text);
}

.pain-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pain-point-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pain-point-card .feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.pain-point-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.pain-point-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* -- Why EZBunny ------------------------------------------- */

.why-ezbunny {
  padding: 56px 0;
}

.why-ezbunny h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 36px;
  color: var(--color-text);
}

/* -- FAQ Section ------------------------------------------- */

.faq {
  padding: 56px 0;
}

.faq h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 36px;
  color: var(--color-text);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-text);
  padding: 20px 32px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item .faq-answer {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding: 0 0 20px;
}

/* -- Trust Signals ----------------------------------------- */

.trust-signals {
  padding: 48px 0;
}

.trust-signals-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-signal-card {
  text-align: center;
  padding: 24px 20px;
  min-width: 160px;
}

.trust-signal-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.trust-signal-label {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* -- Related Verticals ------------------------------------- */

.related-verticals {
  padding: 40px 0;
}

.related-verticals h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-text);
}

.related-verticals-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.related-verticals-grid a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

.related-verticals-grid a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

/* -- Verticals Section (Homepage) -------------------------- */

.verticals {
  padding: 56px 0;
  text-align: center;
}

.verticals h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.verticals-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.verticals-compare {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
}

.verticals-compare a {
  color: var(--color-accent);
}

.verticals-compare a:hover {
  color: var(--color-accent-hover);
}

/* -- Landing Page Responsive ------------------------------- */

@media (max-width: 640px) {
  .landing-hero h1 {
    font-size: 30px;
  }

  .landing-hero .hero-subtitle {
    font-size: 16px;
  }

  .pain-points-grid {
    grid-template-columns: 1fr;
  }

  .pain-points h2,
  .why-ezbunny h2,
  .faq h2 {
    font-size: 24px;
  }

  .trust-signals-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .trust-signal-number {
    font-size: 24px;
  }

  .faq-item summary {
    font-size: 16px;
    padding: 16px 28px 16px 0;
  }

  .faq-item .faq-answer {
    font-size: 14px;
  }

  .related-verticals-grid {
    gap: 8px;
  }

  .related-verticals-grid a {
    font-size: 13px;
    padding: 6px 14px;
  }

  /* Homepage verticals section */
  .verticals h2 {
    font-size: 24px;
  }

  .verticals-subtitle {
    font-size: 14px;
  }

  .verticals-compare {
    font-size: 14px;
  }
}
