/* The Marketing page's own styles (phase 2, lane MK); portal.css holds everything shared. These are
   mockup/phase2.css's marketing rules as Max approved them, less the review markers, with two changes
   named where they are made: the lockup keeps its own proportions, and the may and may not grid is
   this page's own class rather than the link builder's. */

/* ---- The logo ------------------------------------------------------------------------------------- */
.lockups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.lockup-card { margin: 0; padding: 0; overflow: hidden; }
.lockup-tile { display: grid; aspect-ratio: 2 / 1; place-items: center; }
/* height: auto is not in the mockup, which kept the file's 360px height at any width and so stretched
   the logo it tells partners never to stretch. */
.lockup-tile img { width: 74%; height: auto; }
.lockup-tile--dark { background: var(--ink); }
.lockup-tile--light { background: #fff; }
.asset-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1.1rem 1.3rem; border-top: 1px solid var(--line); }
.asset-caption strong { display: block; font-weight: 400; }
.asset-caption small { display: block; margin-top: .25rem; color: var(--quiet); font-size: .78rem; }

/* ---- Banners ----------------------------------------------------------------------------------------
   Each banner is drawn at its own proportions and sized in container units (cqw), so it looks the same
   at any width it is shown at, and tools/render_banners.cjs renders the PNGs from the same rules in the
   mockup. The ground is the support pages' (support-page.css:7-10), the mark the 404 page's three bars
   (not-found-page.css:9-13), the button Yunus's azure pill (landing.css:54). */
.banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; align-items: start; }
.banner-figure { min-width: 0; margin: 0; }
.banner-figure--wide { grid-column: 1 / -1; }
.banner-figure--1080 { max-width: 540px; }
.banner-figure--300 { max-width: 300px; }
.banner-figure--728 { max-width: 728px; }
@media (max-width: 760px) { .banners { grid-template-columns: minmax(0, 1fr); } }
.banner-figure .asset-caption { padding: .9rem 0 0; border: 0; }
.banner {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  color: #fff;
  background:
    radial-gradient(circle at 84% 8%, rgba(50, 95, 255, .3), transparent 58%),
    radial-gradient(circle at 4% 96%, rgba(50, 95, 255, .12), transparent 52%),
    var(--ink);
  outline: 1px solid var(--line);
}
.banner--1200 { aspect-ratio: 1200 / 628; }
.banner--1080 { aspect-ratio: 1; }
.banner--300 { aspect-ratio: 300 / 250; }
.banner--728 { aspect-ratio: 728 / 90; }
.b-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; }
/* The lockup file keeps its clear space; this frame shows the artwork's own box (x 56 to 943, y 132 to
   227 of 1000 by 360), so the banner's margins are the banner's. Percentage margins follow the width. */
.b-lockup { flex: none; overflow: hidden; aspect-ratio: 888 / 96; }
.b-lockup img { width: 112.613%; max-width: none; margin: -14.865% 0 0 -6.306%; }
.b-head { margin: 0; font-family: var(--austin); font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.b-sub { margin: 0; color: var(--lead); font-family: var(--sans); }
.b-cta { display: inline-flex; height: 2.65em; align-items: center; gap: .55em; padding: 0 1.25em; border-radius: 999px; color: #fff; background: var(--azure); font-family: var(--sans); font-weight: 600; line-height: 1; white-space: nowrap; box-shadow: 0 .6em 1.4em rgba(24, 65, 220, .2); }
.b-cta svg { width: 1em; height: 1em; }
.b-legal { margin: 0; color: #8a96ae; font-family: var(--sans); }
.b-mark { position: absolute; display: flex; align-items: flex-end; gap: .583em; }
.b-mark i { width: 1em; border-radius: 999px 999px .25em .25em; background: var(--azure); }
.b-mark i:nth-child(1) { height: 1.75em; }
.b-mark i:nth-child(2) { height: 3em; }
.b-mark i:nth-child(3) { height: 4.333em; }

.banner--1200 .b-in { padding: 5.4cqw 6cqw 4.2cqw; }
.banner--1200 .b-lockup { width: 21cqw; }
.banner--1200 .b-head { max-width: 60cqw; margin-top: auto; font-size: 7.6cqw; line-height: .94; }
.banner--1200 .b-sub { max-width: 52cqw; margin-top: 1.9cqw; font-size: 1.95cqw; line-height: 1.4; }
.banner--1200 .b-cta { margin-top: 2.6cqw; font-size: 1.75cqw; }
.banner--1200 .b-legal { max-width: 74cqw; margin-top: 3.3cqw; font-size: 1.12cqw; line-height: 1.5; }
.banner--1200 .b-mark { top: 5.4cqw; right: 6cqw; font-size: 3.6cqw; }

.banner--1080 .b-in { padding: 7.4cqw; }
.banner--1080 .b-lockup { width: 34cqw; }
.banner--1080 .b-head { max-width: 80cqw; margin-top: auto; font-size: 11.6cqw; line-height: .94; }
.banner--1080 .b-sub { max-width: 72cqw; margin-top: 3cqw; font-size: 3cqw; line-height: 1.4; }
.banner--1080 .b-cta { margin-top: 4.4cqw; font-size: 2.8cqw; }
.banner--1080 .b-legal { margin-top: 5.6cqw; font-size: 1.75cqw; line-height: 1.5; }
.banner--1080 .b-mark { top: 7.4cqw; right: 7.4cqw; font-size: 4.2cqw; }

.banner--300 .b-in { padding: 7cqw 7cqw 6cqw; }
.banner--300 .b-lockup { width: 44cqw; }
.banner--300 .b-head { max-width: 80cqw; margin-top: auto; font-size: 10.4cqw; line-height: .96; }
.banner--300 .b-cta { margin-top: 5cqw; font-size: 4.3cqw; }
.banner--300 .b-legal { margin-top: 5cqw; font-size: 2.75cqw; line-height: 1.4; }

.banner--728 .b-in { flex-direction: row; align-items: center; gap: 3.3cqw; padding: 0 2.75cqw; }
.banner--728 .b-lockup { width: 17cqw; }
.banner--728 .b-text { min-width: 0; flex: 1; }
.banner--728 .b-head { font-size: 3.75cqw; line-height: 1; }
.banner--728 .b-legal { margin-top: .9cqw; font-size: 1.12cqw; line-height: 1.35; }
.banner--728 .b-cta { flex: none; font-size: 1.8cqw; }

/* ---- Wording you can copy ---------------------------------------------------------------------------- */
.copy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1rem; }
.copy-block--wide { grid-column: 1 / -1; }
.copy-grid--pairs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); } /* four blocks as two rows of two */
.copy-block { display: flex; flex-direction: column; align-items: flex-start; }
/* The quote: the email question rows' azure rule (introducer-portal-access.mjml), on the field ground. */
.copy-text { align-self: stretch; margin: 1.1rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--azure); border-radius: 0 14px 14px 0; background: rgba(8, 14, 30, .45); }
.card .copy-text p { max-width: none; margin: 0; color: var(--text); font-size: 1rem; line-height: 1.45; }
.card .copy-text p + p { margin-top: .85rem; }
.card .copy-text .copy-legal { color: var(--quiet); font-size: .78rem; line-height: 1.5; }
.copy-block > .button-quiet { margin-top: 1rem; }
.copy-lines { align-self: stretch; margin: 1.1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.copy-lines li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; border-bottom: 1px solid var(--rule); font: 400 clamp(1.25rem, 1.6vw, 1.5rem)/1.1 var(--austin); letter-spacing: -.012em; }

/* ---- What you may and may not say ---------------------------------------------------------------------
   Two even columns, one from 1040px down: the mockup's .grid-2--even, kept under this page's own name. */
.say-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
@media (max-width: 1040px) { .say-grid { grid-template-columns: minmax(0, 1fr); } }
.say-list { display: grid; gap: .75rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.say-list li { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: .55rem; color: var(--lead); font-size: .9rem; line-height: 1.45; }
.say-list li::before { width: 6px; height: 6px; margin-top: .5em; border-radius: 50%; background: var(--teal); content: ""; }
.say-list--not li::before { background: var(--red); }

/* Doc 170 card 6: three tall sizes in the same recipe (mockup/doc170/doc170.css), side by side at one height. */
.banner-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem 1rem; align-items: flex-start; }
.banner-figure--story { width: 270px; }
.banner-figure--half { width: 240px; }
.banner-figure--sky { width: 128px; }
.banner--story { aspect-ratio: 1080 / 1920; }
.banner--story .b-in { padding: 9cqw 8cqw 10cqw; }
.banner--story .b-lockup { width: 44cqw; }
.banner--story .b-head { max-width: 84cqw; margin-top: auto; font-size: 14cqw; line-height: .94; }
.banner--story .b-sub { max-width: 80cqw; margin-top: 4cqw; font-size: 4.2cqw; line-height: 1.4; }
.banner--story .b-cta { margin-top: 6cqw; font-size: 4.2cqw; }
.banner--story .b-legal { margin-top: 7cqw; font-size: 2.6cqw; line-height: 1.5; }
.banner--story .b-mark { top: 9cqw; right: 8cqw; font-size: 5.4cqw; }
.banner--half { aspect-ratio: 300 / 600; }
.banner--half .b-in { padding: 9cqw 8cqw; }
.banner--half .b-lockup { width: 52cqw; }
.banner--half .b-head { margin-top: auto; font-size: 13.5cqw; line-height: .95; }
.banner--half .b-sub { margin-top: 4cqw; font-size: 4.6cqw; line-height: 1.4; }
.banner--half .b-cta { margin-top: 6cqw; font-size: 4.6cqw; }
.banner--half .b-legal { margin-top: 6cqw; font-size: 3.1cqw; line-height: 1.4; }
.banner--sky { aspect-ratio: 160 / 600; }
.banner--sky .b-in { padding: 12cqw 10cqw; }
.banner--sky .b-lockup { width: 80cqw; }
.banner--sky .b-head { margin-top: auto; font-size: 17cqw; line-height: .96; }
.banner--sky .b-cta { margin-top: 9cqw; padding: 0 .9em; font-size: 7.4cqw; }
.banner--sky .b-legal { margin-top: 9cqw; font-size: 5.2cqw; line-height: 1.35; }
