
:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #09090b;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --primary: #18181b;
  --card: #ffffff;
  --border: #e4e4e7;
}


body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
}

.container {
  padding: 1.5rem;
  max-width: 1800px;
  margin: 0 auto;
}

.header {
  margin-bottom: 2rem;
}
.header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}
.header p {
  color: var(--muted-foreground);
  margin: 0;
}

.scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 6px 0 1.5rem; /* top padding prevents card lift from being clipped */
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  gap: 1rem;
  width: 100%;
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Section header cards */
.card--section {
  background-color: var(--foreground);
  border-color: var(--foreground);
}

.card--section:hover {
  transform: none;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card--section h2 {
  color: var(--background);
}

.card--section p {
  color: rgba(255, 255, 255, 0.65);
}

.card.card--section a {
  color: rgba(255, 255, 255, 0.9);
}


.card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  flex-grow: 1;
  line-height: 1.5;
}

.card a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: auto;
  display: inline-block;
  transition: opacity 0.2s;
}

.card a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.card a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
  text-decoration: none;
  opacity: 1;
}

/* Custom Scrollbar */
.scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}
.scroll-wrapper::-webkit-scrollbar-track {
  background: var(--muted);
  border-radius: 4px;
}
.scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(24, 24, 27, 0.3);
  border-radius: 4px;
}
.scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(24, 24, 27, 0.6);
}

/* xAI column — tinted from Grok near-black #0B0B0E */
.card--xai {
  background-color: #E8E8E9;
  border-color: #0B0B0E;
  color: #09090b;
}

/* OpenAI column — tinted from ChatGPT teal #00A67E */
.card--openai {
  background-color: #D9F2EC;
  border-color: #00A67E;
  color: #09090b;
}

/* Google column — gradient from Gemini brand colors #4796E3 → #9177C7 → #CA6673 */
.card--google {
  background: linear-gradient(to bottom, #D1E5F8, #E4DDF1, #F2D9DC);
  border-color: #4796E3;
  color: #09090b;
}

/* Anthropic column — tinted from Claude brand orange #C15F3C */
.card--anthropic {
  background-color: #F6E7E2;
  border-color: #C15F3C;
  color: #09090b;
}

/* Lock text dark on all company cards */
.card--openai h2, .card--openai p,
.card--anthropic h2, .card--anthropic p,
.card--google h2, .card--google p,
.card--xai h2, .card--xai p {
  color: #09090b;
}

.card--openai a,
.card--anthropic a,
.card--google a,
.card--xai a {
  color: #09090b;
}

.footer {
  text-align: center;
  color: var(--muted-foreground);
  margin-top: 3rem;
  font-size: 0.875rem;
}
