/* with.inmywords.chat, the enterprise microsite (inc/with.php).
 *
 * Loaded after style.css and built on its tokens, fields and labels: no
 * colour, face or size is introduced here. The difference from the main site
 * is composition: larger headings, more space, thin rules instead of panels,
 * and a two-column section with its label down the start side.
 *
 * Classes are w- prefixed so nothing here reaches a page of the main site. */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The paper of with: #FFF1E5, the background of ft.com. The light surface
 * only; the navy and olive fields keep their own. */
html:has(body.with) { background: #FFF1E5; }
body.with { --bg-deep: #FFF1E5; background: var(--bg-deep); }

.w-wrap {
  width: 100%;
  max-width: var(--w-frame);
  margin-inline: auto;
  padding-inline: var(--s4);
}

/* ---- the bar ------------------------------------------------------------ */

.w-bar { border-bottom: 1px solid var(--border); }
.w-bar .w-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s4);
}
.w-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.w-brand a { text-decoration: none; display: block; }
.w-brand img { width: 150px; height: auto; display: block; }
.w-brand .w-brand__mark { display: none; width: 32px; }
.w-brand__with {
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brand-active);
}
.w-bar__end { display: flex; align-items: center; gap: var(--s2); }
/* The main site's magnifier and account controls (style.css .nav .searchlink
 * and .auth), on this bar at every width: there is no menu here for them to
 * fold into. */
.w-bar .searchlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 48px;
  color: var(--text-secondary);
  border-radius: var(--r-control);
}
.w-bar .searchlink:hover { color: var(--text-primary); }
.w-bar .searchlink svg { width: 20px; height: 20px; display: block; }
.w-bar .auth { display: flex; flex-direction: row; width: auto; gap: var(--s1); padding-inline-start: 0; padding-bottom: 0; border-inline-start: 0; }
.w-bar .auth .login { width: auto; }

/* ---- the opening -------------------------------------------------------- */

.w-hero { padding-block: var(--s8) var(--s7); }
.w-hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: none;
  margin-bottom: var(--s5);
}
.w-hero .w-lead { max-width: none; }
.w-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--s5);
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--border);
}

/* Your organisation x InMyWords: the idea the whole site is built on. */
.w-mark {
  font-size: var(--t-h3);
  font-weight: 500;
  margin: 0;
}
.w-mark__x { color: var(--brand-active); }

.w-lead {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
}

.w-go {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.w-go:hover { border-bottom-width: 2px; }
.w-go span { display: inline-block; transition: transform 160ms ease; }
.w-go:hover span { transform: translateX(3px); }

/* ---- the bar and the section index at the top of a large screen ------- */

/* The bar stays too where there is height to spare, with the index under
 * it; elsewhere the box is no box and the index alone stays, as before.
 * --w-bar-h is the bar's height, for what has to clear it. */
.w-masthead { display: contents; }

/* ---- the section index: a bar that stays at the top ------------------- */

.w-index {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}
.w-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  scrollbar-width: none;
}
.w-index ol::-webkit-scrollbar { display: none; }
.w-index li { flex: 0 0 auto; }
.w-index a {
  display: flex;
  gap: 6px;
  padding-block: 14px;
  font-size: var(--t-small);
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
}
.w-index a:hover { color: var(--text-primary); border-bottom-color: var(--brand-active); }
.w-index a[aria-current] { color: var(--text-primary); font-weight: 600; border-bottom-color: var(--brand-active); }
@media (min-width: 1100px) {
  .w-index ol { justify-content: space-between; gap: var(--s3); }
}

/* A section reached from the bar starts below it. */
.w-sec { scroll-margin-top: 56px; }

/* ---- the home page's contents ------------------------------------------ */

.w-contents { padding-block: 0 var(--s8); }
.w-contents ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--s5);
}
.w-contents li { border-top: 1px solid var(--border-strong); }
.w-contents a {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  height: 100%;
  padding-block: var(--s4) var(--s5);
  text-decoration: none;
}
.w-contents .w-n { margin: 0; }
.w-contents__name { font-size: var(--t-h3); font-weight: 600; line-height: 1.3; }
.w-contents__desc { color: var(--text-secondary); font-size: var(--t-small); }
.w-contents a:hover .w-contents__name { text-decoration: underline; text-underline-offset: 4px; }

/* ---- a section ---------------------------------------------------------- */

.w-sec { padding-block: var(--s8); border-top: 1px solid var(--border); }
.w-sec.field-navy, .w-sec.field-olive { border-top: 0; }
.w-sec .w-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: var(--s6);
}
.w-sec__label { padding-top: 14px; }
.w-sec__label .eyebrow { position: sticky; top: var(--s4); }

/* On a section page the label column carries the menu of sections, held in
 * view below the bar as the page scrolls. */
.w-sec__label:has(.w-side) { position: sticky; top: 72px; align-self: start; }
.w-sec__label:has(.w-side) .eyebrow { position: static; }
.w-side { margin-top: var(--s3); }
.w-side ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.w-side li { border-bottom: 1px solid var(--border); }
.w-side a {
  display: block;
  padding: 10px 0 10px var(--s3);
  font-size: var(--t-small);
  color: var(--text-secondary);
  text-decoration: none;
  border-inline-start: 3px solid transparent;
}
.w-side a:hover { color: var(--text-primary); border-inline-start-color: var(--border-strong); }

/* A heading for one part of a section page, reached from the menu. */
.w-sec h2 { scroll-margin-top: 80px; }
.w-sec h2.w-h {
  font-size: clamp(24px, 2.4vw, 30px);
  max-width: none;
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.w-sec .w-sec__body > * + * { margin-top: var(--s6); }
.w-sec h1,
.w-sec h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 18ch;
  margin-bottom: var(--s4);
}
.w-intro > p { max-width: 60ch; }
.w-intro > p:not(.w-lead) { color: var(--text-secondary); }
.w-intro > .w-lead + p { margin-top: var(--s4); }

.w-rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---- paired columns: your side + ours ----------------------------------- */

.w-pairs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: var(--s4);
  margin: 0;
}
.w-pairs__head {
  margin: 0;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-active);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border-strong);
}
.w-pairs__head--ours { grid-column: 3; }
.w-pairs > p:not(.w-pairs__head) {
  padding-block: var(--s3);
  border-bottom: 1px solid var(--border);
  margin: 0;
  font-size: 20px;
}
.w-pairs > p.w-pairs__plus { color: var(--brand-active); text-align: center; border-bottom-color: transparent; }

/* ---- columns of short statements ---------------------------------------- */

.w-cols {
  display: grid;
  grid-template-columns: repeat(var(--w-n, 3), minmax(0, 1fr));
  gap: var(--s6) var(--s5);
}
.w-cols--4 { --w-n: 4; }
.w-cols--2 { --w-n: 2; }
.w-cols > * { border-top: 1px solid var(--border-strong); padding-top: var(--s4); }
.w-cols h3 { font-size: var(--t-h3); margin-bottom: var(--s3); }
.w-cols p { color: var(--text-secondary); }
.w-cols .label { margin-bottom: var(--s3); }
.w-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.w-cols li { padding-block: var(--s2); border-bottom: 1px solid var(--border); }
.w-cols li:last-child { border-bottom: 0; }
.w-cols a { font-weight: 600; }
.w-n {
  display: block;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  margin-bottom: var(--s3);
}

/* The boundary: the site's own rail, down the start side of one statement. */
.w-note {
  position: relative;
  padding-inline-start: var(--s5);
  max-width: 62ch;
  font-size: 20px;
  line-height: 1.55;
}
.w-note::before {
  content: "";
  position: absolute;
  inset-block: 4px;
  inset-inline-start: 0;
  width: 3px;
  background: var(--brand-active);
}

/* ---- the integration diagram -------------------------------------------- */

.w-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--s3);
}
.w-flow__box {
  border: 1px solid var(--border-strong);
  padding: var(--s4);
  min-height: 100%;
}
.w-flow__box--ours { background: var(--text-primary); color: var(--bg-deep); border-color: var(--text-primary); }
.w-flow__box .label { margin-bottom: var(--s2); }
.w-flow__box--ours .label { color: inherit; }
.w-flow__box p { margin: 0; }
.w-flow__arrow { font-size: 22px; color: var(--text-primary); }

.w-specs { margin: 0; border-top: 1px solid var(--border-strong); }
.w-specs > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: var(--s4);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--border);
}
.w-specs dt { font-weight: 600; }
.w-specs dd { margin: 0; color: var(--text-secondary); }

/* ---- numbered steps ----------------------------------------------------- */

.w-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
}
.w-steps li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--s4);
  padding-block: var(--s4);
  border-bottom: 1px solid var(--border);
}
.w-steps .w-n { margin: 0; font-size: var(--t-h3); line-height: 1.3; }
.w-steps h3 { margin-bottom: var(--s1); }
.w-steps p { color: var(--text-secondary); }

/* ---- links out ---------------------------------------------------------- */

.w-links { border-top: 1px solid var(--border-strong); }
.w-links a {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s3) var(--s2);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 160ms ease;
}
.w-links a:hover { background: var(--bg-warm); }
.w-links a span:last-child { color: var(--brand-active); }

/* ---- the closing -------------------------------------------------------- */

.w-close { padding-block: var(--s8); text-align: center; border-top: 1px solid var(--border); }
.w-close .w-wrap { display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.w-close h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}
.w-close__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s4) var(--s5); }

/* ---- the footer --------------------------------------------------------- */

.w-foot {
  padding-block: var(--s5);
  font-size: var(--t-small);
  color: var(--text-muted);
}
.w-foot a { color: var(--text-secondary); }

/* ---- smaller screens: recomposed, not collapsed ------------------------- */

@media (max-width: 900px) {
  .w-sec { padding-block: var(--s7); }
  .w-sec .w-wrap { grid-template-columns: minmax(0, 1fr); }
  .w-sec__label { padding-top: 0; margin-bottom: var(--s3); }
  .w-sec__label .eyebrow { position: static; }
  .w-sec__label:has(.w-side) { position: static; }
  .w-side { display: none; }
  .w-cols, .w-cols--4 { --w-n: 2; }
  .w-contents ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-flow { grid-template-columns: minmax(0, 1fr); }
  .w-flow__arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 600px) {
  .w-hero { padding-block: var(--s7) var(--s6); }
  .w-brand .w-brand__word { width: 124px; }
  .w-brand__with { font-size: 19px; }
  .w-cols, .w-cols--2, .w-cols--4 { --w-n: 1; }
  .w-contents ol { grid-template-columns: minmax(0, 1fr); }
  .w-pairs > p:not(.w-pairs__head) { font-size: var(--t-body); }
  .w-specs > div { grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
  .w-steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .w-note { font-size: var(--t-body); padding-inline-start: var(--s4); }
  .w-mark { font-size: 19px; }
  .w-bar .searchlink { display: none; }
  .w-bar .auth .login { min-height: 40px; padding-inline: 12px; }
}

@media print {
  .w-bar__end, .w-index { display: none; }
  .w-sec { break-inside: avoid-page; padding-block: var(--s6); }
}
main > .w-sec:first-child { border-top: 0; }

@media (max-width: 380px) {
  .w-bar .w-wrap { gap: var(--s2); }
  .w-brand { gap: var(--s2); }
  .w-brand__with { font-size: 17px; }
  .w-bar .auth .login { padding-inline: 10px; font-size: 14px; }
}

/* A word of a heading picked out in the gold, as "with" in the bar. */
.w-hl { color: var(--brand-active); }

/* A second statement within a section page, under its own heading. */
.w-sub > * + * { margin-top: var(--s5); }

/* Within a section, the pages it holds, in the body column. */
.w-contents--in { padding: 0; }
.w-contents--in ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w-side a[aria-current="page"] { color: var(--text-primary); font-weight: 600; border-inline-start-color: var(--brand-active); }
@media (max-width: 600px) {
  .w-contents--in ol { grid-template-columns: minmax(0, 1fr); }
}

/* The section's name over the menu, a link to the section's page. */
.w-sec__label a.eyebrow { text-decoration: none; }
.w-sec__label a.eyebrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* "with our" between the two sides: the gold of with, one line each. On a
 * phone your side is a line of its own and "with our ..." the line under it. */
.w-pairs > p.w-pairs__plus { white-space: nowrap; font-size: var(--t-body); align-self: stretch; display: flex; align-items: center; }
@media (max-width: 600px) {
  .w-pairs { grid-template-columns: auto minmax(0, 1fr); column-gap: 0; }
  .w-pairs__head { grid-column: 1 / -1; }
  .w-pairs__head--ours { display: none; }
  .w-pairs > p:not(.w-pairs__head) { border-bottom: 0; padding-block: 0; }
  .w-pairs > p:not(.w-pairs__head):not(.w-pairs__plus):not(.w-pairs__plus + p) { grid-column: 1 / -1; padding-top: var(--s3); }
  .w-pairs > p.w-pairs__plus,
  .w-pairs > p.w-pairs__plus + p { padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
  .w-pairs > p.w-pairs__plus { font-size: var(--t-body); padding-inline-end: 6px; }
}

/* A page's heading and its opening text take the full width of the body column. */
.w-sec h1, .w-sec .w-intro > p, .w-sec .w-lead { max-width: none; }

/* A page without a label column takes the whole frame. */
.w-sec .w-wrap:not(:has(.w-sec__label)) { grid-template-columns: minmax(0, 1fr); }

/* A part heading that opens a section has the section's own rule above it. */
.w-sec .w-sec__body > h2.w-h:first-child { border-top: 0; padding-top: 0; }

/* A long document set into a with page: its headings at the size of a part
 * heading, and the full width of the body column. */
.w-sec .w-prose { max-width: none; }
.w-sec .w-prose h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.015em; max-width: none; margin: var(--s6) 0 var(--s3); }
.w-sec .w-prose h3 { margin-top: var(--s5); }

/* ---- the phone menu ---------------------------------------------------- */

/* Hidden on a wide screen, where the bar of sections and the left menu do
 * the work. On a phone the Menu button opens the drawer: every section, the
 * pages of the one being read, then search and the account controls. */
.w-menucb, .w-menutoggle, .w-drawer { display: none; }
@media (max-width: 900px) {
  .w-menucb { display: block; position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
  .w-menutoggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: var(--s3);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-control);
    font-size: var(--t-small);
    font-weight: 600;
    cursor: pointer;
  }
  .w-menucb:focus-visible ~ .w-bar .w-menutoggle { outline: 3px solid var(--brand-active); outline-offset: 3px; }
  .w-menucb:checked ~ .w-bar .w-menutoggle { background: var(--text-primary); color: var(--bg-deep); border-color: var(--text-primary); }
  .w-bar__end { display: none; }
  .w-index { display: none; }
  .w-menucb:checked ~ .w-drawer { display: block; }
  .w-drawer { border-bottom: 1px solid var(--border); background: var(--bg-deep); }
  .w-drawer ol { list-style: none; margin: 0; padding: 0; }
  .w-drawer > .w-wrap > ol > li { border-bottom: 1px solid var(--border); }
  .w-drawer a { display: block; padding: 12px 0; text-decoration: none; color: var(--text-primary); }
  .w-drawer a[aria-current] { font-weight: 600; box-shadow: inset 3px 0 0 var(--brand-active); padding-inline-start: 12px; }
  .w-drawer li li a { padding: 8px 0 8px 24px; font-size: var(--t-small); color: var(--text-secondary); }
  .w-drawer li li a[aria-current] { padding-inline-start: 24px; color: var(--text-primary); }
  .w-drawer__end { display: flex; flex-direction: column; gap: var(--s2); padding-block: var(--s4); margin: 0; }
  .w-drawer__end .login {
    display: flex; justify-content: center; align-items: center; min-height: 48px;
    border: 1px solid var(--border-strong); border-radius: var(--r-control); font-weight: 600; padding: 0;
  }
  .w-drawer__end .login--primary { background: var(--brand-active); border-color: var(--brand-active); color: var(--bg-deep); }
}

/* A link that leaves with: the external-link mark after its words. Drawn
 * with a mask so it takes the link's own colour; none on the logo or on the
 * account buttons, which are plainly places of their own. */
.w-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.w-ext::before {
  content: "";
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  margin-inline-start: 0.3em;
  vertical-align: baseline;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4 10 14'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4 10 14'/%3E%3Cpath d='M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.w-brand__logo .w-ext::before, .login .w-ext::before { display: none; }

/* A table of measures: rules between rows, no boxes. */
.w-table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.w-table th, .w-table td { text-align: start; vertical-align: top; padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--border); }
.w-table thead th { font-size: var(--t-label); font-weight: 600; letter-spacing: 0.04em; color: var(--brand-active); border-bottom-color: var(--border-strong); }
.w-table tbody th { font-weight: 600; white-space: nowrap; }
.w-table td { color: var(--text-secondary); }

/* Search (imw_with_render_search): the results as a list of entries, each
   between rules, titled at entry size rather than at the section page's
   heading size; style.css styles the rest of a result, but its list rules
   are for the main site's .prose only. */
.w-search .w-sec__body > .search__count { margin-top: var(--s5); margin-bottom: 0; }
.w-search .w-sec__body > .results { margin-top: var(--s3); }
.w-search .results { list-style: none; padding: 0; max-width: 760px; }
.w-search .results li { margin: 0; padding: var(--s4) 0; border-top: 1px solid var(--border); }
.w-search .results li:last-child { border-bottom: 1px solid var(--border); }
.w-search .results h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 600;
  max-width: none;
  margin: 4px 0 4px;
}
.w-search .results h2 a { text-decoration: none; }
.w-search .results h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.w-search .results__text { max-width: 70ch; }

/* ---- calls to action ---------------------------------------------------- */

/* with's styles for the boxes of inc/cta.php (style.css draws the rest):
 * rules rather than panels, and larger headings. Contrast, WCAG 2:
 *
 *   paper        #0B1B2F on #FFF1E5 15.65; text #3F4C5B 7.91; eyebrow
 *                #7E5106 6.18; button #FFF1E5 on #0B1B2F 15.65
 *   navy-field   #F4F0E7 on #0B1B2F 15.23; text #C7CDD2 10.80; eyebrow
 *                #F0B85A 9.66; button #0B1B2F on #D5942D 6.69
 *   olive-field  #0B1B2F on #A6AE87 7.45; button #F4F0E7 on #0B1B2F 15.23
 *   line         #0B1B2F on #FFF1E5 15.65; rule #6F6A61 4.85 */
body.with .cta { margin-block: var(--s6); gap: var(--s4); }
body.with .cta .cta__body { gap: var(--s3); }
body.with .cta h2.cta__h { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; max-width: 22ch; margin: 0; }
body.with .cta .cta__text { max-width: 58ch; }
body.with .cta .cta__acts { gap: var(--s4); }

.cta--paper {
  --cta-bg: transparent; --cta-fg: #0B1B2F; --cta-fg2: #3F4C5B; --cta-eyebrow: #7E5106;
  --cta-btn-bg: #0B1B2F; --cta-btn-fg: #FFF1E5; --cta-second-border: #0B1B2F; --cta-link: #0B1B2F;
  padding: var(--s5) 0 0;
  border-radius: 0;
  border-top: 2px solid #0B1B2F;
}
.cta--navy-field {
  color-scheme: dark;
  --cta-bg: #0B1B2F; --cta-fg: #F4F0E7; --cta-fg2: #C7CDD2; --cta-eyebrow: #F0B85A;
  --cta-btn-bg: #D5942D; --cta-btn-fg: #0B1B2F; --cta-second-border: #F4F0E7; --cta-link: #F4F0E7;
  border-radius: 2px;
}
.cta--olive-field {
  --cta-bg: #A6AE87; --cta-fg: #0B1B2F; --cta-fg2: #0B1B2F; --cta-eyebrow: #0B1B2F;
  --cta-btn-bg: #0B1B2F; --cta-btn-fg: #F4F0E7; --cta-second-border: #0B1B2F; --cta-link: #0B1B2F;
  border-radius: 2px;
}
.cta--line {
  --cta-bg: transparent; --cta-fg: #0B1B2F; --cta-fg2: #3F4C5B; --cta-eyebrow: #7E5106;
  --cta-btn-bg: #0B1B2F; --cta-btn-fg: #FFF1E5; --cta-second-border: #0B1B2F; --cta-link: #0B1B2F;
  padding: var(--s4) 0 0;
  border-radius: 0;
  border-top: 1px solid #6F6A61;
}
body.with .cta--line h2.cta__h { font-size: 22px; max-width: none; }
.cta--line a.cta__link { white-space: nowrap; }
.cta--line a.cta__link::after { content: " \2192"; }
@media (min-width: 641px) {
  .cta--line { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s5); }
}

/* The top of a large screen (see .w-masthead above): last, so
 * it overrides the rules it changes. */
@media screen and (min-width: 1200px) and (min-height: 700px) {
  :root { --w-bar-h: 97px; }
  .w-masthead { display: block; position: sticky; top: 0; z-index: 20; background: var(--bg-deep); }
  .w-masthead .w-index { position: static; }
  .w-sec { scroll-margin-top: calc(var(--w-bar-h) + 56px); }
  .w-sec h2 { scroll-margin-top: calc(var(--w-bar-h) + 80px); }
  .w-sec__label .eyebrow { top: calc(var(--w-bar-h) + var(--s4)); }
  .w-sec__label:has(.w-side) { top: calc(var(--w-bar-h) + 72px); }
}
