/* Stellara holding page. Dark foundation values carried from tokens v3.0. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #0A0B0D;
  --ink: #F2F3F4;
  --signal: #FB5630;
  --ink-body: rgba(255, 255, 255, 0.78);
  --ink-soft: rgba(255, 255, 255, 0.7);
  --ink-muted: rgba(255, 255, 255, 0.55);
  --axis: rgba(255, 255, 255, 0.4);
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-faint: rgba(255, 255, 255, 0.06);
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(24px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--canvas); color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
}

a { color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Header */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
}
.lockup { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.status { margin: 0; }
.lockup svg { width: 24px; height: 24px; display: block; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

main { flex: 1; display: flex; flex-direction: column; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); }
.hero-head { padding: 88px 56px 72px 0; }
.hero-head .mono { margin: 0 0 28px; }
h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
}
h1 .accent { color: var(--signal); }
.hero-body {
  padding: 0 0 72px 40px;
  display: flex;
  align-items: flex-end;
  border-left: 1px solid transparent;
  border-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--axis)) 1;
}
.hero-body p {
  margin: 0;
  max-width: 440px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-body);
}

/* Horizontal axis with the intersection dot at 60% */
.axis {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--axis) 60%, rgba(255, 255, 255, 0));
}
.axis::after {
  content: "";
  position: absolute;
  left: 60%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--signal);
}

/* Lifecycle stages */
.stages-title {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.stages {
  list-style: none;
  margin: 0;
  padding: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.stage { padding-right: 28px; }
.stage:nth-child(4) {
  margin-top: -40px;
  padding: 40px 28px 0;
  border-left: 1px solid transparent;
  border-image: linear-gradient(to bottom, var(--axis), rgba(255, 255, 255, 0)) 1;
}
.stage:last-child { padding-right: 0; }
.stage-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-muted); margin-bottom: 14px; }
.stage h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stage p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* Footer */
.foot {
  margin-top: 72px;
  padding: 28px 0 32px;
  border-top: 1px solid var(--hairline-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
}
.foot p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* Stacked layout below 1100px: only the horizontal axis survives */
@media (max-width: 1099px) {
  .masthead { padding: 24px 0; }
  .lockup svg { width: 22px; height: 22px; }
  .wordmark { font-size: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 48px 0 36px; }
  .hero-head { padding: 0; }
  .hero-head .mono { margin-bottom: 20px; }
  h1 { line-height: 0.96; }
  h1 br { display: none; }
  .hero-body { padding: 28px 0 0; border: 0; border-image: none; }
  .hero-body p { max-width: 620px; font-size: 16.5px; }
  .axis { margin: 0 calc(-1 * var(--gutter)); }
  .axis::after { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
  .stages { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .stage,
  .stage:nth-child(4),
  .stage:last-child {
    margin: 0;
    padding: 24px 0;
    border: 0;
    border-image: none;
    border-bottom: 1px solid var(--hairline);
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .stage:last-child { border-bottom: 0; }
  .stage-num { padding-top: 6px; margin: 0; }
  .stage h3 { font-size: 24px; margin-bottom: 10px; }
  .foot { margin-top: 40px; padding: 24px 0 28px; flex-direction: column-reverse; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
}
