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

html {
  background: #ffffff;
  color: #494e52;
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #494e52;
  background: #ffffff;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: #224b8d;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #142d55;
  text-decoration: underline;
}

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

p,
ul,
ol {
  margin-top: 0;
  margin-bottom: 0.65em;
}

ul,
ol {
  padding-inline-start: 2em;
}

li {
  margin-bottom: 0.45em;
}

h1,
h2,
h3 {
  margin: 1em 0 0.5em;
  color: #30363a;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

h1 {
  font-size: 1.42em;
}

h2 {
  font-size: 1.18em;
}

h3 {
  font-size: 1em;
}

strong {
  color: #30363a;
}

.job-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  margin: 1.15em 0 1.75em;
  padding: 1.05rem 1.25rem;
  border-left: 7px solid #f4be3a;
  border-radius: 7px;
  color: #22262c;
  background: #fff3cf;
  font-size: 1.08em;
  font-weight: 700;
  line-height: 1.65;
}

.job-notice__icon {
  color: #f4b425;
  font-size: 1.08em;
  line-height: 1.65;
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 8px 10px;
  background: #224b8d;
  color: #ffffff;
}

.skip-link:focus {
  transform: translateY(0);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #f2f3f3;
}

.masthead__inner-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5em 1em;
}

.greedy-nav {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  background: #ffffff;
  white-space: nowrap;
}

.masthead__menu-item {
  position: relative;
  display: block;
  margin: 0 1rem;
  padding: 0.5rem 0;
  color: #7a8288;
  font-size: 0.95em;
}

.masthead__menu-item::before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #bdc1c4;
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
}

.masthead__menu-item:hover::before,
.masthead__menu-item:focus-visible::before {
  transform: scaleX(1);
}

.masthead__menu-item--lg {
  margin-left: 0;
  padding-right: 2em;
  color: #30363a;
  font-weight: 700;
}

.masthead-language-switcher.language-switcher__controls {
  flex: 0 0 auto;
  width: 6.5rem;
  margin-left: 0.6rem;
}

.layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 42px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2em 1em 4em;
}

.sidebar {
  min-width: 0;
}

.sticky {
  position: sticky;
  top: 5.4em;
  align-self: start;
}

.profile-box {
  color: #494e52;
}

.author__avatar {
  width: 176px;
  height: 176px;
  margin: 0 0 1em;
  border: 1px solid #f2f3f3;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.author__content {
  text-align: left;
}

.author__name {
  margin-top: 0;
  margin-bottom: 0.2em;
  font-size: 1.26em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.author__bio {
  margin-bottom: 1em;
  color: #7a8288;
  font-size: 0.95em;
}

.author__urls {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92em;
}

.author__urls li {
  margin-bottom: 0.78em;
  color: #494e52;
}

.icon-row {
  display: grid;
  grid-template-columns: 1.45em minmax(0, 1fr);
  column-gap: 0.62em;
  align-items: start;
  color: inherit;
  overflow-wrap: anywhere;
}

.icon-row:hover,
.icon-row:focus-visible {
  color: #224b8d;
}

.icon-row__icon {
  display: inline-flex;
  justify-content: center;
  min-width: 1.45em;
  line-height: 1.45;
  text-align: center;
}

.language-switcher {
  display: grid;
  gap: 0.45em;
}

.language-switcher__label {
  display: grid;
  grid-template-columns: 1.45em minmax(0, 1fr);
  column-gap: 0.62em;
  align-items: center;
  color: #494e52;
}

.language-switcher__controls {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 9.5rem);
  overflow: hidden;
  border: 1px solid #d7dadd;
  border-radius: 999px;
  background: #f7f8f9;
}

.language-switcher__button {
  min-width: 0;
  padding: 0.32rem 0.55rem;
  color: #6a737b;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.88em;
  font-weight: 700;
  line-height: 1.2;
}

.language-switcher__button:hover,
.language-switcher__button:focus-visible {
  color: #224b8d;
  outline: none;
}

.language-switcher__button.is-active {
  color: #ffffff;
  background: #224b8d;
}

.page {
  min-width: 0;
}

.page__inner-wrap {
  max-width: 880px;
}

.page__content {
  min-width: 0;
}

.page__content h1 {
  padding-top: 0.3em;
  border-bottom: 1px solid #f2f3f3;
}

.heading-icon,
.subheading-icon {
  display: inline-flex;
  justify-content: center;
  width: 1.45em;
  margin-right: 0.18em;
  line-height: 1;
}

.subheading-icon {
  width: 1.35em;
}

.icon-list {
  padding-inline-start: 0;
  list-style: none;
}

.icon-list li {
  position: relative;
  padding-left: 2em;
  overflow-wrap: anywhere;
}

.icon-list li::before {
  position: absolute;
  top: 0.02em;
  left: 0;
  width: 1.45em;
  text-align: center;
  content: attr(data-icon);
}

.paper-points {
  margin-top: 0.25em;
}

.patent-certificate-gallery {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  gap: 0.75rem;
  align-items: center;
  width: min(100%, 760px);
  margin: 0.95em auto 2.1em;
}

.patent-certificate-carousel__stage {
  position: relative;
  min-height: clamp(315px, 40vw, 455px);
}

.patent-certificate-carousel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: #30363a;
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.patent-certificate-carousel__button:hover,
.patent-certificate-carousel__button:focus-visible {
  color: #224b8d;
  border-color: #224b8d;
  outline: none;
}

.patent-certificate-carousel__counter {
  grid-column: 2;
  justify-self: center;
  min-width: 3.8rem;
  margin-top: -0.45rem;
  padding: 0.25rem 0.65rem;
  color: #6a737b;
  background: #f7f8f9;
  border: 1px solid #e2e5e8;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.patent-certificate-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(40%, 245px);
  margin: 0;
  padding: 0.45rem;
  border: 1px solid #eceff2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(42, 52, 64, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition: transform 0.34s ease, opacity 0.34s ease, filter 0.34s ease;
  will-change: transform, opacity;
}

.patent-certificate-card.is-center {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.patent-certificate-card.is-left {
  z-index: 2;
  opacity: 0.82;
  pointer-events: auto;
  filter: saturate(0.92);
  transform: translate(-118%, -50%) scale(0.78);
}

.patent-certificate-card.is-right {
  z-index: 2;
  opacity: 0.82;
  pointer-events: auto;
  filter: saturate(0.92);
  transform: translate(18%, -50%) scale(0.78);
}

.patent-certificate-card a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #faf8f3;
}

.patent-certificate-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1241 / 1754;
  object-fit: contain;
}

.patent-certificate-card figcaption {
  margin-top: 0.45rem;
  color: #5f6c78;
  font-size: 0.76em;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.anchor::before {
  display: block;
  height: 4em;
  margin-top: -4em;
  content: "";
}

.paper-box {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 2em 0;
  border-bottom: 1px solid #efefef;
}

.paper-box-image {
  display: flex;
  justify-content: center;
  width: 100%;
  order: 2;
}

.paper-box-image > div {
  position: relative;
  width: 100%;
}

.paper-box-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 4px;
  box-shadow: 3px 3px 6px #888;
  object-fit: cover;
}

.paper-box-text {
  max-width: 100%;
  order: 1;
}

.paper-box-text p:first-child {
  margin-bottom: 0.35em;
  font-size: 1.03em;
}

.paper-box-text ul {
  margin-bottom: 0;
}

.demo-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  gap: 0.7rem;
  align-items: center;
  padding: 0.45em 0 1.5em;
  border-bottom: 1px solid #efefef;
}

.demo-carousel__viewport {
  overflow: hidden;
  min-width: 0;
}

.demo-carousel__track {
  display: flex;
  transition: transform 0.28s ease;
  will-change: transform;
}

.demo-carousel__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: #30363a;
  background: #ffffff;
  border: 1px solid #d7dadd;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.demo-carousel__button:hover,
.demo-carousel__button:focus-visible {
  color: #224b8d;
  border-color: #224b8d;
  outline: none;
}

.demo-carousel__counter {
  grid-column: 2;
  justify-self: center;
  min-width: 3.8rem;
  padding: 0.25rem 0.65rem;
  color: #6a737b;
  background: #f7f8f9;
  border: 1px solid #e2e5e8;
  border-radius: 999px;
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.video-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(320px, 1fr);
  flex: 0 0 100%;
  gap: 1.35rem;
  align-items: center;
  min-width: 0;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid #e6e9ec;
  border-radius: 8px;
}

.video-frame {
  overflow: hidden;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  background: #000000;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(48, 54, 58, 0.16);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-caption {
  align-self: center;
  min-width: 0;
}

.video-caption p:first-child {
  margin-bottom: 0.65em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e8ebee;
  font-size: 1.02em;
  line-height: 1.35;
}

.video-caption ul {
  display: grid;
  gap: 0.38rem;
  margin-bottom: 0;
}

.video-caption .icon-list li {
  margin-bottom: 0;
  padding-left: 1.85em;
  line-height: 1.45;
}

.badge {
  position: absolute;
  z-index: 1;
  margin-top: 0.5em;
  margin-left: -0.5em;
  padding: 0.25em 0.9rem;
  color: #ffffff;
  background: #00369f;
  font-size: 0.8em;
  font-weight: 700;
}

.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5em 1em 2.5em;
  color: #7a8288;
  font-size: 0.9em;
}

@media (min-width: 48em) {
  .paper-box-image {
    justify-content: flex-start;
    min-width: 200px;
    max-width: 40%;
    order: 1;
  }

  .paper-box-text {
    max-width: 60%;
    padding-left: 2em;
    order: 2;
  }
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 1.5em;
    max-width: 820px;
  }

  .sticky {
    position: static;
  }

  .profile-box {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1em;
    align-items: center;
    padding-bottom: 1em;
    border-bottom: 1px solid #f2f3f3;
  }

  .author__avatar {
    width: 120px;
    height: 120px;
    margin: 0;
  }

  .author__content {
    text-align: left;
  }

  .author__urls {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35em 1em;
  }

  .patent-certificate-gallery {
    width: min(100%, 660px);
  }
}

@media (max-width: 700px) {
  .demo-carousel {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    gap: 0.45rem;
  }

  .demo-carousel__button {
    width: 2rem;
    height: 2rem;
    font-size: 1.45rem;
  }

  .video-showcase {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 0.75rem;
  }

  .video-frame {
    max-width: none;
  }
}

@media (max-width: 560px) {
  html {
    font-size: 14px;
  }

  .masthead__inner-wrap,
  .layout,
  .site-footer {
    padding-right: 0.9em;
    padding-left: 0.9em;
  }

  .masthead__menu-item {
    margin: 0 0.65rem;
  }

  .profile-box {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .author__content {
    text-align: center;
  }

  .author__urls {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .paper-box {
    padding: 1.5em 0;
  }

  .patent-certificate-gallery {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    gap: 0.45rem;
    width: min(100%, 390px);
  }

  .patent-certificate-carousel__stage {
    min-height: 360px;
  }

  .patent-certificate-carousel__button {
    width: 2rem;
    height: 2rem;
    font-size: 1.45rem;
  }

  .patent-certificate-card {
    width: min(58%, 210px);
  }

  .patent-certificate-card.is-left {
    opacity: 0.68;
    transform: translate(-104%, -50%) scale(0.66);
  }

  .patent-certificate-card.is-right {
    opacity: 0.68;
    transform: translate(4%, -50%) scale(0.66);
  }
}
