html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
strong {
  font-family: "Inter Tight", "Inter", Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site {
  overflow: clip;
}

.site-header {
  width: 100%;
  min-height: 88px;
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: inherit;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.site-header__brand {
  width: fit-content;
  display: inline-flex;
}

.site-header__brand img {
  width: 116px;
  height: auto;
  display: block;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header__nav a,
.site-header__login {
  color: #101010;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-header__nav a {
  position: relative;
}

.site-header__nav a::after {
  height: 2px;
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  background: #41c6d9;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__login {
  min-height: 46px;
  padding: 0 10px 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 12px;
  background: #101010;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 16, 16, 0.18);
  white-space: nowrap;
}

.site-header__login span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #41c6d9;
  color: #101010;
}

.site-header__login svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-view .hero__grid {
  margin-top: 57px;
}

.desktop-view .trial {
  height: 860px;
}

.desktop-view .faq details {
  height: auto;
  min-height: 0;
}

.faq details {
  transition: background-color 220ms ease;
}

.faq details[open] {
  background: var(--cyan-soft);
}

.faq details[open] summary span {
  background: #ffffff;
}

.faq summary span::before {
  width: 12px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq details[open] summary span::before,
.faq details:not([open]) summary span::before {
  content: "";
}

.faq summary span {
  position: relative;
}

.faq summary span::after {
  width: 2px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) scaleY(1);
  transition: transform 180ms ease;
}

.faq details[open] summary span::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq details[data-animating="true"] {
  will-change: height;
}

.footer a {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer .logo {
  text-decoration: none;
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 64px;
  }

  .site-header {
    min-height: 64px;
  }

  .site-header__inner {
    height: 64px;
    min-height: 64px;
    padding: 0 24px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .site-header__brand img {
    width: 86px;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__login {
    min-height: 42px;
    padding-left: 14px;
    gap: 8px;
    font-size: 13px;
  }

  .site-header__login span {
    width: 25px;
    height: 25px;
  }

  .site-header__login svg {
    width: 18px;
    height: 18px;
  }

  .mobile-view .hero {
    padding-top: 30px;
  }

  .mobile-view .faq details {
    min-height: 0;
  }

  .mobile-view .footer nav {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
