/* abykys.com */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --purple: #3f32ab;
  --purple-dark: #2f2585;
  --lavender: #a89ef7;
  --lavender-light: #d9d4fb;
  --green: #447f3f;
  --green-brand: #6bab65;
  --green-light: #a5e39f;
  --text: #191614;
  --black: #0a0202;
  --white: #fff;
  --head: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1100px;
  --pad: clamp(20px, 6vw, 90px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 28px;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 500; }
h1, h2, h3, h4 { font-family: var(--head); }
h1 { font-size: clamp(36px, 4vw, 50px); line-height: 1.1; letter-spacing: -.04em; font-weight: 300; color: var(--purple); }
h2 { font-size: clamp(30px, 3.4vw, 43px); line-height: 1.2; letter-spacing: -.03em; color: var(--purple); }
h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.03em; color: var(--black); }
h4 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; letter-spacing: -.02em; font-weight: 300; text-transform: capitalize; }
h5 { font-family: var(--body); font-size: 13px; line-height: 1.7; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 600; }
p { margin: 0 0 1.4em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 300; background: #fff; padding: 8px 14px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* header */
.header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  height: 86px;
  box-shadow: 0 0 1px rgba(0,0,0,.15);
}
.header-inner {
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(16px, 2.5vw, 32px);
}
.menu-btn {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 400 11px/1 var(--body); letter-spacing: 1.3px; text-transform: uppercase; color: var(--text);
}
.burger { position: relative; width: 22px; height: 14px; }
.burger span { position: absolute; left: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s, width .25s; }
.burger span:nth-child(1) { top: 0; width: 22px; }
.burger span:nth-child(2) { top: 6px; width: 16px; }
.burger span:nth-child(3) { top: 12px; width: 22px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.logo img { height: 40px; width: auto; }
.logo .logo-white { display: none; }
.menu-open .logo .logo-black { display: none; }
.menu-open .logo .logo-white { display: block; }
.menu-open .header { background: transparent; box-shadow: none; }
.menu-open .menu-btn { color: #fff; }

.contact-btn {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lavender-light); color: var(--black);
  border-radius: 200px; padding: 9px 18px;
  font: 400 11px/1.2 var(--body); letter-spacing: 1.3px; text-transform: uppercase; text-decoration: none;
  transition: background .2s;
}
.contact-btn:hover { background: var(--lavender); color: var(--black); }
.contact-btn img { width: 16px; height: 16px; border-radius: 50%; }

/* fullscreen menu */
.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-open .overlay { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.overlay ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.overlay li { margin: 0; }
.overlay a {
  display: inline-block; padding: 6px 0;
  font: 500 clamp(36px, 4.7vw, 60px)/1.6 var(--head);
  color: #fff; text-decoration: none; text-transform: capitalize;
  background: linear-gradient(#fff, #fff) no-repeat 0 92% / 0 2px;
  transition: background-size .3s;
}
.overlay a:hover, .overlay a[aria-current="page"] { background-size: 100% 2px; color: #fff; }

@media (max-width: 690px) {
  .header { height: 64px; }
  .logo img { height: 26px; }
  .menu-btn .label { display: none; }
  .contact-btn { padding: 8px 12px; }
  .contact-btn .label { display: none; }
  .contact-btn img { width: 18px; height: 18px; }
}

/* sections */
.section { padding: clamp(60px, 8vw, 100px) 0; }
.section--tight { padding: clamp(36px, 4vw, 50px) 0; }
.bg-purple { background: var(--purple); color: #fff; }
.bg-purple h2, .bg-purple h3, .bg-purple h4 { color: #fff; }
.bg-purple a { color: #fff; }
.bg-green { background: var(--green); color: #fff; }
.bg-green h2, .bg-green h3, .bg-green h4 { color: #fff; }
.bg-green-light { background: var(--green-light); }
.bg-lavender { background: var(--lavender); }
.bg-lavender h2 { color: var(--black); }

.grid-2 { display: grid; gap: 40px 70px; grid-template-columns: 1fr; align-items: center; }
.grid-2.top { align-items: start; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* home hero */
.hero { padding: clamp(34px, 4vw, 40px) 0 clamp(40px, 5vw, 60px); overflow: hidden; }
.hero-lines { max-width: 900px; margin: 0 auto; padding: 0 var(--pad); }
.hero h1 { margin: 0; }
.hero .row1 { display: flex; align-items: center; gap: 36px; }
.bars { width: clamp(46px, 5.5vw, 70px); height: auto; }
.bars rect { transform-origin: bottom; animation: grow 2.8s ease-in-out infinite; }
.bars rect:nth-child(2) { animation-delay: .2s; }
.bars rect:nth-child(3) { animation-delay: .4s; }
@keyframes grow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }
.hero .rule { height: 1px; margin: 22px 0; }
.hero .rule-1 { width: 160px; background: var(--green-light); }
.hero .rule-2 { width: 540px; max-width: 70%; margin-left: auto; background: var(--lavender); }
.hero .row2 { padding-left: clamp(20px, 7vw, 90px); margin-top: 34px; }
.hero .row2 h1 + h1 { padding-left: clamp(14px, 3vw, 40px); }
.hero .intro { max-width: 520px; margin: 30px 0 0 clamp(20px, 7vw, 90px); font-size: 17px; }

/* how we solve */
.solve-list h4 { margin-top: 28px; margin-bottom: 8px; }
.solve-list h4:first-of-type { margin-top: 10px; }
.solve-img { border: 1px solid #ddd; }

/* big link band */
.band a {
  display: inline-flex; align-items: center; gap: 22px;
  font: 500 clamp(24px, 3vw, 38px)/1.2 var(--head); letter-spacing: -.03em;
  color: var(--black); text-decoration: none;
}
.band.bg-green a { color: #fff; }
.band a::before { content: ""; width: 18px; height: 2px; background: currentColor; flex: none; transition: width .3s; }
.band a:hover::before { width: 40px; }

/* DMI */
.dmi-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.dmi-head img { width: 220px; }
.dmi-intro { max-width: 900px; margin: 30px 0 46px; }
.tabs { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tabs { grid-template-columns: 260px 1fr; gap: 0 60px; } }
.tablist { display: flex; flex-direction: column; gap: 14px; }
.tablist button {
  display: flex; align-items: flex-start; gap: 16px; text-align: left; cursor: pointer;
  border: 0; border-radius: 6px; padding: 22px 20px;
  background: rgba(0,0,0,.05); color: #3d3a52;
  font: 600 13px/23px var(--body); letter-spacing: 1.3px; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.tablist button svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: currentColor; }
.tablist button[aria-selected="true"] { background: var(--purple); color: #fff; box-shadow: 0 10px 30px rgba(63,50,171,.25); }
.tabpanel[hidden] { display: none; }
.tabpanel p { max-width: 640px; }
.no-js .tabpanel[hidden] { display: block; }
.no-js .tablist { display: none; }
.dmi-note { margin-top: 40px; font-style: italic; }

/* THFLR page */
.thflr-hero { padding: clamp(50px, 6vw, 80px) 0; }
.thflr-hero img { width: 100%; max-width: 420px; }
.thflr-hero h3 { color: var(--purple); font-weight: 500; }
.thflr-hero h5 { color: #5a5470; }

.steps { display: grid; gap: 0; grid-template-columns: 1fr; margin-top: 30px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 26px 24px 26px 0; border-top: 1px solid rgba(255,255,255,.5); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 300 34px/1 var(--head); margin-bottom: 14px; opacity: .8; }
.step h4 { font-weight: 500; text-transform: none; margin-bottom: 8px; }
.step p { margin: 0; }

.split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split > div { padding: clamp(50px, 7vw, 90px) clamp(24px, 6vw, 90px); }
.split .col-green { background: var(--green); color: #fff; }
.split .col-green h2 { color: #fff; }
.split .col-green-light { background: var(--green-light); }
.split .col-green-light h2 { color: var(--black); }
.split strong { display: block; }
.split p { max-width: 520px; }

.cards { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 800px) { .cards { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1100px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { padding: clamp(28px, 3vw, 40px); color: var(--black); }
.card.lav { background: var(--lavender); }
.card.lime { background: var(--green-light); }
.card h3 { color: var(--purple); font-size: clamp(24px, 2.2vw, 30px); }
.card .best { font-size: 15px; }
.card p:last-child { margin-bottom: 0; }

.hood { align-items: center; }
.hood ul { padding-left: 1em; }

.prices { margin-top: 30px; }
.price { display: grid; grid-template-columns: 1fr; gap: 4px 30px; padding: 22px 0; border-top: 1px solid #ddd; }
.price:last-child { border-bottom: 1px solid #ddd; }
.price h4 { margin: 0 0 4px; font-weight: 500; }
.price .amount { font: 500 20px/1.4 var(--head); color: var(--purple); margin: 0; }
.price p { margin: 0; }
.vat { font-size: 14px; margin-top: 14px; }

/* we are */
.vision-card { background: #fff; max-width: 800px; margin: 0 auto; padding: clamp(28px, 5vw, 60px); color: var(--text); }
.vision-card h2 { color: var(--purple); }
.vision-card h4 { color: var(--purple); margin-top: 30px; }
.quote { margin: 34px 0; padding-left: 26px; border-left: 4px solid var(--purple); font: 700 clamp(20px, 2.2vw, 26px)/1.35 var(--body); }

.team h2 { font-size: clamp(34px, 4.6vw, 58px); color: var(--black); padding-bottom: 20px; border-bottom: 1px solid #ccc; margin-bottom: 0; }
.member { display: grid; grid-template-columns: 1fr; gap: 20px 60px; align-items: center; padding: 34px 0; border-bottom: 1px solid #ccc; }
@media (min-width: 760px) { .member { grid-template-columns: 1fr 150px; } }
.member h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.member p { margin: 0; font-size: 15px; }
.member img { width: 110px; justify-self: center; }

.jobs-section h2 { color: #fff; }
.jobs { margin-top: 30px; }
.job { background: rgba(255,255,255,.12); margin-bottom: 14px; }
.job summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; position: relative; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: "+"; position: absolute; right: 26px; top: 18px; font: 300 30px/1 var(--head); }
.job[open] summary::after { content: "\2212"; }
.job-title { display: block; font: 500 22px/1.3 var(--head); letter-spacing: -.02em; }
.job-meta { display: block; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.job-meta span + span::before { content: " / "; }
.job-body { padding: 0 26px 26px; }
.job-body h3 { color: #fff; font-size: 19px; margin-top: 22px; }
.apply { display: inline-block; margin-top: 10px; }
.jobs-empty { opacity: .9; }

.partners { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 640px) { .partners { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .partners { grid-template-columns: repeat(4, 1fr); } }
.partner { background: #fff; color: var(--text); padding: 18px 18px 22px; display: flex; flex-direction: column; }
.partner .logo-box { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.partner .logo-box img { max-height: 110px; width: auto; }
.partner h3 { color: var(--black); font-size: 21px; margin: 0; letter-spacing: -.01em; }
.partner .role { font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid #ddd; margin-bottom: 12px; }
.partner p { font-size: 14px; line-height: 22px; }
.partner .li { margin-top: auto; padding-top: 12px; border-top: 1px solid #ddd; font-size: 14px; }
.partner .li a { color: var(--purple); }

/* contact */
.form-wrap { max-width: 860px; }
.form-wrap h2 { margin-bottom: 26px; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-size: 10px; line-height: 1.4; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.5 var(--body); color: var(--black);
  background: #fff; border: 2px solid transparent; border-radius: 4px; padding: 10px 12px;
}
.field select { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; height: 46px; }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  justify-self: start; display: inline-block; cursor: pointer;
  background: var(--purple); color: #fff; border: 0; border-radius: 200px;
  padding: 15px 26px; font: 600 13px/1 var(--body); letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--purple-dark); color: #fff; }
.bg-purple .btn, .bg-green .btn { background: #fff; color: var(--purple); }
.bg-purple .btn:hover, .bg-green .btn:hover { background: var(--lavender-light); color: var(--purple); }
.small { font-size: 13px; }
.status { padding: 14px 18px; border-radius: 4px; margin-bottom: 20px; background: #fff; border-left: 4px solid var(--purple); }
.status.error { border-left-color: #c0392b; }
.status[hidden] { display: none; }

.visit h2 { color: #fff; max-width: 330px; }
.visit address { font-style: normal; margin-bottom: 1.4em; }
.visit figure { margin: 0; }
.visit figcaption { font-size: 12px; margin-top: 8px; opacity: .8; }


/* hero actions */
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin: 28px 0 0 clamp(20px, 7vw, 90px); }
.btn-line {
  display: inline-block; padding: 13px 24px; border: 2px solid var(--purple); border-radius: 200px;
  font: 600 13px/1 var(--body); letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; color: var(--purple);
}
.btn-line:hover { background: var(--purple); color: #fff; }
.bg-purple .btn-line, .bg-green .btn-line { border-color: #fff; color: #fff; }
.bg-purple .btn-line:hover, .bg-green .btn-line:hover { background: #fff; color: var(--purple); }

/* logo strip */
.proof { border-top: 1px solid #e6e6ee; padding: 34px 0 40px; }
.proof p { font-size: 13px; letter-spacing: 1.3px; text-transform: uppercase; color: #5a5470; margin-bottom: 18px; text-align: center; }
.proof ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 46px; }
.proof li { margin: 0; }
.proof img { height: 40px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.proof img.tall { height: 54px; }
.proof img:hover { filter: none; opacity: 1; }

/* audience paths */
.paths { display: grid; gap: 30px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 860px) { .paths { grid-template-columns: 1fr 1fr; gap: 40px; } }
.path { padding: clamp(28px, 3.4vw, 46px); display: flex; flex-direction: column; }
.path h3 { color: var(--purple); }
.path ul { padding-left: 1.1em; margin: 0 0 24px; }
.path .more { margin-top: auto; font-weight: 600; color: var(--purple); text-decoration: none; }
.path .more::after { content: " \203A"; }
.path .more:hover { text-decoration: underline; }

/* trust points */
.trust { display: grid; gap: 34px 50px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 700px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust > div { border-top: 2px solid var(--purple); padding-top: 18px; }
.bg-purple .trust > div { border-top-color: var(--lavender); }
.trust h4 { text-transform: none; font-weight: 500; margin-bottom: 8px; }
.trust p { margin: 0; font-size: 15px; line-height: 25px; }
.section-intro { max-width: 680px; }

/* case facts */
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 10px 0 46px; background: rgba(255,255,255,.55); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { padding: 18px 22px; border-left: 3px solid var(--purple); }
.facts dt { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.facts dd { margin: 0; font: 500 18px/1.35 var(--head); }

/* closing call to action */
.closing { text-align: left; }
.closing .grid-2 { align-items: center; }
.closing p { max-width: 520px; }
.closing .actions { margin-left: 0; }

/* page heads */
.page-head { padding: clamp(50px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); }
.page-head h1 { font-size: clamp(38px, 4.6vw, 58px); }
.page-head p { max-width: 640px; font-size: 18px; line-height: 30px; margin-top: 18px; }

/* in-page navigation */
.subnav { position: sticky; top: 86px; z-index: 50; background: #fff; border-bottom: 1px solid #e6e6ee; }
.subnav ul { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: var(--container); display: flex; gap: 6px 28px; overflow-x: auto; scrollbar-width: none; }
.subnav li { margin: 0; flex: none; }
.subnav a { display: block; padding: 14px 0; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover { border-bottom-color: var(--purple); color: var(--purple); }
@media (max-width: 690px) { .subnav { top: 64px; } }
[id] { scroll-margin-top: 150px; }

/* documentation request */
.docs-note { background: var(--lavender-light); padding: clamp(24px, 3vw, 36px); margin-top: 40px; }
.docs-note h4 { text-transform: none; font-weight: 500; color: var(--purple); }
.docs-note p { margin-bottom: 16px; }

/* contact layout */
.contact-grid { display: grid; gap: 50px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 70px; } }
.aside h3 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 10px; }
.aside ol { padding-left: 1.2em; margin: 0 0 30px; }
.aside .direct { border-top: 1px solid rgba(0,0,0,.2); padding-top: 22px; }

/* text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.6em; color: var(--black); }
.prose h2:first-child { margin-top: 0; }

/* footer */
.footer { background: var(--black); color: #c9c6d3; font-size: 14px; line-height: 24px; padding: 60px 0 30px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer-cols { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer img { height: 26px; width: auto; margin-bottom: 14px; }
.footer h2 { font: 600 12px/1.4 var(--body); letter-spacing: 1.3px; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer address { font-style: normal; }
.footer-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.bg-lavender-light { background: var(--lavender-light); }
.prose-section { padding-top: 0; }
.actions--flush { margin-left: 0; }
.note-after { margin-top: 34px; max-width: 720px; }
.bg-purple .note-after { color: #fff; }
.cards .card h3 { margin-bottom: 14px; }
.bg-green a, .bg-green a:hover { color: #fff; }

/* ===== calmer palette and visible navigation ===== */
:root { --tint: #f6f5fb; --line: #e3e1ee; --muted: #4f4b63; }

/* header */
.header { box-shadow: none; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; max-width: 1240px; margin: 0 auto; }
.logo { margin-right: auto; }
.logo img { height: 30px; }
.mainnav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.mainnav li { margin: 0; }
.mainnav a { font: 600 15px/1 var(--body); color: var(--text); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { color: var(--purple); }
.mainnav a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--purple); }
.contact-btn { background: var(--purple); color: #fff; font: 600 14px/1 var(--body); letter-spacing: 0; text-transform: none; padding: 11px 20px; }
.contact-btn:hover { background: var(--purple-dark); color: #fff; }
.menu-btn { display: none; font: 600 14px/1 var(--body); letter-spacing: 0; text-transform: none; gap: 10px; }
.menu-open .header { background: transparent; border-bottom-color: transparent; }
.menu-open .mainnav, .menu-open .contact-btn { visibility: hidden; }
@media (max-width: 820px) {
  .mainnav, .contact-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .menu-btn .label { display: inline; }
  .logo img { height: 24px; }
}
.overlay a { text-transform: none; }

/* backgrounds */
.tint { background: var(--tint); }
.dark { background: var(--purple); color: #fff; }
.dark h2, .dark h3, .dark h4, .dark a, .dark a:hover { color: #fff; }
.dark .btn { background: #fff; color: var(--purple); }
.dark .btn:hover { background: var(--lavender-light); color: var(--purple); }
.dark .btn-line { border-color: #fff; color: #fff; }
.dark .btn-line:hover { background: #fff; color: var(--purple); }
.band.dark a { color: #fff; }

/* headings: one accent colour */
.team h2 { color: var(--purple); }
.member h3, .partner h3 { color: var(--black); }

/* cards and boxes: white with a thin border */
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--purple); }
.tint .card { background: #fff; }
.vision-card { border: 1px solid var(--line); }
.partner { border: 1px solid var(--line); }
.facts { background: #fff; border: 1px solid var(--line); }
.facts div { border-left-color: var(--green-brand); }
.docs-note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple); }
.trust > div { border-top-color: var(--purple); }

/* how it works on light background */
.step { border-top: 2px solid var(--purple); }
.step::before { color: var(--purple); opacity: 1; }
.steps .step:nth-child(3)::before { color: var(--green); }

/* DMI tabs: sentence case, calmer */
.tablist button { text-transform: none; letter-spacing: 0; font-size: 15px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.tablist button[aria-selected="true"] { box-shadow: none; }
.dmi-head img { width: 180px; }
.dmi-note { font-style: normal; color: var(--muted); }

/* in-page menu and small labels: sentence case */
.subnav a { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.proof p { text-transform: none; letter-spacing: 0; font-size: 14px; }
.field label { text-transform: none; letter-spacing: 0; font-size: 14px; }
.field select { text-transform: none; letter-spacing: 0; font-size: 15px; }
.field input, .field select, .field textarea { border: 1px solid #b9b5cc; }
.facts dt { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--muted); }
.job-meta { text-transform: none; letter-spacing: 0; font-size: 14px; }
.thflr-hero h5 { text-transform: none; letter-spacing: 0; font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--muted); }

/* jobs on white */
.jobs-section h2 { color: var(--purple); }
.job { background: var(--tint); border: 1px solid var(--line); }
.job-body h3 { color: var(--black); }
.jobs-section a { color: var(--purple); }
.jobs-section .btn { color: #fff; }

/* footer: navy instead of black */
.footer { background: #1b1640; }
.overlay { background: #1b1640; }
.btn, .btn-line { text-transform: none; letter-spacing: 0; font-size: 15px; }
.grid-2.top-align { align-items: start; }

/* cases */
.cases { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 960px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--purple); padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; }
.case-logo { width: 150px; margin-bottom: 18px; }
.case h3 { color: var(--purple); font-size: clamp(22px, 2vw, 26px); margin-bottom: 16px; }
.case dl { margin: 0 0 18px; border-top: 1px solid var(--line); }
.case dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.case dt { font-size: 13px; color: var(--muted); }
.case dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.45; }
.case p { margin: 0; font-size: 15px; line-height: 25px; }

/* ===== readability ===== */
body { font-size: 17px; line-height: 1.7; color: #1f1c2c; }
p { margin-bottom: 1.1em; }
.hero .intro { font-size: 20px; line-height: 1.55; max-width: 560px; color: #1f1c2c; }

/* a single reading column */
.story { max-width: 760px; }
.story h2 { margin-bottom: 24px; }
.story p { font-size: 18px; line-height: 1.75; max-width: 680px; }
.more { font-weight: 600; color: var(--purple); text-decoration: none; }
.more::after { content: " \203A"; }
.more:hover { text-decoration: underline; }
.dark .story p { color: #fff; }

/* reasons: two by two, no rules */
.reasons { display: grid; gap: 36px 60px; grid-template-columns: 1fr; margin-top: 36px; max-width: 980px; }
@media (min-width: 760px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reasons h3 { font-size: 22px; letter-spacing: -.01em; color: var(--black); margin-bottom: 6px; }
.reasons p { margin: 0; color: #3d3950; }

/* cases as readable rows */
.case-list { margin-top: 30px; max-width: 980px; }
.case-list article { display: grid; grid-template-columns: 1fr; gap: 6px 50px; padding: 28px 0; border-top: 1px solid var(--line); }
.case-list article:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .case-list article { grid-template-columns: 260px 1fr; } }
.case-list h3 { font-size: 22px; letter-spacing: -.01em; color: var(--purple); margin: 2px 0 0; }
.case-list p { margin: 0; }
.container.story { max-width: var(--container); }
.story > h2, .story > p { max-width: 680px; }

/* ===== editorial home (big type, white space, one accent) ===== */
.x-hero { padding: clamp(70px, 11vw, 150px) 0 clamp(50px, 7vw, 90px); }
.x-hero h1 {
  font: 500 clamp(44px, 6.6vw, 96px)/1.02 var(--head); letter-spacing: -.045em;
  color: var(--black); max-width: 15ch; margin: 0;
}
.x-lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: #3d3950; max-width: 34ch; margin: clamp(26px, 3vw, 40px) 0 0; }
.x-hero .actions { margin-top: 34px; }

.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof p { text-align: left; }
.proof ul { justify-content: space-between; }

.x-section { padding: clamp(70px, 9vw, 130px) 0; }
.x-tint { background: var(--tint); }

.x-statement {
  font: 500 clamp(28px, 3.6vw, 52px)/1.15 var(--head); letter-spacing: -.035em;
  color: var(--black); max-width: 22ch; margin: 0;
}
.x-statement span { display: block; margin-top: .55em; color: var(--purple); }

.x-h2 { font: 500 clamp(32px, 3.6vw, 52px)/1.1 var(--head); letter-spacing: -.035em; color: var(--black); margin: 0 0 clamp(30px, 4vw, 50px); }

.x-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #cfcbe0; }
.x-list li { margin: 0; border-bottom: 1px solid #cfcbe0; max-width: none; }
.x-list a {
  display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 28px 0;
  color: var(--black); text-decoration: none; position: relative;
}
@media (min-width: 860px) { .x-list a { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 40px; align-items: baseline; } }
.x-list a::after { content: "\2192"; font: 400 26px/1 var(--head); color: var(--purple); justify-self: end; transition: transform .2s; display: none; }
@media (min-width: 860px) { .x-list a::after { display: block; } }
.x-list a:hover::after { transform: translateX(6px); }
.x-name { font: 500 clamp(26px, 2.8vw, 38px)/1.1 var(--head); letter-spacing: -.03em; }
.x-list a:hover .x-name { color: var(--purple); }
.x-desc { font-size: 17px; line-height: 1.6; color: #3d3950; }

.x-cases { list-style: none; margin: 0; padding: 0; }
.x-cases li { margin: 0; padding: clamp(26px, 3vw, 38px) 0; border-top: 1px solid var(--line); max-width: none; }
.x-cases li:last-child { border-bottom: 1px solid var(--line); }
.x-cases h3 { font: 500 clamp(28px, 3.2vw, 44px)/1.1 var(--head); letter-spacing: -.035em; color: var(--black); margin: 0 0 10px; }
.x-cases p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #3d3950; max-width: 46ch; margin: 0; }

.x-facts { display: grid; gap: 34px 50px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .x-facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .x-facts { grid-template-columns: repeat(4, 1fr); } }
.x-facts strong { display: block; font: 500 24px/1.2 var(--head); letter-spacing: -.02em; color: var(--black); margin-bottom: 8px; }
.x-facts span { display: block; font-size: 16px; line-height: 1.6; color: #3d3950; }

.x-end h2 { font: 500 clamp(56px, 9vw, 130px)/1 var(--head); letter-spacing: -.05em; color: var(--black); margin: 0 0 20px; }
.x-end p { font-size: clamp(18px, 1.6vw, 22px); color: #3d3950; margin-bottom: 0; }
.x-end .actions { margin-top: 30px; }

.btn, .btn-line { padding: 15px 26px; font-size: 16px; }

/* ===== brand guide 2023: blue #3F32AB, green #6BAB65, dark grey #333333,
   accents #F7E7DC, #A89EF7, #A5E39F ===== */
:root {
  --purple: #3f32ab; --purple-dark: #2f2585;
  --green-brand: #6bab65; --green-light: #a5e39f; --lavender: #a89ef7; --peach: #f7e7dc;
  --text: #333333; --muted: #333333; --black: #333333;
  --tint: #f7e7dc; --line: #e2dcd6;
}
body { color: #333; }
.x-lead, .x-desc, .x-cases p, .x-facts span, .x-end p, .reasons p { color: #333; }

/* headings in brand blue, Outfit bold */
.x-hero h1 { color: var(--purple); font-weight: 700; letter-spacing: -.04em; }
.x-h2, .x-end h2 { color: var(--purple); font-weight: 700; }
.x-statement { color: #333; font-weight: 400; }
.x-statement span { color: var(--purple); font-weight: 700; }
.x-facts strong { color: var(--purple); font-weight: 700; }
h1, h2, h3, h4 { font-weight: 700; }

/* three balanced columns */
.x-cols { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--purple); }
@media (min-width: 860px) { .x-cols { grid-template-columns: repeat(3, 1fr); } }
.x-col {
  display: flex; flex-direction: column; padding: 30px 0 34px;
  border-bottom: 1px solid var(--line); color: #333; text-decoration: none;
}
@media (min-width: 860px) {
  .x-col { padding: 34px 34px 10px 0; border-bottom: 0; }
  .x-col + .x-col { padding-left: 34px; border-left: 1px solid var(--line); }
}
.x-col h3 { font: 700 clamp(24px, 2.2vw, 30px)/1.15 var(--head); letter-spacing: -.02em; color: var(--purple); margin: 0 0 14px; }
.x-col p { font-size: 17px; line-height: 1.65; margin: 0 0 22px; }
.x-more { margin-top: auto; font-weight: 600; color: var(--purple); }
.x-more::after { content: " \2192"; transition: margin .2s; }
a.x-col:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
a.x-col:hover .x-more::after { margin-left: 4px; }

/* cases on brand blue: white text, light green titles (brand "good readability") */
.x-blue { background: var(--purple); color: #fff; }
.x-blue .x-h2 { color: #fff; }
.x-blue .x-cols { border-top-color: var(--green-light); }
.x-blue .x-col { color: #fff; border-color: rgba(255,255,255,.22); }
.x-blue .x-col h3 { color: var(--green-light); }
.x-blue .x-col p { color: #fff; }
.x-blue a { color: #fff; }

/* closing on accent #1 */
.x-peach { background: var(--peach); }

/* header logo in brand blue */
.logo img { height: 30px; }

/* footer: brand blue with the stripe motif and the green logo */
.footer { background: var(--purple); color: #fff; position: relative; overflow: hidden; }
.footer > .container { position: relative; z-index: 1; }
.footer-stripes { position: absolute; right: -40px; top: -20px; height: 130%; width: auto; opacity: .07; pointer-events: none; }
.footer h2 { color: var(--green-light); }
.footer a, .footer a:hover { color: #fff; }
.footer p, .footer address { color: #fff; }
.footer-base { border-top-color: rgba(255,255,255,.25); color: #fff; }

/* menu overlay in brand blue */
.overlay { background: var(--purple); }
/* equal content width in every column */
@media (min-width: 860px) {
  .x-cols { gap: 0 64px; }
  .x-col, .x-col + .x-col { padding: 34px 0 10px; border-left: 0; position: relative; }
  .x-col + .x-col::before { content: ""; position: absolute; left: -32px; top: 34px; bottom: 10px; border-left: 1px solid var(--line); }
  .x-blue .x-col + .x-col::before { border-left-color: rgba(255,255,255,.22); }
}
.footer-stripes { right: 0; top: 0; height: 100%; }
.band.x-peach a { color: var(--purple); }
.x-peach.visit h2 { color: var(--purple); }
.x-peach.visit, .x-peach.visit p, .x-peach.visit address, .x-peach.visit figcaption { color: #333; }
.field input, .field select, .field textarea { border: 1px solid #b8b0a8; }

/* partners as a quiet row under the trust facts */
.x-partners { margin-top: clamp(50px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.x-partners p { margin: 0; font-size: 14px; color: #333; flex: none; }
.x-partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; }
.x-partners li { margin: 0; }
.x-partners img { height: 24px; width: auto; filter: grayscale(1); opacity: .6; }
.x-partners img.tall { height: 32px; }
.x-partners img:hover { filter: none; opacity: 1; }
.x-statement { max-width: 24ch; }


/* statement opens the offer, on accent #1 */
.x-offer .x-statement { margin-bottom: clamp(60px, 7vw, 100px); }
.x-offer-h { font-size: clamp(24px, 2.4vw, 32px); }
.x-peach .x-cols { border-top-color: var(--purple); }
.x-peach .x-col, .x-peach .x-col + .x-col::before { border-color: #e3c9b8; }

/* closing on accent #3 */
.x-green { background: var(--green-light); }
.x-green h2 { color: var(--purple); }
.x-green p { color: #333; }
.x-section.x-offer { padding-bottom: clamp(70px, 9vw, 130px); }

/* no pill shapes: square buttons, plain menu */
.btn, .btn-line, .contact-btn, .tablist button, .status, .field input, .field select, .field textarea { border-radius: 0; }
.btn, .btn-line { padding: 16px 28px; }
.contact-btn {
  background: none; color: var(--text); padding: 8px 0; border-bottom: 2px solid transparent;
  font: 600 15px/1 var(--body);
}
.contact-btn:hover { background: none; color: var(--purple); }
.mainnav ul { gap: 30px; }
.header-inner { gap: 30px; }
.contact-btn[aria-current="page"] { color: var(--purple); border-bottom-color: var(--purple); }
.header-inner { max-width: var(--container); padding: 0 var(--pad); }
.btn { border: 2px solid var(--purple); }
.btn:hover { border-color: var(--purple-dark); }
.dark .btn, .x-blue .btn { border-color: #fff; }
.btn, .btn-line { line-height: 1.2; }

/* ===== v3: bilingual, deal diagram, manifesto ===== */

/* typography (better-typography): display 1.1, headings 1.2, balanced headings, pretty paragraphs */
.x-hero h1 { line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; max-width: 18ch; }
h2, h3, .x-h2, .x-col h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.x-h2 { line-height: 1.15; letter-spacing: -.02em; }
.x-intro { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; max-width: 62ch; margin: -8px 0 clamp(36px, 4vw, 54px); color: #333; }
.x-note { font-size: 16px; max-width: 70ch; margin: 36px 0 0; color: #333; }
.x-small { font-size: 15px; line-height: 1.6; }
.x-hero--short { padding-bottom: clamp(30px, 4vw, 50px); }
.x-hero--short h1 { font-size: clamp(36px, 5vw, 64px); }
.x-section--flush-top { padding-top: 0; }
.x-product { width: min(320px, 70%); margin-bottom: 28px; }

/* four columns for cases and audiences */
@media (min-width: 860px) { .x-cols--4 { grid-template-columns: repeat(2, 1fr); row-gap: 10px; } }
@media (min-width: 1100px) { .x-cols--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 860px) and (max-width: 1099px) { .x-cols--4 .x-col:nth-child(3)::before { display: none; } }

.x-tag { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.x-blue .x-tag { color: #fff; }

/* facts with real headings */
.x-facts h3 { font: 700 22px/1.2 var(--head); letter-spacing: -.01em; color: var(--purple); margin: 0 0 8px; }
.x-facts p { font-size: 16px; line-height: 1.6; margin: 0; color: #333; }

/* deal diagram */
.dealflow { margin: 0 0 clamp(50px, 6vw, 80px); }
.df { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
.df-step {
  position: relative; margin: 0; max-width: none;
  background: #fff; border: 1px solid #e3c9b8; padding: 18px 20px; min-height: 92px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px;
  font-size: 16px; line-height: 1.4; color: #333;
}
.df-step strong { font: 700 20px/1.2 var(--head); color: var(--purple); }
.df-in { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: transparent; border-style: dashed; }
.df-src { font: 700 18px/1.2 var(--head); color: #333; }
.df-or { font-size: 14px; color: #333; }
.df-thflr { border: 2px solid var(--purple); }
.df-deal { background: var(--purple); border-color: var(--purple); }
.df-deal strong { color: #fff; font-size: 26px; }
/* arrows between steps */
.df-step:not(:last-child)::after {
  content: ""; position: absolute; left: 28px; bottom: -14px; width: 2px; height: 14px; background: var(--purple);
}
@media (min-width: 900px) {
  .df { grid-template-columns: 1.1fr 1fr 1fr .8fr 1fr; gap: 0 34px; }
  .df-step:not(:last-child)::after {
    left: auto; right: -34px; bottom: auto; top: 50%; width: 34px; height: 2px;
  }
  .df-step:not(:last-child)::before {
    content: ""; position: absolute; right: -34px; top: calc(50% - 5px);
    border: 6px solid transparent; border-left: 8px solid var(--purple); border-right: 0;
  }
}
/* evidence loop: from Deal back to THFLR */
.df-loop { margin: 14px 0 0; max-width: none; font-size: 15px; color: #333; }
.df-loop span::before { content: "\21BA\00a0"; color: var(--purple); font-weight: 700; }
@media (min-width: 900px) {
  .dealflow { position: relative; }
  .df-loop {
    /* spans the THFLR and Deal columns */
    margin: 0 0 0 calc((100% - 4 * 34px) * (2.1 / 4.9) + 2 * 34px);
    width: calc((100% - 4 * 34px) * (1.8 / 4.9) + 34px);
    border: 2px solid var(--purple); border-top: 0; height: 30px; position: relative;
  }
  .df-loop span { position: absolute; top: 38px; left: 0; white-space: nowrap; }
  .df-loop span::before { content: ""; }
  .df-loop::before {
    content: ""; position: absolute; left: -7px; top: -2px;
    border: 6px solid transparent; border-bottom: 8px solid var(--purple); border-top: 0;
  }
  .dealflow { margin-bottom: clamp(80px, 8vw, 110px); }
}

/* manifesto */
.x-manifesto-wrap { padding-top: 0; }
.manifesto { max-width: 680px; }
.manifesto p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; margin-bottom: 1.1em; }
.manifesto-lead { font: 400 clamp(24px, 2.6vw, 34px)/1.4 var(--head) !important; letter-spacing: -.01em; color: var(--purple); }
.manifesto-mission { font-weight: 700; color: var(--purple); border-left: 4px solid var(--green-brand); padding-left: 20px; margin-top: 1.6em; }
.signature { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.signature-name { font: 700 24px/1.2 var(--head); color: var(--purple); }
.signature-role { font-size: 16px; color: #333; }

/* technology list */
.x-tech { margin-top: clamp(50px, 6vw, 70px); padding-top: 26px; border-top: 1px solid var(--line); }
.x-tech h3 { font: 700 20px/1.2 var(--head); color: var(--purple); margin: 0 0 14px; }
.x-tech ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.x-tech li { margin: 0; padding: 8px 14px; border: 1px solid var(--line); font-size: 15px; max-width: none; }
.docs-note h3 { font: 700 22px/1.25 var(--head); color: var(--purple); margin: 0 0 10px; }

/* contact sidebar headings */
.aside h2 { font: 700 22px/1.25 var(--head); color: var(--purple); margin: 0 0 12px; letter-spacing: -.01em; }
.direct h2 { margin-top: 0; }
.hint { font-weight: 400; color: #333; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { font-size: 16px; }

/* jobs */
.job-body h4 { font: 700 18px/1.3 var(--head); color: var(--purple); margin: 22px 0 6px; }

/* language switch */
.lang-switch { font: 600 14px/1 var(--body); color: var(--text); text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); }
.lang-switch:hover { border-color: var(--purple); color: var(--purple); }
.overlay-lang a { font-size: clamp(22px, 3vw, 28px) !important; margin-top: 16px; }
@media (max-width: 820px) { .header-inner .lang-switch { margin-left: auto; } }
.footer-base a { color: #fff; }

.lang-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 12px var(--pad); background: var(--green-light); color: #333; font-size: 15px; }
.lang-hint p { margin: 0; }
.lang-hint a { font-weight: 600; color: var(--purple); }
.lang-hint button { margin-left: auto; font: inherit; background: none; border: 1px solid #333; padding: 6px 12px; cursor: pointer; color: #333; }

/* accessibility (better-accessibility): visible focus on every background, targets */
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.x-blue :focus-visible, .footer :focus-visible, .overlay :focus-visible { outline-color: #fff; }
.x-green :focus-visible { outline-color: var(--purple); }
html { scroll-padding-top: 100px; }
.contact-btn, .mainnav a, .lang-switch { min-height: 24px; }

/* UI polish (better-ui): press feedback, transitions only on what changes */
.btn, .btn-line { transition: background-color .15s, border-color .15s, color .15s, transform .1s; }
.btn:active, .btn-line:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { .btn:active, .btn-line:active { transform: none; } }
.x-hero .x-lead { max-width: 44ch; }
.df-in { flex-direction: column; align-items: flex-start; gap: 2px; }
@media (min-width: 900px) {
  .df-loop {
    margin-left: calc((100% - 136px) * (2.6 / 4.9) + 68px);
    width: calc((100% - 136px) * (0.9 / 4.9) + 34px);
  }
}

/* review fixes (better-interface) */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
@media (max-width: 560px) {
  .subnav ul { flex-wrap: wrap; overflow-x: visible; gap: 0 20px; }
  .subnav a { padding: 10px 0; }
}
.footer-base a { display: inline-block; padding: 4px 2px; min-height: 24px; }
.df-step span { line-height: 1.4; }

/* ===== v4: calmer colour scheme ===== */
.x-lav { background: #f4f2fe; }
.x-lav .x-cols { border-top-color: var(--purple); }
.x-lav .x-col, .x-lav .x-col + .x-col::before { border-color: #dcd7f5; }
.x-lav .x-col h3 { color: var(--purple); }
.x-lav .x-col p { color: #333; }
.x-end h2 { font: 700 clamp(32px, 3.6vw, 52px)/1.15 var(--head); letter-spacing: -.02em; color: var(--purple); }
.x-end h2::before { content: ""; display: block; width: 48px; height: 4px; background: var(--green-brand); margin-bottom: 24px; }
.x-end p { font-size: clamp(17px, 1.4vw, 19px); }
.x-section.x-end:not(.x-peach) { border-top: 1px solid #ece9f6; }

/* founders under the manifesto */
.signature { display: block; }
.signature-label { font-size: 14px !important; line-height: 1.4 !important; letter-spacing: .04em; text-transform: uppercase; color: #5b5770; margin: 0 0 16px !important; }
.founders { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 44px; }
.founder { position: relative; margin: 0; }
.founder-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; padding: 4px 4px 4px 0; }
.founder-link img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.founder-link > span { display: flex; flex-direction: column; }
.founder-link:hover .signature-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.founder-card { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20; width: 300px; background: #fff; border: 1px solid #dcd7f5; box-shadow: 0 12px 32px rgba(40, 30, 110, .14); padding: 22px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.founder-card::after { content: ""; position: absolute; left: 24px; top: 100%; border: 8px solid transparent; border-top-color: #fff; }
.founder-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.founder-card p { margin: 0 !important; font-size: 15px !important; line-height: 1.5 !important; }
.founder-card .founder-card-name { font: 700 20px/1.2 var(--head) !important; color: var(--purple); }
.founder-card .founder-card-role { color: #5b5770; margin-bottom: 12px !important; }
.founder-card ul { margin: 0 0 14px; padding: 0 0 0 18px; }
.founder-card li { font-size: 15px; line-height: 1.5; margin: 0 0 4px; color: #333; }
.founder-card .founder-card-more { color: var(--purple); font-weight: 600; }
@media (hover: hover) {
  .founder:hover .founder-card, .founder:focus-within .founder-card { opacity: 1; visibility: visible; transform: none; }
  .founder.is-dismissed .founder-card { opacity: 0; visibility: hidden; }
}
@media (hover: none) {
  /* touch: show the snippet inline, without the large photo */
  .founder-card { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 10px 0 0 70px; width: auto; background: transparent; }
  .founder-card::after, .founder-card img, .founder-card .founder-card-name, .founder-card .founder-card-role, .founder-card .founder-card-more { display: none; }
}
@media (prefers-reduced-motion: reduce) { .founder-card { transition: none; } }

/* articles */
.articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .articles { grid-template-columns: repeat(3, 1fr); } }
.articles li { margin: 0; }
.article { display: flex; flex-direction: column; gap: 10px; height: 100%; background: #fff; border-top: 4px solid var(--purple); padding: 24px; text-decoration: none; color: #333; }
.article-meta { font-size: 14px; line-height: 1.4; color: #5b5770; }
.article-title { font: 700 21px/1.25 var(--head); color: var(--purple); text-wrap: balance; }
.article-desc { font-size: 16px; line-height: 1.6; }
.article-more { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--purple); }
.article:hover .article-title { text-decoration: underline; text-underline-offset: 4px; }

/* ===== interactive deal diagram ===== */
.flowmap { margin: 36px 0 0; background: #fff; border: 1px solid #e3c9b8; padding: clamp(18px, 3vw, 34px); }
.fm-list { margin: 0; padding-left: 1.3em; }
.fm-list li { margin: 0 0 10px; font-size: 17px; line-height: 1.6; }
.fm-list strong { color: var(--purple); }
.flowmap.is-enhanced .fm-list { display: none; }
.fm-modes, .fm-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-modes { margin-bottom: clamp(16px, 2.4vw, 26px); }
.fm-modes button, .fm-nav button {
  font: 600 15px/1.2 var(--body); color: var(--purple); background: #fff; border: 1px solid #cfc8ee;
  padding: 11px 14px; min-height: 44px; cursor: pointer; border-radius: 0; transition: background-color .15s, color .15s, border-color .15s;
}
.fm-modes button:hover, .fm-nav button:hover { border-color: var(--purple); }
.fm-modes button[aria-pressed="true"], .fm-nav button[aria-current="step"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.fm-num { display: inline-block; min-width: 1.1em; font-family: var(--head); font-weight: 700; opacity: .75; }
.fm-stage svg { display: block; width: 100%; height: auto; max-width: 860px; margin: 0 auto; overflow: visible; }
.fm-nav { margin-top: clamp(16px, 2.4vw, 26px); }
.fm-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px 30px; margin-top: 18px; }
.fm-caption { flex: 1 1 420px; margin: 0; font-size: 18px; line-height: 1.6; color: #333; min-height: 4.8em; max-width: 64ch; }
.fm-next { font: 600 15px/1.2 var(--body); color: var(--purple); background: transparent; border: 2px solid var(--purple); padding: 11px 18px; min-height: 44px; cursor: pointer; border-radius: 0; }
.fm-next::after { content: " \2192"; }
.fm-next:hover { background: var(--purple); color: #fff; }

.fm-node rect { fill: #fff; stroke: #d6d0ee; stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.fm-node text { font: 600 16px var(--head); fill: #333; }
.fm-node.is-on rect { fill: #f4f2fe; stroke: var(--purple); stroke-width: 2.5; }
.fm-node.is-on text { fill: var(--purple); }
.fm-node--thflr rect, .fm-node--thflr.is-on rect { fill: var(--purple); stroke: var(--purple); }
.fm-node--thflr .fm-title, .fm-node--thflr.is-on .fm-title { font: 700 22px var(--head); fill: #fff; letter-spacing: .02em; }
.fm-node--thflr .fm-sub, .fm-node--thflr.is-on .fm-sub { font: 400 14px var(--body); fill: #fff; }
.fm-edge { fill: none; stroke: #c9c2e8; stroke-width: 2; transition: stroke .2s; }
.fm-edge.is-on { stroke: var(--purple); stroke-width: 3; stroke-dasharray: 9 6; animation: fm-dash .9s linear infinite; }
@keyframes fm-dash { to { stroke-dashoffset: -15; } }
.fm-reuse { opacity: 0; transition: opacity .2s; }
.fm-reuse.is-on { opacity: 1; }
.fm-reuse .fm-loop { stroke: var(--purple); stroke-width: 3; }
.fm-reuse-text { font: 600 15px var(--body); fill: var(--purple); }
@media (prefers-reduced-motion: reduce) {
  .fm-edge.is-on { animation: none; stroke-dasharray: none; }
  .fm-node rect, .fm-edge, .fm-reuse, .fm-modes button, .fm-nav button { transition: none; }
}

/* ===== v5: one tint (pale lavender) instead of peach; OIVA-style diagram ===== */
:root { --peach: #f4f2fe; --tint: #f4f2fe; }
.x-lav.visit h2 { color: var(--purple); }
.x-lav.visit, .x-lav.visit p, .x-lav.visit address, .x-lav.visit figcaption { color: #333; }
.x-lav .job { background: #fff; }
.x-section.x-end.x-lav { border-top: 0; }
.article { border: 1px solid #e3e1ee; border-top: 4px solid var(--purple); }
.x-lav .article { border-color: #fff; border-top-color: var(--purple); }

.flowmap { border-color: #dcd7f5; }
.x-lav .flowmap { border-color: #fff; }
.fm-line { fill: none; stroke: #4a4760; stroke-width: 1.6; }
.fm-edge, .fm-node, .fm-label { transition: opacity .2s; }
.fm-edge { stroke: none; animation: none; }
.fm-edge.is-on .fm-line { stroke: var(--purple); stroke-width: 3; stroke-dasharray: 9 6; animation: fm-dash .9s linear infinite; }
.is-dim { opacity: .28; }
.fm-label rect { fill: #fff; stroke: #d6d3e3; stroke-width: 1; }
.fm-label text { font: 400 13px var(--body); fill: #333; }
.fm-label.is-on rect { stroke: var(--purple); }
.fm-label.is-on text { fill: var(--purple); font-weight: 600; }
.fm-node rect { stroke-width: 1.5; transition: none; }
.fm-node .fm-t { font: 700 15px var(--head); fill: #222; }
.fm-node .fm-s { font: 400 13px var(--body); fill: #4f4b63; }
.fm-node--frame rect { fill: #e9e6fb; stroke: #9d93e6; }
.fm-node--actor rect { fill: #f3f3f5; stroke: #8f8c9c; }
.fm-node--engine rect { fill: #fff; stroke: var(--purple); stroke-width: 2.5; }
.fm-node--engine .fm-t { font-size: 22px; fill: var(--purple); letter-spacing: .02em; }
.fm-node--deal rect { fill: var(--purple); stroke: var(--purple); }
.fm-node--deal .fm-t { fill: #fff; }
.fm-node.is-on rect { stroke: var(--purple); stroke-width: 2.5; }
.fm-node.is-on .fm-t { fill: var(--purple); }
.fm-node--deal.is-on .fm-t { fill: #fff; }
.fm-node--deal.is-on rect { stroke: #2f2585; }
.fm-node--engine.is-on rect { stroke-width: 3.5; }
.fm-reuse { opacity: 0; }
.fm-reuse.is-on { opacity: 1; }
.fm-reuse .fm-line { stroke: var(--purple); stroke-width: 3; }
@media (prefers-reduced-motion: reduce) {
  .fm-edge.is-on .fm-line { animation: none; stroke-dasharray: none; }
  .fm-edge, .fm-node, .fm-label { transition: none; }
}
.fm-edge.is-on, .fm-label.is-on { stroke: none; stroke-width: 0; stroke-dasharray: none; animation: none; }
.fm-label.is-on rect { stroke: var(--purple); stroke-width: 1.5; }

/* THFLR spelled out once: THFLR -> THe FLooR -> THFLR */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tf { white-space: nowrap; }
.tf-x { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; vertical-align: top; white-space: pre; color: #7a6fd6; font-weight: 500;
  transition: max-width .7s cubic-bezier(.3,.7,.2,1), opacity .45s ease; }
.tf.is-open .tf-x { max-width: 1.6em; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tf-x { transition: none; } }
.x-facts--how { margin-top: clamp(40px, 5vw, 64px); }
.x-facts--how h3 { font-size: 20px; }

/* home: four steps, the full diagram lives on the THFLR page */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; border-top: 2px solid var(--purple); padding-top: 28px; }
@media (min-width: 860px) { .steps4 { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.steps4 li { position: relative; margin: 0; padding: 0; }
@media (min-width: 860px) {
  .steps4 li { padding-right: 40px; }
  .steps4 li:not(:last-child)::after { content: "\2192"; position: absolute; right: 12px; top: 2px; font: 700 22px/1 var(--head); color: var(--purple); }
}
.s4-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 2px solid var(--purple); font: 700 16px/1 var(--head); color: var(--purple); margin-bottom: 14px; }
.steps4 li:nth-child(3) .s4-num { background: var(--purple); color: #fff; }
.steps4 h3 { font: 700 22px/1.2 var(--head); color: var(--purple); margin: 0 0 8px; }
.steps4 p { font-size: 16px; line-height: 1.6; margin: 0; color: #333; }
.steps4-more { margin: 28px 0 0; }
.steps4-more a { font-weight: 600; color: var(--purple); }
.steps4-more { margin: 28px 0 clamp(56px, 7vw, 88px); }
.steps4-more a { text-decoration: none; }
.steps4-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== v6: cases aligned, funding, roles, pricing, journey, proof line ===== */
/* cases: titles, texts and funding lines share rows, so they line up */
@media (min-width: 860px) {
  .cases { grid-template-rows: auto; }
  .cases .x-col { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 12px; align-content: start; }
  .cases .x-col h3, .cases .x-col p { margin: 0; }
}
.funding { display: flex; align-items: center; gap: 10px; min-height: 24px; font-size: 13px !important; line-height: 1.3 !important; color: #333; margin: 6px 0 0; }
.funding img { width: 36px; height: 24px; flex: none; }
.funding-ngf { display: inline-block; border-left: 3px solid var(--purple); padding-left: 8px; }

/* hero: pick your role */
.roles-line { margin: 26px 0 0; font-size: 16px; color: #333; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.roles-line span { font-weight: 600; }
.roles-line a { color: var(--purple); font-weight: 600; text-underline-offset: 4px; padding: 4px 0; }

/* trust line at the bottom of home */
.x-section--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.trustline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .trustline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trustline { grid-template-columns: repeat(4, auto); justify-content: start; } }
.trustline li { margin: 0; font: 700 18px/1.3 var(--head); color: var(--purple); padding-left: 22px; position: relative; }
.trustline li::before { content: ""; position: absolute; left: 0; top: .35em; width: 10px; height: 10px; background: var(--green-brand); }
.trustline-more { margin: 18px 0 0; }
.trustline-more a { font-weight: 600; color: var(--purple); text-decoration: none; }
.trustline-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps4-more { margin-bottom: 0; }

/* roles */
.roles .x-col { display: flex; flex-direction: column; }
.role { scroll-margin-top: 150px; }
.role h3 { margin-bottom: 6px; }
.role .role-who { font-size: 15px; color: #4f4b63; margin-bottom: 14px; }
.role p { font-size: 16px; line-height: 1.6; }
.role .x-more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--purple); }
.role:target h3 { text-decoration: underline; text-decoration-color: var(--green-brand); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* pricing */
.products .x-col { display: flex; flex-direction: column; }
.price { margin: 18px 0 8px; padding-top: 16px; border-top: 1px solid #dcd7f5; color: #333; }
.price strong { font: 700 30px/1.1 var(--head); color: var(--purple); letter-spacing: -.01em; }
.price span { font-size: 15px; color: #4f4b63; }
.price-list { margin: 0 0 12px; padding-left: 18px; }
.price-list li { font-size: 15px; line-height: 1.55; margin-bottom: 4px; }
.price-foot { margin: 22px 0 0; font-size: 14px; color: #4f4b63; }

/* customer journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; border-top: 2px solid var(--purple); padding-top: 28px; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey li { margin: 0; }
.journey h3 { font: 700 21px/1.2 var(--head); color: var(--purple); margin: 0 0 12px; }
.journey dl { margin: 0; }
.journey dt { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #4f4b63; margin-top: 10px; }
.journey dd { margin: 2px 0 0; font-size: 16px; line-height: 1.55; color: #333; }
.journey dt:nth-of-type(2) { color: var(--purple); }
@media (min-width: 860px) {
  .products .x-col { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; align-content: start; }
  .roles .x-col { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; }
  .roles .x-col .x-more { align-self: end; }
}

/* ===== v7: folds for specialist detail ===== */
@media (min-width: 860px) { .products .x-col { grid-row: span 5; } }
.fold { margin: 4px 0 10px; }
.fold summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font: 600 15px/1.3 var(--body); color: var(--purple); padding: 8px 0; min-height: 24px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid var(--purple); font: 700 15px/1 var(--head); flex: none; }
.fold[open] summary::before { content: "\2212"; }
.fold summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.fold > *:not(summary) { margin-top: 8px; }
.fold p { font-size: 15px; line-height: 1.6; }
.fold--wide { margin-top: 26px; }
.journey li p { margin: 0; font-size: 16px; line-height: 1.6; }
.journey-thflr { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px 36px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .journey-thflr { grid-template-columns: repeat(2, 1fr); } }
.journey-thflr li { font-size: 15px; line-height: 1.6; margin: 0; }
.journey-thflr strong { color: var(--purple); margin-right: 4px; }
details.x-tech { border-top: 1px solid var(--line); padding-top: 14px; }
details.x-tech ul { margin-top: 12px; }

/* ===== v8 ===== */
.fm-node--deal.is-on rect, .fm-node--deal rect { fill: var(--purple); stroke: #2f2585; }
.fm-node--deal.is-on .fm-t, .fm-node--deal .fm-t { fill: #fff; }
@media (min-width: 860px) { .roles .x-col { grid-row: span 4; } }
.trust-in-cta { margin-top: clamp(40px, 5vw, 60px); padding-top: 26px; border-top: 1px solid #dcd7f5; }
.journey--5 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .journey--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journey--5 { grid-template-columns: repeat(5, 1fr); gap: 28px 26px; } }
.journey--5 h3 { font-size: 19px; }
.funding img.funding-ngf { width: 150px; height: 34px; border: 0; padding: 0; }
.funding img.funding-ngf { width: 200px; max-width: 100%; height: auto; }
.funding { line-height: 1.4 !important; }

/* ===== v9: home cases as cards, EU disclaimer ===== */
.cases-grid { display: grid; gap: 22px; grid-template-columns: 1fr; border-top: 2px solid var(--purple); padding-top: 28px; }
@media (min-width: 760px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
.case { background: #fff; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.case h3 { font: 700 24px/1.2 var(--head); color: var(--purple); margin: 0; }
.case p { margin: 0; font-size: 16px; line-height: 1.6; color: #333; }
.case .case-role { padding-top: 10px; border-top: 1px solid #e6e3f3; }
.case .case-role strong { color: var(--purple); }
.case .funding { margin-top: auto; padding-top: 8px; }
.eu-disclaimer { margin: 22px 0 0; max-width: 90ch; font-size: 13px !important; line-height: 1.5 !important; color: #55516a; }
.cases-grid { border-top: 0; padding-top: 6px; }
.eu-disclaimer { max-width: 640px; }
.eu-disclaimer { max-width: 520px; }

/* ===== v10: dark brand hero on every page ===== */
.x-hero { background: var(--purple); color: #fff; }
.x-hero h1, .x-hero h1 * { color: #fff; }
.x-hero .x-lead, .x-hero p { color: #e9e6fb; }
.x-hero a { color: #fff; }
.x-hero :focus-visible { outline-color: #fff; }
.x-hero .tf-x { color: #b9b0f5; }
.x-hero + .x-section--flush-top, .x-hero + .x-manifesto-wrap, .x-hero + .subnav + .x-section { padding-top: clamp(56px, 7vw, 96px); }
.x-hero + .x-manifesto-wrap { padding-top: clamp(56px, 7vw, 96px); }
@media (min-width: 1050px) { .x-facts--3 { grid-template-columns: repeat(3, 1fr); } }
.a11y-icon { display: inline-block; vertical-align: -4px; margin-right: 7px; }

/* prose pages (privacy, accessibility, disclosure): same left edge and heading style as the rest of the site */
.container.prose { max-width: var(--container); }
.prose > * { max-width: 68ch; }
.prose h2 { font: 700 clamp(24px, 2.4vw, 30px)/1.2 var(--head); color: var(--purple); letter-spacing: -.01em; margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.a11y-icon { margin-right: 0; margin-left: 7px; }

/* ===== v11: cases glider =====
   Desktop (wide, tall enough, motion allowed): the section pins while vertical
   scrolling glides the cards sideways; dragging the scrollbar simply passes it.
   Elsewhere: a native row you swipe or scroll, snapping per card. */
.cases-sec { --edge: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))); }
.glider { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 4px; }
.glider::-webkit-scrollbar { display: none; }
.glider:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.glider-track { display: flex; gap: 22px; padding: 0 var(--edge); width: max-content; }
.glider .case { flex: none; width: min(84vw, 420px); scroll-snap-align: start; scroll-margin-left: var(--edge); }
.glider-count { margin: 16px 0 0; font: 600 14px/1.4 var(--body); color: #4f4b63; min-height: 1.4em; }
.cases-sec:not(.is-glide) .glider-track { width: auto; display: grid; grid-template-columns: 1fr; padding: 0; }
@media (min-width: 760px) { .cases-sec:not(.is-glide) .glider-track { grid-template-columns: repeat(2, 1fr); } }
.cases-sec:not(.is-glide) .glider { padding: 6px var(--edge) 4px; overflow: visible; }
.cases-sec:not(.is-glide) .glider .case { width: auto; }
/* pinned mode, switched on by the script */
.cases-sec.is-pinned { padding-top: 0; padding-bottom: 0; }
.cases-sec.is-pinned .cases-pin { position: sticky; top: 86px; padding: clamp(48px, 6vh, 80px) 0; }
.cases-sec.is-pinned .glider { overflow: hidden; scroll-snap-type: none; }
.cases-sec.is-pinned .glider-track { will-change: transform; }
.cases-sec.is-pinned .glider .case { width: var(--card-w, 420px); }
/* mouse users on smaller screens get a thin, visible scrollbar under the row */
@media (hover: hover) {
  .cases-sec.is-glide:not(.is-pinned) .glider { scrollbar-width: thin; scrollbar-color: var(--purple) #dcd7f5; padding-bottom: 14px; }
  .cases-sec.is-glide:not(.is-pinned) .glider::-webkit-scrollbar { display: block; height: 6px; }
  .cases-sec.is-glide:not(.is-pinned) .glider::-webkit-scrollbar-thumb { background: var(--purple); }
  .cases-sec.is-glide:not(.is-pinned) .glider::-webkit-scrollbar-track { background: #dcd7f5; }
}
.eu-disclaimer { max-width: none; margin-top: 10px; font-size: 12.5px !important; }

/* five roles: three per row on laptops, five on wide screens */
.roles--5 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .roles--5 { grid-template-columns: repeat(2, 1fr); row-gap: 10px; } }
@media (min-width: 1000px) { .roles--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1500px) { .roles--5 { grid-template-columns: repeat(5, 1fr); } }
.roles--5 .x-col::before { display: none; }
@media (min-width: 760px) { .roles--5 .x-col { border-left: 0; padding-left: 0; padding-right: 34px; } }

/* roles as a list: one row per role, room to breathe */
.role-list { border-top: 2px solid var(--purple); }
.role-row { display: grid; gap: 8px 40px; grid-template-columns: 1fr; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
@media (min-width: 860px) { .role-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; align-items: start; } }
.role-name h3 { font: 700 24px/1.2 var(--head); color: var(--purple); margin: 0 0 6px; }
.role-who { margin: 0; font-size: 15px !important; line-height: 1.55 !important; color: #4f4b63; }
.role-get { margin: 0; font-size: 17px; line-height: 1.6; color: #333; }
@media (min-width: 860px) { .role-get { padding-top: 4px; } }
.role-start { font-weight: 600; color: var(--purple); white-space: nowrap; padding: 4px 0; }
@media (min-width: 860px) { .role-start { padding-top: 6px; } }
.role-start::after { content: " \2192"; }
.role-row:target h3 { text-decoration: underline; text-decoration-color: var(--green-brand); text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (min-width: 860px) { .role-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 250px; } .role-start { white-space: normal; } }

/* ===== v12: two products, three journey steps ===== */
@media (min-width: 860px) { .x-cols--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .journey--3 { grid-template-columns: repeat(3, 1fr); gap: 28px 48px; } }

/* ===== v13: diagram labels without border ===== */
.fm-label rect, .fm-label.is-on rect { fill: #fff; stroke: none; }

/* ===== v14: menu items and Contact share one box model, so text and underline line up ===== */
.mainnav ul { align-items: center; }
.mainnav a, .contact-btn { display: inline-flex; align-items: center; padding: 8px 0; font: 600 15px/1 var(--body); border-bottom-width: 2px; }

/* ===== logo keeps its proportions on narrow screens ===== */
.logo { flex: 0 0 auto; }
.logo img { width: auto; max-width: none; }
@media (max-width: 820px) { .logo img { height: 24px; } }
@media (max-width: 340px) { .logo img { height: 20px; } }
/* the Contact button sits in the menu on narrow screens (restores the rule the menu alignment overrode) */
@media (max-width: 820px) { .contact-btn { display: none; } }
