/* Make Studio Theme Styles */


/* CSS Custom Properties */

    :root {
      --brand: #d8d8d0;
      --on-brand: #0b0c09;
      --base: #0b0c09;
      --base-muted: #181816;
      --base-alt: #ebebe6;
      --panel: #181816;
      --border: #464644;
      --fg: #ffffff;
      --fg-muted: #a5a597;
      --fg-alt: #7c7c67;
    }

/* Typography */

    /* Headlines */
    
    .heading-xl {
      font-family: Instrument Serif;
      font-size: 80px;
      font-style: normal;
      font-weight: 400;
      line-height: 80px;
      letter-spacing: -2px;
    }

    .heading-lg {
      font-family: Instrument Serif;
      font-size: 48px;
      font-style: normal;
      font-weight: 400;
      line-height: 56px;
      letter-spacing: -1.2px;
    }

    .heading-md {
      font-family: Instrument Serif;
      font-size: 32px;
      font-style: normal;
      font-weight: 400;
      line-height: 40px;
      letter-spacing: -0.8px;
    }

    .heading-sm {
      font-family: Instrument Serif;
      font-size: 24px;
      font-style: normal;
      font-weight: 400;
      line-height: 32px;
      letter-spacing: -0.5px;
    }

    .heading-xs {
      font-family: Instrument Serif;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 28px;
      letter-spacing: -0.3px;
    }

    /* Copy */
    
    .body-lg {
      font-family: Inter;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 32px;
      letter-spacing: 0px;
    }

    .body-md {
      font-family: Inter;
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 28px;
      letter-spacing: 0px;
    }

    .body-sm {
      font-family: Inter;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      letter-spacing: 0px;
    }

    @media (max-width: 768px) {
      .heading-xl { font-size: 48px; line-height: 48px; }
      .heading-lg { font-size: 32px; line-height: 40px; }
      .heading-md { font-size: 28px; line-height: 36px; }
      .heading-sm { font-size: 20px; line-height: 28px; }
      .heading-xs { font-size: 16px; line-height: 24px; }
    }

/* Prose Styles */
.prose h1 {
  font-family: Instrument Serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 80px;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-family: Instrument Serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: -1.2px;
  margin-bottom: 1.25rem;
}

.prose h3 {
  font-family: Instrument Serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.8px;
  margin-bottom: 1rem;
}

.prose h4 {
  font-family: Instrument Serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.prose h5 {
  font-family: Instrument Serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
}

.prose h6 {
  font-family: Instrument Serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
}

.prose p {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0px;
  margin-bottom: 1.25rem;
}

.prose ul {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0px;
  margin-bottom: 1.25rem;
}

.prose ol {
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0px;
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }

.prose li {
  margin-bottom: 0.5rem;
}

.prose ul ul, .prose ul ol, .prose ol ul, .prose ol ol {
  margin-left: 1.5rem;
  margin-bottom: 0;
}

.prose a {
  color: accent;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.prose a:hover {
  color: primary;
  text-decoration: underline;
}

.prose blockquote {
  border-left: 3px solid currentColor;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  opacity: 0.85;
}

.prose pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  overflow-x: auto;
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
}

.prose pre code {
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
}

.prose code:not(pre code) {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica', sans-serif;
  font-weight: 400;
  border-style: solid;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
  text-decoration: none;
}

.btn-lg {
  font-size: 16px;
  letter-spacing: 0px;
  border-radius: 4px;
  padding: 12px 24px 12px 24px;
  transform: translateY(1px);
}

.btn-md {
  font-size: 14px;
  letter-spacing: 0px;
  border-radius: 3px;
  padding: 10px 20px 10px 20px;
}

.btn-sm {
  font-size: 12px;
  letter-spacing: 0px;
  border-radius: 2px;
  padding: 10px 20px 10px 20px;
}

.btn-primary {
  background-color: #d8d8d0;
  color: #0b0c09;
  border-color: transparent;
  border-width: 1px;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #181816;
  color: #ffffff;
  border-color: transparent;
  border-width: 1px;
}

.btn-secondary:hover {
  background-color: #000000;
}

.btn-outline {
  background-color: transparent;
  color: #d8d8d0;
  border-color: #d8d8d0;
  border-width: 1px;
}

.btn-outline:hover {
  background-color: #d8d8d0;
  color: #0b0c09;
  border-color: #d8d8d0;
}

.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  border-color: transparent;
  border-width: 1px;
}

.btn-ghost:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Global Custom CSS */
.prose {
  color: var(--fg-muted);
}
.prose h1,
.prose h2, 
.prose h3, 
.prose h4 {
  color: var(--fg);
}
