html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

body.minddesk-public {
  background-color: #090A0D;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 168, 95, .16), transparent 32rem),
    linear-gradient(90deg, #090A0D 0%, #0B1220 22%, #090A0D 46%, #0B1220 72%, #090A0D 100%),
    linear-gradient(180deg, #090A0D 0%, #0B1220 42%, #090A0D 100%);
  color: #f8f1df;
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

body.minddesk-public::before {
  background-image:
    linear-gradient(rgba(248, 241, 223, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 241, 223, .028) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 68%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.minddesk-public::after {
  background:
    linear-gradient(90deg, transparent 0 10%, #0B1220 10% 21%, transparent 21% 45%, #0B1220 45% 58%, transparent 58% 100%);
  content: "";
  inset: 0;
  opacity: .38;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

::selection {
  background: rgba(214, 168, 95, .34);
  color: #fff7df;
}

a {
  color: inherit;
}

.minddesk-site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.minddesk-site-main {
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 168, 95, .1), transparent 30rem),
    linear-gradient(180deg, #090A0D 0%, #0B1220 42%, #090A0D 100%);
  min-height: 70vh;
}

.minddesk-nav-link {
  color: #fff3cf;
  letter-spacing: .015em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .58);
  text-decoration: none;
  transition: color .18s ease;
}

.minddesk-nav-link:hover,
.minddesk-footer-link:hover {
  color: #f7d789;
}

.minddesk-header img[alt^="MindDesk"] {
  object-fit: contain;
}

.minddesk-nav-pill {
  background: #0B1220;
  border: 1px solid rgba(248, 241, 223, .18);
  border-radius: 999px;
  color: #fff3cf;
  flex: 0 0 auto;
  padding: .45rem .8rem;
  text-decoration: none;
}

.minddesk-account-menu {
  align-items: center;
  background: rgba(248, 241, 223, .08);
  border: 1px solid rgba(248, 241, 223, .18);
  border-radius: 999px;
  box-shadow: 0 0 42px rgba(214, 168, 95, .18);
  gap: .18rem;
  padding: .18rem;
  position: relative;
}

.minddesk-sector-trigger,
.minddesk-login-action {
  align-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 900;
  gap: .55rem;
  justify-content: center;
  line-height: 1;
  min-height: 2.45rem;
  padding: .58rem .95rem;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.minddesk-sector-trigger {
  background: transparent;
  color: #fff3cf;
}

.minddesk-sector-trigger:hover,
.minddesk-sector-trigger[aria-expanded="true"] {
  background: rgba(214, 168, 95, .16);
}

.minddesk-login-action {
  background: #d6a85f;
  box-shadow: 0 0 32px rgba(214, 168, 95, .18);
  color: #15110d;
  min-width: 7rem;
}

.minddesk-login-action:hover {
  background: #f2c270;
  color: #15110d;
}

.minddesk-sector-trigger:focus-visible,
.minddesk-login-action:focus-visible,
.minddesk-app-option:focus-visible,
.minddesk-account-primary:focus-visible,
.minddesk-account-secondary:focus-visible,
.minddesk-consent button:focus-visible {
  outline: 3px solid rgba(242, 211, 146, .62);
  outline-offset: 3px;
}

.minddesk-account-current {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.minddesk-account-panel {
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 168, 95, .18), transparent 16rem),
    linear-gradient(180deg, #111827 0%, #090A0D 100%);
  border: 1px solid rgba(242, 211, 146, .22);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
  color: #f8f1df;
  min-width: 21rem;
  padding: .9rem;
  position: absolute;
  right: 0;
  top: calc(100% + .75rem);
  z-index: 80;
}

.minddesk-account-panel[hidden],
.minddesk-consent[hidden],
.minddesk-consent-preferences[hidden] {
  display: none !important;
}

.minddesk-account-panel-head {
  display: grid;
  gap: .2rem;
  margin-bottom: .75rem;
}

.minddesk-account-panel-head strong {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .98rem;
}

.minddesk-account-panel-head span {
  color: rgba(248, 241, 223, .58);
  font-size: .86rem;
}

.minddesk-app-options {
  display: grid;
  gap: .55rem;
}

.minddesk-app-option {
  background: rgba(248, 241, 223, .06);
  border: 1px solid rgba(248, 241, 223, .12);
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: .18rem;
  padding: .76rem .85rem;
  text-align: left;
  transition: background .18s ease, border-color .18s ease;
  width: 100%;
}

.minddesk-app-option strong {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .94rem;
}

.minddesk-app-option span {
  color: rgba(248, 241, 223, .62);
  font-size: .84rem;
}

.minddesk-app-option[aria-checked="true"] {
  background: rgba(214, 168, 95, .16);
  border-color: rgba(242, 211, 146, .46);
}

.minddesk-account-actions {
  display: grid;
  gap: .6rem;
  grid-template-columns: 1fr 1fr;
  margin-top: .85rem;
}

.minddesk-account-primary,
.minddesk-account-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 2.6rem;
  text-decoration: none;
}

.minddesk-account-primary {
  background: #d6a85f;
  color: #15110d;
}

.minddesk-account-primary:hover {
  background: #f2c270;
  color: #15110d;
}

.minddesk-account-secondary {
  background: rgba(248, 241, 223, .08);
  border: 1px solid rgba(248, 241, 223, .16);
  color: #fff3cf;
}

.minddesk-account-secondary:hover {
  border-color: rgba(242, 211, 146, .38);
  color: #f7d789;
}

.minddesk-mobile-account-row {
  background: rgba(248, 241, 223, .08);
  border: 1px solid rgba(248, 241, 223, .18);
  border-radius: 999px;
  box-shadow: 0 0 42px rgba(214, 168, 95, .18);
  display: grid;
  gap: .18rem;
  grid-template-columns: minmax(6rem, .8fr) minmax(0, 1fr);
  padding: .18rem;
}

.minddesk-mobile-sector-trigger,
.minddesk-mobile-account .minddesk-login-action {
  justify-content: center;
  min-height: 2.55rem;
  width: 100%;
}

.minddesk-mobile-account .minddesk-account-panel {
  margin-top: .75rem;
  min-width: 0;
  position: static;
  width: 100%;
}

.minddesk-footer-link {
  color: rgba(248, 241, 223, .62);
  text-decoration: none;
  transition: color .18s ease;
}

.premium-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 168, 95, .16), transparent 20rem),
    linear-gradient(180deg, #0B1220 0%, #090A0D 100%);
  border: 1px solid rgba(248, 241, 223, .16);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.premium-panel {
  background:
    radial-gradient(circle at top left, rgba(214, 168, 95, .15), transparent 22rem),
    linear-gradient(150deg, #0B1220 0%, #090A0D 100%);
  border: 1px solid rgba(248, 241, 223, .16);
  border-radius: 24px;
}

.gold-line {
  background: linear-gradient(90deg, transparent, rgba(214, 168, 95, .72), transparent);
  height: 1px;
}

.feature-chip {
  align-items: center;
  background: linear-gradient(135deg, #0B1220, #090A0D);
  border: 1px solid rgba(248, 241, 223, .18);
  border-radius: 999px;
  color: rgba(248, 241, 223, .8);
  display: inline-flex;
  font-size: .92rem;
  font-weight: 700;
  gap: .5rem;
  padding: .65rem .9rem;
  white-space: nowrap;
}

.feature-chip::before {
  background: #d6a85f;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(214, 168, 95, .48);
  content: "";
  height: .44rem;
  width: .44rem;
}

.sector-card {
  color: inherit;
  display: grid;
  gap: 1.25rem;
  min-height: 100%;
  padding: 1.35rem;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.sector-card:hover {
  border-color: rgba(242, 211, 146, .38);
  color: inherit;
  transform: translateY(-3px);
}

.page-kicker {
  background: linear-gradient(135deg, #090A0D, #0B1220);
  border: 1px solid rgba(242, 211, 146, .28);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 34px rgba(0, 0, 0, .22);
  color: #f2d392;
  display: inline-flex;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .24em;
  margin: 0;
  padding: .55rem .8rem;
  text-transform: uppercase;
}

.midnight-hero {
  background:
    radial-gradient(circle at 76% 18%, rgba(214, 168, 95, .16), transparent 24rem),
    linear-gradient(90deg, #090A0D 0%, #0B1220 34%, #090A0D 100%),
    linear-gradient(180deg, #090A0D 0%, #0B1220 54%, #090A0D 100%);
  border-bottom: 1px solid rgba(248, 241, 223, .08);
}

.midnight-band {
  background:
    linear-gradient(90deg, #090A0D, #0B1220, #090A0D);
}

.midnight-highlight {
  background:
    radial-gradient(circle at top left, rgba(214, 168, 95, .16), transparent 18rem),
    linear-gradient(135deg, #0B1220 0%, #090A0D 76%);
  border: 1px solid rgba(248, 241, 223, .16);
  border-radius: 24px;
}

.minddesk-public .bg-white\/\[\.025\],
.minddesk-public .bg-white\/\[\.035\],
.minddesk-public .bg-white\/\[\.04\],
.minddesk-public .bg-white\/\[\.045\],
.minddesk-public .bg-white\/\[\.05\],
.minddesk-public .bg-white\/\[\.06\],
.minddesk-public .bg-white\/\[\.07\],
.minddesk-public .bg-white\/\[\.08\] {
  background-color: #0B1220 !important;
}

.minddesk-public .border-white\/10,
.minddesk-public .border-white\/16 {
  border-color: rgba(248, 241, 223, .16) !important;
}

.premium-input,
.premium-textarea {
  background: rgba(248, 241, 223, .08);
  border: 1px solid rgba(248, 241, 223, .14);
  border-radius: 14px;
  color: #f8f1df;
  outline: none;
  padding: .95rem 1rem;
  width: 100%;
}

.premium-input:focus,
.premium-textarea:focus {
  border-color: rgba(242, 211, 146, .62);
  box-shadow: 0 0 0 4px rgba(214, 168, 95, .12);
}

.premium-input::placeholder,
.premium-textarea::placeholder {
  color: rgba(248, 241, 223, .42);
}

.minddesk-form-submit {
  background: #d6a85f;
  border: 1px solid rgba(242, 211, 146, .58);
  border-radius: 999px;
  box-shadow: 0 0 42px rgba(214, 168, 95, .22);
  color: #15110d;
  cursor: pointer;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 900;
  min-height: 3rem;
  padding: .78rem 1.35rem;
  transition: background .18s ease, border-color .18s ease;
}

.minddesk-form-submit:hover {
  background: #f2c270;
  border-color: rgba(255, 232, 177, .72);
  color: #15110d;
}

.minddesk-form-submit:focus-visible {
  outline: 3px solid rgba(242, 211, 146, .62);
  outline-offset: 3px;
}

.public-minimal-container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.public-minimal-main {
  min-height: 100vh;
  padding: 0;
}

.minddesk-consent {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .97), rgba(9, 10, 13, .97));
  border: 1px solid rgba(242, 211, 146, .22);
  border-radius: 16px;
  bottom: 1rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .36);
  color: #f8f1df;
  display: grid;
  gap: .9rem;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: min(70rem, calc(100% - 2rem));
  padding: .9rem;
  position: fixed;
  transform: translateX(-50%);
  width: max-content;
  z-index: 90;
}

.minddesk-consent-copy {
  max-width: 42rem;
}

.minddesk-consent-copy strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: .98rem;
  margin-bottom: .18rem;
}

.minddesk-consent-copy p {
  color: rgba(248, 241, 223, .66);
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
}

.minddesk-consent-copy a {
  color: #f2d392;
  font-weight: 800;
  text-decoration: none;
}

.minddesk-consent-copy a:hover {
  color: #fff3cf;
}

.minddesk-consent-actions,
.minddesk-consent-preferences {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}

.minddesk-consent-preferences {
  border-top: 1px solid rgba(248, 241, 223, .12);
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding-top: .75rem;
}

.minddesk-consent-preferences label {
  align-items: center;
  color: rgba(248, 241, 223, .76);
  display: inline-flex;
  font-size: .9rem;
  font-weight: 700;
  gap: .45rem;
}

.minddesk-consent button {
  border-radius: 999px;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 900;
  min-height: 2.35rem;
  padding: .55rem .85rem;
}

.minddesk-consent-link {
  background: transparent;
  border: 1px solid transparent;
  color: #f2d392;
}

.minddesk-consent-secondary {
  background: rgba(248, 241, 223, .08);
  border: 1px solid rgba(248, 241, 223, .16);
  color: #fff3cf;
}

.minddesk-consent-primary {
  background: #d6a85f;
  border: 1px solid rgba(242, 211, 146, .58);
  color: #15110d;
}

@media (max-width: 767.98px) {
  .minddesk-consent {
    align-items: stretch;
    bottom: .75rem;
    grid-template-columns: 1fr;
    max-width: calc(100% - 1rem);
    width: calc(100% - 1rem);
  }

  .minddesk-consent-actions {
    justify-content: flex-start;
  }

  .minddesk-consent-actions button,
  .minddesk-consent-preferences button {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
