/* Proga — content / marketing page styles. Inherits tokens from styles.css. */

/* ---- Header nav ---- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease;
}
.site-nav a:hover,
.site-nav a.current { color: var(--teal); }

@media (max-width: 760px) {
  .site-nav { display: none; }
}

/* ---- Page shell ---- */
main.page {
  display: block;
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 40px 16px;
}

/* ---- Page hero ---- */
.page-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 12px;
  animation: progaRise .5s ease both;
}
.page-hero h1 {
  font-weight: 800;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 18px 0 0;
  text-wrap: balance;
}
.page-hero .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 20px auto 0;
  max-width: 600px;
  text-wrap: pretty;
}

/* ---- Sections ---- */
.section { margin: 56px 0; }
.section h2 {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.section > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 8px;
}
.section .kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

/* ---- Pillars (Why Proga) ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.pillar {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15,27,29,0.05), 0 1px 3px rgba(15,27,29,0.07);
  padding: 26px 24px;
}
.pillar .pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.pillar .pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.pillar .vs {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.pillar .vs b { color: var(--ink-soft); font-weight: 600; }

/* ---- Numbered steps (How it works) ---- */
.steps { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.step-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
}
.step-row .num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-row h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 6px;
  letter-spacing: -0.01em;
}
.step-row p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---- Security list ---- */
.trust-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.trust-item .tick {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-item .tick svg { width: 17px; height: 17px; }
.trust-item h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 2px 0 5px; }
.trust-item p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* ---- Prose (About) ---- */
.prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 18px;
}
.prose p strong { color: var(--ink); font-weight: 600; }

/* ---- Callout ---- */
.callout {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 16px;
  padding: 24px 26px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--teal-dark);
  margin: 28px 0;
}
.callout b { color: var(--teal-dark); font-weight: 700; }

/* ---- Closing CTA band ---- */
.cta-band {
  text-align: center;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 32px;
  margin: 64px 0 8px;
}
.cta-band h2 {
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 34px);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}
.cta-band p { font-size: 16px; color: var(--ink-soft); margin: 0 auto 26px; max-width: 480px; line-height: 1.6; }

/* ---- Homepage condensed "Why Proga" strip ---- */
.why-strip { width: 100%; max-width: 980px; margin: 8px auto 0; padding: 0 40px; }
.why-strip .why-head { text-align: center; margin-bottom: 26px; }
.why-strip .why-head h2 {
  font-weight: 800; font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.025em; color: var(--ink); margin: 0 0 8px;
}
.why-strip .why-head p { font-size: 16px; color: var(--ink-soft); margin: 0 auto; max-width: 560px; line-height: 1.6; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.why-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
}
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.why-card p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.why-more { text-align: center; margin-top: 24px; }
.why-more a {
  font-size: 15px; font-weight: 600; color: var(--teal); text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.why-more a:hover { text-decoration: underline; }
.why-more svg { width: 17px; height: 17px; }

/* ---- Footer nav ---- */
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--teal); }

@media (max-width: 600px) {
  main.page { padding: 24px 22px 8px; }
  .why-strip { padding: 0 22px; }
}
