:root {
  color-scheme: light;
  --paper: #f4efe4;
  --paper-deep: #e6dcc8;
  --ink: #0e2433;
  --muted: #3c5360;
  --line: #c9bda6;
  --teal: #1c6e68;
  --moss: #3f6b62;
  --rust: #9c4034;
  --amber: #c9842a;
  --blue: #1d4e63;
  --navy: #0e2433;
  --white: #f7f3ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background-color: var(--paper);
  background-image: url("assets/contour-band.svg");
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 100% 9rem;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(244, 239, 228, 0.18);
  background: var(--navy);
  color: var(--paper);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.brand-badge {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.05rem;
  background: var(--paper);
  border-radius: 0.45rem;
}

.brand-badge img {
  display: block;
  width: 2.2rem;
  height: auto;
}

.wordmark {
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  min-width: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.35rem);
  color: #d7ebe4;
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

main {
  max-width: 100vw;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(16rem, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  padding: clamp(2.75rem, 5vw, 5rem) clamp(1rem, 6vw, 5rem) 3rem;
  background:
    linear-gradient(180deg, rgba(28, 110, 104, 0.08), transparent 12rem),
    var(--paper);
  border-bottom: 1px solid rgba(14, 36, 51, 0.12);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(250, 247, 238, 0.48), transparent);
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
  max-width: 47rem;
}

.hero-media {
  position: relative;
  width: min(100%, 64rem);
  justify-self: end;
  aspect-ratio: 4 / 3;
  transform: translateY(clamp(-5.75rem, -5.5vw, -4.5rem));
  overflow: hidden;
  border: 1px solid rgba(23, 39, 35, 0.18);
  border-radius: 8px;
  background: #dfece7;
  box-shadow: 0 22px 70px rgba(23, 39, 35, 0.2);
}

.hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11em;
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.lede {
  width: 100%;
  max-width: 43rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.release-note {
  max-width: 39rem;
  margin-top: -0.35rem;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  font-weight: 800;
}

.install-strip {
  width: min(100%, 44rem);
  max-width: 100%;
  margin: 2rem 0 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 39, 35, 0.16);
  border-radius: 8px;
  background: var(--ink);
  color: #fff7df;
  overflow-x: auto;
  box-shadow: 0 18px 55px rgba(23, 39, 35, 0.16);
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.install-strip code {
  white-space: nowrap;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--navy);
  color: var(--paper);
  border: 0;
}

.button.secondary {
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.offer-grid article {
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid rgba(14, 36, 51, 0.16);
  border-top: 0.35rem solid var(--teal);
  border-radius: 8px;
  background: rgba(247, 243, 234, 0.92);
}

.offer-grid h3,
.offer-grid p {
  margin-top: 0;
}

.offer-grid .button {
  margin-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  width: min(100%, 44rem);
  margin: 1.5rem 0 0;
}

.hero-stats article {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(23, 39, 35, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.62);
}

.stat-label {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-value {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
}

.section {
  min-width: 0;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 6vw, 5rem);
  overflow-wrap: break-word;
}

.section > * {
  min-width: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid rgba(23, 39, 35, 0.12);
}

.statement {
  min-width: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.statement p:last-child {
  color: var(--ink);
  font-weight: 700;
}

.section-heading {
  max-width: 58rem;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.stack-section {
  background: #edf5ef;
  border-top: 1px solid rgba(23, 39, 35, 0.12);
  border-bottom: 1px solid rgba(23, 39, 35, 0.12);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stack-visual {
  display: block;
  width: min(100%, 68rem);
  height: auto;
  margin: 2rem 0 0;
  border: 1px solid rgba(23, 39, 35, 0.14);
  border-radius: 8px;
}

.stack-grid article {
  min-height: 14rem;
  padding: 1.35rem;
  border: 1px solid rgba(14, 36, 51, 0.16);
  border-radius: 8px;
  background: rgba(247, 243, 234, 0.92);
}

.stack-grid article span {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stack-grid article:nth-child(2) span {
  color: var(--blue);
}

.stack-grid article:nth-child(3) span {
  color: var(--rust);
}

.stack-grid p,
.stack-note {
  color: var(--muted);
  line-height: 1.55;
}

.stack-note {
  max-width: 55rem;
  margin: 1.25rem 0 0;
  font-weight: 700;
}

.checkout-unavailable {
  max-width: 55rem;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(14, 36, 51, 0.28);
  border-left: 0.35rem solid var(--amber);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.comparison,
.feature-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.comparison article,
.feature-band article {
  min-height: 10rem;
  padding: 1.25rem;
  border: 1px solid rgba(23, 39, 35, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.7);
}

.proof-section {
  background:
    linear-gradient(90deg, rgba(250, 247, 238, 0.98), rgba(250, 247, 238, 0.72)),
    url("assets/rutter-repo-memory-diagram.svg") right center / min(42vw, 34rem) auto no-repeat;
}

.proof-section h2 span {
  display: block;
}

.proof-list {
  display: grid;
  gap: 0.75rem;
  max-width: 43rem;
  margin: 1.4rem 0 1rem;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding: 0.8rem 1rem;
  border-left: 0.35rem solid var(--teal);
  background: rgba(255, 253, 247, 0.78);
  color: var(--muted);
  line-height: 1.45;
}

.proof-list strong {
  color: var(--ink);
}

.qualification {
  max-width: 43rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.comparison article:nth-child(1) {
  border-top: 0.45rem solid var(--blue);
}

.comparison article:nth-child(2) {
  border-top: 0.45rem solid var(--teal);
}

.comparison p,
.feature-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  background: #f5eddb;
}

.flow-section p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.flow-section img {
  width: 100%;
  border: 1px solid rgba(23, 39, 35, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(23, 39, 35, 0.12);
}

.learning-section {
  background: #fbf8ef;
  border-top: 1px solid rgba(23, 39, 35, 0.12);
}

.learning-picture {
  display: block;
  width: min(100%, 68rem);
  margin: 2rem auto 0;
}

.learning-visual {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(23, 39, 35, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(23, 39, 35, 0.12);
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  background: #203732;
  color: #fff9e8;
}

.terminal {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 232, 0.16);
  border-radius: 8px;
  background: #10201d;
  box-shadow: 0 28px 70px rgba(10, 26, 22, 0.28);
}

.terminal-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem;
  border-bottom: 1px solid rgba(255, 249, 232, 0.12);
}

.terminal-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--amber);
}

.terminal-bar span:nth-child(2) {
  background: var(--rust);
}

.terminal-bar span:nth-child(3) {
  background: #8bbf99;
}

pre {
  margin: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  overflow-x: auto;
  color: #f8edcf;
  font-size: clamp(0.82rem, 1.5vw, 0.98rem);
  line-height: 1.65;
}

.command-list .eyebrow {
  color: var(--amber);
}

.command-list {
  min-width: 0;
}

.command-list p {
  color: #cfddcf;
}

.command-list ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.command-list li {
  padding-left: 1rem;
  border-left: 0.3rem solid var(--amber);
  color: #e6eee4;
  line-height: 1.45;
}

.feature-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-band article:nth-child(1) {
  border-top: 0.45rem solid var(--rust);
}

.feature-band article:nth-child(2) {
  border-top: 0.45rem solid var(--moss);
}

.feature-band article:nth-child(3) {
  border-top: 0.45rem solid var(--amber);
}

.feature-band article:nth-child(4) {
  border-top: 0.45rem solid var(--blue);
}

.feature-band article:nth-child(5) {
  border-top: 0.45rem solid var(--teal);
}

.feature-band article:nth-child(6) {
  border-top: 0.45rem solid var(--moss);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem 3rem;
  background: var(--navy);
  color: #d7ebe4;
  font-size: 0.92rem;
}

footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .flow-section,
  .command-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
    background: var(--paper);
  }

  .hero-media {
    width: min(100%, 42rem);
    justify-self: start;
    transform: none;
  }

  h1 {
    max-width: 11em;
  }

  .comparison,
  .feature-band,
  .stack-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.55rem 1.1rem;
  }

  .hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .section {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .split,
  .statement {
    max-width: calc(100vw - 3rem);
  }

  .statement {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-copy,
  .actions,
  .install-strip {
    width: min(100%, 21rem);
    max-width: 21rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 13vw, 3.35rem);
    line-height: 1.05;
  }

  .lede {
    font-size: 1.04rem;
  }

  .install-strip code {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: min(100%, 21rem);
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}
.eyebrow img {
  display: inline-block;
  margin-right: 0.4rem;
  vertical-align: -0.45rem;
}

.chart-plate {
  position: relative;
  margin: 0;
  padding: 1rem 1rem 3.5rem;
  border: 1px solid rgba(14, 36, 51, 0.35);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(28, 110, 104, 0.08), transparent 40%),
    #f7f3ea;
  box-shadow: 0 18px 40px rgba(14, 36, 51, 0.12);
}

.chart-plate img:first-child {
  display: block;
  width: 100%;
  height: auto;
}

.compass-rose {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(9.5rem, 34%);
  height: auto;
  background: var(--paper);
  border: 1px solid rgba(14, 36, 51, 0.25);
  border-radius: 50%;
}

.proof-list {
  max-width: 46rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.55;
}

.proof-list strong {
  color: var(--ink);
}

@media (max-width: 1080px) {
  .chart-plate {
    max-width: 40rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    background: var(--navy);
  }

  .compass-rose {
    width: 6.5rem;
  }
}

