/* Capabilities page: hero, platform globe and group sections, after Dilara's mockups (design/reference). */

/* opening band: the title on the left, Şimşek's recordings in a laptop on the right, their controls underneath */

.teo-website-modules-hero {
  --teo-modules-gutter: clamp(16px, 5vw, 72px);
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(96px, 12vh, 118px) 0 clamp(16px, 2.6vh, 24px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 52% 64% at 90% 0%, #1a78f6 0%, rgba(4, 83, 224, 0.85) 30%, rgba(4, 83, 224, 0.3) 62%, rgba(4, 83, 224, 0) 86%),
    radial-gradient(ellipse 22% 58% at 100% 40%, rgba(21, 116, 245, 0.75), rgba(4, 83, 224, 0) 80%),
    radial-gradient(ellipse 40% 46% at 66% 40%, rgba(2, 40, 120, 0.55), rgba(2, 40, 120, 0) 72%),
    radial-gradient(ellipse 40% 26% at 22% 78%, rgba(1, 24, 64, 0.7), rgba(1, 24, 64, 0) 70%),
    linear-gradient(180deg, rgba(0, 3, 11, 0) 58%, rgba(20, 70, 170, 0.16) 74%, #000b20 100%),
    #00030b;
}

/* the dark desk the laptop stands on, with soft blue streaks of the light behind it */
.teo-website-modules-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  z-index: -1;
  background:
    radial-gradient(ellipse 3% 46% at 74% 34%, rgba(60, 130, 255, 0.12), rgba(60, 130, 255, 0) 100%),
    radial-gradient(ellipse 4% 50% at 86% 36%, rgba(60, 130, 255, 0.14), rgba(60, 130, 255, 0) 100%),
    radial-gradient(ellipse 3% 46% at 95% 34%, rgba(60, 130, 255, 0.16), rgba(60, 130, 255, 0) 100%),
    radial-gradient(ellipse 34% 26% at 64% 26%, rgba(51, 102, 189, 0.4), rgba(51, 102, 189, 0) 100%),
    linear-gradient(180deg, rgba(11, 40, 87, 0) 0%, rgba(11, 40, 87, 0.5) 30%, rgba(0, 11, 32, 0.95) 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, #000 55%, #000 100%);
}

.teo-website-modules-hero-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--teo-modules-gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  align-items: center;
}

.teo-website-modules-hero-text {
  position: relative;
  z-index: 1;
  margin-right: -48px;
}

.teo-website-modules-eyebrow {
  margin: 0 0 clamp(16px, 1.6vw, 22px);
  color: #cfe6f2;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.teo-website-modules-hero .teo-website-modules-hero-title {
  margin: 0;
  color: #f4f4f5;
  font-size: clamp(44px, 5.35vw, 77px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.teo-website-modules-hero-title em {
  padding-bottom: 0.06em;
  font-style: normal;
  background: linear-gradient(90deg, #e2effb 0%, #b8d9f9 45%, #8ec4fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* as wide as the mockup's three lines: "tek platform," ends the second */
.teo-website-modules-hero-lead {
  width: 19em;
  max-width: 100%;
  margin: clamp(18px, 1.7vw, 24px) 0 0;
  color: #c9e2f2;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.45;
}

.teo-website-modules-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 2.1vw, 30px);
  padding: 4px 2px 14px;
  border: 0;
  border-bottom: 1.5px solid #e0f0fa;
  background: none;
  color: #b0d1f3;
  font: 400 clamp(17px, 1.4vw, 20px) var(--teo-website-font-body);
  cursor: pointer;
  transition: color 0.2s, gap 0.2s;
}

.teo-website-modules-hero-link i {
  font-size: 0.8em;
}

.teo-website-modules-hero-link:hover {
  gap: 14px;
  color: #fff;
}

/* the laptop reaches a little into the right margin, as large as in the mockup */
.teo-website-modules-hero-stage {
  position: relative;
  min-width: 0;
  margin-right: calc(var(--teo-modules-gutter) * -0.33);
}

/* the light behind the top right corner of the lid and its reflection on the desk, so they follow the laptop on any
   screen width */
.teo-website-modules-hero-stage::before,
.teo-website-modules-hero-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.teo-website-modules-hero-stage::before {
  left: 70%;
  top: -50%;
  width: 46%;
  height: 112%;
  background: radial-gradient(ellipse closest-side at 50% 50%, rgba(108, 192, 255, 0.95) 0%, rgba(37, 133, 250, 0.72) 32%, rgba(4, 83, 224, 0.3) 66%, rgba(4, 83, 224, 0) 100%);
}

.teo-website-modules-hero-stage::after {
  left: 62%;
  top: 86%;
  width: 69%;
  height: 64%;
  background: radial-gradient(ellipse closest-side at 50% 46%, rgba(130, 196, 255, 0.62) 0%, rgba(30, 120, 245, 0.46) 30%, rgba(10, 90, 225, 0.24) 62%, rgba(10, 90, 225, 0) 100%);
}

/* laptop of this page: the shared frame with an aluminium rim, a notch, a 16:9 screen for the recordings and a deck */

.teo-website-modules-laptop::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  top: 100%;
  height: 46px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 22% at 50% 0%, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 100%),
    radial-gradient(ellipse 46% 60% at 50% 20%, rgba(140, 170, 230, 0.22), rgba(140, 170, 230, 0) 100%);
  filter: blur(6px);
}

.teo-website-modules-laptop .teo-website-laptop-lid {
  margin: 0 8.9%;
  padding: 2.4% 1.67% 2.06%;
  border: 1.5px solid transparent;
  border-radius: clamp(10px, 1.6vw, 20px) clamp(10px, 1.6vw, 20px) 7px 7px;
  background:
    linear-gradient(180deg, #07080b, #030406) padding-box,
    linear-gradient(100deg, #b9c3d1 0%, #f6f7fa 40%, #c8d2e2 72%, #5896ea 100%) border-box;
  box-shadow: inset 0 0 0 1.5px #0e1013, 22px -4px 60px -24px rgba(88, 150, 234, 0.8), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

/* the camera, inside the notch */
.teo-website-modules-laptop .teo-website-laptop-lid::before {
  top: 1.15%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  z-index: 3;
  background: #1b2440;
  box-shadow: inset 0 0 0 1px #2c3854;
}

.teo-website-modules-laptop .teo-website-laptop-screen {
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  background: #02060f;
}

.teo-website-modules-laptop .teo-website-laptop-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 10%;
  height: 2.4%;
  min-height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #030406;
}

.teo-website-modules-laptop .teo-website-laptop-base {
  height: auto;
  aspect-ratio: 1017 / 80;
  margin-top: 0;
  border-radius: 0 0 12px 12px / 0 0 9px 9px;
  clip-path: polygon(8.6% 0, 91.4% 0, 99.6% 76%, 100% 80%, 100% 100%, 0 100%, 0 80%, 0.4% 76%);
  /* silver as in the mockup: the deck darker at the hinge and lit towards its bright front edge, the light of the right
     side on its right end, the side of the deck in shadow */
  background:
    linear-gradient(90deg, rgba(150, 190, 245, 0.28) 0%, rgba(150, 190, 245, 0) 16%, rgba(225, 240, 255, 0) 80%, rgba(225, 240, 255, 0.8) 100%) 0 0 / 100% 74% no-repeat,
    linear-gradient(90deg, rgba(88, 150, 234, 0.18) 0%, rgba(88, 150, 234, 0) 14%, rgba(88, 150, 234, 0) 84%, rgba(88, 150, 234, 0.36) 100%),
    linear-gradient(180deg, #a3abb8 0%, #a3abb8 3%, #23272f 4.5%, #646b79 10%, #7d8492 40%, #949ba7 64%, #abb2bd 72%, #e6eaf0 74.5%, #a2a9b5 77%, #6f7684 88%, #474d59 100%);
  box-shadow: none;
}

/* the dent at the front of the deck */
.teo-website-modules-laptop .teo-website-laptop-base::before {
  top: auto;
  bottom: 0;
  width: 15.4%;
  height: 16%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #7e8796, #b9c1cd);
}

.teo-website-modules-laptop-keys {
  position: absolute;
  left: 10.6%;
  right: 10.6%;
  top: 7%;
  height: 33%;
  clip-path: polygon(0.6% 0, 99.4% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 calc(100% / 30 - 1.5px), rgba(58, 64, 76, 0.34) calc(100% / 30 - 1.5px) calc(100% / 30)),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 calc(25% - 1px), rgba(58, 64, 76, 0.34) calc(25% - 1px) 25%),
    linear-gradient(180deg, #0c0e12, #16191f);
  box-shadow: inset 0 0 0 1px rgba(20, 22, 28, 0.9);
}

.teo-website-modules-laptop-pad {
  position: absolute;
  left: 30%;
  width: 40%;
  top: 42%;
  height: 31%;
  border-radius: 3px;
  background: linear-gradient(180deg, #858c99, #a4abb7);
  box-shadow: inset 0 1px 0 rgba(40, 46, 58, 0.55), inset 0 -1px 0 rgba(230, 236, 245, 0.5);
}

/* recording badge and play button on the screen */
.teo-website-modules-badge {
  position: absolute;
  top: 4.5%;
  right: 2.4%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(3, 9, 28, 0.72);
  color: #e6eefa;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.teo-website-modules-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5468;
  box-shadow: 0 0 8px rgba(255, 84, 104, 0.8);
}

.teo-website-modules-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(48px, 5.4vw, 78px);
  height: clamp(48px, 5.4vw, 78px);
  padding: 0 0 0 0.12em;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 24, 0.8);
  color: #fcfcfc;
  font-size: clamp(22px, 2.4vw, 36px);
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}

.teo-website-modules-disc:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

/* while a recording plays, the hero hides its play button; the group laptops show theirs as a pause button on hover */
[data-teo-player]:not(.teo-website-modules-paused) .teo-website-modules-disc {
  opacity: 0;
  visibility: hidden;
}

.teo-website-modules-player:not(.teo-website-modules-paused):hover .teo-website-modules-disc,
.teo-website-modules-player:not(.teo-website-modules-paused) .teo-website-modules-disc:focus-visible {
  opacity: 1;
  visibility: visible;
}

.teo-website-modules-player .teo-website-modules-disc {
  padding-left: 0;
}

.teo-website-modules-paused .teo-website-modules-disc {
  padding-left: 0.12em;
}

/* the row under the laptop: hairline, previous, the recordings, pause, next, hairline; the counter above it */

.teo-website-modules-controls {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  margin-top: clamp(44px, 8vh, 84px);
}

.teo-website-modules-rule {
  flex: 1 1 0;
  min-width: 24px;
  height: 1px;
  background: rgba(150, 180, 230, 0.35);
}

.teo-website-modules-rule:last-of-type {
  background: rgba(110, 160, 230, 0.5);
}

.teo-website-modules-control {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  transition: background 0.2s;
}

.teo-website-modules-control-pause {
  font-size: 30px;
}

.teo-website-modules-control:hover {
  background: rgba(120, 165, 235, 0.16);
}

.teo-website-modules-track {
  position: relative;
  flex: 0 1 auto;
  display: flex;
  gap: clamp(12px, 1.7vw, 24px);
  width: min(700px, 48vw);
  margin: 0 -6px;
  padding: 6px 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 20px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 20px, #000 calc(100% - 64px), rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 20px, #000 calc(100% - 64px), rgba(0, 0, 0, 0) 100%);
}

.teo-website-modules-track::-webkit-scrollbar {
  display: none;
}

.teo-website-modules-chip {
  position: relative;
  flex: none;
  height: 44px;
  padding: 0 clamp(18px, 2.2vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(120, 165, 235, 0.36);
  border-radius: 999px;
  background: rgba(1, 10, 28, 0.35);
  color: #afd2f6;
  font: 500 clamp(14px, 1.1vw, 16px) var(--teo-website-font-body);
  white-space: nowrap;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.teo-website-modules-chip:hover {
  border-color: var(--teo-website-accent);
  color: #fff;
}

.teo-website-modules-chip:focus-visible {
  outline-offset: 2px;
  border-radius: 999px;
}

.teo-website-modules-chip.teo-website-active {
  border-color: rgba(144, 215, 255, 0.85);
  background: rgba(42, 107, 255, 0.24);
  color: #fff;
}

.teo-website-modules-chip-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teo-website-accent-light);
}

.teo-website-modules-counter {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin: 0;
  color: #c1ddf8;
  font-size: clamp(14px, 1.1vw, 16px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.teo-website-modules-counter strong {
  color: #fff;
  font-weight: 600;
}

.teo-website-modules-note {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: var(--teo-website-text-faint);
  font-size: 14px;
  text-align: center;
}

/* platform band: the clients on the globe meet where the data lives */

.teo-website-modules-platform {
  --teo-modules-gutter: clamp(16px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 26% at 30% 90%, rgba(28, 91, 177, 0.26), rgba(28, 91, 177, 0) 70%),
    linear-gradient(180deg, #000b20 0%, #000109 16%, #000109 72%, #01081a 100%);
}

.teo-website-modules-platform-stage {
  position: relative;
  width: 100%;
  max-width: 1600px;
  min-height: clamp(640px, 68vw, 1020px);
  margin: 0 auto;
  padding: clamp(64px, 10.4vw, 150px) 3.5% clamp(110px, 9.4vw, 135px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.teo-website-modules-globe {
  position: absolute;
  left: -17.85%;
  top: 5.5%;
  z-index: -1;
  width: 93.2%;
  pointer-events: none;
}

.teo-website-modules-globe-box {
  position: relative;
  aspect-ratio: 1342 / 881;
}

/* the night earth of the art lifted towards the brighter blue of the mockup */
.teo-website-modules-globe-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(1.12) saturate(1.2);
}

/* the atmosphere along the limb of the earth in the art, bright as in the mockup and faded out where the art fades */
.teo-website-modules-globe-rim {
  position: absolute;
  left: -19.56%;
  top: 2.61%;
  width: 114.01%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5px rgba(200, 230, 255, 0.75),
    0 0 30px 8px rgba(80, 160, 255, 0.7),
    0 0 90px 26px rgba(40, 110, 240, 0.34),
    inset 0 0 22px 6px rgba(120, 195, 255, 0.7),
    inset 0 0 80px 22px rgba(61, 139, 255, 0.5);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, 0) 68%);
  mask-image: linear-gradient(180deg, #000 40%, rgba(0, 0, 0, 0) 68%);
}

.teo-website-modules-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.teo-website-modules-arc {
  fill: none;
  stroke: rgba(220, 232, 255, 0.55);
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1) var(--teo-delay, 0s);
}

.teo-website-modules-globe.teo-website-visible .teo-website-modules-arc {
  stroke-dashoffset: 0;
}

.teo-website-modules-packet {
  fill: #fff;
  filter: drop-shadow(0 0 5px #8fc3ff);
}

.teo-website-modules-hub {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #e9f6ff;
  box-shadow: 0 0 16px 5px rgba(127, 224, 255, 0.75), 0 0 46px 16px rgba(61, 139, 255, 0.45);
  animation: teo-website-modules-pulse 2.8s ease-in-out infinite;
}

.teo-website-modules-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-6px, -50%);
}

.teo-website-modules-node-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(143, 195, 255, 0.22), 0 0 14px 4px rgba(143, 195, 255, 0.8);
}

.teo-website-modules-node-label {
  padding: 7px 18px;
  border: 1px solid rgba(170, 200, 255, 0.45);
  border-radius: 999px;
  background: rgba(6, 14, 34, 0.75);
  color: #e6eefa;
  font-size: 16px;
  line-height: 1.6;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.teo-website-modules-platform-text {
  position: relative;
  width: 31.5%;
  min-width: 300px;
}

.teo-website-modules-platform .teo-website-modules-platform-title {
  margin: 0;
  color: #f2f6fb;
  font-size: clamp(34px, 4.3vw, 62px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.teo-website-modules-platform-title em {
  font-style: normal;
  background: linear-gradient(90deg, #bcdaf7, #94c2ef);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.teo-website-modules-clients {
  display: grid;
  gap: clamp(18px, 3vw, 43px);
  margin: clamp(36px, 4.6vw, 66px) 0 0;
  padding: 0 0 0 30%;
  list-style: none;
}

.teo-website-modules-clients li {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 42px);
  color: #e6ebf2;
  font-size: clamp(16px, 1.3vw, 19px);
}

.teo-website-modules-clients i {
  width: 1.15em;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1;
  text-align: center;
}

.teo-website-modules-platform-caption {
  position: absolute;
  left: max(var(--teo-modules-gutter), 5.3%);
  bottom: clamp(36px, 5vw, 72px);
  margin: 0;
  padding-top: 22px;
  color: #8a96a8;
  font-size: 14px;
}

.teo-website-modules-platform-caption::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 147px;
  height: 1px;
  background: rgba(140, 155, 180, 0.5);
}

/* one band per group: big title, one line, links to every module, the group in a tilted laptop */

.teo-website-modules-groups {
  scroll-margin-top: 84px;
}

.teo-website-modules-group {
  --teo-modules-gutter: clamp(16px, 5vw, 72px);
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 22% at 72% 86%, rgba(28, 91, 177, 0.3), rgba(28, 91, 177, 0) 72%),
    radial-gradient(ellipse 34% 46% at 76% 46%, rgba(12, 81, 210, 0.22), rgba(12, 81, 210, 0) 70%),
    linear-gradient(180deg, #01081a 0%, #000309 24%, #000309 70%, #01081a 100%);
}

.teo-website-modules-group-reverse {
  background:
    radial-gradient(ellipse 60% 22% at 28% 86%, rgba(28, 91, 177, 0.3), rgba(28, 91, 177, 0) 72%),
    radial-gradient(ellipse 34% 46% at 24% 46%, rgba(12, 81, 210, 0.22), rgba(12, 81, 210, 0) 70%),
    linear-gradient(180deg, #01081a 0%, #000309 24%, #000309 70%, #01081a 100%);
}

.teo-website-modules-group-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--teo-modules-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(24px, 2.8vw, 40px);
  align-items: center;
}

.teo-website-modules-group-reverse .teo-website-modules-group-shell {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.teo-website-modules-group-reverse .teo-website-modules-group-text {
  order: 2;
}

.teo-website-modules-group .teo-website-modules-group-title {
  display: inline-block;
  margin: 0;
  padding-bottom: 0.06em;
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #f2f6fb 0%, #f2f6fb 50%, #99c3eb 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.teo-website-modules-group-lead {
  margin: clamp(12px, 1.4vw, 20px) 0 0;
  max-width: 48ch;
  color: #c3cee0;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
}

.teo-website-modules-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(20px, 1.9vw, 28px);
  margin: clamp(22px, 3vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.teo-website-modules-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 11px;
  border-bottom: 1px solid rgba(125, 165, 220, 0.7);
  color: #e6edf7;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}

.teo-website-modules-link i {
  font-size: 0.82em;
  transition: transform 0.2s;
}

.teo-website-modules-link:hover {
  border-color: #fff;
  color: #fff;
}

.teo-website-modules-link:hover i {
  transform: translateX(3px);
}

/* the laptop is as large as in the mockup: its lid ends at the margin, its deck reaches into it and towards the text */
.teo-website-modules-group-stage {
  position: relative;
  min-width: 0;
  margin: 0 calc(var(--teo-modules-gutter) * -1) 0 calc(var(--teo-modules-gutter) * -0.5);
  perspective: 1600px;
}

.teo-website-modules-group-reverse .teo-website-modules-group-stage {
  margin: 0 calc(var(--teo-modules-gutter) * -0.5) 0 calc(var(--teo-modules-gutter) * -1);
}

/* the near side of the laptop turns towards the text, the light behind it falls on the desk on that side */
.teo-website-modules-group-stage .teo-website-modules-laptop {
  transform: rotateY(-18deg) rotateX(3deg) rotateZ(-1deg);
  transform-origin: 50% 60%;
}

.teo-website-modules-group-reverse .teo-website-modules-group-stage .teo-website-modules-laptop {
  transform: rotateY(18deg) rotateX(3deg) rotateZ(1deg);
}

.teo-website-modules-group-stage::before,
.teo-website-modules-group-stage::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.teo-website-modules-group-stage::before {
  left: -16%;
  top: 0;
  width: 48%;
  height: 110%;
  background: radial-gradient(ellipse closest-side at 50% 54%, rgba(44, 127, 213, 0.72) 0%, rgba(12, 66, 160, 0.4) 50%, rgba(12, 60, 140, 0) 100%);
}

.teo-website-modules-group-stage::after {
  left: -56%;
  top: 90%;
  width: 100%;
  height: 14%;
  background: radial-gradient(ellipse closest-side at 64% 50%, rgba(205, 238, 255, 0.85) 0%, rgba(60, 140, 230, 0.45) 30%, rgba(20, 80, 180, 0.12) 70%, rgba(20, 80, 180, 0) 100%);
}

.teo-website-modules-group-reverse .teo-website-modules-group-stage::before {
  left: auto;
  right: -16%;
}

.teo-website-modules-group-reverse .teo-website-modules-group-stage::after {
  left: auto;
  right: -56%;
  transform: scaleX(-1);
}

/* the phone beside the laptop of the field group */
.teo-website-modules-phone {
  position: absolute;
  right: 7%;
  bottom: -6%;
  z-index: 2;
  width: 21%;
  padding: 1.3%;
  border: 1.5px solid transparent;
  border-radius: clamp(14px, 2vw, 26px);
  background:
    linear-gradient(180deg, #07080b, #030406) padding-box,
    linear-gradient(120deg, #c8d2e2, #f6f7fa 40%, #5896ea 100%) border-box;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(42, 107, 255, 0.5);
  transform: rotate(4deg);
}

.teo-website-modules-phone img {
  width: 100%;
  aspect-ratio: 373 / 597;
  object-fit: cover;
  border-radius: clamp(9px, 1.4vw, 18px);
}

/* the page of a module: the description beside the start of its features, its screenshots in the laptop and phones of
   the capabilities page */

.teo-website-module-overview {
  align-items: start;
}

.teo-website-module-gallery {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

.teo-website-module-gallery-laptop {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.teo-website-module-gallery-wide {
  grid-column: 1 / -1;
}

/* a single screenshot is no wider than the laptop */
.teo-website-module-gallery-wide:only-child {
  justify-self: center;
  width: 100%;
  max-width: 980px;
}

.teo-website-module-gallery-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
}

.teo-website-module-gallery-phone {
  width: min(300px, 76vw);
  margin: 0;
  padding: 10px;
  border: 1.5px solid transparent;
  border-radius: 34px;
  background:
    linear-gradient(180deg, #07080b, #030406) padding-box,
    linear-gradient(120deg, #c8d2e2, #f6f7fa 40%, #5896ea 100%) border-box;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 60px -10px rgba(42, 107, 255, 0.5);
}

.teo-website-module-gallery-phone img {
  display: block;
  width: 100%;
  border-radius: 24px;
}

@keyframes teo-website-modules-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.8;
  }
}

/* narrow screens */

@media (max-width: 1080px) {
  .teo-website-modules-hero-shell {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  }

  .teo-website-modules-hero-text {
    margin-right: 0;
    padding-right: 12px;
  }

  .teo-website-modules-hero-lead {
    width: auto;
  }

  .teo-website-modules-hero .teo-website-modules-hero-title {
    font-size: clamp(44px, 6vw, 64px);
  }

  .teo-website-modules-track {
    width: min(560px, 52vw);
  }

  .teo-website-modules-platform-text {
    width: 34%;
  }

  .teo-website-modules-group-stage .teo-website-modules-laptop {
    transform: rotateY(-8deg) rotateX(3deg) rotateZ(-1deg);
  }

  .teo-website-modules-group-reverse .teo-website-modules-group-stage .teo-website-modules-laptop {
    transform: rotateY(8deg) rotateX(3deg) rotateZ(1deg);
  }
}

@media (max-width: 900px) {
  .teo-website-modules-hero {
    min-height: 0;
  }

  .teo-website-modules-hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .teo-website-modules-hero-stage {
    width: 100%;
    max-width: 720px;
    margin: 48px auto 0;
  }

  .teo-website-modules-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 10px;
    margin-top: 48px;
  }

  .teo-website-modules-rule {
    display: none;
  }

  .teo-website-modules-track {
    order: -1;
    flex: 1 1 100%;
    width: 100%;
    padding: 6px 18px;
    scroll-snap-type: x mandatory;
  }

  .teo-website-modules-counter {
    position: static;
    margin-left: auto;
  }

  .teo-website-modules-platform-stage {
    display: block;
    min-height: 0;
    padding: 0 0 72px;
  }

  .teo-website-modules-globe {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 84vw;
    max-height: 680px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 8%, #000 84%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 8%, #000 84%, rgba(0, 0, 0, 0) 100%);
  }

  .teo-website-modules-node-end {
    flex-direction: row-reverse;
    transform: translate(calc(-100% + 6px), -50%);
  }

  .teo-website-modules-globe-box {
    position: absolute;
    left: -38%;
    top: -1vw;
    width: 154%;
  }

  .teo-website-modules-platform-text {
    width: auto;
    min-width: 0;
    margin-top: 8px;
    padding: 0 var(--teo-modules-gutter);
  }

  .teo-website-modules-clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .teo-website-modules-platform-caption {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 40px var(--teo-modules-gutter) 0;
  }

  .teo-website-modules-group-shell,
  .teo-website-modules-group-reverse .teo-website-modules-group-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .teo-website-modules-group-reverse .teo-website-modules-group-text {
    order: 0;
  }

  .teo-website-modules-group-stage,
  .teo-website-modules-group-reverse .teo-website-modules-group-stage {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .teo-website-modules-group-stage .teo-website-modules-laptop,
  .teo-website-modules-group-reverse .teo-website-modules-group-stage .teo-website-modules-laptop {
    transform: none;
  }
}

@media (max-width: 600px) {
  /* the text spans the whole width on a phone: the light stays above it and beside the laptop, not behind the words */
  .teo-website-modules-hero {
    padding-top: 104px;
    background:
      radial-gradient(ellipse 70% 30% at 100% 0%, #1a78f6 0%, rgba(4, 83, 224, 0.6) 40%, rgba(4, 83, 224, 0) 80%),
      radial-gradient(ellipse 34% 30% at 100% 64%, rgba(21, 116, 245, 0.6), rgba(4, 83, 224, 0) 80%),
      linear-gradient(180deg, rgba(0, 3, 11, 0) 58%, rgba(20, 70, 170, 0.16) 74%, #000b20 100%),
      #00030b;
  }

  .teo-website-modules-hero-lead {
    font-size: 17px;
  }

  .teo-website-modules-hero-stage {
    margin-top: 36px;
  }

  .teo-website-modules-laptop .teo-website-laptop-lid {
    margin: 0 4%;
    padding: 2.4% 1.6% 2%;
  }

  .teo-website-modules-laptop .teo-website-laptop-base {
    aspect-ratio: 1017 / 44;
    clip-path: polygon(4% 0, 96% 0, 100% 70%, 100% 100%, 0 100%, 0 70%);
  }

  .teo-website-modules-laptop-keys,
  .teo-website-modules-laptop-pad {
    display: none;
  }

  .teo-website-modules-badge {
    padding: 1px 7px;
    font-size: 11px;
  }

  .teo-website-modules-chip {
    height: 40px;
    padding: 0 18px;
    font-size: 15px;
  }

  .teo-website-modules-node-label {
    padding: 2px 10px;
    font-size: 14px;
  }

  .teo-website-modules-clients {
    gap: 18px 12px;
  }

  .teo-website-modules-clients li {
    gap: 14px;
  }

  .teo-website-modules-links {
    flex-direction: column;
    gap: 4px;
  }

  .teo-website-modules-link {
    display: flex;
    justify-content: space-between;
    min-height: 44px;
  }

  .teo-website-modules-phone {
    right: 0;
    width: 24%;
  }
}

/* less motion: the arcs are drawn at once, nothing pulses or slides */

@media (prefers-reduced-motion: reduce) {
  .teo-website-modules-arc {
    stroke-dashoffset: 0;
    transition: none;
  }

  .teo-website-modules-hub {
    animation: none;
  }

  .teo-website-modules-hero-link,
  .teo-website-modules-chip,
  .teo-website-modules-disc,
  .teo-website-modules-link,
  .teo-website-modules-link i {
    transition: none;
  }
}
