.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.messages-scroll::-webkit-scrollbar {
  width: 6px;
}

.messages-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.messages-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.messages-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-textarea {
  resize: none;
  field-sizing: content;
  max-height: 200px;
  min-height: 44px;
}

.chat-input-container {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
  color: #fff;
  font-weight: 600;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.markdown-content h1 { font-size: 1.375rem; }
.markdown-content h2 { font-size: 1.125rem; }
.markdown-content h3 { font-size: 1rem; }

.markdown-content p {
  margin-bottom: 0.75em;
  line-height: 1.65;
}

.markdown-content p:last-child {
  margin-bottom: 0;
}

.markdown-content ul,
.markdown-content ol {
  margin-bottom: 0.75em;
  padding-left: 1.5em;
}

.markdown-content li {
  margin-bottom: 0.25em;
  line-height: 1.6;
}

.markdown-content ul li { list-style-type: disc; }
.markdown-content ol li { list-style-type: decimal; }

.markdown-content strong {
  color: #fff;
  font-weight: 600;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.markdown-content a:hover {
  color: #f59e0b;
}

.markdown-content code {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  color: #fbbf24;
}

.markdown-content pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 0.75em;
  overflow-x: auto;
}

.markdown-content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: #d4d4d8;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.markdown-content blockquote {
  border-left: 3px solid #d97706;
  padding-left: 1em;
  margin-bottom: 0.75em;
  color: #a8a29e;
  font-style: italic;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75em;
  font-size: 0.875rem;
}

.markdown-content th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.5em 0.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.markdown-content td {
  padding: 0.5em 0.75em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.markdown-content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.5em 0;
}

@keyframes thinking-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

.thinking-dot:nth-child(1) { animation: thinking-dot 1.4s infinite 0s; }
.thinking-dot:nth-child(2) { animation: thinking-dot 1.4s infinite 0.2s; }
.thinking-dot:nth-child(3) { animation: thinking-dot 1.4s infinite 0.4s; }

@keyframes message-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.message-appear {
  animation: message-fade-in 0.2s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .message-appear { animation: none; }
  .thinking-dot { animation: none; opacity: 0.5; }
}

.markdown-content blockquote.expert-citation {
  background: rgba(217, 119, 6, 0.06);
  border-left: 3px solid #d97706;
  border-radius: 8px;
  padding: 1em 1.25em;
  margin-bottom: 1em;
  font-style: normal;
  color: #d6d3d1;
}

.markdown-content blockquote.expert-citation p {
  color: #e7e5e4;
  line-height: 1.6;
}

.markdown-content blockquote.expert-citation cite {
  display: block;
  margin-top: 0.5em;
  font-size: 0.8125rem;
  font-style: normal;
  color: #d97706;
}

.markdown-content blockquote.expert-citation cite strong {
  color: #fbbf24;
}

.markdown-content h4.expert-disagreement {
  color: #a8a29e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-left: 3px solid #78716c;
  padding-left: 0.75em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.markdown-content .expert-disagreement-body {
  padding-left: 0.75em;
  border-left: 1px solid rgba(120, 113, 108, 0.3);
  margin-bottom: 1em;
  color: #a8a29e;
}

.markdown-content .expert-disagreement-body p {
  color: #a8a29e;
}

.markdown-content blockquote.personalized-callout {
  background: rgba(217, 119, 6, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 1em 1.25em;
  margin-top: 1em;
  margin-bottom: 1em;
  font-style: normal;
  color: #e7e5e4;
}

.markdown-content blockquote.personalized-callout strong {
  color: #fbbf24;
}

.interview-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 50;
}

.interview-modal {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 32rem;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  z-index: 51;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .interview-modal {
    position: fixed;
    inset: 0;
    bottom: auto;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
}

.interview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.interview-progress {
  font-size: 0.75rem;
  color: #a8a29e;
}

.interview-close {
  padding: 0.375rem;
  border-radius: 0.5rem;
  color: #78716c;
  transition: all 0.15s;
}

.interview-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.interview-question {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.interview-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.interview-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #e7e5e4;
  font-size: 0.875rem;
  text-align: left;
  transition: all 0.15s;
  cursor: pointer;
}

.interview-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.interview-option-selected {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
}

.interview-option-selected:hover {
  background: rgba(217, 119, 6, 0.15);
  border-color: rgba(217, 119, 6, 0.4);
}

.interview-option-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a8a29e;
  flex-shrink: 0;
}

.interview-option-badge-selected {
  background: #d97706;
  color: #fff;
}

.interview-option-badge-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #78716c;
  flex-shrink: 0;
}

.interview-custom-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s;
}

.interview-custom-input:focus {
  border-color: #d97706;
}

.interview-custom-input::placeholder {
  color: #78716c;
}

.interview-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.interview-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.15s;
}

.interview-btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #a8a29e;
  border-radius: 0.5rem;
}

.interview-btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.interview-btn-back:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.interview-btn-skip {
  background: rgba(255, 255, 255, 0.06);
  color: #a8a29e;
}

.interview-btn-skip:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.interview-btn-next {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #d97706;
  color: #fff;
  font-weight: 500;
}

.interview-btn-next:hover {
  background: #b45309;
}

@keyframes interview-slide-out-left {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-20px); }
}

@keyframes interview-slide-out-right {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(20px); }
}

@keyframes interview-slide-in-left {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes interview-slide-in-right {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.interview-slide-out-left {
  animation: interview-slide-out-left 0.15s ease-out forwards;
}

.interview-slide-out-right {
  animation: interview-slide-out-right 0.15s ease-out forwards;
}

.interview-slide-in-left {
  animation: interview-slide-in-left 0.2s ease-out forwards;
}

.interview-slide-in-right {
  animation: interview-slide-in-right 0.2s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .interview-slide-out-left,
  .interview-slide-out-right,
  .interview-slide-in-left,
  .interview-slide-in-right {
    animation: none;
  }
}
/*
 * Gavel Landing Page Styles
 * See DESIGN_SYSTEM.md for full documentation
 */

/* CSS Custom Properties - Design Tokens */
:root {
  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Warm amber/gold - signals expertise & premium */
  --color-accent: #d97706;
  --color-accent-light: #fbbf24;
  --color-accent-dark: #b45309;

  /* Warm charcoal - NOT cold slate */
  --color-bg-dark: #18181b;
  --color-bg-darker: #09090b;

  /* Warm cream for light sections */
  --color-cream: #faf9f7;
  --color-cream-dark: #f5f4f0;

  /* Warm stone neutrals */
  --color-stone-100: #f5f5f4;
  --color-stone-200: #e7e5e4;
  --color-stone-300: #d6d3d1;
  --color-stone-400: #a8a29e;
  --color-stone-500: #78716c;
  --color-stone-600: #57534e;
  --color-stone-700: #44403c;
  --color-stone-800: #292524;
  --color-stone-900: #1c1917;
}

/* Typography Scale - Responsive with clamp() */
.text-display {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.text-h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.text-h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.text-h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.text-body-lg {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  font-weight: 400;
}

/* Accent Color Utilities */
.text-accent {
  color: var(--color-accent-light);
}

.bg-accent {
  background-color: var(--color-accent);
}

.border-accent {
  border-color: var(--color-accent);
}

/* Button Components */
.btn-hero {
  height: 56px;
  padding-left: 28px;
  padding-right: 28px;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-standard {
  height: 48px;
  padding-left: 24px;
  padding-right: 24px;
  font-weight: 500;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Utilities */
.bg-warm-dark {
  background-color: var(--color-bg-dark);
}

.bg-warm-darker {
  background-color: var(--color-bg-darker);
}

.bg-cream {
  background-color: var(--color-cream);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.animate-scale-in {
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

/* Animation Delays */
.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

/* Scroll Reveal */
[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-scroll-reveal] {
    opacity: 1;
    transform: none;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
