:root {
  --selective-yellow: hsl(42, 94%, 55%);
  --eerie-black-1: hsl(0, 0%, 9%);
  --eerie-black-2: hsl(180, 3%, 7%);
  --quick-silver: hsl(0, 0%, 65%);
  --radical-red: hsl(351, 83%, 61%);
  --light-gray: hsl(0, 0%, 80%);
  --isabelline: hsl(36, 33%, 94%);
  --gray-x-11: hsl(0, 0%, 73%);
  --kappel-15: hsla(170, 75%, 41%, 0.15);
  --platinum: hsl(0, 0%, 90%);
  --gray-web: hsl(0, 0%, 50%);
  --kappel: hsl(170, 75%, 41%);
  --kappel-deep: hsl(151, 58%, 46%);
  --white: hsl(0, 0%, 100%);
  --gradient: linear-gradient(-90deg, hsl(151, 58%, 46%) 0%, hsl(170, 75%, 41%) 100%);
  --ink: var(--eerie-black-1);
  --ink-soft: hsl(0, 0%, 33%);
  --muted: var(--gray-web);
  --line: var(--platinum);
  --panel: var(--white);
  --panel-soft: var(--isabelline);
  --blue: var(--kappel);
  --blue-2: var(--kappel-deep);
  --teal: var(--kappel);
  --cyan: var(--kappel-deep);
  --green: var(--kappel);
  --amber: var(--selective-yellow);
  --red: var(--radical-red);
  --shadow: 0 10px 50px hsla(220, 53%, 22%, 0.10);
  --shadow-soft: 0 10px 30px hsla(0, 0%, 0%, 0.06);
  --radius: 8px;
  --container: 1180px;
  --font-display: "League Spartan", Arial, sans-serif;
  --font-body: "Poppins", Arial, sans-serif;
}

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

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid hsla(170, 75%, 41%, 0.75);
  outline-offset: 4px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(0, 0%, 100%, 0.94);
  border-bottom: 1px solid hsla(0, 0%, 90%, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 8px 18px hsla(170, 75%, 41%, 0.18);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  background: #fff;
}

.main-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  padding: 88px 24px 24px;
  background: #fff;
  box-shadow: -20px 0 60px hsla(0, 0%, 0%, 0.18);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.main-nav.active {
  transform: translateX(0);
}

.nav-list,
.language-switch,
.module-tabs,
.metric-list,
.flow-list,
.feature-list,
.footer-links,
.social-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list {
  display: grid;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--teal);
}

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

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.language-switch a,
.language-switch button {
  min-width: 36px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
}

.language-switch a.active,
.language-switch button.active {
  color: #fff;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn ion-icon {
  font-size: 1.8rem;
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 22px hsla(170, 75%, 41%, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--blue-2);
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--blue);
  border-color: var(--line);
  background: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: hsla(170, 75%, 41%, 0.5);
  background: var(--kappel-15);
}

.desktop-cta {
  display: none;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 0;
  background: hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.section {
  padding-block: 72px;
}

.section-tight {
  padding-block: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.section-title,
.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.98;
}

.hero-title {
  max-width: 720px;
  font-size: 4.6rem;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.hero-title:focus,
.hero-title:focus-visible {
  outline: 0;
  box-shadow: none;
}

.title-accent {
  color: var(--radical-red);
}

.title-accent-green {
  color: var(--kappel);
}

.section-title {
  max-width: 760px;
  font-size: 3.8rem;
}

.section-lead,
.hero-copy {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.8rem;
}

.hero {
  position: relative;
  padding-block: 96px 148px;
  background: var(--isabelline);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  background-image: url("data:image/svg+xml,%3Csvg width='1440' height='140' viewBox='0 0 1440 140' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 32C71 74 107 91 190 82C268 73 299 80 378 68C458 55 506 112 598 122C692 132 733 79 824 74C918 69 972 119 1064 111C1154 103 1193 48 1273 46C1337 44 1388 62 1440 54V140H0V32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 0;
}

.hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  max-width: 520px;
}

.proof-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid hsla(0, 0%, 90%, 0.9);
  border-radius: var(--radius);
  color: var(--blue);
  background: hsla(0, 0%, 100%, 0.82);
  font-size: 1.35rem;
  font-weight: 700;
}

.proof-chip ion-icon {
  color: var(--teal);
  font-size: 1.8rem;
  flex: 0 0 auto;
}

.hero-media {
  position: relative;
}

.eduweb-hero-media {
  min-height: min(118vw, 560px);
  width: min(100%, 620px);
  max-width: 620px;
  margin-inline: auto;
}

.eduweb-hero-media::before,
.eduweb-hero-media::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.eduweb-hero-media::before {
  top: 0;
  left: 42%;
  width: 128px;
  height: 104px;
  background-image: radial-gradient(var(--eerie-black-1) 3px, transparent 3.8px);
  background-size: 17px 17px;
  transform: rotate(-10deg);
  z-index: 1;
}

.eduweb-hero-media::after {
  top: 168px;
  right: 0;
  width: 158px;
  height: 180px;
  background-image: radial-gradient(var(--kappel) 2px, transparent 2.6px);
  background-size: 18px 18px;
  opacity: 0.9;
  z-index: 0;
}

.hero-color-blobs {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 176px;
  height: 140px;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 70% 32%, hsla(190, 20%, 70%, 0.86) 0 46px, transparent 47px),
    radial-gradient(circle at 38% 68%, var(--radical-red) 0 40px, transparent 41px);
  z-index: 2;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  display: block;
  background: var(--white);
  box-shadow: 0 18px 48px hsla(0, 0%, 0%, 0.08);
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-one {
  top: 78px;
  left: 0;
  width: 54%;
  height: 298px;
  border-top-right-radius: 76px;
  border-bottom-left-radius: 112px;
}

.hero-photo-two {
  top: 188px;
  right: 0;
  width: 49%;
  height: 370px;
  border-top-left-radius: 64px;
  border-bottom-right-radius: 98px;
}

.hero-domain-card {
  position: absolute;
  left: 7%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(92%, 460px);
  min-height: 92px;
  padding: 22px 28px;
  border-radius: 34px 8px 34px 8px;
  isolation: isolate;
  animation: bounce 17.5s infinite;
}

.hero-domain-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: hsla(0, 0%, 100%, 0.96);
  box-shadow: 0 20px 46px hsla(0, 0%, 0%, 0.1);
}

.domain-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--radical-red);
  background: hsla(351, 83%, 61%, 0.11);
}

.domain-icon ion-icon {
  font-size: 2.6rem;
}

.hero-domain-card strong,
.hero-domain-card span span {
  display: block;
}

.hero-domain-card strong {
  color: var(--gray-web);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-domain-card span span {
  color: var(--radical-red);
  font-size: 1.45rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hero-scribble {
  position: absolute;
  right: 0;
  bottom: 66px;
  z-index: 2;
  width: 88px;
  height: 42px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='88' height='42' viewBox='0 0 88 42' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 31C9 15 15 10 20 29C27 48 34 -2 42 20C49 39 56 13 63 28C71 45 78 18 86 25' fill='none' stroke='%23171717' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

@keyframes bounce {
  0%,
  2.857%,
  7.143%,
  11.429%,
  14.286%,
  100% { transform: translateY(0); }

  5.714% { transform: translateY(-30px); }

  8.571% { transform: translateY(-15px); }
}

.showcase-video {
  overflow: hidden;
  padding-block: 88px 56px;
  background-image: url("../images/video-bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.showcase-video-card {
  position: relative;
  min-height: clamp(260px, 48vw, 605px);
}

.showcase-video-banner {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(100%, 970px);
  margin-inline: auto;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 120px;
  background: var(--platinum);
}

.showcase-video-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: hsla(0, 0%, 0%, 0.3);
  pointer-events: none;
}

.showcase-video-image {
  width: 100%;
  aspect-ratio: 970 / 550;
  object-fit: cover;
}

.showcase-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--radical-red);
  box-shadow: 0 0 0 0 hsla(0, 0%, 100%, 0.5);
  transform: translate(-50%, -50%);
  animation: videoPulse 3s ease infinite;
}

.showcase-play-button ion-icon {
  font-size: 3.4rem;
}

.showcase-video-shape {
  position: absolute;
  display: none;
  pointer-events: none;
}

.showcase-video-shape-1 {
  z-index: 1;
}

.showcase-video-shape-2 {
  z-index: 3;
}

@keyframes videoPulse {
  0% {
    box-shadow: 0 0 0 0 hsla(0, 0%, 100%, 0.5);
  }

  100% {
    box-shadow: 0 0 0 20px transparent;
  }
}

.product-frame {
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 90%, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.product-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: min(72%, 280px);
  padding: 14px;
  border: 1px solid hsla(0, 0%, 90%, 0.95);
  border-radius: var(--radius);
  background: hsla(0, 0%, 100%, 0.94);
  box-shadow: var(--shadow-soft);
}

.floating-panel strong {
  display: block;
  color: var(--ink);
  font-size: 1.4rem;
}

.mini-bars {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.mini-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--platinum);
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.stats-strip {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--eerie-black-1);
}

.stats-strip-band {
  background:
    linear-gradient(180deg, var(--white) 0 22%, hsl(36, 33%, 94%) 22% 78%, var(--white) 78% 100%);
}

.metric-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid hsla(0, 0%, 100%, 0.76);
  border-radius: 18px;
  box-shadow: 0 22px 48px hsla(220, 53%, 22%, 0.08);
}

.metric-item {
  --metric-bg: hsla(170, 75%, 41%, 0.12);
  --metric-color: var(--kappel);
  min-height: 158px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 24px 16px;
  background: var(--metric-bg);
  text-align: center;
}

.metric-item:nth-child(2) {
  --metric-bg: hsla(351, 83%, 61%, 0.11);
  --metric-color: var(--radical-red);
}

.metric-item:nth-child(3) {
  --metric-bg: hsla(258, 100%, 65%, 0.11);
  --metric-color: hsl(258, 100%, 65%);
}

.metric-item:nth-child(4) {
  --metric-bg: hsla(42, 94%, 55%, 0.13);
  --metric-color: var(--selective-yellow);
}

.metric-item:nth-child(5) {
  --metric-bg: hsla(170, 75%, 41%, 0.12);
  --metric-color: var(--kappel);
}

.metric-item:nth-child(6) {
  --metric-bg: hsla(351, 83%, 61%, 0.11);
  --metric-color: var(--radical-red);
}

.metric-value {
  display: block;
  color: var(--metric-color);
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 4vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 12px;
  color: var(--eerie-black-1);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.flow-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
  counter-reset: flow-step;
}

.flow-item {
  counter-increment: flow-step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  padding: 16px 18px 16px 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(90deg, hsla(170, 75%, 41%, 0.1), transparent 42%),
    var(--white);
  box-shadow: 0 10px 28px hsla(220, 53%, 22%, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.flow-item::before {
  position: absolute;
  left: 28px;
  top: 48px;
  bottom: -18px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--kappel), transparent);
  opacity: 0.32;
}

.flow-item:last-child::before {
  display: none;
}

.flow-item:is(:hover, :focus-within) {
  transform: translateY(-2px);
  border-color: hsla(170, 75%, 41%, 0.26);
  box-shadow: 0 18px 36px hsla(220, 53%, 22%, 0.09);
}

.flow-number {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid hsla(170, 75%, 41%, 0.22);
  border-radius: 50%;
  color: var(--kappel);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px hsla(170, 75%, 41%, 0.08);
}

.flow-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.2;
}

.flow-item > span > span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 1.42rem;
  line-height: 1.55;
}

.modules {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, hsla(170, 75%, 41%, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, hsla(170, 75%, 41%, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, hsl(36, 33%, 96%) 0%, hsl(0, 0%, 100%) 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

.module-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.module-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: hsla(0, 0%, 100%, 0.82);
  font-size: 1.35rem;
  font-weight: 800;
  text-align: left;
  box-shadow: 0 10px 24px hsla(220, 53%, 22%, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-tab:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: hsla(170, 75%, 41%, 0.45);
  box-shadow: 0 16px 28px hsla(220, 53%, 22%, 0.08);
}

.module-tab-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--kappel);
  background: var(--kappel-15);
}

.module-tab-icon ion-icon {
  font-size: 1.9rem;
}

.module-tab-label {
  min-width: 0;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.module-tab-count {
  min-width: 30px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: hsl(36, 33%, 94%);
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
}

.module-tab.active {
  color: #fff;
  border-color: var(--kappel);
  background: var(--gradient);
  box-shadow: 0 18px 32px hsla(170, 75%, 28%, 0.22);
}

.module-tab.active .module-tab-icon {
  color: var(--white);
  background: hsla(0, 0%, 100%, 0.18);
}

.module-tab.active .module-tab-count {
  color: var(--white);
  background: hsla(0, 0%, 100%, 0.2);
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.module-card {
  --module-accent: var(--kappel);
  --module-accent-soft: var(--kappel-15);
  --module-accent-strong: hsl(170, 75%, 30%);
  --module-accent-dark: hsl(151, 58%, 26%);
  --module-shadow-color: hsla(170, 75%, 30%, 0.22);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid hsla(0, 0%, 90%, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(140deg, hsla(0, 0%, 100%, 0.98) 0%, hsla(0, 0%, 100%, 0.92) 68%),
    linear-gradient(140deg, var(--module-accent-soft), transparent 72%);
  box-shadow: 0 14px 34px hsla(220, 53%, 22%, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.module-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--module-accent);
}

.module-card:is(:hover, :focus-within) {
  transform: translateY(-4px);
  border-color: var(--module-accent);
  box-shadow: 0 24px 42px hsla(220, 53%, 22%, 0.12);
}

.module-card[data-category="specialized"] {
  --module-accent: var(--radical-red);
  --module-accent-soft: hsla(351, 83%, 61%, 0.12);
  --module-accent-strong: hsl(351, 83%, 50%);
  --module-accent-dark: hsl(350, 61%, 30%);
  --module-shadow-color: hsla(351, 83%, 50%, 0.22);
}

.module-card[data-category="diagnostics"] {
  --module-accent: hsl(35, 100%, 50%);
  --module-accent-soft: hsla(42, 94%, 55%, 0.16);
  --module-accent-strong: hsl(35, 100%, 45%);
  --module-accent-dark: hsl(28, 84%, 30%);
  --module-shadow-color: hsla(35, 100%, 45%, 0.2);
}

.module-card[data-category="patient"] {
  --module-accent: hsl(229, 100%, 67%);
  --module-accent-soft: hsla(229, 100%, 67%, 0.12);
  --module-accent-strong: hsl(229, 78%, 56%);
  --module-accent-dark: hsl(229, 52%, 32%);
  --module-shadow-color: hsla(229, 78%, 56%, 0.22);
}

.module-card[data-category="ops"] {
  --module-accent: hsl(196, 78%, 42%);
  --module-accent-soft: hsla(196, 78%, 42%, 0.12);
  --module-accent-strong: hsl(196, 78%, 38%);
  --module-accent-dark: hsl(199, 65%, 24%);
  --module-shadow-color: hsla(196, 78%, 38%, 0.22);
}

.module-card[data-category="cross"] {
  --module-accent: hsl(268, 56%, 55%);
  --module-accent-soft: hsla(268, 56%, 55%, 0.12);
  --module-accent-strong: hsl(268, 48%, 48%);
  --module-accent-dark: hsl(268, 42%, 28%);
  --module-shadow-color: hsla(268, 48%, 48%, 0.22);
}

.module-card-featured {
  min-height: 330px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(145deg, var(--module-accent-strong) 0%, var(--module-accent-dark) 100%);
  border-color: transparent;
  box-shadow: 0 26px 56px var(--module-shadow-color);
}

.module-card-featured::after {
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 170px;
  height: 170px;
  content: "";
  border: 26px solid hsla(0, 0%, 100%, 0.16);
  border-radius: 50%;
}

.module-card[hidden] {
  display: none;
}

.module-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.module-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: var(--module-accent);
  background: var(--module-accent-soft);
}

.module-icon ion-icon {
  font-size: 2.35rem;
}

.module-category {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--module-accent);
  background: var(--module-accent-soft);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

.module-card-featured .module-icon,
.module-card-featured .module-category {
  color: var(--white);
  background: hsla(0, 0%, 100%, 0.16);
}

.module-card-copy {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.module-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.module-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.45rem;
}

.module-card-featured h3,
.module-card-featured p {
  color: var(--white);
}

.module-card-featured h3 {
  font-size: 3.2rem;
}

.module-card-featured p {
  max-width: 42ch;
  color: hsla(0, 0%, 100%, 0.84);
}

.module-bullets {
  display: flex;
  align-content: end;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.module-bullets li {
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: hsl(36, 33%, 96%);
  font-size: 1.35rem;
  line-height: 1.25;
}

.module-card-featured .module-bullets li {
  color: var(--white);
  border-color: hsla(0, 0%, 100%, 0.22);
  background: hsla(0, 0%, 100%, 0.13);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.feature-card ion-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--gradient);
  font-size: 2.4rem;
}

.feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.7rem;
}

.feature-card p {
  margin: 10px 0 0;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.feature-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink-soft);
  font-weight: 600;
}

.feature-list ion-icon {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  color: var(--green);
  background: transparent;
  font-size: 1.8rem;
}

.category-section {
  background: var(--white);
}

.category-head {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
}

.category-head .eyebrow {
  color: var(--radical-red);
  letter-spacing: 0.16em;
}

.category-head .section-title,
.category-head .section-lead {
  margin-inline: auto;
}

.category-head .section-title {
  max-width: 820px;
}

.category-head .section-lead {
  max-width: 640px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.category-card {
  --category-bg: var(--isabelline);
  --category-accent: var(--kappel);
  --category-badge: hsla(170, 75%, 41%, 0.14);
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 28px;
  border-radius: var(--radius);
  color: var(--eerie-black-1);
  background: var(--category-bg);
  text-align: center;
}

.category-card-teal {
  --category-bg: hsla(170, 75%, 41%, 0.12);
  --category-accent: var(--kappel);
  --category-badge: hsla(170, 75%, 41%, 0.14);
}

.category-card-red {
  --category-bg: hsla(351, 83%, 61%, 0.12);
  --category-accent: var(--radical-red);
  --category-badge: hsla(351, 83%, 61%, 0.14);
}

.category-card-blue {
  --category-bg: hsla(229, 100%, 67%, 0.12);
  --category-accent: hsl(229, 100%, 67%);
  --category-badge: hsla(229, 100%, 67%, 0.14);
}

.category-card-yellow {
  --category-bg: hsla(42, 94%, 55%, 0.14);
  --category-accent: hsl(35, 100%, 50%);
  --category-badge: hsla(42, 94%, 55%, 0.18);
}

.category-icon {
  display: grid;
  width: 80px;
  height: 80px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--category-accent);
  background: var(--category-badge);
}

.category-icon ion-icon {
  font-size: 3.8rem;
}

.category-card h3 {
  margin: 0;
  max-width: 240px;
  color: var(--eerie-black-1);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.05;
}

.category-card p {
  margin: 20px 0 0;
  max-width: 260px;
  color: var(--eerie-black-2);
  font-size: 1.55rem;
  line-height: 1.65;
}

.category-pill {
  display: inline-flex;
  margin-top: 28px;
  padding: 8px 18px;
  border-radius: var(--radius);
  color: var(--category-accent);
  background: var(--category-badge);
  font-weight: 700;
}

.legal-hero {
  padding-block: 112px 76px;
  background:
    radial-gradient(circle at 76% 20%, hsla(170, 75%, 41%, 0.12) 0 150px, transparent 151px),
    linear-gradient(180deg, hsl(36, 33%, 96%) 0%, hsl(0, 0%, 100%) 100%);
}

.legal-hero-grid {
  display: grid;
  gap: 28px;
  align-items: end;
}

.legal-hero .hero-title {
  max-width: 740px;
}

.legal-hero .hero-copy {
  max-width: 780px;
}

.legal-summary {
  display: grid;
  gap: 8px;
  max-width: 360px;
  padding: 24px;
  border: 1px solid hsla(170, 75%, 41%, 0.18);
  border-radius: 18px;
  background: hsla(0, 0%, 100%, 0.92);
  box-shadow: var(--shadow-soft);
}

.legal-summary-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: var(--kappel);
  background: var(--kappel-15);
}

.legal-summary-icon ion-icon {
  font-size: 2.8rem;
}

.legal-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.legal-summary a {
  color: var(--kappel);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-section {
  background: var(--white);
}

.legal-layout {
  display: grid;
  gap: 26px;
}

.legal-index {
  display: grid;
  gap: 8px;
  align-self: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: hsl(36, 33%, 96%);
}

.legal-index a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 800;
}

.legal-index a:is(:hover, :focus-visible) {
  color: var(--kappel);
  background: var(--white);
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section {
  padding: 24px;
  scroll-margin-top: 112px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 30px hsla(220, 53%, 22%, 0.05);
}

.legal-content h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.legal-content p {
  margin: 0;
  color: var(--ink-soft);
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--kappel);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.proof-panel {
  background: var(--isabelline);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.proof-item {
  padding: 18px;
  border: 1px solid hsla(170, 75%, 41%, 0.24);
  border-radius: var(--radius);
  background: #fff;
}

.proof-item strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1.35rem;
  font-weight: 700;
}

.cta {
  color: #fff;
  background: var(--eerie-black-2);
}

.cta-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.cta .eyebrow,
.cta .section-title,
.cta .section-lead {
  color: #fff;
}

.cta .section-lead {
  color: #dff7fb;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form .btn {
  width: 100%;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--gray-x-11);
  background: var(--eerie-black-2);
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-block: 48px;
}

.footer-brand-copy {
  max-width: 520px;
  margin: 16px 0 0;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 2.3rem;
}

.footer-links a,
.footer-contact a {
  color: var(--gray-x-11);
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-language-button:hover {
  color: var(--cyan);
}

.footer-language-button {
  padding: 0;
  border: 0;
  color: var(--gray-x-11);
  background: transparent;
  font: inherit;
  text-align: left;
}

.footer-bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a8c0cc;
  font-size: 1.35rem;
}

.footer-signature-container {
  position: absolute;
  left: 26px;
  bottom: 72px;
  color: #fff;
  opacity: 1;
  pointer-events: none;
}

.footer-signature {
  width: 104px;
  height: auto;
  display: block;
}

.back-top {
  position: fixed;
  right: 30px;
  bottom: 40px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 16px 34px hsla(170, 75%, 41%, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}

.back-top.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.version-badge {
  position: fixed;
  right: 30px;
  bottom: 3px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px 2px 4px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.66);
  font-family: "Courier New", monospace;
  font-size: 10px;
  line-height: 1.2;
  opacity: 0.56;
  transition: opacity 0.2s ease;
}

.version-badge:hover {
  opacity: 1;
}

.version-badge svg {
  display: block;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 899px) {
  .footer-signature-container {
    left: 18px;
    bottom: 110px;
  }

  .footer-signature {
    width: 96px;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .footer-signature-container {
    bottom: 74px;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 5.4rem;
  }

  .hero::before {
    height: 150px;
  }

  .hero::after {
    display: none;
  }

  .section-title {
    font-size: 4.4rem;
  }

  .hero-proof,
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card-featured {
    grid-column: span 2;
  }

  .hero-domain-card span span {
    font-size: 1.85rem;
  }

  .showcase-video {
    padding-block: 104px 64px;
  }

  .showcase-video-banner {
    width: 82%;
  }

  .flow-list,
  .feature-grid,
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .nav-toggle,
  .nav-backdrop {
    display: none;
  }

  .main-nav {
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

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

  .nav-link {
    padding-block: 8px;
    font-size: 1.45rem;
  }

  .desktop-cta {
    display: inline-flex;
  }

  .hero-grid,
  .split,
  .cta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .hero {
    padding-block: 118px 158px;
  }

  .metric-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .legal-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .legal-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }

  .legal-index {
    position: sticky;
    top: 96px;
  }

  .modules .section-head {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    align-items: end;
  }

  .modules .section-lead {
    max-width: 66ch;
  }

  .showcase-video-banner {
    width: 75%;
  }

  .showcase-video-shape {
    display: block;
  }

  .showcase-video-shape-1 {
    top: -50px;
    left: 0;
    width: min(92vw, 1089px);
  }

  .showcase-video-shape-2 {
    top: -80px;
    right: 120px;
    width: 158px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-card-featured {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 0.9fr;
  }
}

@media (min-width: 1180px) {
  .hero-title {
    font-size: 6.4rem;
  }

  .section-title {
    font-size: 5rem;
  }

  .module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .module-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.contact-form .field {
  align-content: start;
}

.contact-form .validation-message {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  padding: 5px 8px;
  border: 1px solid hsla(351, 83%, 61%, 0.4);
  border-radius: 6px;
  color: hsl(351, 83%, 84%);
  background: hsla(351, 83%, 61%, 0.14);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
}

.contact-form .validation-message::before {
  content: "!";
  display: inline-grid;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: hsl(351, 83%, 18%);
  background: hsl(351, 83%, 76%);
  font-size: 1rem;
  font-weight: 800;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: hsl(351, 83%, 66%);
  box-shadow:
    0 0 0 1px hsla(351, 83%, 66%, 0.56),
    0 0 0 4px hsla(351, 83%, 61%, 0.16);
}

.contact-form input.valid,
.contact-form textarea.valid {
  border-color: hsla(151, 58%, 58%, 0.52);
}
