/* Meridian — warm black, acid-lime accent, mono eyebrows, oversized display type.
   Fonts self-hosted (both SIL Open Font Licence) so the site makes no
   third-party request at all — no IP transfer to Google for a visitor to consent to. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/inter-var.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-mono-400.woff2) format('woff2');
}

:root {
  --ink: #010101;
  --ink-soft: #181717;
  --paper: #f1efed;
  --paper-dim: #e8e8e8;
  --lime: #ceeb13;
  --lime-dim: #afc810;
  --grey: #a3a3a3;
  --rule: rgba(255, 255, 255, .14);
  --rule-dark: rgba(1, 1, 1, .12);
  --display: "Inter", -apple-system, system-ui, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pad: clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 20px;
}
.eyebrow.muted { color: var(--grey); }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 104px); }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.06; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--grey); max-width: 62ch; }
.accent { color: var(--lime); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(1, 1, 1, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-in { display: flex; align-items: center; gap: 40px; height: 68px; }
.wordmark {
  font-size: 21px; font-weight: 600; letter-spacing: -.045em;
  display: flex; align-items: center; gap: 9px;
}
.wordmark .glyph { width: 17px; height: 17px; flex: none; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--paper); }
.nav-links a:hover { color: var(--lime); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.btn {
  display: inline-block;
  background: var(--lime); color: var(--ink);
  font-size: 15px; font-weight: 500;
  padding: 11px 20px; border-radius: 4px;
  transition: background .16s ease;
}
.btn:hover { background: var(--lime-dim); }
.btn.ghost { background: none; color: var(--paper); border: 1px solid var(--rule); }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn.lg { padding: 15px 28px; font-size: 16px; }

/* ---------- sections ---------- */
section { padding: clamp(72px, 9vw, 132px) 0; }
.light { background: var(--paper); color: var(--ink); }
.light .lede { color: #57534f; }
.light .eyebrow { color: var(--ink); }
.light .btn.ghost { border-color: var(--rule-dark); color: var(--ink); }

/* hero */
.hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(56px, 7vw, 92px); }
.hero-split { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 4.6vw, 68px); }
.hero .lede { margin: 30px 0 40px; font-size: 18px; }
.hero-art { position: relative; }
#rosette { width: 100%; height: auto; display: block; overflow: visible; }
.caret {
  display: inline-block; width: 3px; height: .78em; margin-left: 4px;
  background: var(--lime); vertical-align: baseline;
  animation: blink 1.05s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 36px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--grey);
}

/* statement band — the spaced-out line Crusoe uses as a divider */
.statement { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(48px, 6vw, 84px) 0; }
.statement p {
  margin: 0; font-size: clamp(19px, 2.5vw, 34px); line-height: 1.35;
  letter-spacing: .04em; max-width: 30ch; font-weight: 400;
}

/* grids */
.grid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 56px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cell { background: var(--ink); padding: 36px 30px 42px; }
.light .grid { background: var(--rule-dark); border-color: var(--rule-dark); }
.light .cell { background: var(--paper); }
.cell .num { font-family: var(--mono); font-size: 12px; color: var(--lime); letter-spacing: .1em; display: block; margin-bottom: 22px; }
.cell-art { display: block; width: 100%; height: 132px; object-fit: contain; object-position: left center; margin-bottom: 26px; }
.split-art { display: block; width: 100%; max-width: 420px; margin-top: 40px; }
.split-art.dim { opacity: .85; max-width: 300px; }
.statement-in { display: flex; align-items: center; gap: 40px; justify-content: space-between; }
.statement-art { width: 108px; flex: none; opacity: .8; }
.section-art { display: block; width: 168px; margin-bottom: 30px; opacity: .92; }
.flow {
  display: grid; grid-template-columns: 88px 1fr 150px; gap: 34px; align-items: center;
  margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--rule-dark);
}
.flow img { width: 100%; height: 96px; object-fit: contain; }
.flow img:first-child { object-position: center; opacity: .9; }
.flow p { color: #57534f; font-size: 15.5px; margin: 10px 0 0; max-width: 62ch; }
.cell p { margin: 12px 0 0; color: var(--grey); font-size: 15.5px; }
.light .cell p { color: #57534f; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* pricing table */
.table { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 15.5px; }
.table th, .table td { text-align: left; padding: 17px 16px; border-bottom: 1px solid var(--rule-dark); }
.table th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #57534f; font-weight: 400; }
.table td:last-child, .table th:last-child { text-align: right; font-family: var(--mono); }
.table tbody tr:hover { background: rgba(1, 1, 1, .03); }

/* notes / callout */
.note {
  border-left: 2px solid var(--lime);
  padding: 4px 0 4px 22px; margin-top: 44px;
  color: var(--grey); font-size: 15.5px; max-width: 68ch;
}
.light .note { color: #57534f; }

/* faq */
details { border-bottom: 1px solid var(--rule-dark); padding: 22px 0; }
details summary { cursor: pointer; font-size: 18px; letter-spacing: -.01em; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--lime); font-family: var(--mono); }
details[open] summary::after { content: "–"; }
details p { color: #57534f; margin: 14px 0 0; max-width: 72ch; font-size: 15.5px; }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 64px 0 44px; font-size: 14.5px; color: var(--grey); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); margin: 0 0 18px; font-weight: 400; }
.foot-grid a { display: block; padding: 5px 0; }
.foot-grid a:hover { color: var(--lime); }
.legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.7; }

/* prose (privacy notice) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 52px 0 16px; }
.prose p { font-size: 16.5px; line-height: 1.65; color: #44403c; }
.prose a { border-bottom: 1px solid var(--lime); }
.prose code { font-family: var(--mono); font-size: .9em; background: rgba(1,1,1,.06); padding: 2px 6px; border-radius: 3px; }
.prose .table { max-width: 100%; }

/* ---------- scroll choreography ---------- */
.rise { opacity: 0; transform: translateY(18px); }
.rise.in {
  opacity: 1; transform: none;
  transition: opacity .62s cubic-bezier(.22,.61,.36,1) var(--delay, 0ms),
              transform .62s cubic-bezier(.22,.61,.36,1) var(--delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; }
}

/* hover choreography on the feature cells */
.cell { transition: background .25s ease; position: relative; }
.cell::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .34s cubic-bezier(.22,.61,.36,1);
}
.cell:hover::after { transform: scaleX(1); }
.cell:hover { background: #0e0e0e; }
.light .cell:hover { background: #e9e6e3; }
.cell-art, .split-art { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.cell:hover .cell-art { transform: translateY(-4px) scale(1.03); }

/* ---------- GPU strip ---------- */
.gpu-list { margin-top: 52px; border-top: 1px solid var(--rule); }
.gpu-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 24px; align-items: baseline;
  padding: 24px 4px; border-bottom: 1px solid var(--rule);
  transition: padding-left .3s cubic-bezier(.22,.61,.36,1), background .25s ease;
}
.gpu-row:hover { padding-left: 18px; background: #0e0e0e; }
.gpu-row .name { font-size: 21px; letter-spacing: -.02em; }
.gpu-row .spec { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--grey); text-transform: uppercase; }
.gpu-row .go { font-family: var(--mono); font-size: 12.5px; color: var(--lime); opacity: 0; transform: translateX(-8px); transition: all .3s ease; }
.gpu-row:hover .go { opacity: 1; transform: none; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 56px; }
.stat { background: var(--ink); padding: 34px 28px; }
.stat .fig { font-size: clamp(38px, 4.4vw, 58px); letter-spacing: -.04em; line-height: 1; }
.stat .fig .unit { color: var(--lime); }
.stat .cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-top: 16px; }

/* company details list */
.details { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin: 30px 0 0; font-size: 15px; }
.details dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #78716c; padding-top: 4px; }
.details dd { margin: 0; }
.details a { border-bottom: 1px solid var(--lime); }

/* consent banner */
.consent {
  position: fixed; z-index: 100; inset: auto 0 0 0;
  background: rgba(10, 10, 10, .97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule); padding: 20px var(--pad);
}
.consent-in {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
}
.consent p { margin: 0; flex: 1 1 420px; font-size: 14px; line-height: 1.55; color: var(--grey); }
.consent a { color: var(--paper); border-bottom: 1px solid var(--lime); }
.consent-btns { display: flex; gap: 10px; flex: none; }
.consent .btn { padding: 10px 20px; font-size: 14px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-split { gap: 32px; }
  h1 { font-size: clamp(38px, 6vw, 62px); }
}

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2, .split, .foot-grid, .hero-split { grid-template-columns: 1fr; }
  .hero-split { gap: 8px; }
  .hero-art { max-width: 420px; margin: 4px auto 0; }
  .cell-art { height: 108px; }
  .table { display: block; overflow-x: auto; white-space: nowrap; }
  .foot-grid { gap: 32px; }
  .split-art { max-width: 340px; }
  .statement-in { gap: 24px; }
  .statement-art { width: 72px; }
  /* the GPU rows and stat tiles can't shrink below their min-content in a
     multi-column grid — stack them rather than letting the page scroll sideways */
  .gpu-row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .gpu-row .name { grid-column: 1 / -1; }
  .gpu-row .go { opacity: 1; transform: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 64px 1fr; gap: 22px; }
  .flow img:last-of-type { display: none; }
  .section-art { width: 140px; }
  /* nav collapses to the CTA; links move into a scrollable strip below the bar */
  .nav-in { height: 60px; gap: 20px; }
  .nav-links {
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(1, 1, 1, .94); border-bottom: 1px solid var(--rule);
    gap: 22px; padding: 2px var(--pad); overflow-x: auto;
    font-size: 14px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  /* 44px tap height on the strip — applied by width, not by pointer type, so a
     small window on a laptop gets the same target size a phone does. */
  .nav-links a { white-space: nowrap; padding: 11px 0; line-height: 22px; }
  body { padding-top: 48px; }   /* room for the strip */
  .nav { top: 0; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(32px, 8.4vw, 44px); }
  h2 { font-size: clamp(26px, 6.6vw, 34px); }
  .lede, .hero .lede { font-size: 16.5px; }
  section { padding: 60px 0; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .btn.lg { padding: 14px 20px; font-size: 15px; }
  .hero-meta { gap: 8px 20px; font-size: 11px; margin-top: 40px; }
  .cell { padding: 28px 22px 32px; }
  .statement p { font-size: clamp(18px, 5vw, 24px); letter-spacing: .02em; }
  .consent-in { gap: 14px; }
  .consent-btns { width: 100%; }
  .consent-btns .btn { flex: 1; text-align: center; }
  .prose p, .prose .lede { font-size: 15.5px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 26px 22px; }
  .gpu-row { padding: 20px 2px; }
  .gpu-row .name { font-size: 18px; }
  .gpu-row .spec { font-size: 11.5px; }
}

@media (max-width: 400px) {
  :root { --pad: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* touch targets: give the footer links and FAQ rows room on coarse pointers too */
@media (pointer: coarse) {
  .foot-grid a { padding-top: 11px; padding-bottom: 11px; }
  details summary { padding: 6px 0; }
}
