/* ============================================
   Mycorrhiza — Info Pages
   Standalone pages: about, choose, commitments, pricing
   Shares design tokens with main style.css
   ============================================ */

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

:root {
  --bg: #faf8f5;
  --bg-card: #ffffff;
  --bg-warm: #fef7ed;
  --bg-green-light: #f0f7f2;
  --accent: #2d6a4f;
  --accent-hover: #1b4332;
  --accent-light: #d8f3dc;
  --text: #2d3436;
  --text-muted: #636e72;
  --text-light: #8d9498;
  --border: #e8e2db;
  --border-light: #f0ebe5;
  --shadow: 0 1px 3px rgba(45, 52, 54, 0.06), 0 1px 2px rgba(45, 52, 54, 0.04);
  --shadow-md: 0 4px 12px rgba(45, 52, 54, 0.08), 0 2px 4px rgba(45, 52, 54, 0.04);
  --radius: 10px;
  --radius-sm: 6px;
  --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
  --transition: 0.25s ease;
}

html {
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-stack);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* --- Animations --- */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-hero {
  animation: fadeInUp 0.5s ease both;
}

.info-section {
  animation: fadeInUp 0.5s ease both;
}

/* Stagger section animations */
.info-section:nth-child(2) { animation-delay: 0.05s; }
.info-section:nth-child(3) { animation-delay: 0.10s; }
.info-section:nth-child(4) { animation-delay: 0.15s; }
.info-section:nth-child(5) { animation-delay: 0.20s; }
.info-section:nth-child(6) { animation-delay: 0.25s; }
.info-section:nth-child(7) { animation-delay: 0.30s; }

/* --- Navigation --- */

.info-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
}

.info-nav-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.info-nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.info-nav-logo svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.info-nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.info-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.info-nav-links a:hover,
.info-nav-links a.active {
  color: var(--accent);
}

.info-nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}

.info-nav-cta:hover {
  background: var(--accent-hover);
}

/* --- Page Layout --- */

.info-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.info-page-wide {
  max-width: 860px;
}

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

.info-hero {
  text-align: center;
  margin-bottom: 56px;
  padding: 48px 32px 40px;
  border-radius: var(--radius);
  background-image: url('../img/mycelium-bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.info-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.info-hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Section --- */

.info-section {
  margin-bottom: 48px;
}

.info-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.info-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.info-section p {
  margin-bottom: 14px;
  color: var(--text);
}

.info-section p.muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Blockquote --- */

.info-quote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--bg-green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-quote .attribution {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Cards --- */

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 24px 0;
}

.info-cards.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.info-cards.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.info-card .card-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* --- Divider --- */

.info-divider {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 48px 0;
}

/* --- Mycelium decoration --- */

.info-decoration {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0;
  max-height: 80px;
  opacity: 0.85;
}

/* --- List --- */

.info-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.info-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text);
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: 50%;
}

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

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 840px;
  margin: 32px auto;
}

.pricing-tiers .pricing-card {
  margin: 0;
  max-width: none;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  margin: 32px auto;
  box-shadow: var(--shadow-md);
}

.pricing-card .tier-name {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card .price-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* --- CTA Button --- */

.info-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
  margin-top: 16px;
}

.info-cta:hover {
  background: var(--accent-hover);
}

/* --- Footer --- */

.info-footer {
  border-top: 1px solid var(--border-light);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 60px;
}

.info-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* --- Responsive --- */

@media (max-width: 768px) {
  .info-hero h1 {
    font-size: 1.7rem;
  }

  .info-cards.cols-2,
  .info-cards.cols-3 {
    grid-template-columns: 1fr;
  }

  .info-nav-links {
    gap: 16px;
  }

  .info-nav-links a {
    font-size: 13px;
  }

  .info-page {
    padding: 40px 20px 80px;
  }
}

@media (max-width: 480px) {
  .info-nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
    gap: 8px;
  }

  .info-nav-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-tiers {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
