@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --coral: #D85A30;
  --coral-light: #FAECE7;
  --coral-dark: #712B13;
  --teal: #1D9E75;
  --teal-light: #E1F5EE;
  --teal-dark: #085041;
  --blue: #185FA5;
  --blue-light: #E6F1FB;
  --amber: #BA7517;
  --amber-light: #FAEEDA;
  --gray-50: #F8F7F4;
  --gray-100: #EEECE6;
  --gray-200: #D3D1C7;
  --gray-400: #888780;
  --gray-600: #5F5E5A;
  --gray-900: #1A1916;
  --text: #1A1916;
  --text-muted: #5F5E5A;
  --text-hint: #888780;
  --border: rgba(26,25,22,0.12);
  --border-med: rgba(26,25,22,0.2);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #FAFAF8;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
}

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

.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s;
}

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

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--coral);
  color: #fff !important;
  border-radius: 100px;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.88; }

/* HERO */
.hero {
  padding: 6rem 2rem 5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  border: 0.5px solid var(--border-med);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}

.btn-secondary:hover { background: var(--gray-100); transform: translateY(-1px); }

/* STATS BAR */
.stats-bar {
  background: var(--gray-900);
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item .num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  color: #fff;
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item .num.coral { color: var(--coral); }

.stat-item .label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* TOOLS SECTION */
.tools-section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-hint);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* TOOL CARDS */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.tool-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tool-card:hover {
  border-color: var(--border-med);
  transform: translateY(-2px);
}

.tool-card.featured {
  border-color: var(--coral);
  border-width: 1px;
}

.tool-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}

.tag-coral { background: var(--coral-light); color: var(--coral-dark); }
.tag-teal  { background: var(--teal-light);  color: var(--teal-dark);  }
.tag-blue  { background: var(--blue-light);  color: var(--blue);       }
.tag-amber { background: var(--amber-light); color: var(--amber);      }

.tool-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
}

.tool-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.tool-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}

.tool-card:hover .tool-link { gap: 8px; }

/* LANES SECTION */
.lanes-section {
  background: var(--gray-50);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 5rem 2rem;
}

.lanes-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.lane-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.lane-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.lane-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.lane-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lane-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lane-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* PHILOSOPHY SECTION */
.philosophy-section {
  padding: 5rem 2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-section blockquote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.philosophy-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* CTA SECTION */
.cta-section {
  background: var(--gray-900);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
footer {
  padding: 2.5rem 2rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 16px;
  color: var(--text);
}

.footer-note {
  font-size: 12px;
  color: var(--text-hint);
}

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

.footer-links a {
  font-size: 12px;
  color: var(--text-hint);
  transition: color 0.15s;
}

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

/* TOOL PAGE LAYOUT */
.tool-page {
  min-height: 100vh;
}

.tool-hero {
  padding: 4rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.tool-hero .back-link {
  font-size: 13px;
  color: var(--text-hint);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2rem;
  transition: color 0.15s;
}

.tool-hero .back-link:hover { color: var(--text-muted); }

.tool-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.tool-hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.tool-hero p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
}

.tool-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .stats-bar { gap: 2rem; }
  .tools-section, .lanes-section, .philosophy-section { padding: 3rem 1.25rem; }
  .lanes-inner { grid-template-columns: 1fr; }
  .tool-hero, .tool-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  footer { flex-direction: column; align-items: flex-start; }
}
