/* European RegTech M&A Review – landing page
   Restyled to match acquinoxadvisors.com (theme "acquinox"):
   Manrope, navy #253746, mint #B9DCD2, pill buttons, underline inputs,
   radial-gradient navy bands, gradient step numerals. */

:root {
  --navy: #253746;
  --navy-2: #324656;          /* pre-footer band */
  --navy-glow: #3b5062;       /* radial highlight */
  --mint: #B9DCD2;
  --mint-33: rgba(185, 220, 210, .33);
  --body: #565F70;            /* body copy */
  --muted: #ABB0B4;           /* form labels, inactive lang */
  --footer-text: #d4d8db;
  --line: #E3E7EA;
  --container: 1288px;        /* incl. 32px side padding */
  --pad: 32px;
  --pill: 3em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

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

/* ---------- Buttons (theme: .button-primary / .wp-block-button__link) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 24px;
  font: 700 16px/1 Manrope, sans-serif;
  border-radius: var(--pill); border: 1px solid var(--navy);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--lg { font-size: 18px; min-height: 51px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--navy); color: #fff; }
.btn--mint { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.btn--mint:hover, .btn--mint:focus-visible { background: #fff; border-color: #fff; }
.btn--outline-mint { background: transparent; border-color: var(--mint); color: var(--mint); }
.btn--outline-mint:hover, .btn--outline-mint:focus-visible { background: var(--mint); color: var(--navy); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--navy); text-decoration: none;
}
.link-arrow::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-top: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }

/* ---------- Header (theme: .site-header) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; height: 64px; }
.site-header__logo img { width: 163px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav > a, .main-nav .lang a {
  font-weight: 700; font-size: 16px; line-height: 16px;
  color: var(--navy); text-decoration: none; padding: 24px 0;
}
.main-nav > a + a { margin-left: 32px; }
.main-nav > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.main-nav > a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--mint); }
.main-nav .has-sub::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 10px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg);
}
.main-nav > a.btn { margin-left: 32px; padding: 11px 24px; color: #fff; }
.main-nav > a.btn:hover, .main-nav > a.btn:focus-visible { color: var(--navy); text-decoration: none; }
.main-nav .lang { display: flex; gap: 16px; margin-left: 32px; }
.main-nav .lang a[aria-current] { color: var(--navy); }
.main-nav .lang a:not([aria-current]) { color: var(--muted); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Hero (white, like the rest of the site) ---------- */
.hero { padding: 56px 0 96px; }
.breadcrumb { font-size: 14px; color: var(--body); margin-bottom: 40px; }
.breadcrumb a { color: var(--body); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 700; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 20px;
}
.eyebrow--light { color: var(--mint); }
.hero h1 { font-size: 56px; line-height: 1.3; font-weight: 600; max-width: 760px; }
.underline-heading { position: relative; display: inline-block; }
.underline-heading::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 9px;
  background: linear-gradient(90deg, var(--mint), rgba(185, 220, 210, 0));
}
.hero__lead { font-size: 20px; line-height: 32px; margin-top: 36px; max-width: 680px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__meta { margin-top: 24px; font-size: 14px; color: var(--body); }

/* Report cover extracted from the supplied final PDF. */
.report-cover {
  width: 100%; height: auto; display: block;
  border-radius: 4px;
  box-shadow: 0 24px 48px -16px rgba(37, 55, 70, .45), 0 2px 6px rgba(37, 55, 70, .2);
}
/* Original cover treatment retained for reference to the approved visual system. */
.cover {
  aspect-ratio: 300 / 420; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 28px; color: #fff; border-radius: 4px;
  background: radial-gradient(84% 84% at 24% 15%, var(--navy-glow) 0, var(--navy) 100%);
  box-shadow: 0 24px 48px -16px rgba(37, 55, 70, .45), 0 2px 6px rgba(37, 55, 70, .2);
  position: relative; overflow: hidden;
}
.cover::before {
  content: ""; position: absolute; inset: auto -40% -30% auto; width: 120%; height: 70%;
  background: url(assets/bg-services.png) no-repeat center / contain; opacity: .5; pointer-events: none;
}
.cover > * { position: relative; }
.cover__logo { width: 112px; }
.cover__issue { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.cover__title { font-size: 30px; line-height: 1.2; font-weight: 700; margin-top: 12px; }
.cover__title em { font-style: normal; color: var(--mint); }
.cover__publisher { font-size: 12px; color: var(--footer-text); }
.cover__tag {
  position: absolute; bottom: 12px; right: 12px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--mint); padding: 2px 8px; border-radius: 3em;
}

/* ---------- Headline figures (theme: .blck-impact .item) ---------- */
.stats { padding-bottom: 96px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.stat { border-top: 1px solid var(--navy); padding-top: 12px; display: flex; flex-direction: column; }
.stat__value { font-size: 40px; line-height: 56px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.stat__label { font-size: 16px; line-height: 26px; }
.stat__source { font-size: 13px; line-height: 20px; margin-top: 8px; }

/* ---------- Section headings ---------- */
.h2 { font-size: 40px; line-height: 56px; font-weight: 700; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }
.section-head p { max-width: 520px; }

/* ---------- Key findings (theme: .services-gradient.radial-gradient + .step) ---------- */
.findings {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(84% 84% at 24% 15%, var(--navy-glow) 0, var(--navy) 100%);
  padding: 112px 0 120px;
}
.findings::before {
  content: ""; position: absolute; left: -400px; top: -200px; width: 804px; height: 756px;
  background: url(assets/bg-services.png) no-repeat; background-size: contain; pointer-events: none;
}
.findings .container { position: relative; }
.findings .h2 { color: #fff; max-width: 760px; }
.findings .section-head p { color: rgba(255, 255, 255, .8); }
.findings__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.finding { display: flex; flex-direction: column; }
.finding__num {
  font-size: 49px; line-height: 66px; font-weight: 500;
  background: linear-gradient(var(--mint) 11%, rgba(185, 220, 210, 0));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.finding__body {
  flex: 1; display: flex; flex-direction: column; gap: 16px;
  padding: 25px 32px 32px 40px;
  background: radial-gradient(89% 167% at 11% 16%, rgba(185, 220, 210, .1) 0, rgba(185, 220, 210, .094) 14%, rgba(185, 220, 210, .04) 100%);
}
.finding h3 { color: #fff; font-size: 24px; line-height: 30px; font-weight: 700; }
.finding p { color: rgba(255, 255, 255, .8); }
.chart { width: 100%; max-width: 360px; height: auto; margin-top: auto; padding-top: 16px; overflow: visible; }
.chart text { font-family: Manrope, Arial, sans-serif; font-size: 11px; fill: #fff; }
.chart .lbl { fill: rgba(255, 255, 255, .62); }
.chart .b { fill: rgba(185, 220, 210, .32); }
.chart .hi { fill: var(--mint); }
.chart .b2 { fill: rgba(185, 220, 210, .16); }
.chart .b3 { fill: rgba(255, 255, 255, .35); }
.chart .ln { stroke: #fff; fill: none; stroke-width: 2.5; }
.chart .dot { fill: #fff; }
.chart .strong { font-weight: 700; }
.finding--cta .finding__body {
  background: var(--mint); color: var(--navy); justify-content: center;
}
.finding--cta h3 { color: var(--navy); }
.finding--cta p { color: var(--navy); }
.finding--cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- What's inside (FAQ-style rule list) ---------- */
.inside { padding: 120px 0; }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(6, auto); grid-auto-flow: column; column-gap: 32px; }
.toc li {
  display: flex; gap: 20px; align-items: baseline;
  border-top: 1px solid var(--navy); padding: 20px 0 22px;
  font-size: 20px; line-height: 30px; font-weight: 700; color: var(--navy);
}
.toc__num { font-size: 14px; font-weight: 700; color: var(--muted); min-width: 22px; }

/* ---------- Download (theme: .contact-section) ---------- */
.download-wrap { padding-bottom: 120px; }
.download {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px;
  background-color: var(--mint-33);
  background-image: url(assets/bg-contact.png); background-position: 0 100%; background-repeat: no-repeat;
  border-top: 1px solid var(--navy);
  padding: 64px 64px 80px;
}
.download__text p { margin-top: 20px; }
.download__text ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.download__text li { padding-left: 30px; position: relative; color: var(--navy); font-weight: 600; }
.download__text li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 6px;
  border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg);
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; align-content: start; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label, .field .form-label { font-size: 20px; line-height: 32.5px; color: var(--muted); font-weight: 500; }
.form-control {
  background: transparent; border: none; border-bottom: 1px solid var(--navy); border-radius: 0;
  color: var(--navy); font: 400 20px/23px Manrope, sans-serif; height: 56px; padding: 0; width: 100%;
}
.form-control:focus { outline: none; border-bottom-width: 2px; }
.form-note { grid-column: 1 / -1; font-size: 14px; line-height: 22px; }
.form-note a { color: var(--navy); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-optin {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; min-height: 44px; font-size: 14px; line-height: 22px;
  color: var(--navy); cursor: pointer;
}
.form-optin input {
  flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--navy);
}
.form-help, .form-status, .form noscript { grid-column: 1 / -1; font-size: 14px; line-height: 22px; }
.form-status { color: var(--navy); font-weight: 600; }
/* Keep the empty live region in the accessibility tree without a grid row. */
.form-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form .btn:disabled { cursor: wait; opacity: .65; }

/* ---------- Methodology ---------- */
.method { padding: 0 0 120px; }
.method__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.method__item { border-top: 1px solid var(--navy); padding-top: 16px; }
.method__item h3 { font-size: 20px; line-height: 30px; margin-bottom: 8px; }

/* ---------- Author ---------- */
.author { padding: 96px 0; background: var(--mint-33); }
.author__inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: center; }
.author__photo {
  width: 200px; height: 200px; border-radius: 50%;
  display: block; object-fit: cover; object-position: center;
}
.author__role { margin-top: 8px; font-weight: 700; color: var(--navy); }
.author__bio { margin-top: 16px; max-width: 720px; }
.author__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* ---------- Related insights (theme: latest insights block) ---------- */
.related { padding: 120px 0 112px; }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { text-decoration: none; display: flex; flex-direction: column; }
.post img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post__meta { margin-top: 24px; color: var(--body); }
.post__meta span::before { content: "·"; margin: 0 8px; }
.post__title { margin: 12px 0 16px; font-size: 24px; line-height: 39px; font-weight: 700; color: var(--navy); }
.post:hover .post__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post .link-arrow { margin-top: auto; }

/* ---------- Footer (theme: .site-footer) ---------- */
.site-footer { background: var(--navy); color: var(--footer-text); padding: 48px 0; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.site-footer__logo { width: 156px; margin-bottom: 12px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.site-footer__legal a { color: var(--footer-text); }
.site-footer__legal a:hover { opacity: .7; }
.site-footer__social { display: flex; gap: 20px; }
.site-footer__social a { color: var(--footer-text); display: block; }
.site-footer__social svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Mockup annotations ---------- */
.ph { background: rgba(185, 220, 210, .55); color: var(--navy); padding: 0 4px; border-radius: 3px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav > a + a, .main-nav > a.btn, .main-nav .lang { margin-left: 22px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .download { grid-template-columns: 1fr; gap: 40px; padding: 48px 40px 64px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; background: #fff;
    padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .main-nav .lang a { padding: 14px 0; }
  .main-nav > a[aria-current="page"]:not(.btn) { box-shadow: inset 3px 0 0 var(--mint); padding-left: 12px; }
  .main-nav > a + a, .main-nav > a.btn, .main-nav .lang { margin-left: 0; }
  .main-nav > a.btn { margin-top: 12px; }
  .main-nav .lang { margin-top: 8px; }
}
@media (max-width: 781px) {
  :root { --pad: 16px; }
  .hero { padding: 32px 0 64px; }
  .breadcrumb { margin-bottom: 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__cover-wrap { max-width: 240px; }
  .hero h1 { font-size: 38px; line-height: 1.3; }
  .hero__lead { font-size: 18px; line-height: 29px; margin-top: 28px; }
  .hero__ctas .btn { width: 100%; }
  .stats { padding-bottom: 72px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .stat__value { font-size: 32px; line-height: 44px; }
  .stat__label { font-size: 14px; line-height: 22px; }
  .h2 { font-size: 30px; line-height: 40px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .findings { padding: 72px 0 80px; }
  .findings__grid { grid-template-columns: 1fr; }
  .finding__body { padding: 24px 20px 28px; }
  .finding h3 { font-size: 21px; line-height: 28px; }
  .inside { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .toc { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .toc li { font-size: 18px; padding: 16px 0 18px; }
  .download-wrap { padding-bottom: 80px; }
  .download { padding: 40px 20px 56px; margin: 0 calc(-1 * var(--pad)); }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .method { padding-bottom: 80px; }
  .method__cols { grid-template-columns: 1fr; }
  .author { padding: 64px 0; }
  .author__inner { grid-template-columns: 1fr; gap: 28px; }
  .author__photo { width: 140px; height: 140px; }
  .author__ctas .btn { width: 100%; }
  .related__grid { grid-template-columns: 1fr; gap: 40px; }
  .related { padding: 80px 0; }
  .post__title { font-size: 21px; line-height: 32px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}
