:root {
  --gt-purple: #4f2d7f;
  --gt-purple-dark: #2b174a;
  --gt-purple-soft: #8f5cff;
  --gt-red: #d52b2b;
  --gt-teal: #00a7b5;
  --gt-gold: #f7bf3f;
  --gt-ink: #111111;
  --gt-muted: #666666;
  --gt-border: #e7e1ec;
  --gt-page: #f6f4f2;
  --gt-radius-xl: 42px;
  --gt-shadow: 0 22px 56px rgba(30, 21, 45, 0.13);
}

* {
  letter-spacing: 0;
}

body.gt-shell {
  background: var(--gt-page);
  color: var(--gt-ink);
  font-family: "Nunito Sans", Inter, system-ui, sans-serif;
}

.gt-shell [x-cloak] {
  display: none !important;
}

.gt-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(31, 22, 42, 0.08);
}

.gt-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  max-width: 1780px;
  margin: 0 auto;
  padding: 0 32px;
}

.gt-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 260px;
  color: var(--gt-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.gt-brand img {
  width: 58px;
  height: 58px;
  max-height: none;
  border-radius: 50%;
  object-fit: contain;
}

.gt-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.45vw, 28px);
  white-space: nowrap;
}

.gt-nav button,
.gt-nav a {
  position: relative;
  color: var(--gt-purple);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  transition: color 0.18s ease;
}

@media (max-width: 1500px) {
  .gt-nav button,
  .gt-nav a {
    font-size: 17px;
  }

  .gt-nav a:nth-of-type(n + 2) {
    display: none;
  }

  .gt-brand {
    min-width: 320px;
    font-size: 31px;
  }

  .gt-search-box {
    min-height: 42px;
    padding: 0 14px;
  }
}

.gt-nav button::after,
.gt-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background: var(--gt-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.gt-nav button:hover,
.gt-nav button:focus-visible,
.gt-nav a:hover,
.gt-nav a:focus-visible,
.gt-nav .is-active {
  color: var(--gt-red);
}

.gt-nav button:hover::after,
.gt-nav button:focus-visible::after,
.gt-nav .is-active::after {
  transform: scaleX(1);
}

.gt-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gt-search-box {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 19px;
  border: 2px solid var(--gt-purple-soft);
  border-radius: 5px;
  color: var(--gt-purple);
  background: #fff;
}

.gt-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 19px;
  font-weight: 800;
}

.gt-search-box__divider {
  width: 1px;
  height: 22px;
  background: var(--gt-purple-soft);
}

.portal-profile-trigger {
  border-radius: 4px !important;
  border: 2px solid var(--gt-purple-soft) !important;
  color: var(--gt-purple) !important;
}

.gt-main {
  max-width: 1640px;
  margin: 0 auto;
  padding: 56px 36px 72px;
}

.gt-main.gt-main--dashboard {
  max-width: 1680px;
  padding-left: 24px;
  padding-right: 24px;
}

.audit-risk-truncate-2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gt-home-hero,
.gt-module-hero {
  overflow: hidden;
  border-radius: 0 var(--gt-radius-xl) var(--gt-radius-xl) 0;
  background: var(--gt-purple);
  box-shadow: var(--gt-shadow);
}

.gt-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  min-height: 560px;
}

.gt-home-hero__media {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(90deg, rgba(79, 45, 127, 0.76), rgba(247, 191, 63, 0.24)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0 2px, transparent 2px 25%),
    linear-gradient(135deg, #251644, #8060b7 48%, #f0c656);
}

.gt-home-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.45), transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(0, 167, 181, 0.35), transparent 20%),
    linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.42) 36%, transparent 37%);
  opacity: 0.7;
}

.gt-home-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 86px);
  color: #fff;
}

.gt-home-hero__content::after,
.gt-module-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 460px;
  height: 460px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.08);
}

.gt-eyebrow {
  margin-bottom: 22px;
  color: #d9c9ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gt-home-hero h1,
.gt-module-hero h1 {
  max-width: 840px;
  font-size: clamp(44px, 6.3vw, 96px);
  line-height: 0.98;
  font-weight: 1000;
}

.gt-module-hero h1 {
  color: #fff;
}

.gt-home-hero p,
.gt-module-hero p {
  max-width: 680px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 600;
}

.gt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.gt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 34px;
  border-radius: 4px;
  border: 2px solid currentColor;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gt-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 16, 38, 0.16);
}

.gt-button--red {
  border-color: var(--gt-red);
  background: var(--gt-red);
  color: #fff;
}

.gt-button--ghost {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

.gt-section-title {
  margin: 70px 0 30px;
  color: var(--gt-ink);
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1.08;
  font-weight: 1000;
}

.gt-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.gt-module-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 0;
  border-radius: 0 38px 38px 0;
  background: #fff;
  box-shadow: 0 20px 52px rgba(31, 22, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gt-module-card::before {
  content: "";
  position: absolute;
  inset: 0 44% 0 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.38), transparent 25%),
    linear-gradient(145deg, rgba(79, 45, 127, 0.94), rgba(143, 92, 255, 0.78));
}

.gt-module-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 36px solid rgba(79, 45, 127, 0.08);
  border-radius: 50%;
}

.gt-module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(31, 22, 42, 0.16);
}

.gt-module-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  padding: 38px;
}

.gt-module-card h3 {
  color: var(--gt-purple);
  font-size: 38px;
  line-height: 1.05;
  font-weight: 1000;
}

.gt-module-card p {
  max-width: 520px;
  margin-top: 16px;
  color: var(--gt-muted);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.gt-card-arrow {
  margin-top: 28px;
  color: var(--gt-red);
  font-size: 42px;
  line-height: 1;
}

.gt-module-hero {
  position: relative;
  min-height: 360px;
  margin-bottom: 54px;
  padding: clamp(48px, 6vw, 86px);
}

.gt-module-hero--audit {
  background:
    radial-gradient(circle at 84% 28%, rgba(143, 92, 255, 0.48), transparent 19%),
    linear-gradient(110deg, var(--gt-purple) 0 62%, #fff 62% 100%);
}

.gt-module-hero--muavin {
  background:
    radial-gradient(circle at 75% 26%, rgba(0, 167, 181, 0.38), transparent 18%),
    linear-gradient(110deg, var(--gt-purple) 0 66%, #e9e3f2 66% 100%);
}

.gt-workflow-shell {
  margin-bottom: 22px;
}

.gt-shell .glass,
.gt-shell article.group,
.gt-shell .rounded-2xl.border,
.gt-shell .rounded-xl.border {
  border-color: var(--gt-border) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 14px 36px rgba(31, 22, 42, 0.07);
}

.gt-shell .glass {
  border-radius: 28px !important;
}

.gt-shell button.bg-gt,
.gt-shell a.bg-gt,
.gt-shell .bg-gt.text-white {
  border-radius: 4px !important;
  background: var(--gt-red) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.gt-shell button.bg-gt:hover,
.gt-shell a.bg-gt:hover {
  background: #b62020 !important;
}

.gt-shell .text-gt,
.gt-shell .text-gt-700,
.gt-shell .text-gt-800 {
  color: var(--gt-purple) !important;
}

.gt-shell .bg-gt-50,
.gt-shell .bg-gt-100 {
  background: #f3edf8 !important;
}

.gt-shell .border-gt,
.gt-shell .border-gt-100,
.gt-shell .border-gt-200 {
  border-color: #cdbce5 !important;
}

.gt-shell input,
.gt-shell select {
  border-radius: 4px !important;
}

.gt-shell input:focus,
.gt-shell select:focus {
  border-color: var(--gt-purple) !important;
  box-shadow: 0 0 0 3px rgba(143, 92, 255, 0.2) !important;
}

.gt-shell .data-table thead th {
  background: var(--gt-purple) !important;
}

.gt-step-nav {
  max-width: 1640px;
  margin: 28px auto 0;
  padding: 0 36px;
}

.gt-step-nav > div {
  border-radius: 4px !important;
  box-shadow: 0 12px 34px rgba(31, 22, 42, 0.08);
}

.gt-footer {
  background: var(--gt-purple);
  color: #fff;
  padding: 72px 36px 44px;
}

.gt-footer__inner {
  max-width: 1520px;
  margin: 0 auto;
}

.gt-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.gt-footer h3 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gt-footer p,
.gt-footer a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 600;
}

.gt-footer__copy {
  max-width: 1280px;
  padding-top: 42px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

.gt-login-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0 92px, var(--gt-page) 92px),
    var(--gt-page);
}

.gt-login-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
  gap: 0;
  max-width: 1520px;
  margin: 68px auto;
  padding: 0 36px;
}

.gt-login-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 42px 42px 0;
  background:
    linear-gradient(120deg, rgba(79, 45, 127, 0.88), rgba(79, 45, 127, 0.48)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 2px, transparent 2px 25%),
    linear-gradient(135deg, #312052, #7d5eb5 54%, #00a7b5);
  color: #fff;
  padding: clamp(48px, 7vw, 94px);
}

.gt-login-hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 6vw, 98px);
  line-height: 0.96;
  font-weight: 1000;
}

.gt-login-panel {
  align-self: center;
  margin-left: -80px;
  border-radius: 34px;
  background: #fff;
  padding: 42px;
  box-shadow: var(--gt-shadow);
}

@media (max-width: 1180px) {
  .gt-nav {
    display: none;
  }

  .gt-home-hero,
  .gt-login-main {
    grid-template-columns: 1fr;
  }

  .gt-login-panel {
    margin: -48px 24px 0;
  }
}

@media (max-width: 760px) {
  .gt-site-header__inner,
  .gt-main,
  .gt-step-nav,
  .gt-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .gt-main.gt-main--dashboard {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gt-site-header__inner {
    min-height: 78px;
  }

  .gt-brand {
    min-width: 0;
  }

  .gt-brand img {
    width: 46px;
    height: 46px;
  }

  .gt-brand {
    font-size: 24px;
  }

  .gt-search-box {
    display: none;
  }

  .portal-profile-trigger {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    justify-content: center;
  }

  .portal-profile-trigger > span {
    display: none;
  }

  .gt-home-hero,
  .gt-module-hero,
  .gt-module-card,
  .gt-login-hero {
    border-radius: 0 28px 28px 0;
  }

  .gt-home-hero__content,
  .gt-module-hero,
  .gt-login-hero {
    padding: 36px 24px;
  }

  .gt-module-hero {
    min-height: auto;
    margin-bottom: 28px;
  }

  .gt-module-hero--audit,
  .gt-module-hero--muavin {
    background:
      radial-gradient(circle at 88% 18%, rgba(143, 92, 255, 0.34), transparent 24%),
      linear-gradient(135deg, var(--gt-purple) 0%, var(--gt-purple-dark) 100%);
  }

  .gt-module-hero::after {
    right: -190px;
    bottom: -230px;
    opacity: 0.45;
  }

  .gt-home-hero h1,
  .gt-module-hero h1,
  .gt-login-hero h1 {
    font-size: 36px;
    line-height: 1.05;
  }

  .gt-module-hero p {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.55;
  }

  .gt-module-grid,
  .gt-footer__grid {
    grid-template-columns: 1fr;
  }
}
