/* Additions to the design's styles for the live site. The converter does not write this file. */

/* Footer legal links (each template artboard carries this rule; the footer is shared here). */
.tp-legal{display:flex;gap:20px}
/* Footer social links (the same accounts the structured data lists in SiteLayout). */
.foot .ft-social{display:flex;gap:16px;margin-top:22px}
.foot .ft-social a{display:inline-flex;color:var(--ink-3)}
.foot .ft-social a:hover{color:#fff}

/* Header links on one baseline. How it works, Solutions and Resources sit inside a dropdown wrapper and About does not,
   so centring the boxes left About's text about 1px high; aligning on the text's baseline lines all four up. */
@media (min-width:821px){.nav-links{align-items:baseline}}

/* Full-bleed heroes on phones. redesign.css puts the frame at the gutter, the same 20px as the text, so a subhead
   that fills the width ran into the frame lines. Pull the frame out to 14px, as on the home page's hero, and keep
   the text 20px inside it. */
@media (max-width:820px){.hero-bleed .hero-tile > .hero-copy{--xf-x:14px;padding-inline:34px}}

/* Phone menu. The design hides the nav links below 820px; the button opens them as a panel. */
.nav-toggle{display:none}
@media (max-width:820px){
  .nav-right{gap:6px}
  .nav-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-10px;border:0;border-radius:var(--r);background:transparent;color:var(--ink);cursor:pointer}
  .nav-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .nav.open .nav-links{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;top:100%;left:0;right:0;margin:0;padding:4px var(--gutter) 24px;background:var(--paper);border-bottom:1px solid var(--rule-cool);box-shadow:0 18px 30px -24px rgba(16,23,38,.4);max-height:calc(100vh - 72px);overflow-y:auto;white-space:normal!important}
  .nav.open .nav-links > a,.nav.open .nav-dd > a{display:flex;padding:14px 0 6px;font-size:16px;color:var(--ink)}
  .nav.open .nav-dd > a svg,.nav.open .np-feat{display:none}
  .nav.open .nav-dd:hover::after{content:none}
  .nav.open .nav-menu,.nav.open .nav-menu.mega{display:block;position:static;transform:none;width:auto;min-width:0;padding:0}
  .nav.open .nav-menu > div,.nav.open .nav-menu.mega > div,.nav.open .nav-menu.sol > div{display:flex;flex-direction:column;gap:0;padding:0;box-shadow:none;background:none}
  .nav.open .nav-menu .nav-col + .nav-col{border:0;margin:0;padding:0}
  .nav.open .nav-menu a{padding:8px 0;white-space:normal}
  .nav.open .nav-menu .nav-sub a{padding-left:12px}
  .nav.open .nav-menu .nav-grp{padding:10px 0 2px}
  .nav.open .np-row{display:flex;flex-direction:column;gap:0}
  .nav.open .np-c{flex-direction:row;align-items:center;gap:12px;min-height:0;padding:8px 0;background:none}
  .nav.open .np-c small{margin-top:0}
}

/* The dark logo shows only in dark mode (theme-dark.css). */
.nav-logo-dk{display:none}
/* Nav menus: square panels and cards, like the rest of the page. In "How it works" the overview card sits beside
   the five cards at the same height (a subgrid shares the label row and the card row), every card shares one
   padding with its content from the top, the labels sit flush with the card edges, and the overview carries the living labradorite texture from the hero (flow in site.js; refraction on hover). */
.nav .nav-menu > div{border-radius:0}
.nav .nav-menu.mega-p > div{grid-template-rows:auto 1fr}
.nav .nav-menu.mega-p > div > div{grid-column:2;grid-row:1/3;display:grid;grid-template-rows:subgrid}
.nav .mega-p a.np-feat{grid-column:1;grid-row:2;justify-content:flex-start;min-height:0;padding:18px 14px;border-radius:0;background:#3B3346;box-shadow:none}
.nav .mega-p a.np-feat b{margin-top:0}
.nav .mega-p .np-feat .go{margin-top:auto;padding-top:14px}
.nav .mega-p .np-feat > .np-bg,.nav .mega-p .np-feat > .np-flow,.nav .mega-p .np-feat > .np-scrim{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.nav .mega-p .np-feat > .np-bg{z-index:-3;background:url('/v2/assets/textures/labradorite-plum.png') center/cover no-repeat}
.nav .mega-p .np-feat > .np-flow{z-index:-2;opacity:0;transition:opacity 1s ease}
.nav .mega-p .np-feat > .np-flow.on{opacity:1}
.nav .mega-p .np-feat > .np-scrim{z-index:-1;background:linear-gradient(180deg,rgba(16,23,38,.18) 0%,rgba(16,23,38,.42) 100%)}
.nav .mega-p .np-feat > .np-scrim::after{content:'';position:absolute;inset:0;background-image:var(--grain);background-size:140px;opacity:.16;mix-blend-mode:overlay}
.nav .mega-p a.np-c,.nav .np-i{border-radius:0}
.nav .mega-p a.np-c{justify-content:flex-start;min-height:0;padding:18px 14px}
.nav .mega-p .np-k{padding-left:0;padding-right:0}
.nav .mega-p .np-k-o{grid-column:1;grid-row:1}
@media(max-width:820px){.nav.open .np-k-o{display:none}}
@media(max-width:760px){.nav .nav-menu.mega-p > div{grid-template-rows:none}.nav .nav-menu.mega-p > div > div{grid-column:auto;grid-row:auto;display:block}.nav .mega-p a.np-feat,.nav .mega-p .np-k-o{grid-column:auto;grid-row:auto}.nav .mega-p a.np-feat{min-height:120px}}
/* Wide screens: the overview and the six cards are seven equal columns with one gap (the right group and its row of
   cards are column subgrids of the menu's grid). Narrower menus keep the canvas's overview + 3-up wrap. */
@media(min-width:1121px){
  .nav .nav-menu.mega-p > div{grid-template-columns:repeat(7,minmax(0,1fr));column-gap:8px}
  .nav .nav-menu.mega-p > div > div{grid-column:2/-1;grid-template-columns:subgrid}
  .nav .mega-p .np-k:not(.np-k-o),.nav .mega-p .np-row{grid-column:1/-1}
  .nav .mega-p .np-row{grid-template-columns:subgrid;column-gap:8px}
}
.nav .mega-p a.np-c small,.nav .mega-p a.np-feat small{align-self:stretch;text-wrap:wrap}
/* Card titles set as words, not figures: the body's tabular figures widen Inter's hyphen ("White-labeling"). */
.nav .mega-p a.np-c b{font-variant-numeric:normal}
.nav .mega-p a.np-feat b{font-size:20px;line-height:1.15}
