/* Tensor AI — corporate site v2.
   Direction: structured spec sheet. Hairline grid, single accent, no gradients.
   Type: Public Sans (US WDS) + JetBrains Mono. No serif. */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Public+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --paper: #f5f6f7;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --rule: #e2e8f0;
  --rule-strong: #cbd5e1;
  --accent: #b34e1f;
  --accent-hover: #9a4319;
  --good: #16a34a;
  --warn: #b45309;

  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shell-max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'ss02', 'cv01', 'cv02';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 32px; }
.rule { border: 0; border-top: 1px solid var(--rule); height: 0; margin: 0; }

/* -- status ribbon (signature element) -- */
.status-ribbon {
  background: var(--ink);
  color: #e2e8f0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}
.status-ribbon .shell {
  display: flex; align-items: center; gap: 20px;
  justify-content: space-between; flex-wrap: wrap;
}
.status-ribbon__group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.status-ribbon__dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18);
  margin-right: 8px;
  animation: pulse 2.4s ease-in-out infinite;
}
.status-ribbon__dot--degraded { background: var(--warn); box-shadow: 0 0 0 2px rgba(180, 83, 9, 0.2); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.04); }
}
.status-ribbon a { color: #94a3b8; }
.status-ribbon a:hover { color: #fff; }

/* -- header -- */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 20;
}
.masthead__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 20px 0;
}
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.wordmark__mark {
  width: 32px; height: 32px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.wordmark span.co { color: var(--muted); font-weight: 400; margin-left: 2px; }
.nav {
  display: flex; align-items: center; gap: 28px;
  justify-content: center;
}
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 100ms ease, border-color 100ms ease;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.masthead__actions { display: flex; align-items: center; gap: 12px; }

/* -- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 100ms ease, border-color 100ms ease;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #1e293b; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn__arrow { font-family: var(--mono); font-weight: 400; }

/* -- section base -- */
section { padding: 96px 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }

.section-head {
  display: grid; grid-template-columns: 200px 1fr; gap: 48px;
  margin-bottom: 56px;
}
.section-head__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 8px;
}
.section-head h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 560px;
}
.section-head h2 + p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 560px; }

/* -- hero -- */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero__eyebrow strong { color: var(--accent); font-weight: 400; }
.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 920px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero__lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 80px; }

/* Capability matrix — replaces stat tiles */
.capabilities {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.capability {
  padding: 28px 24px 24px 0;
  border-right: 1px solid var(--rule);
}
.capability:last-child { border-right: 0; padding-right: 0; }
.capability__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.capability__kicker::before {
  content: ''; width: 6px; height: 1px; background: var(--accent);
}
.capability h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.capability p { color: var(--muted); font-size: 14px; }

/* -- products spec table -- */
.spec {
  width: 100%; border-collapse: collapse;
  font-size: 15px;
}
.spec thead th {
  text-align: left;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--rule-strong);
}
.spec tbody td { padding: 20px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec tbody tr { transition: background 100ms ease; }
.spec tbody tr:hover { background: var(--surface); }
.spec tbody tr:last-child td { border-bottom: 0; }
.spec__name { font-weight: 600; font-size: 15px; color: var(--ink); }
.spec__name a:hover { color: var(--accent); }
.spec__desc { color: var(--muted); font-size: 13px; margin-top: 4px; max-width: 380px; }
.spec__meta { font-family: var(--mono); font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.spec__price { font-family: var(--mono); font-size: 13px; color: var(--ink); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.tag--live    { background: #dcfce7; color: #14532d; }
.tag--build   { background: #fef3c7; color: #78350f; }
.tag--spec    { background: #e2e8f0; color: #334155; }
.tag--direct  { background: #dbeafe; color: #1e3a8a; }
.tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
}

/* -- timeline (ships) -- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.phase {
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.phase:last-child { border-right: 0; padding-right: 0; }
.phase__week {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.phase h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.phase p { color: var(--muted); font-size: 14px; }

/* -- about credentials -- */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; }
.about-grid p { font-size: 17px; color: var(--ink-2); margin-bottom: 16px; max-width: 620px; }
.credentials { list-style: none; }
.credentials li {
  display: grid; grid-template-columns: 96px 1fr;
  gap: 16px; padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.credentials li:last-child { border-bottom: 0; }
.credentials dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase;
}
.credentials dd { color: var(--ink); font-weight: 500; }

/* -- footer -- */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 64px 0 32px;
  border-bottom: 0;
}
.site-footer .shell { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: #94a3b8; margin-bottom: 16px; text-transform: uppercase; font-weight: 500;
}
.site-footer a {
  display: block;
  color: #cbd5e1;
  padding: 4px 0;
  font-size: 14px;
}
.site-footer a:hover { color: var(--paper); }
.site-footer__brand { font-size: 14px; line-height: 1.65; }
.site-footer__brand p { margin-top: 12px; max-width: 320px; }
.site-footer__legal {
  grid-column: 1 / -1;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: #64748b;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* -- article pages -- */
.article {
  max-width: 780px; margin: 0 auto; padding: 80px 32px 96px;
}
.article__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
}
.article h1 {
  font-family: var(--sans); font-weight: 500;
  font-size: 44px; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.article > p:first-of-type { font-size: 19px; color: var(--ink-2); margin-bottom: 40px; max-width: 640px; }
.article h2 {
  font-family: var(--sans); font-weight: 500;
  font-size: 24px; letter-spacing: -0.01em;
  margin: 48px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.article h2:first-of-type { border-top: 0; padding-top: 0; }
.article h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 15px; letter-spacing: 0.005em;
  margin: 24px 0 8px;
}
.article p, .article li { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.article ul, .article ol { margin-left: 24px; margin-bottom: 16px; }
.article code {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 2px 6px; border-radius: 3px;
  font-family: var(--mono); font-size: 13px;
  color: var(--accent);
}
.article a { color: var(--accent); border-bottom: 1px solid transparent; }
.article a:hover { border-bottom-color: var(--accent); }
.article table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; margin: 20px 0;
  background: var(--surface); border: 1px solid var(--rule);
}
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.article th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--muted); font-weight: 500; text-transform: uppercase;
  background: var(--paper);
}
.article tr:last-child td { border-bottom: 0; }
.callout {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.callout strong { color: var(--ink); }

/* -- responsive -- */
@media (max-width: 900px) {
  .nav { display: none; }
  .capabilities, .timeline { grid-template-columns: 1fr 1fr; }
  .capability, .phase { border-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .site-footer .shell { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-head__label { padding-top: 0; }
}
@media (max-width: 560px) {
  .shell { padding: 0 20px; }
  section { padding: 64px 0; }
  .capabilities, .timeline { grid-template-columns: 1fr; }
  .capability:last-child, .phase:last-child { border-bottom: 0; padding-bottom: 0; }
  .spec { font-size: 14px; }
  .spec thead { display: none; }
  .spec tbody td { display: block; border: 0; padding: 4px 0; }
  .spec tbody tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--rule); }
  .site-footer .shell { grid-template-columns: 1fr; }
  .status-ribbon .shell { justify-content: flex-start; }
}
