/* The Proximity Gap — Polar Insight brand identity (scraped from polarinsight.com) */
/* Colors: --black-hsl 242.93,50.62%,15.88% | --accent-hsl 0,100%,65.69% | --lightAccent 0,0%,97.65% */
:root {
  --primary: #16113f;
  --primary-light: #23255a;
  --accent: #ff4d4d;
  --accent-light: #ff7070;
  --text: #16113f;
  --text-muted: #4a4a6a;
  --bg: #ffffff;
  --bg-section: #f9f9f9;
  --bg-section-alt: #f4f4f5;
  --border: #e0e0e5;
}

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

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header — Polar uses dark navy header with white logo */
.header {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--primary);
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero__intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-style: italic;
}

.hero__headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero__subhead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.5;
}

.hero__flow--comparison {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  background: none;
  border: none;
}

.flow-column {
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.flow-column--today {
  background: var(--bg-section);
}

.flow-column--with {
  background: #fff5f5;
  border-color: var(--accent);
}

.flow-column__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.flow-column--with .flow-column__label {
  color: var(--accent);
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.flow-step__item {
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
}

.flow-step__item--faded {
  color: var(--text-muted);
  font-weight: 400;
}

.flow-step__item--strong {
  color: var(--primary);
  font-weight: 600;
}

.flow-step__arrow {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .flow-steps {
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-step__arrow {
    display: none;
  }
}

/* Flow Section */
.flow-section {
  padding: 4rem 0;
  background: var(--bg-section);
}

.flow-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin: 0 0 0.5rem;
}

.flow-section__intro {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flow-card {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.flow-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-card__list {
  margin: 0;
  padding-left: 1.25rem;
}

.flow-card__list li {
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

/* Comparison */
.comparison {
  padding: 4rem 0;
}

.comparison__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin: 0 0 2rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison-card {
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.comparison-card--before {
  background: var(--bg-section);
}

.comparison-card--after {
  background: #fff5f5;
  border-color: var(--accent);
}

.comparison-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.comparison-card--after .comparison-card__label {
  color: var(--accent);
}

.comparison-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.comparison-card--after .comparison-card__text {
  color: var(--primary);
}

@media (max-width: 640px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Growth Experts */
.growth-experts {
  padding: 4rem 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
}

.growth-experts__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.5rem;
}

.growth-experts__list {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.growth-experts__list li {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.growth-experts__list li strong {
  color: var(--primary);
}

.growth-experts__bridge {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* CTA */
.cta {
  padding: 4rem 0 5rem;
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta__headline {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cta__subtext {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 0 1.5rem;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.cta__button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: white;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cta__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .cta__button:hover {
    transform: none;
  }
}

.cta__button:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.cta__reassurance {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.footer__text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.footer__links a:hover {
  text-decoration: underline;
}
