/* MAAC Go Email — CL marketing refresh (English public pages)
   Built from the local Crescendo Lab website system tokens. */
@import url("/cl/colors_and_type.css");

:root {
  --m-blue: #5090ff;
  --m-blue-deep: #3f7bff;
  --m-blue-light: #80bbff;
  --m-blue-wash: #eef4ff;
  --m-blue-soft: #e2efff;
  --m-ink: #222a36;
  --m-copy: #4d5977;
  --m-muted: #6b7280;
  --m-surface: #f8f9fc;
  --m-line: #e8edf5;
  --m-night: #0b1730;
  --m-radius: 32px;
  --m-shadow: 0 22px 60px rgba(35, 78, 147, .09), 0 4px 16px rgba(35, 78, 147, .05);
  --m-gradient: linear-gradient(90deg, var(--m-blue-deep), var(--m-blue) 48%, var(--m-blue-light));
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--m-ink);
  background: #fff;
  font-family: "tt-commons-pro", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { color: #fff; background: var(--m-blue); }

/* Global navigation ----------------------------------------------------- */
.top, .pg-top {
  position: relative;
  z-index: 20;
  width: min(1280px, calc(100% - 64px));
  min-height: 76px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255,255,255,.88);
  border: 0;
  backdrop-filter: blur(16px);
}
.top .brand, .pg-top .brand {
  color: var(--m-ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.top .brand svg, .pg-top .brand svg { color: var(--m-blue); }
.nav-links, .pg-top nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a, .pg-top nav a:not(.btn) {
  color: var(--m-copy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover, .pg-top nav a:not(.btn):hover { color: var(--m-blue); }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.btn, a.btn, button.btn {
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font: 600 15px/1 "tt-commons-pro", Inter, system-ui, sans-serif;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, a.btn-primary, button.btn-primary {
  color: #fff !important;
  background: var(--m-gradient);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: inset 0 -8px 15px rgba(255,255,255,.18), 0 10px 26px rgba(80,144,255,.24);
}
.btn-primary::after {
  content: "\2192";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  margin-right: -8px;
  border-radius: 50%;
  color: var(--m-blue);
  background: #fff;
}
.btn-ghost, a.btn-ghost {
  color: var(--m-ink);
  background: #fff;
  border: 1px solid var(--m-line);
  box-shadow: 0 6px 20px rgba(34,42,54,.04);
}
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }

/* Marketing homepage and creators ------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 92px max(32px, calc((100vw - 1280px) / 2)) 96px;
  background:
    radial-gradient(50% 60% at 6% 58%, rgba(80,144,255,.22), transparent 68%),
    radial-gradient(44% 58% at 92% 48%, rgba(164,156,255,.2), transparent 72%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr);
  align-items: center;
  gap: 64px;
}
.hero .eyebrow, .pg-kicker, .pricing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: var(--m-blue-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1, .pricing-hero h1, .pg > h1 {
  margin: 0;
  max-width: 820px;
  color: var(--m-ink);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero h1 em {
  color: transparent;
  font-style: normal;
  background: var(--m-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-subtitle, .pricing-hero > p, .pg .lede {
  margin: 24px 0 0;
  color: var(--m-copy);
  font-size: 20px;
  line-height: 1.5;
}
.hero .lead { margin: 10px 0 0; color: var(--m-copy); font-size: 17px; line-height: 1.65; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-line { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; }
.trust-line span { color: var(--m-copy); font-size: 13px; }
.trust-line svg { color: var(--m-blue); }

.product-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(135deg, #dce8fb, #e2ddf8);
  box-shadow: var(--m-shadow);
}
.product-visual img { width: 100%; height: auto; display: block; border-radius: 18px; }
.product-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  padding: 7px 11px;
  color: var(--m-copy);
  background: rgba(255,255,255,.86);
  border-radius: 999px;
  font-size: 11px;
  backdrop-filter: blur(10px);
}
.product-visual--wide { width: min(1080px, calc(100% - 48px)); margin: 48px auto 0; }

.credibility {
  padding: 104px max(32px, calc((100vw - 1280px) / 2));
  background: #fff;
}
.cred-wrap { width: min(1280px,100%); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.cred-copy h2, .sect-head h2, .txt h2, .pricing-calc h2, .pricing-faq h2, .pg h2 {
  margin: 0;
  color: var(--m-ink);
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.cred-copy > p, .sect-head > p, .txt p { color: var(--m-copy); font-size: 17px; line-height: 1.7; }
.sect-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  color: var(--m-blue-deep);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 3px 14px rgba(80,144,255,.12);
  font-size: 13px;
  font-weight: 700;
}
.cred-metric {
  width: fit-content;
  margin-top: 30px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 24px;
  background: var(--m-blue-wash);
}
.cred-metric strong { color: var(--m-blue); font-size: 64px; line-height: .9; letter-spacing: -.06em; }
.cred-grid { display: grid; gap: 14px; }
.cred-card, .problem-card, .uc-feat, .uc-limit, .pricing-detail {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(35,78,147,.05);
}
.cred-card { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.cred-mark { color: var(--m-blue); font-weight: 700; }
.cred-card b { display: block; margin-bottom: 6px; font-size: 18px; }
.cred-card span { color: var(--m-copy); line-height: 1.55; }

.proof { padding: 56px 32px; background: var(--m-surface); }
.proof-row { width: min(1180px,100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.proof-row > div { position: relative; padding-top: 58px; text-align: center; }
.proof-row > div::before {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--m-blue); background: var(--m-blue-wash); border-radius: 14px;
  content: "\2713"; font-weight: 700;
}
.proof .num.word { color: var(--m-ink); font-size: 18px; font-weight: 700; }
.proof .lbl { margin-top: 6px; color: var(--m-copy); font-size: 14px; line-height: 1.5; }

.sect { padding: 128px 32px; }
.sect.alt { background: var(--m-surface); }
.sect-head { width: min(760px,100%); margin: 0 auto 64px; text-align: center; }
.wrap { width: min(1180px,100%); margin: 0 auto; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.duo.flip .txt { order: 2; }
.canvas {
  min-height: 360px;
  padding: 40px;
  border-radius: var(--m-radius);
  border: 1px solid rgba(80,144,255,.1);
  box-shadow: var(--m-shadow);
}
.c-blue, .c-mint, .c-sun { background: linear-gradient(145deg,#fff,#eaf2ff); }

.price-cards, .uc-grid, .fit-grid, .how-grid, .pricing-grid, .pricing-details {
  width: min(1180px,100%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.pcard, .pricing-card {
  position: relative;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  box-shadow: 0 12px 36px rgba(35,78,147,.05);
}
.pcard.hl, .pricing-card.featured { border: 2px solid var(--m-blue); box-shadow: 0 18px 46px rgba(80,144,255,.14); }
.ptag { color: var(--m-blue); background: var(--m-blue-wash); }
.calc, .pricing-calc {
  width: min(1180px,calc(100% - 64px));
  margin: 48px auto 0;
  padding: 48px;
  border-radius: var(--m-radius);
  background: linear-gradient(145deg,#eef6ff,#f8fbff);
  box-shadow: var(--m-shadow);
}
.upsell {
  width: min(1180px,100%);
  margin: 0 auto;
  padding: 52px;
  border-radius: var(--m-radius);
  background: var(--m-gradient);
  box-shadow: var(--m-shadow);
}
.upsell h2, .upsell p, .upsell .brands { color: #fff; }
.devzone { color: #fff; background: linear-gradient(145deg,#081a3a,#123363); }
.devzone h2 { color: #fff; }

.faq details, .pg-faq details, .pricing-faq details {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 14px;
}
.faq summary, .pg-faq summary { padding: 18px 20px; color: var(--m-ink); font-weight: 600; }
.final, .cta-end {
  width: min(1180px,calc(100% - 64px));
  margin: 0 auto 40px;
  padding: 72px 32px;
  border-radius: var(--m-radius);
  text-align: center;
  background: url("/cl/imagery/cta-bg.png") center/cover no-repeat, var(--m-blue-wash);
}

/* Secondary marketing pages ------------------------------------------- */
.pg {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 64px;
}
.pg::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 76px 0 auto;
  height: 620px;
  pointer-events: none;
  background:
    radial-gradient(48% 66% at 86% 18%, rgba(80,144,255,.16), transparent 72%),
    radial-gradient(42% 56% at 8% 38%, rgba(164,156,255,.12), transparent 72%),
    linear-gradient(180deg,#fff 0%,#f9fbff 72%,rgba(255,255,255,0) 100%);
}
.pg > .pg-kicker, .pg > h1, .pg > .lede, .pg > .facts, .pg > .hero-ctas {
  width: min(1180px,calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}
.pg > .pg-kicker {
  display: flex;
  margin-top: 88px;
  margin-bottom: 24px;
}
.pg > .lede { max-width: 920px; margin-left: max(32px, calc((100vw - 1180px) / 2)); }
.pg > .facts {
  margin-top: 28px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  color: var(--m-copy);
  list-style: none;
  background: var(--m-surface);
  border-radius: 20px;
}
.pg > .hero-ctas { margin-top: 28px; }
.pg > h2, .pg > h3, .pg > p:not(.lede), .pg > ul:not(.facts):not(.jump):not(.not-yet), .pg > ol, .pg > .jump, .pg > .prompt, .pg > .legend, .pg > .tools-wrap, .pg > .not-yet, .pg > .client, .pg > .pg-faq, .pg > .cta-end, .pg > .pg-foot, .pg > section {
  width: min(980px,calc(100% - 64px));
  margin-left: auto;
  margin-right: auto;
}
.pg > pre,
.pg > .pg-note,
.pg > table {
  width: min(980px,calc(100% - 64px));
  margin-left: auto !important;
  margin-right: auto !important;
}
.pg > .pg-note {
  padding: 20px 24px;
  border: 1px solid var(--m-line);
  border-radius: 16px;
  background: var(--m-surface);
}
.pg > .pg-note p { margin: 0; }
.pg > h2 { margin-top: 112px; }
.pg > h3 { margin-top: 72px; font-size: 28px; }
.pg > p { color: var(--m-copy); font-size: 17px; line-height: 1.7; }
.pg .client {
  margin-top: 18px;
  padding: 32px;
  border: 1px solid var(--m-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(35,78,147,.04);
}
.pg .snip, .pg pre {
  border-radius: 16px;
  color: #dbe8ff;
  background: var(--m-night);
  border: 1px solid rgba(128,187,255,.18);
}
.pg code { color: var(--m-blue-deep); background: var(--m-blue-wash); border-radius: 6px; }
.pg pre code, .pg .snip code { color: inherit; background: none; }
.pg .jump { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.pg .jump a { display: block; padding: 10px 14px; color: var(--m-blue-deep); background: var(--m-blue-wash); border-radius: 999px; text-decoration: none; }
.pg .prompt { padding: 32px; border-radius: 24px; background: linear-gradient(145deg,#f7f1ff,#eef4ff); }
.pg .tools-wrap { border-radius: 24px; border: 1px solid var(--m-line); overflow: hidden; }
.pg .not-yet { padding: 32px 48px; border-radius: 24px; background: #fff4f5; }
.pg-faq { margin-top: 112px; }
.pg-faq h2 { margin-bottom: 28px; }
.pg-faq details { margin-bottom: 10px; }
.pg-foot { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 36px; color: var(--m-muted); border-top: 1px solid var(--m-line); }

/* Standalone pricing --------------------------------------------------- */
.pricing-page { padding-bottom: 64px; }
.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 104px max(32px,calc((100vw - 1180px) / 2));
  background:
    radial-gradient(40% 80% at 80% 45%, rgba(80,144,255,.22), transparent 70%),
    linear-gradient(180deg,#fff,#f7fbff);
}
.pricing-hero > * { max-width: 620px; }
.pricing-grid { margin-top: -36px; position: relative; z-index: 2; }
.pricing-grid .pricing-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 32px; }
.pricing-details { grid-template-columns: repeat(3,1fr); }
.pricing-sandbox, .pricing-tw, .pricing-faq {
  width: min(1180px,calc(100% - 64px));
  margin: 28px auto 0;
  padding: 40px;
  border-radius: var(--m-radius);
  background: var(--m-surface);
}
.pricing-tw { background: linear-gradient(135deg,#edf5ff,#f5f0ff); }
.pricing-tw p, .pricing-tw li { color: var(--m-copy); }
.pricing-tw a:not(.btn) { color: var(--m-blue-deep); }

/* Honest comparison page ---------------------------------------------- */
.pg.compare > h1 { margin-top: 72px; }
.pg.compare > h2 { margin-top: 84px; }
.pg.compare table { width: min(980px,calc(100% - 64px)); margin: 28px auto 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--m-line); border-radius: 24px; }
.pg.compare th, .pg.compare td { padding: 18px 20px; border-bottom: 1px solid var(--m-line); text-align: left; }
.pg.compare th { color: var(--m-blue-deep); background: var(--m-blue-wash); }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .cred-wrap, .duo { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .duo.flip .txt { order: initial; }
  .proof-row, .price-cards, .uc-grid, .fit-grid, .pricing-grid, .pricing-details { grid-template-columns: repeat(2,1fr); }
  .pricing-grid .pricing-card:last-child { grid-column: auto; display: block; }
}
@media (max-width: 640px) {
  .top, .pg-top { width: calc(100% - 32px); min-height: 64px; }
  .top .nav-cta .btn-ghost, .pg-top nav a:not(.btn) { display: none; }
  .hero { padding: 56px 20px 72px; }
  .pricing-hero { padding: 60px 20px 72px; }
  .hero-grid { display: block; }
  .hero .product-visual { margin-top: 48px; }
  .hero h1, .pricing-hero h1, .pg > h1 { font-size: clamp(42px,13vw,58px); }
  .hero-subtitle { font-size: 18px; }
  .credibility, .sect { padding: 80px 20px; }
  .proof-row, .price-cards, .uc-grid, .fit-grid, .how-grid, .pricing-grid, .pricing-details { grid-template-columns: 1fr; }
  .proof-row { gap: 36px; }
  .canvas { min-height: 280px; padding: 24px; }
  .calc, .pricing-calc, .pricing-sandbox, .pricing-tw, .pricing-faq, .final, .cta-end { width: calc(100% - 32px); padding: 30px 22px; }
  .pg > .pg-kicker, .pg > h1, .pg > .lede, .pg > .facts, .pg > .hero-ctas,
  .pg > h2, .pg > h3, .pg > p:not(.lede), .pg > ul:not(.facts):not(.jump):not(.not-yet), .pg > ol, .pg > .jump, .pg > .prompt, .pg > .legend, .pg > .tools-wrap, .pg > .not-yet, .pg > .client, .pg > .pg-faq, .pg > .cta-end, .pg > .pg-foot, .pg > section,
  .pg > pre, .pg > .pg-note, .pg > table { width: calc(100% - 32px); }
  .pg > .lede { margin-left: 16px; }
  .pg > p.pg-kicker { margin: 56px 16px 24px; }
  .pg.compare > h1 { margin-top: 48px; }
}

/* MCP hero -------------------------------------------------------------
   The MCP pages also load the older page/mcp shells. Their more-specific
   paragraph and list rules used to override the marketing container, leaving
   the headline, description and facts on three different horizontal grids.
   Keep the whole hero on one deliberate measure and make the facts responsive. */
.pg.mcp > .pg-kicker,
.pg.mcp > h1,
.pg.mcp > .lede,
.pg.mcp > .facts,
.pg.mcp > .hero-ctas {
  box-sizing: border-box;
  width: min(1040px, calc(100% - 64px));
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.pg.mcp > .pg-kicker {
  margin-top: 72px;
  margin-bottom: 20px;
}
.pg.mcp > h1 {
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.04;
}
.pg.mcp > .lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.58;
}
.pg.mcp > .lede code { overflow-wrap: anywhere; }
.pg.mcp > .facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin-top: 28px;
  margin-bottom: 0;
  padding: 22px 24px;
}
.pg.mcp > .facts li {
  min-width: 0;
  overflow-wrap: anywhere;
}
.pg.mcp > .hero-ctas {
  margin-top: 24px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .pg.mcp > .pg-kicker,
  .pg.mcp > h1,
  .pg.mcp > .lede,
  .pg.mcp > .facts,
  .pg.mcp > .hero-ctas {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }
  .pg.mcp > .pg-kicker { margin-top: 48px; margin-bottom: 16px; }
  .pg.mcp > h1 { font-size: clamp(40px, 12vw, 52px); }
  .pg.mcp > .lede { margin-top: 20px; font-size: 17px; line-height: 1.55; }
  .pg.mcp > .facts { grid-template-columns: 1fr; padding: 18px; gap: 10px; }
  .pg.mcp > .hero-ctas { display: grid; grid-template-columns: 1fr; }
  .pg.mcp > .hero-ctas .btn { width: 100%; }
}
