:root {
    color-scheme: light dark;
    --accent: #18E299;
    --white: #FFFFFF;
    --black: #08090A;
    --bg-main: #FFFFFF;
    --bg-soft: #F9FAFB;
    --border: #E5E7EB;
    --border-soft: rgba(0, 0, 0, 0.1);
    --credit-bar-height: 25px;
    --brand-light: #0c8c5e;
    --text-main: #08090A;
    --text-soft: #4B5563;
    --text-muted: #9CA3AF;
	--soft-light: lab(100 0 0 / 0.15);
	--soft-light-b: lab(100 0 0 / 0.05);
	--text-primary-btn: #08090A;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-main: #08090A;
        --bg-soft: #111214;
        --border: #1F2937;
        --border-soft: rgba(255, 255, 255, 0.1);
        --text-main: #FFFFFF;
        --text-soft: #9CA3AF;
        --text-muted: #6B7280;
        --text-primary-btn: #FFFFFF;
        
    }
}

* {
    box-sizing: border-box;
}

.icon-small {
  width: 16px;
  height: 16px;
}

body {
	font-family: "Inter", sans-serif;
  font-optical-sizing:none;
  font-weight: 400;
  font-style:normal; 
  background-color: light-dark(var(--white), var(--black));
  margin: 0;
}

/* CREDIT BAR */
.credit-bar {
	position: fixed;
    width: 100%;
    background-color: var(--accent);
    border-bottom: 0px solid var(--border);
    color: var(--black);
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 0;
    flex-shrink: 0;
    z-index: 100;
}
.credit-bar a {
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s;
}
.credit-bar a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hero-bg {
	object-fit: cover;
	width: 100%;
	position: absolute;
	z-index: -1;
}
/* Default: hide dark image */
.dark-only { display: none; }

@media (prefers-color-scheme: dark) {
  .light-only { display: none;}
  .dark-only { display: block; }
}

.brand-logo {
	object-fit: contain;
	width: 100px;
	height: auto;
	display: block;
	content: url(public/brand/Mintlify_light.svg);
	animation: darken-on-scroll linear both;
  animation-timeline: scroll(); /* Tracks the page scroll */
  animation-range: 60vh 100vh;
  }

  @keyframes darken-on-scroll {
    to {
    content: url(public/brand/Mintlify_dark.svg);
    }
  }
/* Container */
.main-header {
  position: fixed;
  top: var(--credit-bar-height);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  width: 100%;
  backdrop-filter: blur(0px);
  animation: blur-on-scroll linear both;
  animation-timeline: scroll(); /* Tracks the page scroll */
  animation-range: 0px 100px;  /* Effect starts at 0px and finishes at 100px scroll */
  }
  
  @keyframes blur-on-scroll {
    to {
      background-color: var(--soft-light-b);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
  }

/* Nav Bar Wrapper */
.nav-bar-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.nav-bar-inner {
  display: flex;
  align-items: center;
  max-width: 1056px; /* 66rem */
  margin: 0 auto;
  gap: 2rem;
}

/* Left Group */
.nav-left-group {
  display: flex;
  align-items: center;
  gap: 8rem;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}
  
.nav-item{
	align-items: center;
	background: lab(100% 0 0 / .00);
  color: var(--white);
  padding: 4.5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  animation: dark-text-on-scroll linear both;
    animation-timeline: scroll();
    animation-range: 70vh 100vh;
  }
  @keyframes dark-text-on-scroll {
    to {
    color: var(--black);
    }
  }
  
.nav-item:hover{
	background: lab(100% 0 0 / .05);
  color: #fff;
  padding: 4.5px 12px;
  border-radius: 9999px;
  text-decoration: none;
}

/* Right Group */
.nav-right-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.desktop-actions {
  display: flex;
  gap: 0.5rem;
}

/* Buttons (Simplified) */
.btn-primary {
  background: lab(100% 0 0 / .05);
  color: var(--white);
  padding: 4.5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  text-size-adjust: 100%;
font-family: inter, "inter Fallback";
font-feature-settings:normal;
font-size:15px;
font-variation-settings:normal;
font-weight:500;
line-height:22.5px;
tab-size:4;
text-decoration-color: lab(100 0 0);
text-decoration-line:none;
text-decoration-style:solid;
text-decoration-thickness:auto;
text-wrap-mode: nowrap;
white-space-collapse: collapse;
animation: dark-text-on-scroll linear both;
  animation-timeline: scroll();
  animation-range: 70vh 100vh;
}
@keyframes dark-text-on-scroll {
  to {
  color: var(--black);
  }
}

.btn-secondary {
  background: #f4f4f4;
  color: #000;
  padding: 4.5px 12px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: inter, "inter Fallback";
font-feature-settings:normal;
font-size:15px;
font-variation-settings:normal;
font-weight:500;
line-height:22.5px;
tab-size:4;
text-decoration-color: lab(100 0 0);
text-decoration-line:none;
text-decoration-style:solid;
text-decoration-thickness:auto;
text-wrap-mode: nowrap;
white-space-collapse: collapse;
}
.hero-caption-container{
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	padding-top: 104px;
	padding-bottom: 96px;
	flex-direction: column;
}
.hero-title{
	display: block;
	max-width: 688px;
	color: var(--white);
	font-size: max(2.5rem,min(4vw,4rem));
	font-weight: 600;
	z-index: 50;
	text-align: center;
}
.feature-announcement {
	position: relative;
	align-items: center;
	display: flex;
	left: 50%;
	padding: 4px 4px;
	top: 120px;
	width: fit-content;
	background-color: light-dark(lab(2.42579% -.165291 -.470081/.15), lab(100 0 0 / 0.15));
	border-radius: 9999px;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	backdrop-filter: blur(12px);
	translate: -50%;
	cursor: pointer;
}
.feature-announcement:hover{
	background-color: light-dark(lab(100 0 0 / 0.05), lab(100 0 0 / 0.05));
  padding: 4px 4px;
  border-radius: 99px;
  text-decoration: none;
}

.feature-announcement__badge{
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 500;
	color: var(--white);
	background-color: var(--brand-light);
	border-radius: 60px;
	margin-right: 5px;
}
.feature-announcement__text {
	color: var(--white);
	padding-left: 4px;
	margin:0;
	font-weight: 500;
	line-height: 1.5;
	white-space-collapse: collapse;
}
 .feature-announcement-icon {
	margin-left: 8px;
	margin-top: 0;
	margin-bottom: 0;
	margin-right: 8px;
	color:  var(--white);
 }
.hero-subtitle {
	display: block;
	margin-top: 24px;
	color: var(--white);
	max-width: 29.5rem;
	text-align: center;
	line-height: 1.5;
	font-size: 20px;
}
.emailstart {
	max-width: 22.5rem;
	align-items: center;
	display: flex;
	margin-top: 24px;
	left: 50%;
	padding: 2px;
	width: 100%;
	background-color: light-dark(lab(100 0 0 /0.15), lab(100 0 0 / 0.15));
	border: 1px solid ;
	border-color: var(--soft-light);
	border-radius: 9999px;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	backdrop-filter: blur(12px);
	cursor: pointer;
}

input {
	background-color: transparent;
	border: 0px solid;
	color: var(--text-main);
	width: 100%;
	height: 32px;
	padding: 0px 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.5;
	text-align: start;
}
input::placeholder {
	color: lab(100 0 0 / 0.5);
}
input:focus {
	outline: none;
	border: none;
	box-shadow: none;
}
.hero-img-container{
	position: relative;
	margin: 0 auto;
	max-width: 67.5rem;
	justify-content: center;
	align-items: center;
}
.hero-img {
	border-radius: 25px;
	width: 100%;
	mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}
.hero-img::after {
	height: 22%;
	left: -8%;
	mask: linear-gradient(to top, #000 10%, transparent 80%) no-repeat;
  -webkit-mask: linear-gradient(to top, #000 10%, transparent 80%) no-repeat;
}
.company-list-container {
	margin-top: 0;
	padding: 72px 32px 144px ;
}

.company-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;

	max-width: 64rem;
	margin: 0 auto;
	align-items: center;
	justify-items: center;
}

.company {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 64px;
}

.company-logo {
	max-width: 140px;
	width: 100%;
	height: auto;
	opacity: 1;
	transition: opacity 0.2s ease;
}
.feature-section-1 {
	padding: 72px 32px 144px ;
	max-width: 100%;
}
.feature-header {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	padding: 48px 32px;
	row-gap: 16px;
	column-gap: 16px;
	margin: auto;
}
.section-title {
	display: block;
	font-size: max(1.75rem,min(4vw,2.5rem));
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 110%;
	text-align: center;
	margin: 0;
}

.section-subtitle {
	color: var(--text-soft);
	text-align: center;
	max-width: 40.5rem;
}
.section-title {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.section-title.left-align {
    text-align: left;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle.left-align {
    text-align: left;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.feature-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card.full-width {
    width: 100%;
}

.feature-content {
    padding: 32px;
}

.feature-content.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.feature-tag {
    font-family: "Fira Code", monospace;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
}

.feature-desc {
    font-size: 16px;
    color: var(--text-soft);
    margin: 0;
}

.feature-visual {
    background: var(--bg-soft);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border);
    position: relative;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 20px 20px;
}

.feature-visual.large-visual {
    height: 400px;
}

/* Mockups for UI */
.visual-mockup-box {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 200px;
    height: 120px;
    padding: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mockup-line {
    background: var(--border);
    height: 8px;
    width: 100%;
    border-radius: 4px;
    margin-bottom: 12px;
}
.mockup-line.short {
    width: 60%;
}

.visual-agent-circles {
    display: flex;
    align-items: center;
    gap: 16px;
}
.visual-agent-circles .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border);
}
.visual-agent-circles .circle.active {
    background: var(--accent);
    border-color: var(--accent);
}
.visual-agent-circles .line {
    width: 30px;
    height: 2px;
    background: var(--border);
}

.chat-ui-mockup {
    width: 400px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 80%;
}

.chat-bubble.user {
    background: var(--bg-soft);
    color: var(--text-main);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: var(--text-main);
    color: var(--bg-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble code {
    background: rgba(255,255,255,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: "Fira Code", monospace;
}

/* Layout Containers */
.customer-stories-container {
	align-items: center;
	margin-top: 72px;
	padding: 100px 24px;
  width: 100%;
  overflow: hidden; /* Only on large screens in original */
}

.flex-column-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}

.story-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Main Card (Panel) */
.story-panel {
	margin-left: auto;
	margin-right: auto;
  position: relative;
  width: 100%;
  max-width: 66.5rem;
  height: 518px;
  padding: 64px; /* md:p-16 */
  background-color: #ffffff; /* fallback */
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.panel-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
}

/* Typography */
.label-mono {
  position: relative;
  z-index: 10;
  text-transform: uppercase;
  font-family: monospace;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin: 0;
}

.story-title {
  position: relative;
  z-index: 10;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.24px;
  line-height: 1.33;
  max-width: 28rem;
  margin-top: 16px;
}

/* Read More */
.read-more-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 32px;
  color: #ffffff;
}

.read-more-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
}

/* Metrics */
.metrics-footer {
  position: relative;
  z-index: 10;
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 12rem;
}

.metric-value {
  color: #ffffff;
  font-size: 40px; /* 2.5rem */
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin: 0;
}

.metric-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Tabs Navigation */
.tabs-scroll-container {
  position: relative;
  margin: 0 -24px;
  padding: 12px 0;
}

.tabs-viewport {
  overflow-x: auto;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.tabs-viewport::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.tabs-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: max-content;
  min-width: 100%;
  padding: 0 24px;
}

.tab-button {
  cursor: pointer;
  height: 64px;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 4px;
  transition: opacity 0.3s, filter 0.3s;
}

.tab-button.grayscale {
  filter: grayscale(1);
  opacity: 0.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Interaction */
.hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, transparent);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.story-panel:hover .hover-overlay {
  opacity: 0.7;
}

.svg-placeholder {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask-size: contain;
}

/* ENTERPRISE SECTION */
.enterprise-section {
    background: var(--bg-soft);
    padding: 100px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.enterprise-container {
	max-width: 66.5rem;
    margin: 0 auto;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.enterprise-left {
    flex: 1;
}

.outline-btn {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
}

.outline-btn:hover {
    background: var(--bg-main);
}

.enterprise-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.enterprise-block-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.enterprise-block-desc {
    color: var(--text-soft);
    font-size: 16px;
    margin: 0;
}

/* CUSTOMER STORIES */
.customer-stories {
    padding: 100px 24px;
    max-width: 1056px;
    margin: 0 auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.story-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.2s;
}

.story-card:hover {
    opacity: 0.8;
}

.story-image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.story-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content p {
    font-size: 15px;
    color: var(--text-soft);
    margin: 0 0 12px;
    line-height: 1.6;
}

.read-story {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

/* FINAL CTA */
.final-cta {
    padding: 120px 24px;
    text-align: center;
}

.final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.final-cta-content p {
    font-size: 18px;
    color: var(--text-soft);
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.dark-btn {
    background: var(--text-main);
    color: var(--bg-main);
    border: none;
}

.dark-btn:hover {
    opacity: 0.9;
    background: var(--text-main);
}

.solid-border-btn {
    border: 1px solid var(--border);
    background: var(--bg-main);
}

.solid-border-btn:hover {
    background: var(--bg-soft);
}

/* FOOTER */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    max-width: 1056px;
    margin: 0 auto 64px;
}

.footer-col h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 500;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1056px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-main);
    padding: 4px 12px;
    border-radius: 99px;
    border: 1px solid var(--border);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: var(--text-muted);
    font-weight: 600;
}

.social-links a:hover {
    color: var(--text-main);
}