/* ---------- Design tokens ---------- */
:root {
  --navy:        #1c2b46;   /* "cont" wordmark */
  --blue:        #3a93c9;   /* "net" wordmark, accents */
  --box-blue:    #4f6e96;   /* filled feature boxes */
  --headline:    #2b8cc4;   /* section headline */
  --closing:     #4aa0d6;   /* closing sentence */
  --text:        #555a60;   /* body copy */
  --line:        #d9dee4;   /* outlined box borders */
  --maxw:        760px;     /* content column width */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
.site-header {
  padding: 22px 16px;
  border-bottom: 1px solid #eef1f4;
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  text-decoration: none;
}
.logo__img {
  height: 34px;
  width: auto;
}

/* ---------- Full-width image bands ---------- */
.band {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.band--hero  { height: 420px; background-image: url(../assets/img/pic1.jpg); }
.band--desk  { height: 420px; background-image: url(../assets/img/pic2.jpg); }
.band--hands { height: 420px; background-image: url(../assets/img/pic3.jpg); }

/* ---------- Feature box rows ---------- */
.features {
  padding: 0 16px;
}
.features--filled  { margin-top: -56px; position: relative; z-index: 2; }
.features--outline { margin-top: 60px; }

.features__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 22px 30px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

.feature__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

/* Filled (blue) variant — top row */
.features--filled .feature {
  background: var(--box-blue);
  color: #fff;
}
.features--filled .feature__icon { background-color: #fff; }

/* Outlined variant — bottom row */
.features--outline .feature {
  background: #fff;
  border: 1px solid var(--line);
}
.features--outline .feature__icon { background-color: var(--box-blue); }
.features--outline .feature__text { color: var(--text); }

/* ---------- Intro ---------- */
.intro {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 24px 60px;
  text-align: center;
}
.intro__title {
  color: var(--headline);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 26px;
}
.intro__text {
  margin: 0;
  font-size: 18px;
  color: #6a7077;
}

/* ---------- Closing ---------- */
.closing {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 46px 24px 70px;
  text-align: center;
}
.closing__text {
  margin: 0;
  color: var(--closing);
  font-size: 19px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 28px 16px;
  font-size: 13px;
  color: #9aa0a7;
}
.site-footer a { color: var(--blue); text-decoration: none; }

.site-footer__links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.footer-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--blue);
  cursor: pointer;
}
.footer-link:hover { text-decoration: underline; }
.footer-link__sep { color: #9aa0a7; }

/* ---------- Modal ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 70, 0.55);
}
.modal__dialog {
  position: relative;
  background: #fff;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 4px;
  padding: 40px 44px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #9aa0a7;
  cursor: pointer;
}
.modal__close:hover { color: var(--navy); }
.modal__title {
  color: var(--headline);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 18px;
}
.modal__body { font-size: 15px; color: var(--text); }
.modal__body h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 6px;
}
.modal__body a { color: var(--blue); text-decoration: none; }
body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .features__inner { grid-template-columns: 1fr; gap: 10px; }
  .features--filled { margin-top: -40px; }
  .band--hero, .band--desk, .band--hands { height: 260px; }
  .intro__title { font-size: 20px; }
  .intro__text { font-size: 16px; }
}
