html {
  font-family: "DM Sans", sans-serif;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2.8px);
  border-bottom: 1px solid #e5e7eb;
}

body.is-home .site-nav,
body.is-hero-page .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  overflow: visible;
}

body.is-home .site-nav::before,
body.is-hero-page .site-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 190px;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.22) 0%, rgba(2, 6, 23, 0.12) 40%, rgba(2, 6, 23, 0.04) 72%, rgba(2, 6, 23, 0) 100%);
  backdrop-filter: blur(3.5px);
  pointer-events: none;
  z-index: -1;
}

body.is-home .site-brand,
body.is-home .site-menu .ai-nav-link,
body.is-home .site-mobile-btn,
body.is-hero-page .site-brand,
body.is-hero-page .site-menu .ai-nav-link,
body.is-hero-page .site-mobile-btn {
  color: #fff;
}

body.is-home .site-mobile-btn,
body.is-hero-page .site-mobile-btn {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-menu-gradient {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) border-box;
  cursor: pointer;
}

.btn-menu-gradient span {
  display: block;
  flex: none;
  width: 18px;
  height: 2.4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%);
}

body.is-home .btn-menu-gradient,
body.is-hero-page .btn-menu-gradient {
  background:
    linear-gradient(rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.68)) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) border-box;
}

.inside-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  width: max-content;
}

.inside-logo__top {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-block;
}

.inside-logo__head {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
}

.inside-logo__line {
  margin: calc(0.24rem - 2px) 0 calc(0.28rem - 2px);
  height: 3.6px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--btn-grad-start), var(--btn-grad-end));
}

.inside-logo--top .inside-logo__line {
  height: 5px;
}

.inside-logo__mid {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.inside-logo__by {
  margin-top: 0.24rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.mobile-menu {
  padding: 0;
  border: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: transparent;
}

.mobile-menu::backdrop {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(2px);
}

.mobile-menu-box {
  width: 100vw;
  height: 100vh;
  background: #0f172a;
  color: #fff;
  overflow-y: auto;
}

.ai-nav-link .ai-nav-link__label {
  position: relative;
  display: inline-block;
}

.ai-nav-link .ai-nav-link__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 0.23rem;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.ai-nav-link:hover .ai-nav-link__label:not(.is-active)::after,
.ai-nav-link:focus-visible .ai-nav-link__label:not(.is-active)::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ai-nav-link .ai-nav-link__label.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mega-panel {
  position: absolute;
  right: 1.5rem;
  top: calc(100% + 0.75rem);
  width: 52rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.12);
}

.mega-link {
  font-weight: 600;
  color: #0f172a;
  padding: 0.45rem 0.25rem;
  border-radius: 0.5rem;
}

.mega-link:hover {
  background: #f8fafc;
}

:root {
  --btn-grad-start: #e35d8e;
  --btn-grad-end: #f39a4b;
}

.btn-item,
.btn-item-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  transition: color 0.22s ease, transform 0.22s ease, background-size 0.22s ease;
  border: 2px solid transparent;
  color: #be4a7b;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) border-box;
  background-position: right top, left top, left top;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
}

.btn-item:hover,
.btn-item-secondary:hover {
  color: #fff;
  background-size: 0% 100%, 100% 100%, 100% 100%;
  transform: translateY(-1px);
}

.btn-item-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.75rem;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  border: 2px solid transparent;
  color: #fff;
  background:
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) border-box;
  transition: filter 0.22s ease, transform 0.22s ease;
}

.btn-item-solid:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mega-feature {
  background: #f8fafc;
  border-radius: 0.85rem;
  padding: 1rem;
}

.mega-feature img {
  margin-bottom: 0.85rem;
}

.hero {
  position: relative;
  min-height: clamp(680px, 88vh, 860px);
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: 30% top;
}

@media (max-width: 767px) {
  .hero video {
    object-position: center top;
  }
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(2, 6, 23, 0.44));
}

.hero .content {
  position: relative;
  z-index: 2;
  min-height: clamp(680px, 88vh, 860px);
}

.btn-ghost-fill {
  position: relative;
  overflow: hidden;
  border: 2.5px solid #fff;
  color: #fff;
}

.btn-ghost-fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  z-index: 0;
}

.btn-ghost-fill:hover::before {
  transform: scaleX(1);
}

.btn-ghost-fill span {
  position: relative;
  z-index: 1;
  transition: color 0.2s ease;
}

.btn-ghost-fill:hover span {
  color: var(--btn-grad-start);
}

.hero-btn-primary {
  color: var(--btn-grad-start);
  border: 2px solid transparent;
  transition: color 0.22s ease, transform 0.22s ease, background-size 0.22s ease;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) padding-box,
    linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%) border-box;
  background-position: right top, left top, left top;
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat;
}

.hero-btn-primary:hover {
  color: #fff;
  background-size: 0% 100%, 100% 100%, 100% 100%;
  transform: translateY(-1px);
}

.site-footer-gradient {
  background: linear-gradient(110deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%);
}

.site-footer-gradient,
.site-footer-gradient a,
.site-footer-gradient .inside-logo__top,
.site-footer-gradient .inside-logo__mid,
.site-footer-gradient .inside-logo__by {
  color: #fff;
}

.site-footer-gradient .inside-logo__line {
  background: #fff;
}

.site-footer-gradient .footer-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.site-footer-gradient .footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.site-footer-gradient .footer-link:hover::after,
.site-footer-gradient .footer-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.content-prose h1,
.content-prose h2,
.content-prose h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.65rem;
  line-height: 1.2;
  font-weight: 800;
}

.content-prose h1 { font-size: 2.2rem; }
.content-prose h2 { font-size: 1.55rem; }
.content-prose h3 { font-size: 1.25rem; }
.content-prose p { margin: 0.7rem 0; line-height: 1.72; color: #1e293b; }
.content-prose ul { margin: 0.8rem 0 1rem 1.25rem; list-style: disc; }
.content-prose ol { margin: 0.8rem 0 1rem 1.25rem; list-style: decimal; }
.content-prose li { margin-bottom: 0.4rem; }

.content-prose a:not(.btn-item):not(.btn-item-secondary):not(.btn-item-solid) {
  color: #7a2f48;
  text-decoration: none;
  background-image: linear-gradient(90deg, var(--btn-grad-start) 0%, var(--btn-grad-end) 100%);
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
}

.content-prose a:not(.btn-item):not(.btn-item-secondary):not(.btn-item-solid):hover {
  color: #5f2338;
}

.cms-btn {
  border: 2px solid #cbd5e1;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.cms-btn:hover {
  background: #f8fafc;
}

a.rounded-lg.border,
a.rounded-xl.border,
button.rounded-lg.border,
button.rounded-xl.border {
  border-width: 2px;
}
