/* Geppetto Theme Styles */

/* Custom Font Faces */
@font-face {
  font-family: 'NoeDisplayTrial-Bold';
  src: url('/fonts/NoeDisplayTrial-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NoeStandardTrial-Regular';
  src: url('/fonts/NoeStandardTrial-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* CSS Custom Properties */

    :root {
      --brand: #f49325;
      --on-brand: #f4f2f0;
      --base: #211a18;
      --base-muted: #160b08;
      --base-alt: #d1ccc1;
      --panel: #291e18;
      --border: #3a3631;
      --fg: #f0f0ef;
      --fg-muted: #a2a1a0;
      --fg-alt: #282520;
      --accent-1: #f5c02e;
      --accent-2: #b85919;
    }

/* Typography */

    /* Headlines */
    
    .heading-xl {
      font-family: NoeDisplayTrial-Bold;
      font-size: 64px;
      font-style: normal;
      font-weight: 800;
      line-height: 78px;
      letter-spacing: -2px;
    }

    .heading-lg {
      font-family: NoeDisplayTrial-Bold;
      font-size: 48px;
      font-style: normal;
      font-weight: 400;
      line-height: 60px;
      letter-spacing: -1px;
    }

    .heading-md {
      font-family: NoeDisplayTrial-Bold;
      font-size: 36px;
      font-style: normal;
      font-weight: 800;
      line-height: 48px;
      letter-spacing: 0px;
    }

    .heading-sm {
      font-family: NoeDisplayTrial-Bold;
      font-size: 28px;
      font-style: normal;
      font-weight: 700;
      line-height: 40px;
      letter-spacing: 0px;
    }

    .heading-xs {
      font-family: Open Sans;
      font-size: 20px;
      font-style: normal;
      font-weight: 800;
      line-height: 34px;
      letter-spacing: -0.3px;
    }

    /* Copy */
    
    .body-lg {
      font-family: NoeStandardTrial-Regular;
      font-size: 29px;
      font-style: normal;
      font-weight: 400;
      line-height: 42px;
      letter-spacing: 0px;
    }

    .body-md {
      font-family: Open Sans;
      font-size: 23px;
      font-style: normal;
      font-weight: 400;
      line-height: 40px;
      letter-spacing: 0px;
    }

    .body-sm {
      font-family: Open Sans;
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 40px;
      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: NoeDisplayTrial-Bold;
  font-size: 64px;
  font-weight: 800;
  line-height: 78px;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-family: NoeDisplayTrial-Bold;
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.prose h3 {
  font-family: NoeDisplayTrial-Bold;
  font-size: 36px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: 0px;
  margin-bottom: 1rem;
}

.prose h4 {
  font-family: NoeDisplayTrial-Bold;
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0px;
  margin-bottom: 0.75rem;
}

.prose h5 {
  font-family: Open Sans;
  font-size: 20px;
  font-weight: 800;
  line-height: 34px;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
}

.prose h6 {
  font-family: Open Sans;
  font-size: 20px;
  font-weight: 800;
  line-height: 34px;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
}

.prose p {
  font-family: Open Sans;
  font-size: 23px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0px;
  margin-bottom: 1.25rem;
}

.prose ul {
  font-family: Open Sans;
  font-size: 23px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0px;
  margin-bottom: 1.25rem;
}

.prose ol {
  font-family: Open Sans;
  font-size: 23px;
  font-weight: 400;
  line-height: 40px;
  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: NoeDisplayTrial Bold;
  font-weight: 800;
  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: 25px;
  letter-spacing: 0px;
  border-radius: 37px;
  padding: 9px 36px 11px 36px;
}

.btn-md {
  font-size: 21px;
  letter-spacing: 1.1px;
  border-radius: 32px;
  padding: 8px 28px 10px 28px;
}

.btn-sm {
  font-size: 17px;
  letter-spacing: 0px;
  border-radius: 17px;
  padding: 5px 18px 7px 18px;
}

.btn-primary {
  background-color: #f49325;
  color: #160b08;
  border-color: transparent;
  border-width: 1px;
}

.btn-primary:hover {
  background-color: #ffac3e;
}

.btn-secondary {
  background-color: #291e18;
  color: #f0f0ef;
  border-color: transparent;
  border-width: 1px;
}

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

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

.btn-outline:hover {
  background-color: #f49325;
  color: #f4f2f0;
  border-color: #f49325;
}

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

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

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