/* Public product pages (pricing, enterprise) extend Saywit's paper, type and section rhythm.
   The header, footer, buttons, links and section titles come from base.css.
   Sections share one three-column grid (--grid-gap), so intros, cards and panels meet the same lines. */
.marketing-page { --section-space: clamp(72px, 8vw, 108px); --grid-gap: 20px; background: var(--paper); }

/* Hero: the landing's two-column composition with a slightly calmer title scale. */
.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding-block: clamp(64px, 7.5vw, 108px) var(--section-space);
}
.marketing-title {
  margin: 0 0 28px;
  font-size: clamp(48px, 5.1vw, 78px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.058em;
  text-wrap: balance;
}
.marketing-title .mark { white-space: normal; }
.marketing-lede { max-width: 520px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.6; letter-spacing: -.01em; text-wrap: pretty; }
.marketing-lede strong { color: var(--ink); font-weight: 650; }
.marketing-kicker { margin: 0 0 14px; color: var(--muted); }
.marketing-number {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 11px;
}

/* Sections: one rhythm, one heading pattern. The title spans two columns; the short lede sits in
   the third, starting exactly where the last card or panel below begins. */
.marketing-section { padding-block: var(--section-space); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.marketing-section__intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 24px var(--grid-gap);
  margin-bottom: 48px;
}
.marketing-section__intro > :first-child { grid-column: span 2; }
.marketing-section__intro .section-title { max-width: 760px; font-size: clamp(38px, 4.4vw, 64px); }
.marketing-section__intro > p { max-width: 380px; margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.65; text-wrap: pretty; }

/* Cards */
.marketing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.marketing-card { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.marketing-card h3 { margin: 0 0 12px; font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.marketing-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.marketing-note { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.marketing-note a { color: var(--ink); text-decoration-color: var(--lime-strong); text-underline-offset: 3px; }

/* Closing invitation: a quiet card aligned to the same shell as everything above it. */
.marketing-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-block: 0 var(--section-space);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper-2);
}
.marketing-closing h2 { margin: 0 0 14px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 650; line-height: 1.05; letter-spacing: -.05em; text-wrap: pretty; }
.marketing-closing p:not(.marketing-kicker) { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.marketing-closing .closing__actions { flex: none; }

@media (max-width: 900px) {
  .marketing-hero { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .marketing-grid { grid-template-columns: minmax(0, 1fr); }
  .marketing-section__intro { grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 36px; }
  .marketing-section__intro > :first-child { grid-column: auto; }
  .marketing-section__intro > p { max-width: 600px; margin: 0; }
  .marketing-closing { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .marketing-hero { padding-top: 40px; }
  /* Each title line fits a phone's width instead of leaving one word behind. */
  .marketing-title { font-size: clamp(34px, calc(11.4vw - 5px), 60px); }
  .marketing-lede { font-size: 18px; }
  .marketing-section__intro > p { font-size: 16px; }
  .marketing-card { padding: 26px; border-radius: 24px; }
  .marketing-closing { padding: 30px 24px; border-radius: 26px; }
}
