@font-face {
  font-family: "Manrope";
  src: url("./demo/assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #f4f1e8;
  --paper-2: #e9e4d8;
  --ink: #10233d;
  --ink-2: #07111e;
  --muted: #526174;
  --line: #c9c3b7;
  --orange: #e64f2a;
  --teal: #0b756a;
  --white: #fffdf8;
  --display: "Manrope", "Avenir Next", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --mono: "SFMono-Regular", "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid rgba(16, 35, 61, 0.18);
}

.site-nav a { text-decoration: none; }
.site-nav nav { display: flex; gap: 28px; color: var(--muted); font-weight: 650; }
.wordmark { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }

main { overflow: hidden; }

.hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding: 80px 0 110px;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font: 750 13px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 64px 0 0;
  font-size: clamp(74px, 8vw, 126px);
  font-weight: 850;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.hero h1 span { color: var(--orange); }

.lede {
  max-width: 590px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.4;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px rgba(16, 35, 61, 0.14); }
.button-primary { background: var(--ink); color: var(--white); }
.button-secondary { background: transparent; }
.button-dark { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-light { border-color: rgba(255, 255, 255, 0.8); color: var(--white); }

.install-command {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  padding: 12px 15px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  font: 600 13px/1.4 var(--mono);
  white-space: nowrap;
}

.hero-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 61, 0.18);
  border-radius: 20px;
  background: #09121f;
  box-shadow: 0 38px 90px rgba(16, 35, 61, 0.24);
  transform: rotate(1.2deg);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-frame:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 48px 110px rgba(16, 35, 61, 0.29); }
.hero-frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-frame span { position: absolute; right: 18px; bottom: 17px; padding: 9px 13px; border-radius: 999px; background: rgba(6, 10, 16, 0.74); color: var(--white); font: 650 12px/1 var(--mono); backdrop-filter: blur(10px); }

.manifesto,
.principles,
.pipeline,
.platforms {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0;
}

.manifesto { border-top: 1px solid var(--line); }

.manifesto h2,
.section-heading h2,
.pipeline h2,
.platforms h2 {
  max-width: 960px;
  margin: 42px 0 0;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.058em;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 72px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.55;
}

.principles { width: min(1320px, calc(100% - 48px)); }
.principle-list { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 76px; border-top: 1px solid var(--ink); }
.principle-list article { min-height: 300px; padding: 28px 24px 24px 0; border-right: 1px solid var(--line); }
.principle-list article + article { padding-left: 24px; }
.principle-list b { color: var(--orange); font: 750 13px/1 var(--mono); }
.principle-list h3 { margin: 62px 0 0; font-size: 27px; line-height: 1.08; letter-spacing: -0.035em; }
.principle-list p { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }

.pipeline { width: min(1320px, calc(100% - 48px)); }
.pipeline-flow { display: grid; grid-template-columns: repeat(11, auto); align-items: center; justify-content: space-between; gap: 14px; margin-top: 76px; padding: 42px; border: 1px solid var(--line); background: var(--white); }
.pipeline-flow span { font-size: 19px; font-weight: 750; }
.pipeline-flow i { color: var(--orange); font-size: 22px; font-style: normal; }

.platforms { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 80px; align-items: end; }
.platform-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.platform-list span { padding: 22px 8px 22px 0; border-bottom: 1px solid var(--line); font: 700 16px/1 var(--mono); }

.cta {
  width: min(1320px, calc(100% - 32px));
  margin: 80px auto 16px;
  padding: clamp(64px, 9vw, 130px);
  border-radius: 28px;
  background: var(--orange);
  color: var(--white);
}

.cta .eyebrow { color: var(--white); }
.cta h2 { margin: 56px 0 0; font-size: clamp(54px, 7.4vw, 108px); line-height: 0.92; letter-spacing: -0.065em; }
.cta h2 span { color: var(--ink); }
.cta > p:not(.eyebrow) { max-width: 720px; margin: 34px 0 0; font-size: 22px; line-height: 1.5; }

footer {
  display: flex;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 52px;
  color: var(--muted);
  font: 600 13px/1.4 var(--mono);
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 72px; }
  .hero-frame { transform: none; }
  .manifesto-grid, .platforms { grid-template-columns: 1fr; gap: 38px; }
  .principle-list { grid-template-columns: 1fr 1fr; }
  .pipeline-flow { grid-template-columns: 1fr; justify-items: start; }
  .pipeline-flow i { transform: rotate(90deg); }
}

@media (max-width: 620px) {
  .site-nav { width: min(100% - 28px, 1320px); }
  .site-nav nav a:first-child { display: none; }
  .hero, .manifesto, .principles, .pipeline, .platforms { width: min(100% - 28px, 1320px); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 66px; }
  .principle-list { grid-template-columns: 1fr; }
  .principle-list article { min-height: 220px; padding-left: 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .manifesto-grid { gap: 22px; }
  .cta { width: calc(100% - 16px); padding: 48px 28px; }
  footer { width: calc(100% - 28px); flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
