/* ------------------------------------------------------------------
   Lifted verbatim from mockups/eurobaselabs_mockup.html.
   The design is settled — additions live in the block at the bottom.
   ------------------------------------------------------------------ */

:root{
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, sans-serif;
  --bg: #0a0b0d;
  --bg-alt: #111318;
  --text: #e7e9ec;
  --text-dim: #8a8f98;
  --accent: #4fd1c5;
  --accent-text: #05201d;
  --card-bg: #14161b;
  --card-border: #22252b;
  --badge-bg: #1c1f26;
  --radius-card: var(--radius-md);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height:100vh;
}

.wrap{ max-width: 960px; margin:0 auto; padding: 0 var(--space-3); }

header.hero{
  padding: var(--space-6) var(--space-3) var(--space-5);
  text-align:center;
}

.logo-mark{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}
.logo-dot{
  width:10px; height:10px; border-radius:3px;
  background: var(--accent);
}

.nav-links{
  display:flex;
  gap: var(--space-3);
  justify-content:center;
  margin-bottom: var(--space-3);
}
.nav-links a{
  font-size:13px;
  font-weight:700;
  color: var(--text-dim);
  text-decoration:none;
  letter-spacing:.03em;
}
.nav-links a:hover{ color: var(--text); }

h1.tagline{
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 auto var(--space-2);
}
h1.tagline .tagline-line{ display:block; }

.subtag{
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto;
  line-height:1.5;
}

section{ padding: var(--space-5) 0; }

.section-heading{
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: var(--space-3);
}

.section-divider{
  border-top: 1px solid var(--card-border);
  margin: 0 0 var(--space-4);
}

/* ---- Apps / app-card component (kept for when Cibora ships) ---- */
.app-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}
.app-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display:flex;
  flex-direction:column;
  gap: var(--space-2);
}
.app-icon{
  width:56px; height:56px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--accent);
  color: var(--accent-text);
  flex-shrink:0;
}
.app-icon svg{ width:30px; height:30px; }
.app-name{ font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.app-desc{ color: var(--text-dim); font-size: 15px; line-height:1.5; flex-grow:1; }
.platform-row{ display:flex; gap:8px; flex-wrap:wrap; }
.platform-badge{
  font-size:12px; font-weight:600; padding: 5px 10px; border-radius: 999px;
  background: var(--badge-bg); border: 1px solid var(--card-border); color: var(--text-dim);
}
.app-links{ display:flex; gap:10px; margin-top: var(--space-1); flex-wrap:wrap; }
.ghost-card{
  border: 1.5px dashed var(--card-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; color: var(--text-dim); font-size: 14px; gap: var(--space-1);
  min-height: 200px;
}
.ghost-plus{
  width:40px;height:40px;border-radius:50%; border:1.5px dashed var(--card-border);
  display:flex;align-items:center;justify-content:center; font-size:20px; margin-bottom: 4px;
}
/* ---- end apps component ---- */

.btn{
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  border: 1px solid transparent;
}
.btn-primary{ background: var(--accent); color: var(--accent-text); }
.btn-secondary{ background: transparent; border: 1px solid var(--card-border); color: var(--text); }

.about-block{
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  display:flex;
  gap: var(--space-3);
  align-items:flex-start;
}
.about-avatar{ width:48px;height:48px;border-radius:50%; background: var(--accent); flex-shrink:0; }
.about-text p{ color: var(--text-dim); font-size: 15px; line-height:1.65; }
.about-text p + p{ margin-top: 10px; }
.about-text strong{ color: var(--text); }

.consulting-block{
  border-top: 1px solid var(--card-border);
  padding-top: var(--space-4);
}
.consulting-block h3{ font-family: var(--font-display); font-size: 21px; font-weight: 800; margin-bottom: var(--space-1); }
.consulting-block p{ color: var(--text-dim); font-size: 15px; line-height: 1.6; max-width: 620px; margin-bottom: var(--space-2); }
.text-link{ color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.text-link:hover{ text-decoration: underline; }

.cta-block{
  text-align:center;
  padding: var(--space-5) var(--space-3);
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
}
.cta-block h3{ font-family: var(--font-display); font-size: 24px; font-weight:800; margin-bottom: var(--space-1); }
.cta-block p{ color: var(--text-dim); margin-bottom: var(--space-3); font-size:15px; }

.email-row{ display:flex; gap:8px; max-width: 360px; margin: 0 auto; }
.email-row input{
  flex-grow:1; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--card-border); background: var(--card-bg); color: var(--text);
  font-family: inherit; font-size: 14px;
}

footer{ padding: var(--space-4) 0 var(--space-5); text-align:center; color: var(--text-dim); font-size: 13px; }
.footer-links{ display:flex; gap: var(--space-3); justify-content:center; margin-top: var(--space-2); }
.footer-links a{ color: var(--text-dim); text-decoration:none; font-size:13px; }
.footer-links a:hover{ color: var(--text); }

@media (max-width: 640px){
  header.hero{ padding-top: var(--space-4); }
  .about-block{ flex-direction:column; }
}

/* ------------------------------------------------------------------
   Additions beyond the mockup: the notify block is now a real <form>,
   which needs a submit button, validation states, and a honeypot.
   Nothing here changes the mockup's visual result.
   ------------------------------------------------------------------ */

/* The mockup used <a class="btn">; a <button> needs these reset explicitly. */
button.btn{
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
  appearance: none;
}
button.btn:disabled{ opacity: .6; cursor: default; }

.email-row input:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible,
.text-link:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.email-row input::placeholder{ color: var(--text-dim); }
.email-row input[aria-invalid="true"]{ border-color: #e06c6c; }

/* Bots fill in every field they find; humans never see this one.
   Kept out of the layout without `display:none`, which some bots skip. */
.honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message{
  font-size: 14px;
  line-height: 1.5;
  margin-top: var(--space-2);
  min-height: 1em;
}
.form-message[data-state="error"]{ color: #e06c6c; }
.form-message[data-state="success"]{ color: var(--accent); font-weight: 600; }

/* Server-rendered success state after a no-JavaScript form post. */
.notify-success{
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  z-index: 10;
}
.skip-link:focus{ left: var(--space-2); top: var(--space-2); }

.lang-switch{
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-2);
}
.lang-switch a{
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
}
.lang-switch a:hover{ color: var(--text); }
.lang-switch a[aria-current="true"]{ color: var(--text); font-weight: 700; }

.error-page{
  text-align: center;
  padding: var(--space-6) var(--space-3);
}
.error-page h1{
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: var(--space-2);
}
.error-page p{ color: var(--text-dim); margin-bottom: var(--space-3); }

@media (max-width: 480px){
  .email-row{ flex-direction: column; }
  .email-row .btn{ justify-content: center; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
