/* ==========================================================================
   Leadanic site styles (redesign 2026)
   Light theme: white page, cool grey tints, hairline grids, square surfaces.
   Round stays reserved for controls: buttons, inputs, avatars, small labels.
   Most layout lives inline in the templates; this file holds shared classes,
   states, animation and the styles for long-form content.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, see /fonts/OFL.txt) ---------- */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/geist-mono-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Page frame ---------- */
html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #FFFFFF;
  color: #0F1A15;
  font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
/* Footer always sits at the bottom: the frame is a full-height column and <main> takes the free space. */
.frame {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}
.rails {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  border-left: 1px solid rgba(15, 26, 21, .1);
  border-right: 1px solid rgba(15, 26, 21, .1);
}
.rails > main {
  flex-grow: 1;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #0F1A15;
  color: #FFFFFF;
  border-radius: 999px;
  font-size: 14.5px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
  color: #FFFFFF;
}

/* ---------- Shared classes ---------- */
html {
  scroll-behavior: smooth;
}

a {
  color: #047857;
}

a:hover {
  color: #0F1A15;
}

.ld {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ld *,
.ld *::before,
.ld *::after {
  box-sizing: border-box;
}

.ld a:focus-visible,
.ld button:focus-visible,
.ld summary:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 3px;
  border-radius: 8px;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

.hf-serif .dh {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hf-sans .dh {
  font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.anchor {
  scroll-margin-top: 88px;
}

.hd {
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}

/* ---------- Logo ({% logo %} from lib/logo.js): the letters stand on the bottom edge of the box ---------- */
.lgo {
  display: block;
  flex: none;
  overflow: visible;
}

.lgo-inline {
  display: inline-block;
  vertical-align: baseline;
}

/* Logo link in the header: 44 px tall to tap, the logo itself stays where it is */
.hd-logo {
  padding: 12px 0;
}

/* The square moves into place once, when someone arrives from outside (base.njk sets .lgo-seen on every
   click within the site). Reduced motion switches it off with all other animation. */
@keyframes ldLogo {
  from { opacity: 0; transform: translate(45%, -45%); }
}

.m-on .hd .lgo-sq {
  transform-box: fill-box;
  animation: ldLogo .55s cubic-bezier(.22, 1, .36, 1) .2s backwards;
}

.lgo-seen .hd .lgo-sq {
  animation: none;
}

.nl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 14.5px;
  color: #46514B;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s, background-color .15s;
}

.nl:hover,
.dd:focus-within > .nl {
  color: #0F1A15;
  background-color: rgba(15, 26, 21, .05);
}

.nl svg {
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.dd:hover > .nl svg,
.dd:focus-within > .nl svg {
  transform: rotate(180deg);
}

.dd {
  position: relative;
}

.dd-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 360px;
  margin-top: 6px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 26, 21, .1);
  border-radius: 0;
  box-shadow: 0 24px 48px -24px rgba(15, 26, 21, .35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .2s, transform .25s cubic-bezier(.22, 1, .36, 1), visibility .2s;
}

.dd-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}

.dd:hover .dd-panel,
.dd:focus-within .dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dd-item {
  display: block;
  padding: 12px 14px;
  border-radius: 0;
  color: #0F1A15;
  text-decoration: none;
  transition: background-color .15s;
}

.dd-item:hover {
  color: #0F1A15;
  background-color: #F2F4F3;
}

.dd-item span {
  display: block;
}

.lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  color: #5F6A64;
  text-decoration: none;
  transition: color .15s, background-color .15s;
}

.lg:hover {
  color: #0F1A15;
}

.lg-on,
.lg-on:hover {
  background-color: #0F1A15;
  color: #FFFFFF;
}

.burger {
  display: none;
  position: relative;
}

.burger summary {
  list-style: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 26, 21, .14);
  border-radius: 999px;
  cursor: pointer;
}

.burger summary::-webkit-details-marker {
  display: none;
}

.burger-panel {
  position: absolute;
  right: 0;
  top: 54px;
  width: min(320px, calc(100vw - 40px));
  padding: 10px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(15, 26, 21, .1);
  border-radius: 0;
  box-shadow: 0 24px 48px -24px rgba(15, 26, 21, .35);
}

.burger-panel a {
  padding: 12px 14px;
  border-radius: 0;
  font-size: 15.5px;
  color: #0F1A15;
  text-decoration: none;
}

.burger-panel a:hover {
  background-color: #F2F4F3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, background-color .2s;
}

.btn-p,
.btn-p:hover {
  color: #FFFFFF;
}

.btn-p {
  background-color: #047857;
}

.btn-p:hover {
  background-color: #065F46;
  box-shadow: 0 12px 26px -14px rgba(4, 120, 87, .9);
  transform: translateY(-1px);
}

.btn-s,
.btn-s:hover {
  color: #0F1A15;
}

.btn-s {
  background-color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(15, 26, 21, .14);
}

.btn-s:hover {
  box-shadow: inset 0 0 0 1px rgba(15, 26, 21, .34);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.arr {
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.btn:hover .arr {
  transform: translateX(3px);
}

.lk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: #0F1A15;
  text-decoration: none;
}

.lk:hover {
  color: #047857;
}

.lk:hover .arr {
  transform: translateX(4px);
}

.fl {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #46514B;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s;
}

.fl:hover {
  color: #0F1A15;
}

.g2 {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  background-color: rgba(15, 26, 21, .1);
}

.g2 > * {
  background-color: #FFFFFF;
}

.gd {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background-color: rgba(242, 245, 243, .14);
}

.gd > * {
  background-color: #0D1713;
}

.gc3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-row {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px 48px;
  padding: 32px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(15, 26, 21, .1);
}

.g3 {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background-color: rgba(15, 26, 21, .1);
}

.g3 > * {
  background-color: #FFFFFF;
}

.why-row {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 6px 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(15, 26, 21, .14);
}

.cell {
  transition: background-color .25s;
}

.cell:hover {
  background-color: #F2F4F3;
}

.vg-card {
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.svc:hover .vg-card {
  transform: translateY(-4px);
}

.mq {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.mq-track {
  display: flex;
  width: max-content;
}

.mq-set {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
}

.mq-set img {
  display: block;
  height: 22px;
  width: auto;
  filter: grayscale(1);
  opacity: .62;
  transition: opacity .25s, filter .25s;
}

.mq-set img:hover {
  filter: none;
  opacity: 1;
}

.faq summary {
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq .pm {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .2s;
}

.faq summary:hover .pm {
  background-color: #F2F4F3;
}

.faq[open] .pm {
  transform: rotate(45deg);
}

.in {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(15, 26, 21, .16);
  border-radius: 10px;
  background-color: #F7F9F8;
  font: inherit;
  font-size: 15px;
  color: #0F1A15;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.in::placeholder {
  color: #66706A;
}

.in:focus {
  outline: none;
  border-color: #059669;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
}

textarea.in {
  height: 104px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.dots {
  background-image: radial-gradient(rgba(15, 26, 21, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 78%);
}

.hv-type {
  display: inline-block;
  vertical-align: bottom;
}

.hv-caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: #10B981;
}

.m-on .rise {
  animation: ldBlurIn .9s cubic-bezier(.22, 1, .36, 1) both;
}

.m-on .rise.d1 {
  animation-delay: .08s;
}

.m-on .rise.d2 {
  animation-delay: .16s;
}

.m-on .rise.d3 {
  animation-delay: .26s;
}

.m-on .rise.d4 {
  animation-delay: .36s;
}

.m-on .mq-track {
  animation: ldMarquee 84s linear infinite;
}

.mq:hover .mq-track {
  animation-play-state: paused;
}

.m-on .hv-f {
  animation: hvFade 14s linear infinite;
}

.m-on .hv-type {
  animation: hvType 14s linear infinite;
}

.m-on .hv-caret {
  animation: hvCaret 14s linear infinite, hvBlink 1s steps(2, start) infinite;
}

.m-on .hv-up {
  animation: hvUp 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-dn {
  animation: hvDn 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-l1 {
  animation: hvL1 14s linear infinite;
}

.m-on .hv-l2 {
  animation: hvL2 14s linear infinite;
}

.m-on .hv-l3 {
  animation: hvL3 14s linear infinite;
}

.m-on .hv-chip {
  animation: hvPopA 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-reply {
  animation: hvPopB 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-badge {
  animation: hvPopC 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-b1 {
  animation: hvBar1 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-b2 {
  animation: hvBar2 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-b3 {
  animation: hvBar3 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-b4 {
  animation: hvBar4 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .hv-b5 {
  animation: hvBar5 14s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .va-bar {
  animation: vaBar 8s cubic-bezier(.22, 1, .36, 1) both infinite;
}

.m-on .vs-line {
  stroke-dasharray: 360;
  animation: vsLine 8s cubic-bezier(.4, 0, .2, 1) 1s both infinite;
}

.m-on .vs-area {
  animation: vsArea 8s linear 1s both infinite;
}

.m-on .vs-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: vsDot 8s cubic-bezier(.22, 1, .36, 1) 1s both infinite;
}

.m-on .vx1 {
  animation: vxPop1 8s cubic-bezier(.22, 1, .36, 1) 2s both infinite;
}

.m-on .vx2 {
  animation: vxPop2 8s cubic-bezier(.22, 1, .36, 1) 2s both infinite;
}

.m-on .vx3 {
  animation: vxPop3 8s cubic-bezier(.22, 1, .36, 1) 2s both infinite;
}

.m-on .vx4 {
  animation: vxPop4 8s cubic-bezier(.22, 1, .36, 1) 2s both infinite;
}

.m-on .pz-slot {
  animation: pzSlot 9s cubic-bezier(.22, 1, .36, 1) both infinite;
}

.m-on .pz-ok {
  animation: pzOk 9s cubic-bezier(.22, 1, .36, 1) both infinite;
}

.m-on .pz-rb {
  animation: pzRb 9s cubic-bezier(.22, 1, .36, 1) both infinite;
}

.m-on .pz-bar {
  animation: pzBar 9s cubic-bezier(.22, 1, .36, 1) both infinite;
}

@keyframes ldBlurIn {
  from { opacity: 0; transform: translateY(16px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes ldMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ldRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@keyframes ldGrowX {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes ldNav {
  from { background-color: rgba(255, 255, 255, 0); border-bottom-color: rgba(15, 26, 21, 0); }
  to { background-color: rgba(255, 255, 255, .88); border-bottom-color: rgba(15, 26, 21, .1); }
}

@keyframes hvFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  95% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes hvType {
  0%, 4% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(32, end); }
  20%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hvCaret {
  0%, 4% { transform: translateX(-32ch); animation-timing-function: steps(32, end); }
  20%, 100% { transform: translateX(0); }
}

@keyframes hvBlink {
  to { visibility: hidden; }
}

@keyframes hvUp {
  0%, 22% { transform: translateY(128px); background-color: #EDF0EE; }
  30% { transform: translateY(0); background-color: #EDF0EE; }
  35%, 100% { transform: translateY(0); background-color: #E4F3EA; }
}

@keyframes hvDn {
  0%, 22% { transform: translateY(-64px); }
  30%, 100% { transform: translateY(0); }
}

@keyframes hvL1 {
  0%, 31% { clip-path: inset(0 100% 0 0); }
  36%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hvL2 {
  0%, 36% { clip-path: inset(0 100% 0 0); }
  41%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hvL3 {
  0%, 41% { clip-path: inset(0 100% 0 0); }
  46%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes hvPopA {
  0%, 47% { opacity: 0; transform: translateY(6px) scale(.94); }
  51%, 100% { opacity: 1; transform: none; }
}

@keyframes hvPopB {
  0%, 50% { opacity: 0; transform: translateY(8px) scale(.96); }
  54%, 100% { opacity: 1; transform: none; }
}

@keyframes hvPopC {
  0%, 56% { opacity: 0; transform: translateY(6px) scale(.94); }
  60%, 100% { opacity: 1; transform: none; }
}

@keyframes hvBar1 {
  0%, 62% { transform: scaleY(.2); }
  66%, 100% { transform: scaleY(1); }
}

@keyframes hvBar2 {
  0%, 64% { transform: scaleY(.2); }
  68%, 100% { transform: scaleY(1); }
}

@keyframes hvBar3 {
  0%, 66% { transform: scaleY(.2); }
  70%, 100% { transform: scaleY(1); }
}

@keyframes hvBar4 {
  0%, 68% { transform: scaleY(.2); }
  72%, 100% { transform: scaleY(1); }
}

@keyframes hvBar5 {
  0%, 70% { transform: scaleY(.2); }
  74%, 100% { transform: scaleY(1); }
}

@keyframes vaBar {
  0%, 8% { transform: scaleX(.18); }
  34%, 92% { transform: scaleX(1); }
  100% { transform: scaleX(.18); }
}

@keyframes vsLine {
  0%, 6% { stroke-dashoffset: 360; }
  42%, 92% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 360; }
}

@keyframes vsArea {
  0%, 30% { opacity: 0; }
  48%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes vsDot {
  0%, 40% { opacity: 0; transform: scale(.2); }
  46%, 92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.2); }
}

@keyframes vxPop1 {
  0%, 10% { opacity: 0; transform: scale(.85); }
  15%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.85); }
}

@keyframes vxPop2 {
  0%, 20% { opacity: 0; transform: scale(.85); }
  25%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.85); }
}

@keyframes vxPop3 {
  0%, 30% { opacity: 0; transform: scale(.85); }
  35%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.85); }
}

@keyframes vxPop4 {
  0%, 40% { opacity: 0; transform: scale(.85); }
  45%, 94% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.85); }
}

@keyframes pzSlot {
  0%, 18% { background-color: #FFFFFF; color: #0F1A15; border-color: rgba(15, 26, 21, .14); }
  26%, 92% { background-color: #047857; color: #FFFFFF; border-color: #047857; }
  100% { background-color: #FFFFFF; color: #0F1A15; border-color: rgba(15, 26, 21, .14); }
}

@keyframes pzOk {
  0%, 28% { opacity: 0; transform: translateY(4px); }
  34%, 92% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(4px); }
}

@keyframes pzRb {
  0%, 6% { transform: scaleX(0); }
  20%, 90% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@keyframes pzBar {
  0%, 6% { transform: scaleY(.1); }
  20%, 90% { transform: scaleY(1); }
  100% { transform: scaleY(.1); }
}

.nl-on {
  color: #0F1A15;
  background-color: rgba(15, 26, 21, .05);
}

.g4 {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background-color: rgba(15, 26, 21, .1);
}

.g4 > * {
  background-color: #FFFFFF;
}

.led-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 8px 48px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(15, 26, 21, .14);
}

.cardl {
  transition: border-color .2s, box-shadow .2s, transform .25s cubic-bezier(.22, 1, .36, 1);
}

.cardl:hover {
  border-color: rgba(15, 26, 21, .3) !important;
  box-shadow: 0 18px 36px -26px rgba(15, 26, 21, .45);
  transform: translateY(-2px);
}

.cardl:hover .arr {
  transform: translateX(4px);
}

.m-on .sh-f {
  animation: shFade 12s linear infinite;
}

.m-on .sh-l1 {
  animation: shL1 12s linear infinite;
}

.m-on .sh-l2 {
  animation: shL2 12s linear infinite;
}

.m-on .sh-l3 {
  animation: shL3 12s linear infinite;
}

.m-on .sh-src {
  animation: shSrc 12s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .sh-e1 {
  animation: shE1 12s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .sh-e2 {
  animation: shE2 12s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .sh-e3 {
  animation: shE3 12s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .sh-e4 {
  animation: shE4 12s cubic-bezier(.22, 1, .36, 1) infinite;
}

@keyframes shFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  94% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes shL1 {
  0%, 7% { clip-path: inset(0 100% 0 0); }
  13%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes shL2 {
  0%, 13% { clip-path: inset(0 100% 0 0); }
  19%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes shL3 {
  0%, 19% { clip-path: inset(0 100% 0 0); }
  25%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes shSrc {
  0%, 27% { opacity: 0; transform: translateY(6px) scale(.94); }
  31%, 100% { opacity: 1; transform: none; }
}

@keyframes shE1 {
  0%, 36% { opacity: 0; transform: translateY(6px) scale(.94); }
  39%, 100% { opacity: 1; transform: none; }
}

@keyframes shE2 {
  0%, 42% { opacity: 0; transform: translateY(6px) scale(.94); }
  45%, 100% { opacity: 1; transform: none; }
}

@keyframes shE3 {
  0%, 48% { opacity: 0; transform: translateY(6px) scale(.94); }
  51%, 100% { opacity: 1; transform: none; }
}

@keyframes shE4 {
  0%, 54% { opacity: 0; transform: translateY(6px) scale(.94); }
  57%, 100% { opacity: 1; transform: none; }
}

.fr {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  height: 52px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: #46514B;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.chip:hover {
  color: #0F1A15;
}

.fr:checked + .chip {
  color: #0F1A15;
  border-bottom-color: #10B981;
}

.pg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-right: -1px;
}

.pc {
  transition: background-color .25s;
}

.pc:hover {
  background-color: #F2F4F3 !important;
}

.pc:hover .arr {
  transform: translateX(4px);
}

.fr:focus-visible + .chip {
  outline: 2px solid #059669;
  outline-offset: 3px;
}

.blog:has(#t-seo:checked) [data-c]:not([data-c="seo"]),
.blog:has(#t-ads:checked) [data-c]:not([data-c="ads"]),
.blog:has(#t-llm:checked) [data-c]:not([data-c="llm"]),
.blog:has(#t-growth:checked) [data-c]:not([data-c="growth"]) {
  display: none !important;
}

/* Article header: two blocks of two lines each. The author (name, role), then the dates (date, reading
   time), set in the same sizes so the lines of both blocks sit on the same height. The hairline between
   them belongs to the dates: when they wrap below the author on a narrow screen, it moves out of the row
   and is cut off. The row keeps 6px of room on every side so the focus ring of the author link is not
   cut with it. */
.bp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 41px;
  margin: 22px -6px -6px;
  padding: 6px;
  overflow: hidden;
}

.bp-dates {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: -21px;
  padding-left: 20px;
  border-left: 1px solid rgba(15, 26, 21, 0.14);
  line-height: 1.35;
}

/* first line like the author's name (without the weight), second line like the role */
.bp-dates > :first-child {
  font-size: 15px;
  color: #0F1A15;
}

.bp-dates > :last-child {
  font-size: 13.5px;
  color: #5F6A64;
}

.prose {
  font-size: 18px;
  line-height: 1.7;
  color: #27322C;
  /* long URLs in running text wrap instead of pushing the page sideways on phones */
  overflow-wrap: break-word;
}

.prose p {
  margin: 0 0 22px;
}



.prose strong {
  font-weight: 600;
  color: #0F1A15;
}

.prose h2 {
  margin: 56px 0 18px;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.2;
  color: #0F1A15;
  scroll-margin-top: 96px;
}

.prose h3 {
  margin: 36px 0 12px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #0F1A15;
}

.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid #10B981;
}

.prose blockquote p {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  color: #0F1A15;
}

.prose table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.5;
  text-align: left;
}

.prose th {
  padding: 12px 16px;
  background: #F2F4F3;
  border-bottom: 1px solid rgba(15, 26, 21, .1);
  font-size: 13.5px;
  font-weight: 500;
  color: #5F6A64;
}

.prose td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 26, 21, .08);
  vertical-align: top;
  color: #46514B;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose td:first-child {
  font-weight: 500;
  color: #0F1A15;
}

.gl li {
  position: relative;
  margin-top: 12px;
  padding-left: 22px;
}

.gl li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #10B981;
}

.toc a {
  display: block;
  padding: 9px 0 9px 14px;
  border-left: 2px solid rgba(15, 26, 21, .1);
  font-size: 14.5px;
  line-height: 1.4;
  color: #46514B;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}

.toc a:hover {
  color: #0F1A15;
  border-left-color: #10B981;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.url-wrap {
  transition: border-color .2s, box-shadow .2s;
}

.url-wrap:focus-within {
  border-color: #059669 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16) !important;
}

.url-in::placeholder {
  color: #66706A;
}

.ex {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background-color: #EDF0EE;
  font-size: 12.5px;
  color: #0F1A15;
  cursor: pointer;
  transition: background-color .2s;
}

.ex:hover {
  background-color: #E4F3EA;
}

.res-off .res {
  display: none !important;
}

.res-on .res-empty {
  display: none !important;
}

.m-on .cg-arc {
  animation: cgArc 1.6s cubic-bezier(.22, 1, .36, 1) .5s both;
}

.m-on .cg-bar {
  animation: cgBar 1.2s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes cgArc {
  from { stroke-dashoffset: var(--arc, 173.4); }
  to { stroke-dashoffset: 0; }
}

@keyframes cgBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.m-on .dv-f {
  animation: dvFade 11s linear infinite;
}

.m-on .dv-l1 {
  animation: dvL1 11s steps(28, end) infinite;
}

.m-on .dv-l2 {
  animation: dvL2 11s cubic-bezier(.22, 1, .36, 1) infinite;
}

.m-on .dv-l3 {
  animation: dvL3 11s linear infinite;
}

.m-on .dv-l4 {
  animation: dvL4 11s steps(24, end) infinite;
}

.m-on .dv-pick {
  animation: dvPick 11s cubic-bezier(.22, 1, .36, 1) infinite;
}

@keyframes dvFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  94% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes dvL1 {
  0%, 4% { clip-path: inset(0 100% 0 0); }
  18%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes dvL2 {
  0%, 22% { opacity: 0; transform: translateY(6px) scale(.94); }
  25%, 100% { opacity: 1; transform: none; }
}

@keyframes dvL3 {
  0%, 30% { clip-path: inset(0 100% 0 0); }
  38%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes dvL4 {
  0%, 42% { clip-path: inset(0 100% 0 0); }
  52%, 100% { clip-path: inset(0 0 0 0); }
}

@keyframes dvPick {
  0%, 56% { opacity: 0; transform: translateY(6px) scale(.94); }
  60%, 100% { opacity: 1; transform: none; }
}

.az a,
.az span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}

.az a {
  color: #0F1A15;
  transition: background-color .15s, color .15s;
}

.az a:hover {
  background-color: #E4F3EA;
  color: #047857;
}

.az span {
  color: #A7B2AB;
}

.az-sec {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 12px 24px;
  scroll-margin-top: 140px;
}

.gt {
  display: block;
  padding: 8px 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #0F1A15;
  text-decoration: none;
  transition: color .15s;
}

.gt:hover {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a {
  color: #047857;
  text-decoration: underline;
  text-decoration-color: rgba(4, 120, 87, .4);
  text-underline-offset: 3px;
  overflow-wrap: break-word;
}

.legal a:hover {
  color: #0F1A15;
  text-decoration-color: #0F1A15;
}

/* Safety net: one very long word in a heading wraps instead of pushing the page sideways */
.frame h1,
.frame h2,
.frame h3 {
  overflow-wrap: break-word;
}
/* On phones a compound that is longer than a whole line ("Indexierungsgeschwindigkeit") gets a real hyphen.
   Only in browsers that can limit hyphenation to such words, everything shorter still wraps as a whole. */
@supports (hyphenate-limit-chars: 18 6 6) {
  @media (max-width: 480px) {
    .frame h1 {
      hyphens: auto;
      hyphenate-limit-chars: 18 6 6;
    }
    .frame h2,
    .frame h3 {
      hyphens: auto;
      hyphenate-limit-chars: 25 6 6;
    }
  }
}
/* One-word German titles such as "Datenschutzerklärung" have to fit a phone screen */
@media (max-width: 480px) {
  .legal-h1 {
    font-size: clamp(28px, 8.2vw, 38px) !important;
  }
}

@supports (interpolate-size: allow-keywords) {
  .ld {
    interpolate-size: allow-keywords;
  }
  .faq::details-content {
    height: 0;
    overflow: hidden;
    transition: height .35s cubic-bezier(.22, 1, .36, 1), content-visibility .35s allow-discrete;
  }
  .faq[open]::details-content {
    height: auto;
  }
}

@supports (animation-timeline: view()) {
  .m-on .rv {
    animation: ldRise linear both;
    animation-timeline: view();
    animation-range: entry 0px entry 280px;
  }
  .m-on .rv.d1 {
    animation-range: entry 50px entry 330px;
  }
  .m-on .rv.d2 {
    animation-range: entry 100px entry 380px;
  }
  .m-on .rv.d3 {
    animation-range: entry 150px entry 430px;
  }
  .m-on .pr-fill {
    animation: ldGrowX linear both;
    animation-timeline: view();
    animation-range: entry 80px entry 460px;
  }
  .m-on .hd {
    animation: ldNav linear both;
    animation-timeline: scroll(nearest block);
    animation-range: 0px 140px;
  }
}

@media (min-width: 981px) {
  .stick {
    position: sticky;
    top: 108px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none !important;
  }
  .burger {
    display: block;
  }
  .toc-col {
    display: none;
  }
}

@media (max-width: 900px) {
  .svc-row,
  .g3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .gd {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gc3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .hv-conn {
    height: 20px !important;
  }
  .hv-conn span {
    display: none;
  }
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .led-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .pg {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .g2,
  .gd,
  .why-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .g2 {
    grid-auto-rows: auto;
  }
  .hide-sm {
    display: none !important;
  }
  .g4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .az-sec {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ld *,
  .ld *::before,
  .ld *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Header dropdowns opened by click/tap (site.js) ---------- */
.dd.dd-open .dd-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dd.dd-open > .nl svg {
  transform: rotate(180deg);
}
[hidden] {
  display: none !important;
}

/* ---------- Cookie consent (orestbida/cookieconsent v3) in the site look ---------- */
:root {
  --cc-font-family: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --cc-modal-border-radius: 0;
  --cc-btn-border-radius: 999px;
  --cc-bg: #FFFFFF;
  --cc-primary-color: #0F1A15;
  --cc-secondary-color: #46514B;
  --cc-btn-primary-bg: #047857;
  --cc-btn-primary-color: #FFFFFF;
  --cc-btn-primary-border-color: #047857;
  --cc-btn-primary-hover-bg: #065F46;
  --cc-btn-primary-hover-color: #FFFFFF;
  --cc-btn-primary-hover-border-color: #065F46;
  --cc-btn-secondary-bg: #F2F4F3;
  --cc-btn-secondary-color: #0F1A15;
  --cc-btn-secondary-border-color: #F2F4F3;
  --cc-btn-secondary-hover-bg: #E4F3EA;
  --cc-btn-secondary-hover-color: #0F1A15;
  --cc-btn-secondary-hover-border-color: #E4F3EA;
  --cc-separator-border-color: rgba(15, 26, 21, .1);
  --cc-toggle-on-bg: #047857;
  --cc-toggle-off-bg: #8A958F;
  --cc-toggle-readonly-bg: #CBD3CE;
  --cc-cookie-category-block-bg: #F2F4F3;
  --cc-cookie-category-block-border: #F2F4F3;
  --cc-cookie-category-block-hover-bg: #EDF0EE;
  --cc-cookie-category-block-hover-border: #EDF0EE;
  --cc-cookie-category-expanded-block-bg: #F2F4F3;
  --cc-cookie-category-expanded-block-hover-bg: #EDF0EE;
  --cc-overlay-bg: rgba(15, 26, 21, .5);
  --cc-footer-bg: #F2F4F3;
  --cc-footer-color: #46514B;
  --cc-footer-border-color: rgba(15, 26, 21, .1);
  --cc-link-color: #047857;
}
#cc-main a {
  color: #047857;
}
#cc-main a:hover {
  color: #0F1A15;
}
/* Blocks inside the preferences modal are square like every other surface; buttons and switches stay round. */
#cc-main .pm__section,
#cc-main .pm__section--toggle,
#cc-main .pm__section-title,
#cc-main .pm__section--toggle .pm__section-desc-wrapper {
  border-radius: 0;
}

/* ---------- Form controls: selects get the same face as inputs ---------- */
select.in {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%2346514B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

/* ---------- Comparison table: all columns stay on screen on phones ----------
   Columns take the width their longest word needs, so no word is split in the
   middle. Below 344px the table scrolls sideways inside its frame. */
@media (max-width: 560px) {
  .cmp {
    min-width: 0 !important;
    font-size: 13.5px !important;
  }
  .cmp th,
  .cmp td {
    width: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    overflow-wrap: break-word;
  }
  .cmp th:first-child,
  .cmp td:first-child {
    padding-left: 16px !important;
  }
}
@media (max-width: 380px) {
  .cmp {
    font-size: 13px !important;
  }
  .cmp th,
  .cmp td {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .cmp th:first-child,
  .cmp td:first-child {
    padding-left: 14px !important;
  }
}

/* ---------- Hairline grids: filler cells close the last row ---------- */
@media (max-width: 900px) {
  .gfill3 {
    display: none;
  }
}
@media (max-width: 560px) {
  .gfill2 {
    display: none;
  }
}

/* ==========================================================================
   Long-form content (.prose): blog posts, glossary entries, legal pages.
   The markup comes from the content files; lib/article.js strips the old
   dark-theme inline styles at build time so these rules decide the look.
   ========================================================================== */
.prose > :first-child {
  margin-top: 0;
}
.prose > :last-child {
  margin-bottom: 0;
}
.prose a:not(.btn-primary):not(.btn):not(.lk) {
  color: #047857;
  text-decoration: underline;
  text-decoration-color: rgba(4, 120, 87, .4);
  text-underline-offset: 3px;
  overflow-wrap: break-word;
}
.prose a:not(.btn-primary):not(.btn):not(.lk):hover {
  color: #0F1A15;
  text-decoration-color: #0F1A15;
}
.prose h2 {
  text-wrap: balance;
}
.prose h4 {
  margin: 28px 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: #0F1A15;
}
.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.prose ul {
  list-style: square;
}
.prose ul > li::marker {
  color: #10B981;
}
.prose ol > li::marker {
  font-weight: 500;
  color: #047857;
}
.prose li {
  margin-top: 8px;
}
.prose li > ul,
.prose li > ol {
  margin: 8px 0 0;
}
.prose li > p {
  margin: 0;
}
.prose img,
.prose svg,
.prose video,
.prose iframe {
  max-width: 100%;
}
.prose img {
  height: auto;
}
.prose code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #F2F4F3;
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .88em;
  overflow-wrap: break-word;
}
.prose pre {
  margin: 24px 0;
  padding: 20px 24px;
  background: #F2F4F3;
  overflow-x: auto;
  font-family: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 14px;
  line-height: 1.6;
  color: #0F1A15;
}
.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
  overflow-wrap: normal;
}
.prose hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid rgba(15, 26, 21, .1);
}

/* Tables: hairline frame, scroll sideways on small screens */
.prose .bp-table,
.prose .bp-table-wrapper {
  margin: 28px 0 32px;
  border: 1px solid rgba(15, 26, 21, .1);
  overflow-x: auto;
}

/* "At a glance" box */
.prose .key-takeaways {
  margin: 32px 0 8px;
  padding: 26px 28px 28px;
  background: #F2F4F3;
}
.prose .key-takeaways h3 {
  margin: 0;
  font-size: 19px;
}
.prose .key-takeaways ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: #46514B;
}
.prose .key-takeaways li {
  position: relative;
  margin-top: 12px;
  padding-left: 22px;
}
.prose .key-takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #10B981;
}
.prose .key-takeaways > p:last-child {
  margin-bottom: 0;
}

/* Call-to-action box inside an article */
.prose .bp-cta {
  margin: 36px 0 8px;
  padding: 28px;
  background: #E4F3EA;
}
.prose .bp-cta h3 {
  margin: 0;
  font-size: 21px;
}
.prose .bp-cta p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #46514B;
}
.prose .bp-cta .btn-primary {
  margin-top: 20px;
}
.prose a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #047857;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, background-color .2s;
}
.prose a.btn-primary:hover {
  background-color: #065F46;
  color: #FFFFFF;
  box-shadow: 0 12px 26px -14px rgba(4, 120, 87, .9);
  transform: translateY(-1px);
}

/* Notes and callouts */
.prose .bp-note {
  margin: 24px 0;
  padding: 20px 24px;
  background: #F2F4F3;
  font-size: 16.5px;
  line-height: 1.6;
}
.prose .bp-note > :first-child {
  margin-top: 0;
}
.prose .bp-note > :last-child {
  margin-bottom: 0;
}

/* FAQ inside an article */
.prose .bp-faq {
  margin: 24px 0 8px;
  border-top: 1px solid rgba(15, 26, 21, .14);
}
.prose .bp-faq-item {
  border-bottom: 1px solid rgba(15, 26, 21, .14);
}
.prose .bp-faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #0F1A15;
  cursor: pointer;
}
.prose .bp-faq-item > summary::-webkit-details-marker {
  display: none;
}
.prose .bp-faq-item > summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(15, 26, 21, .16);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 2v10M2 7h10' stroke='%230F1A15' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), background-color .2s;
}
.prose .bp-faq-item > summary:hover::after {
  background-color: #F2F4F3;
}
.prose .bp-faq-item[open] > summary::after {
  transform: rotate(45deg);
}
.prose .bp-faq-item > :not(summary) {
  margin: 0;
  padding: 0 56px 26px 0;
  font-size: 16px;
  line-height: 1.65;
  color: #46514B;
}
.prose .bp-faq-item > :not(summary):not(:last-child) {
  padding-bottom: 12px;
}
.prose .bp-faq-item > div > :last-child {
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .prose {
    font-size: 17px;
  }
  .prose .bp-faq-item > :not(summary) {
    padding-right: 0;
  }
  .prose .key-takeaways,
  .prose .bp-cta,
  .prose .bp-note {
    padding: 22px 20px;
  }
}

/* ---------- Glossary entry: the side column moves below the text on small screens ---------- */
@media (max-width: 980px) {
  .side-col {
    flex: 1 1 100% !important;
    padding: 32px clamp(20px, 4vw, 48px) 40px !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(15, 26, 21, .1);
  }
}

/* ---------- Legal pages: heading left, text right ---------- */
.legal h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #0F1A15;
}
.legal p,
.legal ul,
.legal ol {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: #46514B;
}
.legal ul,
.legal ol {
  padding-left: 20px;
}
.legal li {
  margin-top: 6px;
}
.legal h3 {
  margin: 28px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #0F1A15;
}
.legal strong {
  font-weight: 500;
  color: #0F1A15;
}
.legal > div > :first-child {
  margin-top: 0;
}
.legal-intro {
  padding: 26px 0;
  border-bottom: 1px solid rgba(15, 26, 21, .14);
}
.legal-intro > :first-child {
  margin-top: 0;
}

/* Links inside headings of long-form content keep the heading colour */
.prose h2 a:not(.btn),
.prose h3 a:not(.btn) {
  color: inherit !important;
  text-decoration-color: rgba(15, 26, 21, .28) !important;
}

/* ---------- Small-screen text swap (short label on phones) ---------- */
.show-sm {
  display: none;
}
@media (max-width: 560px) {
  .show-sm {
    display: inline;
  }
}

/* ---------- Buttons with long labels wrap on phones instead of overflowing ---------- */
@media (max-width: 560px) {
  .btn {
    max-width: 100%;
    height: auto;
    min-height: 48px;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

/* ---------- Header on phones: compact button so logo, button and menu always fit ---------- */
@media (max-width: 560px) {
  .hd-r {
    min-width: 0;
  }
  .hd .btn {
    min-width: 0;
    min-height: 44px;
    padding: 0 14px !important;
    white-space: nowrap;
  }
  .hd .btn .show-sm {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Logo in the header on phones: sign 16 px high instead of 20. Below 360 px there is no room for the word
   next to button and menu, so the sign stands alone (the link shows only the first 20 px of the logo). */
@media (max-width: 480px) {
  .hd .lgo {
    width: 114.58px;
    height: 16px;
  }
}

@media (max-width: 359px) {
  .hd .lgo {
    width: 143.22px;
    height: 20px;
  }
  .hd-logo {
    width: 20px;
    overflow: hidden;
  }
}
