/* ============================================================
   Erik Ventures — European Deep-Tech VC
   Design language mirrored from bsv.ventures
   Accent #47b2e4 · Navy #37517e · Green #73a93d
   Type: Jost (display) / Open Sans (body) / Poppins (ui)
   ============================================================ */

:root {
  --blue: #47b2e4;
  --blue-dark: #209dd8;
  --teal: #36acbb;
  --green: #73a93d;
  --navy: #37517e;
  --navy-deep: #1c2a4a;
  --ink: #2c3e50;
  --text: #444444;
  --muted: #6b7a8d;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f3f5fa;
  --bg-tint: #f7fbfe;
  --white: #ffffff;
  --err: #d00700;
  --ok: #178a53;
  --shadow-sm: 0 2px 10px rgba(20, 45, 100, 0.06);
  --shadow-md: 0 8px 28px rgba(20, 45, 100, 0.10);
  --shadow-lg: 0 18px 50px rgba(20, 45, 100, 0.14);
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1160px;
  --font-display: "Jost", -apple-system, sans-serif;
  --font-body: "Open Sans", -apple-system, sans-serif;
  --font-ui: "Poppins", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--blue-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue); }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 500; font-size: 15px;
  padding: 12px 30px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease; text-align: center; line-height: 1.2;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(71,178,228,.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--navy); letter-spacing: -.3px; }
.brand:hover { color: var(--navy); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px;
  box-shadow: 0 4px 12px rgba(71,178,228,.35);
}
.brand small { font-family: var(--font-ui); font-weight: 400; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: block; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(71,178,228,.35), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(54,172,187,.28), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 100px 0 110px; max-width: 780px; }
.hero .eyebrow { color: #bfe2f6; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 600; letter-spacing: -1px; }
.hero h1 .hl { color: var(--blue); }
.hero p.lead { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 620px; margin: 20px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-note { margin-top: 26px; font-family: var(--font-ui); font-size: 14px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.hero-note b { color: var(--blue); font-weight: 600; }

/* ---------- stats ---------- */
.stats { background: var(--white); margin-top: -52px; position: relative; z-index: 5; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 30px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--navy); line-height: 1; }
.stat .num span { color: var(--blue); }
.stat .lbl { font-family: var(--font-ui); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-top: 8px; }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-dark); display: block; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.bg-alt { background: var(--bg-alt); }
.bg-tint { background: var(--bg-tint); }

/* ---------- thesis / feature rows ---------- */
.thesis-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.thesis-grid ul { list-style: none; padding: 0; margin: 22px 0 0; }
.thesis-grid li { position: relative; padding: 0 0 16px 34px; }
.thesis-grid li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: rgba(115,169,61,.15); color: var(--green); border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.thesis-grid li b { color: var(--ink); }
.pull-card { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.pull-card h3 { color: #fff; font-size: 1.5rem; }
.pull-card p { color: rgba(255,255,255,.82); }
.pull-card .quote { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: #fff; line-height: 1.4; }
.pull-card .quote .hl { color: var(--blue); }
.pull-card .by { font-family: var(--font-ui); font-size: 14px; color: var(--blue); margin-top: 18px; }

/* ---------- programs ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prog {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: all .28s ease; position: relative; display: flex; flex-direction: column;
}
.prog:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prog .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.prog.a .ic { background: rgba(71,178,228,.14); }
.prog.b .ic { background: rgba(54,172,187,.14); }
.prog.c .ic { background: rgba(115,169,61,.14); }
.prog h3 { font-size: 1.35rem; margin-bottom: 4px; }
.prog .amt { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--navy); margin: 6px 0 4px; }
.prog .amt small { font-family: var(--font-ui); font-size: 13px; font-weight: 400; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: 1px; }
.prog p { color: var(--muted); font-size: .97rem; }
.prog ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.prog li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; border-top: 1px solid var(--line); }
.prog li:first-child { border-top: 0; }
.prog li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.tag { display: inline-block; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: .5px; padding: 5px 12px; border-radius: 50px; text-transform: uppercase; }
.tag.equity { background: rgba(115,169,61,.15); color: var(--green); }
.tag.pop { background: rgba(71,178,228,.15); color: var(--blue-dark); }

/* ---------- focus areas ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.focus { background: #fff; border-radius: var(--radius-lg); padding: 32px; border-top: 4px solid var(--blue); box-shadow: var(--shadow-sm); }
.focus:nth-child(2) { border-top-color: var(--teal); }
.focus:nth-child(3) { border-top-color: var(--green); }
.focus h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.focus .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-family: var(--font-ui); font-size: 13px; background: var(--bg-alt); color: var(--ink); padding: 6px 13px; border-radius: 50px; border: 1px solid var(--line); }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step .n { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step h4 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- forms ---------- */
.form-wrap { max-width: 780px; margin: 0 auto; }
.card-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); padding: 40px; }
.form-section { margin-bottom: 38px; }
.form-section:last-of-type { margin-bottom: 24px; }
.form-section > .fs-head { border-bottom: 2px solid var(--bg-alt); padding-bottom: 12px; margin-bottom: 22px; }
.form-section .fs-head h3 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.form-section .fs-head .step-badge { font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.form-section .fs-head p { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
label .req { color: var(--err); margin-left: 3px; }
label .hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number], select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fdfefe; transition: all .18s; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7a8d' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(71,178,228,.18); background: #fff; }
input::placeholder, textarea::placeholder { color: #aab4c0; }
.charcount { font-family: var(--font-ui); font-size: 12px; color: var(--muted); text-align: right; margin-top: 4px; }

.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer;
  font-family: var(--font-ui); font-size: 14px; padding: 10px 18px; border: 1.5px solid var(--line);
  border-radius: 50px; background: #fff; transition: all .18s; color: var(--ink);
}
.opt input:checked + label { border-color: var(--blue); background: rgba(71,178,228,.10); color: var(--navy); font-weight: 500; }
.opt input:focus-visible + label { box-shadow: 0 0 0 3px rgba(71,178,228,.18); }

.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-alt); padding: 16px 18px; border-radius: var(--radius); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.consent label { margin: 0; font-weight: 400; font-family: var(--font-body); font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; flex-wrap: wrap; }
.form-foot .req-note { font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.form-msg { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-family: var(--font-ui); font-size: 14.5px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(23,138,83,.10); color: var(--ok); border: 1px solid rgba(23,138,83,.3); }
.form-msg.err { background: rgba(208,7,0,.08); color: var(--err); border: 1px solid rgba(208,7,0,.25); }
.field-error { border-color: var(--err) !important; }
.err-text { color: var(--err); font-size: 12.5px; font-family: var(--font-ui); margin-top: 5px; display: none; }
.err-text.show { display: block; }

.success-panel { display: none; text-align: center; padding: 30px 10px; }
.success-panel.show { display: block; }
.success-panel .tick { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: rgba(23,138,83,.12); color: var(--ok); display: grid; place-items: center; font-size: 38px; }
.success-panel h3 { font-size: 1.7rem; }
.success-panel p { color: var(--muted); max-width: 460px; margin: 8px auto 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 12px auto 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 60px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h5 { font-family: var(--font-ui); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.eu-note { display: flex; align-items: center; gap: 10px; }
.eu-flag { width: 34px; height: 23px; border-radius: 3px; background: #003399; display: grid; place-items: center; color: #FFCC00; font-size: 11px; letter-spacing: 2px; }

/* ---------- misc ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; padding: 64px 0 76px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; }
.page-hero .inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.12rem; }
.breadcrumb { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill { font-family: var(--font-ui); font-size: 13px; padding: 7px 15px; border-radius: 50px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .thesis-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards-3, .focus-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px 24px; gap: 18px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
  .card-form { padding: 26px 20px; }
  section { padding: 60px 0; }
  .hero-inner { padding: 70px 0 90px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
