/* True Basecamp minimal styling */

/* Fluid Typography System */
:root {
  /* Viewport boundaries for fluid scaling */
  --fluid-min-width: 20; /* 320px */
  --fluid-max-width: 93.75; /* 1500px */

  /* Base fluid typography scale using clamp() */
  --fluid-text-xs: clamp(0.875rem, 0.8rem + 0.4vw, 1rem); /* 14px -> 16px */
  --fluid-text-sm: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* 16px -> 18px */
  --fluid-text-base: clamp(
    1.125rem,
    1rem + 0.625vw,
    1.625rem
  ); /* 18px -> 26px */
  --fluid-text-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.875rem); /* 20px -> 30px */
  --fluid-text-xl: clamp(1.375rem, 1.2rem + 0.875vw, 2rem); /* 22px -> 32px */
  --fluid-text-2xl: clamp(
    1.75rem,
    1.4rem + 1.75vw,
    2.625rem
  ); /* 28px -> 42px */
  --fluid-text-3xl: clamp(2.625rem, 2rem + 3.125vw, 4.5rem); /* 42px -> 72px */

  /* Spacing scale that grows with typography */
  --fluid-space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --fluid-space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.125rem);
  --fluid-space-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --fluid-space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --fluid-space-xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --fluid-space-2xl: clamp(3rem, 2.4rem + 3vw, 4.5rem);
  --fluid-space-3xl: clamp(4rem, 3.2rem + 4vw, 6rem);

  --accent-color: #0b8a0f;
  --accent-color-rgb: 11, 138, 15;
}

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: #222;
  background: #fff;
  font-size: var(--fluid-text-sm);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Header - Just logo, centered */
.site-header {
  text-align: center;
  padding: 40px 0 60px 0;
}

.logo a {
  font-size: var(--fluid-text-sm);
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

.header-cta {
  display: none;
}

/* Hero Form */
.hero-form {
  display: flex;
  gap: var(--fluid-space-sm);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--fluid-space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.form-input {
  flex: 1;
  min-width: 160px;
  padding: 0.65rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 999px;
  font-size: var(--fluid-text-base);
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: rgb(11, 138, 15);
  box-shadow: 0 0 0 3px rgba(11, 138, 15, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-button {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Main content area */
main {
  text-align: center;
}

/* Hide animated banner */
.banner {
  display: none;
}

/* Content */
.content {
  padding: 0;
}

/* Typography - Fluid scaling system */
h1 {
  font-size: var(--fluid-text-3xl);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--fluid-space-lg);
  color: #222;
  text-align: center;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fluid-text-2xl);
  font-weight: 700;
  margin: var(--fluid-space-3xl) 0 var(--fluid-space-xs) 0;
  color: #222;
  line-height: 1.3;
  text-align: left;
  letter-spacing: -0.005em;
}

h3 {
  font-size: var(--fluid-text-lg);
  font-weight: 700;
  margin-bottom: var(--fluid-space-sm);
  color: #222;
  text-align: left;
}

p {
  font-size: var(--fluid-text-base);
  margin-bottom: var(--fluid-space-lg);
  line-height: 1.5;
  color: #222;
  text-align: left;
  max-width: 65ch;
  font-weight: 300;
}

/* Hero paragraph - fluid scaling */
.hero p {
  font-size: var(--fluid-text-xl);
  line-height: 1.4;
  margin-bottom: var(--fluid-space-xl);
  max-width: 65ch;
  font-weight: 300;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Links - Bold for better prominence */
a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

/* Content sections - very simple */
.hero {
  margin-bottom: 80px;
}

/* Problem and Solution Sections */
.problem-section,
.solution-section {
  margin-bottom: 120px;
  text-align: left;
}

/* Value Props Section */
.value-props-section {
  margin-bottom: 120px;
  text-align: left;
}

/* How It Works Section */
.how-it-works-section {
  margin-bottom: 120px;
  text-align: left;
}

/* Comparison Section */
.comparison-section {
  margin-bottom: 120px;
  text-align: left;
}

.comparison-intro {
  font-size: var(--fluid-text-base);
  color: #4b5563;
  margin-bottom: var(--fluid-space-lg);
  text-align: left;
}

.card-stack {
  display: grid;
  gap: var(--fluid-space-xl);
  margin-top: var(--fluid-space-xl);
}

.card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: var(--fluid-space-xl);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--fluid-space-md);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.card--traditional {
  background: #f9fafb;
}

.card--roadmap,
.card--pricing-highlight {
  border-color: rgb(11, 138, 15);
  background: rgba(11, 138, 15, 0.05);
  box-shadow: 0 20px 50px rgba(11, 138, 15, 0.16);
}

.card__heading {
  display: flex;
  flex-direction: column;
  gap: var(--fluid-space-xs);
}

.card__heading h3 {
  margin: 0;
}

.card__price {
  font-size: var(--fluid-text-2xl);
  font-weight: 900;
  color: #111827;
  margin: 0;
}

.card__summary {
  font-size: var(--fluid-text-base);
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--fluid-space-sm);
}

.card__item {
  position: relative;
  padding-left: 2.5rem;
  font-size: var(--fluid-text-base);
  line-height: 1.6;
  color: #1f2937;
}

.card__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgb(11, 138, 15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.card__item--negative::before {
  content: "×";
  background: #ef4444;
}

.card__footer {
  font-size: var(--fluid-text-sm);
  color: #4b5563;
  margin: 0;
}

.card__footer--highlight {
  color: #1f2937;
  font-weight: 600;
}

.card__badge {
  position: absolute;
  top: -14px;
  right: var(--fluid-space-lg);
  background: rgb(11, 138, 15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card .button,
.card .button-outline {
  align-self: flex-start;
}

@media (min-width: 700px) {
  .card {
    padding: var(--fluid-space-xl) var(--fluid-space-xl);
  }

  .card-stack--comparison,
  .card-stack--pricing {
    grid-template-columns: 1fr;
  }
}

/* Pricing Section */
.pricing-section {
  margin-bottom: 120px;
  text-align: left;
}

.pricing-footer {
  font-size: var(--fluid-text-sm);
  color: #666;
  text-align: center;
  margin-top: var(--fluid-space-xl);
  margin-bottom: 0;
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--fluid-text-base);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.button {
  background: rgb(11, 138, 15);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 138, 15, 0.2);
}

.button:hover {
  text-decoration: none;
  background: rgb(9, 115, 12);
}

.button-outline {
  border: 2px solid rgb(11, 138, 15);
  color: rgb(11, 138, 15);
}

.button-outline:hover {
  background: rgb(11, 138, 15);
  color: #fff;
  text-decoration: none;
}

.pricing-footer {
  font-size: var(--fluid-text-sm);
  color: #666;
  text-align: center;
  margin-top: var(--fluid-space-xl);
  margin-bottom: 0;
  font-style: italic;
}

.problem-solution,
.how-it-works,
.pricing,
.faq,
.approach-detail {
  margin-bottom: 120px;
  text-align: left;
}

/* FAQ Section */
.faq-section {
  margin-bottom: 120px;
  text-align: left;
}

.faq-grid {
  margin-top: var(--fluid-space-xl);
}

.faq-item {
  margin-bottom: var(--fluid-space-lg);
  padding-bottom: var(--fluid-space-lg);
  border-bottom: 1px solid #e5e7eb;
}

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

.faq-item h3 {
  font-size: var(--fluid-text-lg);
  font-weight: 700;
  margin-bottom: var(--fluid-space-sm);
  color: #222;
  text-align: left;
}

.faq-item p {
  font-size: var(--fluid-text-lg);
  line-height: 1.5;
  color: #222;
  font-weight: 300;
  margin-bottom: 0;
  text-align: left;
}

/* Hide complex sections that don't match Basecamp */
.problem-solution {
  display: none;
}

/* Approach detail links - Proportionally scaled */
.detail-links {
  list-style: none;
  padding: 0;
  text-align: left;
}

.detail-links li {
  margin-bottom: var(--fluid-space-xs);
  font-size: var(--fluid-text-base);
  line-height: 1.5;
  padding-left: var(--fluid-space-md);
  position: relative;
}

.detail-links li:before {
  content: "•";
  color: #222;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.detail-links a {
  color: #2563eb;
  text-decoration: underline;
  font-weight: 700;
}

.detail-links a:hover {
  text-decoration: none;
}

/* Callout pulled inline with mark */
.callout {
  text-align: center;
  margin: var(--fluid-space-2xl) auto;
  font-size: var(--fluid-text-2xl);
  line-height: 1.1;
  font-weight: 700;
  color: #000;
  max-width: 20ch;
  letter-spacing: -0.01em;
}

.callout mark {
  background: #fadc4b;
  padding: 0 var(--fluid-space-xs);
  border-radius: 4px;
}

/* Footer minimal */
footer {
  background: #fff;
  padding: 80px 0 60px 0;
  margin-top: 120px;
  text-align: center;
}

footer p {
  text-align: center;
  margin-bottom: 20px;
}

.footer-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fluid-space-lg);
}

.footer-links {
  margin: 30px 0;
}

.footer-links a {
  color: #2563eb;
  text-decoration: underline;
  margin: 0 var(--fluid-space-sm);
  font-size: var(--fluid-text-sm);
}

.footer-links a:hover {
  text-decoration: none;
}

.copyright {
  color: #666;
  font-size: var(--fluid-text-xs);
}

/* Responsive - Layout and spacing adjustments (typography now fluid) */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 24px;
  }

  .hero-form {
    flex-direction: column;
    gap: var(--fluid-space-sm);
  }

  .form-input {
    width: 100%;
    min-width: auto;
  }

  .form-button {
    width: 100%;
  }

  p {
    max-width: none;
  }

  .hero p {
    max-width: 90%;
  }

  .callout {
    max-width: 90%;
    font-size: var(--fluid-text-xl);
  }

  .problem-section,
  .solution-section {
    margin-bottom: 64px;
  }

  .hero,
  .approach-detail {
    margin-bottom: 64px;
  }

  main {
    padding-bottom: 60px;
  }
}
