/* ==========================================================================
   PT. Think Era Labs — Official Holding Company Stylesheet
   Palette: Archival Bone (#F7F4EF), Warm Carbon (#161412), Copper-Amber (#B85D19)
   ========================================================================== */

:root {
  --bg-paper: #F7F4EF;
  --bg-subtle: #EFECE6;
  --text-primary: #161412;
  --text-body: #292524;
  --text-muted: #57534E;
  --text-faint: #78716C;
  --accent-amber: #B85D19;
  --border-stone: #E5E0D8;
  --border-dark: #DCD7CD;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-paper);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-paper);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

::selection {
  background-color: var(--accent-amber);
  color: #FFFFFF;
}

.font-serif-editorial {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
}

/* Subtle link underline animation */
.editorial-link {
  position: relative;
  text-decoration: none;
  transition: color 0.15s ease;
}

.editorial-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.editorial-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Long-form Article Prose Styling */
.article-prose p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-body);
  font-size: 1.0625rem;
}

.article-prose h2 {
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 1.625rem;
  color: var(--text-primary);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 400;
}

.article-prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-prose ul, .article-prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-body);
  line-height: 1.75;
}

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

.article-prose blockquote {
  border-left: 2px solid var(--accent-amber);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* Clean FAQ Accordion */
details.faq-item summary {
  list-style: none;
  cursor: pointer;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
