/* Shared styles for /platform/models/ and the individual model pages. */
.md-page { --md-bg: #090909; --md-card: #111111; --md-line: rgba(255,255,255,.09); background: var(--md-bg); color: #fff; }
.md-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.md-kicker {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--volt); font-weight: 600; margin-bottom: 18px;
}
.md-kicker .md-dot { color: var(--onetrack-red); }
.md-section { padding: 88px 0; border-top: 1px solid var(--md-line); }
.md-section h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; margin-bottom: 16px; max-width: 24ch; }
.md-lede { font-size: 18px; line-height: 1.6; color: var(--gray-30); max-width: 64ch; }

/* Hero */
.md-hero { padding: 140px 0 72px; position: relative; overflow: hidden; }
.md-hero:before {
  content: ""; position: absolute; width: 1000px; height: 1000px; left: -380px; bottom: -620px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(226,0,0,.20) 0%, rgba(226,0,0,0) 62%);
}
.md-hero .md-wrap { position: relative; z-index: 1; }
.md-hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin-bottom: 22px; max-width: 18ch; }
.md-hero p { font-size: 19px; line-height: 1.6; color: var(--gray-30); max-width: 62ch; margin-bottom: 14px; }
.md-hero p strong { color: #fff; font-weight: 600; }
.md-claim { font-size: 15px; font-weight: 700; color: #ff4d4d; margin-bottom: 14px; }

/* Buttons */
.md-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.md-btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; }
.md-btn-primary { background: var(--onetrack-red); color: #fff; }
.md-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }

/* Media placeholder: swap for the real video/still before launch */
.md-media {
  position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #2a0b0b 0%, #0f0f0f 70%);
  border: 1px solid var(--md-line); display: flex; align-items: center; justify-content: center;
}
.md-media video, .md-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-media-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-50); }
.md-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%; background: rgba(0,0,0,.55);
  border: 2px solid var(--volt); display: flex; align-items: center; justify-content: center;
}
.md-play:after { content: ""; border-left: 20px solid var(--volt); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }

/* Latest releases (list, Anthropic style) */
.md-releases { margin-top: 36px; border-top: 1px solid var(--md-line); }
.md-release {
  display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 28px 0;
  border-bottom: 1px solid var(--md-line); text-decoration: none; color: inherit;
}
.md-release h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.md-release p { font-size: 16px; line-height: 1.6; color: var(--gray-30); max-width: 58ch; }
.md-release-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 24px; align-content: start; justify-content: start; }
.md-release-meta dt { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-50); }
.md-release-meta dd { font-size: 14px; color: #fff; grid-row: 2; }
.md-release-link { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--volt); margin-top: 6px; }
.md-release:hover h3 { color: var(--volt); }

/* Cards */
.md-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.md-grid-2 { grid-template-columns: repeat(2, 1fr); }
.md-card { background: var(--md-card); border: 1px solid var(--md-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
a.md-card { transition: border-color .18s ease, transform .18s ease; }
a.md-card:hover { border-color: rgba(216,255,52,.55); transform: translateY(-3px); }
.md-card-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-50); margin-bottom: 14px; }
.md-card h3 { font-size: 21px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.md-card p { font-size: 15px; line-height: 1.6; color: var(--gray-30); }
.md-card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.md-card li { font-size: 15px; line-height: 1.55; color: var(--gray-30); padding: 6px 0 6px 20px; position: relative; }
.md-card li:before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--onetrack-red); }
.md-card-more { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--volt); }
.md-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--volt); color: #0b0b0d; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .1em; vertical-align: middle; }
.md-card-new { border-color: rgba(216,255,52,.45); }

/* CTA */
.md-cta { background: var(--md-card); padding: 80px 0; text-align: center; border-top: 1px solid var(--md-line); }
.md-cta h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; letter-spacing: -.02em; margin: 0 auto 14px; }
.md-cta p { color: var(--gray-30); font-size: 17px; max-width: 52ch; margin: 0 auto; }
.md-cta .md-actions { justify-content: center; }
.md-fine { font-size: 13.5px; color: var(--gray-50); margin-top: 22px; }

@media (max-width: 980px) {
  .md-grid { grid-template-columns: 1fr 1fr; }
  .md-release { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .md-grid, .md-grid-2 { grid-template-columns: 1fr; }
  .md-hero { padding-top: 112px; }
  .md-section { padding: 64px 0; }
}
