/* Axe Finance legal notice. Same look as the gated papers: pale teal paper, Jost light headlines,
   IBM Plex body, IBM Plex Mono labels, dark teal publisher plate. */
.ln, body.axe-ln-page {
  --ink: #062f3b; --ink-2: #0b3d4a; --navy-950: #001217;
  --teal: #00b5a8; --teal-2: #5fd3c8; --teal-dk: #00897f; --teal-700: #007d75; --teal-soft: #e3f6f4;
  --text: #1d3640; --muted: #5b7079; --line: #dbe5e8; --paper: #f4f8f9; --white: #fff;
  --font-display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  --pad: clamp(16px, 5vw, 72px);
  --head-offset: 130px;
}

/* Divi: hand the whole body to the page, keep the site header and footer, drop the blog sidebar */
body.axe-ln-page { overflow-x: clip; }
body.axe-ln-page #page-container { background: transparent !important; }
body.axe-ln-page #main-content, body.axe-ln-page #left-area > article, body.axe-ln-page .entry-content { background: transparent !important; padding: 0 !important; margin: 0 !important; }
body.axe-ln-page #main-content .container { width: 100% !important; max-width: none !important; padding: 0 !important; }
body.axe-ln-page #main-content .container::before { display: none !important; }
body.axe-ln-page #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
body.axe-ln-page #sidebar, body.axe-ln-page .main_title, body.axe-ln-page .et_post_meta_wrapper,
body.axe-ln-page .wp-block-post-title, body.axe-ln-page .entry-title { display: none !important; }
html body .ln { width: 100vw; max-width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }

/* Theme hardening: rules such as "#left-area ul" or ".entry-content ul" outrank plain classes */
body .ln ul, body .ln ol, #left-area .ln ul, #left-area .ln ol, .entry-content .ln ul, .entry-content .ln ol { list-style: none !important; padding: 0 !important; margin: 0 !important; line-height: inherit; }
body .ln li, #left-area .ln li, .entry-content .ln li { list-style: none !important; margin: 0; }
body .ln li::marker { content: none; }
body .ln p { padding-bottom: 0 !important; }
body .ln img { margin: 0; }

/* Base */
.ln { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
.ln *, .ln *::before, .ln *::after { box-sizing: border-box; }
.ln h1, .ln h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: -.015em; line-height: 1.1; color: var(--ink); margin: 0; padding: 0; text-wrap: balance; }
.ln p { margin: 0; }
.ln dl, .ln dd { margin: 0; }
.ln a { color: var(--teal-700); text-decoration: none; }
.ln a:hover { color: var(--teal-dk); }
.ln :focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.ln .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ln-ico { width: 1em; height: 1em; flex: none; }
.ln-shell { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }
.ln-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-700);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px !important; }
.ln-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* Hero */
.ln-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px);
  background: radial-gradient(70% 80% at 80% 30%, #def3f0 0%, rgba(222,243,240,0) 70%), linear-gradient(180deg, #f6fbfb 0%, #eaf4f4 100%); }
.ln-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(6,47,59,.13) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.ln-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ln-hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; }
.ln-lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--teal-700); margin-top: 18px !important; max-width: 560px; }
#left-area .ln ul.ln-chips, body .ln ul.ln-chips { display: flex !important; flex-wrap: wrap; gap: 10px; margin-top: 30px !important; }
.ln-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.3; }
.ln-chips .ln-ico { font-size: 15px; color: var(--teal-700); }

.ln-hero-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.ln-hero-grid.is-solo .ln-lead { max-width: 720px; }
.ln-prose [style*="text-align"] { text-align: left !important; }
.ln-prose strong { color: var(--ink); font-weight: 600; }

/* Publisher plate */
.ln-plate { position: relative; justify-self: end; width: 100%; max-width: 440px; padding: 30px 32px 28px; border-radius: 16px; color: #c4d6dc;
  background: radial-gradient(120% 80% at 90% 0%, #0b5566 0%, var(--ink) 55%, var(--navy-950) 100%);
  box-shadow: 0 40px 70px -34px rgba(0,18,23,.55), inset 0 0 0 1px rgba(95,211,200,.28); transform: rotate(-1.2deg); }
.ln-plate::after { content: ""; position: absolute; inset: 10px; border-radius: 10px; border: 1px dashed rgba(95,211,200,.22); pointer-events: none; }
.ln-plate-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ln-plate-top img { width: 132px; height: auto; }
.ln-seal { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; box-shadow: 0 0 0 7px rgba(0,181,168,.18); }
.ln-seal .ln-ico { font-size: 24px; }
.ln-plate-k { margin-top: 30px !important; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-2); }
.ln-plate-name { margin-top: 8px !important; font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.1; color: #fff; }
.ln-plate-rows { margin-top: 22px !important; border-top: 1px solid rgba(95,211,200,.22); }
.ln-plate-rows > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(95,211,200,.14); font-size: 14.5px; line-height: 1.45; }
.ln-plate-rows dt { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8fb3bd; padding-top: 2px; }
.ln-plate-rows dd { color: #e6f0f2; }
.ln-plate-rows a { color: var(--teal-2); }

/* Body: sticky contents + article */
.ln-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(56px, 7vw, 96px); align-items: start; }
.ln-toc { position: sticky; top: var(--head-offset); display: grid; gap: 16px; }
.ln-toc-box { position: relative; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 18px 18px 14px; overflow: hidden; }
.ln-toc-box summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; cursor: default; pointer-events: none; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ln-toc-box summary::-webkit-details-marker { display: none; }
.ln-toc-k { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.ln-toc-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
#left-area .ln .ln-toc ol, body .ln .ln-toc ol { margin-top: 8px !important; }
.ln-toc ol a { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 7px 10px; margin-inline: -10px; border-radius: 8px; font-size: 14px; line-height: 1.4; color: var(--text);
  transition: background-color .2s var(--ease), color .2s var(--ease); }
.ln-toc ol a:hover { background: #fff; color: var(--ink); }
.ln-toc ol a[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: inset 2px 0 0 var(--teal); }
.ln-toc-num { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--teal-700); padding-top: 2px; }
.ln-toc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.ln-toc-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--teal); }
.ln-toc-mail { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink) !important; line-height: 1.35;
  transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.ln-toc-mail:hover { border-color: var(--teal); background: var(--teal-soft); }
.ln-toc-mail .ln-ico { font-size: 20px; color: var(--teal-700); }
.ln-toc-mail small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* Sections */
.ln-article { min-width: 0; max-width: 780px; }
.ln-sec { scroll-margin-top: var(--head-offset); padding-bottom: clamp(36px, 4vw, 48px); margin-bottom: clamp(36px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.ln-sec-head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; margin-bottom: 22px; }
.ln-sec-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--teal-700); padding: 5px 9px; border-radius: 6px; background: var(--teal-soft); }
.ln-sec-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.ln-sec-ico .ln-ico { font-size: 20px; }
.ln-sec h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.ln-prose > * + * { margin-top: 14px !important; }
.ln-prose p { color: var(--text); }
.ln-prose em { color: var(--muted); }
.ln-prose a { text-decoration: underline; text-decoration-color: rgba(0,125,117,.35); text-underline-offset: 3px; }
.ln-prose ul:not(.ln-facts) li { position: relative; padding-left: 22px !important; }
.ln-prose ul:not(.ln-facts) li + li { margin-top: 6px; }
.ln-prose ul:not(.ln-facts) li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 2px; background: var(--teal); }

/* Facts card */
.ln-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); gap: 1px; margin-block: 22px !important; }
.ln-fact { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 16px 18px; background: #fff; }
.ln-fact-ico { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--teal-soft); color: var(--teal-700); }
.ln-fact-ico .ln-ico { font-size: 18px; }
.ln-fact dt { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.ln-fact dd { font-size: 15.5px; line-height: 1.45; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.ln-facts .ln-fact:nth-last-child(1):nth-child(odd) { grid-column: 1 / -1; }

/* End of article */
.ln-end { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ln-copy { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ln-top { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.ln-top .ln-ico { transform: rotate(-90deg); }

/* Fallback when the text has no numbered sections */
.ln-plain { padding-block: clamp(48px, 6vw, 80px); max-width: 860px; }

@media (max-width: 1080px) {
  .ln-hero-grid { grid-template-columns: 1fr; }
  .ln-plate { justify-self: start; transform: none; }
  .ln-body { grid-template-columns: 1fr; }
  .ln-toc { position: static; }
  .ln-toc-box summary { pointer-events: auto; cursor: pointer; padding-bottom: 0; border-bottom: 0; }
  .ln-toc-box[open] summary { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .ln-toc-n::after { content: " +"; }
  .ln-toc-box[open] .ln-toc-n::after { content: " \2212"; }
  .ln-toc-bar { display: none; }
  .ln-article { max-width: none; }
}
/* Divi's phone and tablet header floats over the page: clear it */
@media (max-width: 980px) {
  .ln-hero { padding-top: 140px; }
  .ln { --head-offset: 110px; }
}
@media (max-width: 640px) {
  .ln { font-size: 16px; }
  .ln-facts { grid-template-columns: 1fr; }
  .ln-facts .ln-fact:nth-last-child(1):nth-child(odd) { grid-column: auto; }
  .ln-plate { display: none; }
  .ln-sec-head { grid-template-columns: auto 1fr; }
  .ln-sec-ico { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ln *, .ln *::before, .ln *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .ln-toc, .ln-top, .ln-hero::before { display: none !important; }
  .ln-hero { background: none; padding-block: 0 24px; }
  .ln-plate { transform: none; box-shadow: none; color: #000; background: none; border: 1px solid #999; }
  .ln-plate::after, .ln-seal, .ln-plate-top img { display: none; }
  .ln-plate-name, .ln-plate-rows dd, .ln-plate-rows dt { color: #000; }
  .ln-body { display: block; padding: 0; }
  .ln-sec { break-inside: avoid-page; }
}
