@font-face {
  font-family: proximanova;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ProximaNova-Regular.ttf") format("truetype");
}

@font-face {
  font-family: proximanova;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ProximaNova-Semibold.ttf") format("truetype");
}

@font-face {
  font-family: proximanova;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ProximaNova-Bold.ttf") format("truetype");
}

:root {
  --font: proximanova, Helvetica, Roboto, Arial, sans-serif;
  --text: #333;
  --blue: #41c3ff;
  --blue-deep: #1e8cd7;
  --header-link: #464646;
  --submenu: rgba(45, 45, 45, 0.9);
  --gray: #f0f0f0;
  --chip: #bababa;
  --footer-link: #b4b4b4;
  --footer-bottom: #343435;
  --muted: #939598;
  --content: 1024px;
  --connector: 37px;
  --toolbar: 76px;
}

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

html {
  font-size: 18px;
}

body {
  margin: 0;
  padding-top: calc(var(--connector) + var(--toolbar));
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
}

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

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

button {
  font-family: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.14);
}

.connector {
  order: -1;
  height: var(--connector);
  background: var(--gray);
}

.connector-inner {
  display: flex;
  justify-content: flex-end;
  max-width: var(--content);
  height: 100%;
  margin: 0 auto;
}

.connector a {
  display: block;
  padding: 0 15px;
  border-left: 1px solid #fff;
  background: var(--chip);
  color: #fff;
  font-size: 13px;
  line-height: var(--connector);
}

.connector a:hover {
  background: var(--gray);
  color: var(--chip);
}

.connector a.lang {
  border-right: 1px solid #fff;
  background: var(--gray);
  color: var(--chip);
}

.connector a.lang:hover {
  color: var(--blue-deep);
}

.toolbar {
  position: relative;
  height: var(--toolbar);
  background: #fff;
}

.toolbar-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1064px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
}

.logo img {
  display: block;
  width: 194px;
  height: auto;
}

.menu-toggle {
  display: none;
  align-self: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #111;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.main-nav > ul {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  display: flex;
  align-items: center;
  height: var(--toolbar);
  padding: 0 1.5em;
}

.main-nav > ul > li > a,
.main-nav > ul > li > button {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  color: var(--header-link);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: var(--toolbar);
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > button:hover,
.main-nav > ul > li:hover > a,
.main-nav > ul > li:hover > button,
.main-nav > ul > li:focus-within > a,
.main-nav > ul > li:focus-within > button {
  color: var(--blue-deep);
}

.main-nav .has-sub > a::after,
.main-nav .has-sub > button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--submenu);
  border-left: 10px solid transparent;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.1s;
}

.main-nav .has-sub:hover > a::after,
.main-nav .has-sub:hover > button::after,
.main-nav .has-sub:focus-within > a::after,
.main-nav .has-sub:focus-within > button::after {
  opacity: 1;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--submenu);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.main-nav .has-sub:hover > .submenu,
.main-nav .has-sub:focus-within > .submenu {
  opacity: 1;
  pointer-events: auto;
}

.submenu a {
  padding: 0 2em;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 70px;
}

.submenu a:hover {
  color: #42c4ff;
}

.wrap {
  width: var(--content);
  max-width: calc(100vw - 40px);
  margin: 0 auto;
}

.login {
  padding: 60px 0;
}

.login-title {
  margin: 0 0 0.6rem;
  color: #000;
  font-size: 3.3rem;
  font-weight: 500;
  line-height: 1;
}

.notice {
  margin: 0 0 40px;
  padding: 0 75px;
  text-align: center;
}

.notice h1 {
  margin: 0 0 1rem;
  color: #0070e0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}

.notice h2 {
  margin: 1.6rem 0 0.4rem;
  color: #000;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.notice p {
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice--support {
  margin: 60px 0 0;
  padding: 35px 75px 30px;
  background: var(--gray);
}

.notice--support h2 {
  margin-top: 0;
}

.contact-list {
  margin: 0.8rem 0 1rem;
  padding: 0;
  list-style: none;
  line-height: 1.6;
}

.contact-list a {
  color: #000;
  text-decoration: underline;
}

.contact-list a:hover {
  color: var(--blue-deep);
}

.notice .signature {
  margin-top: 1rem;
  font-weight: 500;
}

@media (max-width: 800px) {
  .notice {
    padding: 0;
  }

  .notice--support {
    padding: 24px 20px 20px;
  }
}

.login-spacer {
  height: 1.8rem;
}

.products {
  display: flex;
  margin: 0 -4.5px;
}

.products .col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  margin: 4.5px;
  padding: 0 10px;
}

.products img {
  display: block;
  width: 100%;
  height: 240px;
  margin: 0 0 0.6rem;
  object-fit: fill;
}

.products h2 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.products p {
  margin: 0 0 0.6rem;
}

.products .col > p:last-child {
  margin-top: auto;
}

.button {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 10px 30px;
  border: 1px solid #000;
  border-radius: 100px;
  color: #000;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}

.button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.support {
  margin: 20px 0;
  padding: 35px 75px 25px;
  background: var(--gray);
}

.support h2 {
  margin: 0 0 0.6rem;
  color: #000;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.site-footer a {
  text-decoration: none;
}

.footer-top {
  background: #000;
  color: #fff;
}

.footer-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.footer-col {
  width: 180px;
  margin-bottom: 25px;
}

.footer-col.wide {
  width: 212px;
}

.footer-col.social {
  width: 220px;
}

.footer-col.actions {
  width: 140px;
}

.footer-col h2,
.footer-col .title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col li a {
  color: var(--footer-link);
  font-size: 16px;
  line-height: 1.3;
}

.footer-col li a:hover {
  color: #42c4ff;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #636363;
  fill: #fff;
}

.social-link svg {
  width: 30px;
  height: 30px;
  transform: translate(-1px, -1px) scale(1.1);
  transition: transform 0.2s;
}

.social-link:hover svg {
  transform: translate(-1px, -1px) scale(1.3);
}

.button-round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  margin: 10px 0 30px;
  padding: 15px 0;
  border: 1px solid #fff;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.button-round::after {
  content: "›";
  margin-top: -2px;
  padding-left: 5px;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s;
}

.button-round:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button-round:hover::after {
  transform: translateX(5px);
}

.footer-bottom {
  padding: 14px 0 28px;
  background: var(--footer-bottom);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-brand img {
  display: block;
  width: 117px;
  height: auto;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.footer-legal-nav a {
  padding: 0 9px;
  border-right: 1px solid #fff;
  color: #fff;
  font-weight: 500;
  line-height: 1rem;
  cursor: pointer;
}

.footer-legal-nav a:last-child {
  border-right: 0;
}

.footer-legal-nav a:hover {
  color: var(--blue);
}

.copyrights {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 20px 8px;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1rem;
  text-align: center;
}

.copyrights a {
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}

.copyrights a:hover {
  text-decoration: underline;
}

@media (max-width: 959px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--connector) - var(--toolbar));
    overflow: auto;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  }

  .site-header.nav-open .main-nav {
    display: block;
  }

  .main-nav > ul {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .main-nav > ul > li {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    border-top: 1px solid #eee;
  }

  .main-nav > ul > li > a,
  .main-nav > ul > li > button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    line-height: 1.3;
    text-align: left;
  }

  .main-nav .has-sub > a::after,
  .main-nav .has-sub > button::after {
    display: none;
  }

  .submenu {
    position: static;
    display: none;
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    background: #2d2d2d;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .has-sub.is-open > .submenu,
  .main-nav .has-sub:focus-within > .submenu {
    display: flex;
  }

  .submenu a {
    line-height: 1.3;
    padding: 12px 28px;
  }

  .support {
    padding: 28px 20px 20px;
  }

  .support h2 {
    font-size: 1.35rem;
  }
}

@media (max-width: 800px) {
  .products {
    flex-direction: column;
  }

  .products img {
    height: auto;
    object-fit: contain;
  }

  .footer-top-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col,
  .footer-col.wide,
  .footer-col.social,
  .footer-col.actions {
    width: 280px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .social-link {
    margin: 0 auto;
  }

  .button-round {
    margin-right: auto;
    margin-left: auto;
  }
}
