:root {
  --navy: #061a3a;
  --blue: #075dcc;
  --azure: #2c91ff;
  --sky: #eaf4ff;
  --ice: #f7fbff;
  --ink: #0d2340;
  --muted: #5b6d83;
  --line: #d8e6f4;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 35, 76, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(216,230,244,.9);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--azure));
  font-size: .83rem;
  letter-spacing: .05em;
}
.brand-copy span { display: block; font-size: .72rem; color: var(--blue); letter-spacing: .09em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  text-decoration: none;
  color: #334b67;
  font-size: .9rem;
  font-weight: 650;
  padding: 26px 0 23px;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); border-color: var(--blue); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; color: var(--navy); }

.hero {
  min-height: 670px;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--navy);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,18,44,.96) 0%, rgba(3,25,60,.82) 43%, rgba(3,25,60,.22) 78%),
    url("assets/web-summit-lisbon.png") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -290px;
  border: 1px solid rgba(92,178,255,.5);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(34,129,229,.10), 0 0 0 140px rgba(34,129,229,.07);
}
.hero-content { position: relative; z-index: 1; padding: 110px 0 92px; max-width: 740px; }
.eyebrow {
  margin: 0 0 18px;
  color: #93ccff;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .82rem;
}
h1, h2, h3 { line-height: 1.08; margin-top: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; }
.hero-lead { max-width: 600px; margin: 0 0 34px; color: #d9eaff; font-size: 1.12rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.meta-pill {
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(5,32,72,.48);
  font-size: .9rem;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  color: white;
  background: var(--blue);
  border: 1px solid var(--blue);
}
.button:hover { background: #034fae; }
.button.light { color: var(--navy); background: white; border-color: white; }
.button.ghost { color: var(--blue); background: transparent; border-color: #8fc6ff; }

.section { padding: 92px 0; }
.section.soft { background: var(--ice); }
.section.blue { color: white; background: linear-gradient(135deg, var(--navy), #083f87); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head p { max-width: 580px; margin: 0; color: var(--muted); }
.section.blue .section-head p { color: #c8dcf3; }
.section.blue .content-grid p, .section.blue .clean-list li { color: #c8dcf3; }
.section.blue .info-card { color: var(--ink); background: white; border-color: rgba(255,255,255,.4); }
.section.blue .info-card .clean-list li { color: var(--muted); }
.kicker { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; margin-bottom: 12px; }
.section.blue .kicker { color: #86c5ff; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -44px; position: relative; z-index: 2; }
.stat { padding: 26px 28px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.stat strong { display: block; color: var(--blue); font-size: 2.1rem; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-weight: 650; font-size: .92rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.feature-number { color: var(--azure); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.feature p { margin-bottom: 0; color: var(--muted); }

.page-hero {
  padding: 105px 0 72px;
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(43,145,255,.28), transparent 28%),
    linear-gradient(135deg, var(--navy), #063f89);
}
.page-hero p { max-width: 720px; margin: 0; color: #cee2f7; font-size: 1.08rem; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 5rem); margin-bottom: 22px; }
.catalogue-intro { padding: 78px 0 58px; }
.catalogue-intro h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); margin-bottom: 20px; }

.catalog-toolbar {
  position: sticky;
  top: 76px;
  z-index: 20;
  padding: 18px 0;
  background: rgba(247,251,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.catalog-toolbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-count { color: var(--muted); font-weight: 700; }
.search {
  width: min(440px, 100%);
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #b9d3ec;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.search:focus { outline: 3px solid rgba(44,145,255,.2); border-color: var(--azure); }

.companies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.company-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 35px rgba(6,35,76,.06);
}
.logo-stage {
  height: 210px;
  padding: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(45deg, rgba(230,241,252,.6) 25%, transparent 25%) 0 0/24px 24px,
    linear-gradient(-45deg, rgba(230,241,252,.6) 25%, transparent 25%) 0 12px/24px 24px,
    white;
}
.logo-stage img { max-height: 116px; max-width: 82%; object-fit: contain; }
.logo-stage img.tall { max-height: 140px; }
.logo-stage img[src$="revolware.png"] { transform: scale(2.5); }
.logo-stage img[src$="sanding.png"] { transform: scale(2.2); }
.logo-stage img[src$="moxymind.jpg"] { transform: scale(1.7); }
.logo-stage img[src$="kaisersberg.png"] { transform: scale(1.28); }
.logo-stage img[src$="nuwara-labs.png"] { transform: scale(2.05); }
.logo-stage img[src$="owasmooth.png"] { transform: scale(1.3); }
.findin-logo-heading {
  display: block;
  width: min(100%, 430px);
  margin: 24px 0 26px;
}
.findin-logo-heading img { display: block; width: 100%; height: auto; }
.partners-section { background: white; }
.partners-head { max-width: 760px; margin-bottom: 38px; }
.funding-panel {
  padding: 38px 42px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.funding-panel img { width: 100%; height: auto; }
.company-body { padding: 28px 30px 30px; }
.company-sector { margin: 0 0 12px; color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.company-body h2 { font-size: 1.75rem; margin-bottom: 16px; }
.company-body > p:not(.company-sector) { color: var(--muted); }
.looking-for {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--azure);
  border-radius: 0 10px 10px 0;
  background: var(--sky);
}
.looking-for strong { display: block; margin-bottom: 5px; color: var(--navy); }
.looking-for p { margin: 0; color: #3e5875; }
.company-links { display: flex; flex-wrap: wrap; gap: 10px; }
.company-links a { color: var(--blue); font-weight: 800; text-underline-offset: 3px; }

.content-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.content-grid p { color: var(--muted); }
.info-card { padding: 32px; background: var(--sky); border: 1px solid #cbe3fa; border-radius: 20px; }
.info-card h3 { color: var(--navy); }
.clean-list { padding-left: 20px; }
.clean-list li { margin: 10px 0; color: var(--muted); }
.contact-card { max-width: 760px; padding: 42px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-label { color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-value { margin: 6px 0 24px; font-size: 1.25rem; font-weight: 800; }
.contact-value a { color: var(--navy); }

.site-footer { color: #c7d8ea; background: #04142f; padding: 48px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.footer-brand { color: white; font-size: 1.4rem; font-weight: 850; letter-spacing: -.02em; }
.footer-copy { max-width: 620px; margin: 12px 0 0; font-size: .91rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: white; font-weight: 700; text-underline-offset: 3px; }
.footer-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 12px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 610px; }
  .hero::before { background: linear-gradient(90deg, rgba(3,18,44,.94), rgba(3,25,60,.60)), url("assets/web-summit-lisbon.png") center/cover no-repeat; }
  .stats, .feature-grid { grid-template-columns: 1fr; }
  .companies, .content-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand-copy { font-size: .9rem; }
  .hero-content { padding: 80px 0 70px; }
  h1 { font-size: 3.15rem; }
  .section { padding: 68px 0; }
  .section-head, .catalog-toolbar .wrap { align-items: stretch; flex-direction: column; }
  .catalog-toolbar { top: 76px; }
  .companies { grid-template-columns: 1fr; }
  .logo-stage { height: 175px; }
  .company-body { padding: 24px; }
  .contact-card { padding: 28px; }
  .funding-panel { padding: 24px 18px; border-radius: 16px; }
}
