/* ==========================================================================
   Devminds — devminds.be
   Palette is taken from the logo artwork: #009BDE (cyan) and #345D9E (navy).
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cyan: #009bde;
  --cyan-ink: #0a6f9e; /* darkened for text on light — passes AA */
  --navy: #345d9e;
  --navy-ink: #2b4d84;

  --ink: #14243f;
  --ink-2: #41536e;
  --ink-3: #5c6c85;

  --canvas: #fbfcfe;
  --surface: #ffffff;
  --surface-2: #f2f6fb;

  --deep: #0e1f38;
  --deep-2: #17304f;
  --on-deep: #dce6f2;
  --on-deep-3: #93a8c4;

  --line: rgba(20, 36, 63, 0.11);
  --line-strong: rgba(20, 36, 63, 0.2);
  --line-deep: rgba(220, 230, 242, 0.16);

  --r-sm: 4px;
  --r: 10px;
  --r-lg: 16px;

  --gutter: 20px;
  --maxw: 1180px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
}

@media (min-width: 700px) {
  :root { --gutter: 40px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 64px; }
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: rgba(0, 155, 222, 0.22); }

/* --- layout primitives ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 760px; }

.section { padding-block: 72px; }

@media (min-width: 800px) {
  .section { padding-block: 112px; }
  .section--tight { padding-block: 80px; }
  .section--tall { padding-block: 140px; }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 160ms ease-out;
}
.skip-link:focus { top: 12px; }

/* Section eyebrow — echoes the braces in the logo. */
.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before,
.eyebrow::after {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--cyan);
  opacity: 0.55;
  line-height: 1;
}
.eyebrow::before { content: '{'; }
.eyebrow::after  { content: '}'; }

.on-deep .eyebrow { color: #6fc6f0; }
.on-deep .eyebrow::before,
.on-deep .eyebrow::after { color: #6fc6f0; opacity: 0.6; }

/* --- header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 254, 0.82);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out, background 200ms ease-out;
}

.site-header[data-stuck='true'] {
  border-bottom-color: var(--line);
  background: rgba(251, 252, 254, 0.94);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand img { width: 34px; height: auto; }

.brand span { transition: color 150ms ease-out; }
.brand:hover span { color: var(--navy-ink); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 150ms ease-out;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav__cta {
  margin-left: 6px;
  padding: 8px 15px !important;
  border: 1px solid var(--line-strong);
  border-radius: 999px !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  transition: border-color 150ms ease-out, background 150ms ease-out;
}
.nav__cta::after { display: none; }
.nav__cta:hover { border-color: var(--navy); background: rgba(0, 155, 222, 0.07); }

@media (max-width: 640px) {
  .nav a { padding: 8px 9px; font-size: 13.5px; }
  .nav a:not(.nav__cta) { display: none; }
  .nav a[href='#products'] { display: inline-block; }
}

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background 150ms ease-out, border-color 150ms ease-out,
    color 150ms ease-out, transform 150ms ease-out;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--deep);
  color: #fff;
}
.btn--primary:hover { background: var(--navy-ink); }

.btn--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(0, 155, 222, 0.07); }

.on-deep .btn--primary { background: var(--cyan); color: #04223a; }
.on-deep .btn--primary:hover { background: #35b3e8; }

.on-deep .btn--ghost { color: var(--on-deep); border-color: var(--line-deep); }
.on-deep .btn--ghost:hover {
  border-color: rgba(220, 230, 242, 0.42);
  background: rgba(220, 230, 242, 0.07);
}

.btn svg { flex: none; }

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 64px 76px;
}

@media (min-width: 900px) {
  .hero { padding-block: 96px 128px; }
}

.hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 40px;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.15rem);
  letter-spacing: -0.042em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--navy);
  position: relative;
}

.hero__lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 33em;
}

.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Availability pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 11px;
  margin-bottom: 26px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 3px rgba(23, 178, 106, 0.18);
  flex: none;
}

/* Hero artwork — the mark is allowed to bleed past the right edge. */
.hero__art {
  position: relative;
  display: none;
}

@media (min-width: 900px) {
  .hero__art { display: block; }
}

.hero__art img {
  width: 125%;
  max-width: none;
  transform: translateX(4%);
  filter: drop-shadow(0 22px 44px rgba(20, 36, 63, 0.13));
}

.hero__art::before {
  content: '';
  position: absolute;
  inset: -22% -18% -22% -8%;
  background: radial-gradient(
    58% 52% at 52% 48%,
    rgba(0, 155, 222, 0.15) 0%,
    rgba(0, 155, 222, 0) 72%
  );
  z-index: -1;
}

/* Small-screen mark, shown above the heading */
.hero__art--inline {
  display: block;
  width: 84px;
  margin-bottom: 26px;
}
@media (min-width: 900px) {
  .hero__art--inline { display: none; }
}

/* --- capability strip ----------------------------------------------------- */

.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 30px;
  padding-block: 22px;
}

.strip__label {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.strip__list li { position: relative; }

.strip__list li + li::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
  transform: translateY(-50%);
}

/* --- profile -------------------------------------------------------------- */

.split {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 0.62fr 1fr;
    gap: 72px;
  }
  .split__aside { position: sticky; top: 108px; align-self: start; }
}

.profile h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.4rem);
  margin-bottom: 6px;
}

.profile__role {
  font-size: 15px;
  font-weight: 500;
  color: var(--cyan-ink);
  margin-bottom: 26px;
}

.profile__body > p + p { margin-top: 18px; }

:where(.profile__body) p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 64ch;
}

.profile__body strong { color: var(--ink); font-weight: 600; }

/* Focus areas — hairline rows, deliberately no icons. */
.areas {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
}

@media (min-width: 620px) {
  .areas { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

.areas li {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.areas li::before {
  content: counter(area, decimal-leading-zero);
  counter-increment: area;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
  flex: none;
}

.areas { counter-reset: area; }

.areas li span {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 2px;
}

.areas li > div { min-width: 0; }

/* --- products ------------------------------------------------------------- */

.products { background: var(--surface-2); }

.products__head {
  max-width: 640px;
  margin-bottom: 44px;
}

.products__head h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.4rem);
  margin-bottom: 14px;
}

:where(.products__head) p {
  font-size: 16.5px;
  color: var(--ink-2);
}

.products__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 940px) {
  .products__grid {
    grid-template-columns: 1.42fr 1fr;
    align-items: start;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease-out, transform 200ms ease-out,
    box-shadow 200ms ease-out;
}

@media (min-width: 940px) {
  .card--feature { padding: 44px 40px; }
}

.card--feature {
  box-shadow: 0 1px 2px rgba(20, 36, 63, 0.04),
    0 6px 14px rgba(20, 36, 63, 0.045), 0 16px 34px rgba(20, 36, 63, 0.03);
}

.card:hover {
  border-color: rgba(0, 155, 222, 0.45);
  transform: translateY(-2px);
}

.card__tag {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.card--feature h3 { font-size: clamp(1.6rem, 2.5vw, 2rem); }

.card__sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--cyan-ink);
  margin-bottom: 16px;
}

:where(.card) p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.68;
}

.card__note { margin-top: 14px; }

.card__foot {
  margin-top: auto;
  padding-top: 24px;
}

/* Proof quote inside the featured card */
.proof {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--surface-2);
  border-left: 2.5px solid var(--cyan);
  border-radius: 0 var(--r) var(--r) 0;
}

.proof p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.proof strong { font-weight: 600; }

.proof__meta {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: var(--ink-3);
}

/* Text link with animated underline */
.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-ink);
  text-decoration: none;
  position: relative;
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.28;
  transition: opacity 160ms ease-out, right 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link:hover::after { opacity: 0.85; right: 0; }

.link svg { transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1); }
.link:hover svg { transform: translate(2px, -2px); }

/* --- contact -------------------------------------------------------------- */

.contact {
  background: var(--deep);
  color: var(--on-deep);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    46% 62% at 76% 8%,
    rgba(0, 155, 222, 0.2) 0%,
    rgba(0, 155, 222, 0) 68%
  );
  pointer-events: none;
}

/* Left-aligned to the same gutter as every other section — the empty right side
   is the point, but only reads as deliberate when the left edges line up. */
.contact__inner { position: relative; }
.contact__inner > * { max-width: 640px; }

.contact h2 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  color: #fff;
  margin-bottom: 18px;
  max-width: 17ch;
}

:where(.contact) p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--on-deep-3);
  max-width: 50ch;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.contact__direct {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-deep);
  font-size: 14.5px;
  color: var(--on-deep-3);
}

.contact__direct a {
  color: var(--on-deep);
  text-decoration-color: rgba(220, 230, 242, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease-out;
}
.contact__direct a:hover { text-decoration-color: var(--cyan); }

/* --- footer --------------------------------------------------------------- */

.site-footer {
  background: var(--deep);
  color: var(--on-deep-3);
  border-top: 1px solid var(--line-deep);
  padding-block: 34px;
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: var(--on-deep-3);
  text-decoration: none;
  transition: color 150ms ease-out;
}
.site-footer a:hover { color: #fff; }

.site-footer__links { display: flex; gap: 22px; }

/* --- scroll reveal -------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- legal / content pages ------------------------------------------------ */

.prose h1 { font-size: clamp(2rem, 4.4vw, 2.75rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.3rem; margin: 40px 0 12px; }
:where(.prose) p, :where(.prose) li { color: var(--ink-2); font-size: 16px; line-height: 1.72; }
.prose p + p { margin-top: 15px; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li + li { margin-top: 7px; }
.prose a { color: var(--navy-ink); text-underline-offset: 3px; }
.prose__meta { font-size: 14px; color: var(--ink-3); margin-bottom: 34px; }

/* --- 404 ------------------------------------------------------------------ */

.notfound {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 80px;
}

.notfound__code {
  font-family: var(--display);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--cyan);
  opacity: 0.25;
  line-height: 0.9;
  margin-bottom: 18px;
}

.notfound h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

:where(.notfound) p {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 46ch;
}

.notfound__actions { margin-top: 30px; }
